TPTP Problem File: ITP214^4.p

View Solutions - Solve Problem

%------------------------------------------------------------------------------
% File     : ITP214^4 : TPTP v8.2.0. Released v8.0.0.
% Domain   : Interactive Theorem Proving
% Problem  : Sledgehammer problem Hoare_Triple 00428_012651
% Version  : [Des22] axioms.
% English  :

% Refs     : [BH+15] Blanchette et al. (2015), Mining the Archive of Formal
%          : [Des22] Desharnais (2022), Email to Geoff Sutcliffe
% Source   : [Des22]
% Names    : 0025_Hoare_Triple_00428_012651 [Des22]

% Status   : Theorem
% Rating   : 0.67 v8.1.0
% Syntax   : Number of formulae    : 9705 (3226 unt; 853 typ;   0 def)
%            Number of atoms       : 27714 (9220 equ;   5 cnn)
%            Maximal formula atoms :   48 (   3 avg)
%            Number of connectives : 194757 (2323   ~; 326   |;1943   &;177784   @)
%                                         (   0 <=>;12381  =>;   0  <=;   0 <~>)
%            Maximal formula depth :   29 (   8 avg)
%            Number of types       :   12 (  11 usr)
%            Number of type conns  : 7309 (7309   >;   0   *;   0   +;   0  <<)
%            Number of symbols     :  846 ( 842 usr;  27 con; 0-10 aty)
%            Number of variables   : 35469 (4502   ^;29245   !; 798   ?;35469   :)
%                                         ( 924  !>;   0  ?*;   0  @-;   0  @+)
% SPC      : TH1_THM_EQU_NAR

% Comments : This file was generated by Isabelle (most likely Sledgehammer)
%            from the van Emde Boas Trees session in the Archive of Formal
%            proofs - 
%            www.isa-afp.org/browser_info/current/AFP/Van_Emde_Boas_Trees
%            2022-02-17 15:41:33.759
%------------------------------------------------------------------------------
% Could-be-implicit typings (23)
thf(ty_t_Heap__Time__Monad_OHeap,type,
    heap_Time_Heap: $tType > $tType ).

thf(ty_t_Code__Numeral_Onatural,type,
    code_natural: $tType ).

thf(ty_t_Code__Numeral_Ointeger,type,
    code_integer: $tType ).

thf(ty_t_Heap_Oheap_Oheap__ext,type,
    heap_ext: $tType > $tType ).

thf(ty_t_Product__Type_Ounit,type,
    product_unit: $tType ).

thf(ty_t_Product__Type_Oprod,type,
    product_prod: $tType > $tType > $tType ).

thf(ty_t_Multiset_Omultiset,type,
    multiset: $tType > $tType ).

thf(ty_t_Assertions_Oassn,type,
    assn: $tType ).

thf(ty_t_Sum__Type_Osum,type,
    sum_sum: $tType > $tType > $tType ).

thf(ty_t_Option_Ooption,type,
    option: $tType > $tType ).

thf(ty_t_Filter_Ofilter,type,
    filter: $tType > $tType ).

thf(ty_t_String_Ochar,type,
    char: $tType ).

thf(ty_t_Heap_Oarray,type,
    array: $tType > $tType ).

thf(ty_t_List_Olist,type,
    list: $tType > $tType ).

thf(ty_t_Heap_Oref,type,
    ref: $tType > $tType ).

thf(ty_t_Set_Oset,type,
    set: $tType > $tType ).

thf(ty_t_Rat_Orat,type,
    rat: $tType ).

thf(ty_t_Num_Onum,type,
    num: $tType ).

thf(ty_t_Nat_Onat,type,
    nat: $tType ).

thf(ty_t_Int_Oint,type,
    int: $tType ).

thf(ty_t_itself,type,
    itself: $tType > $tType ).

thf(ty_tf_b,type,
    b: $tType ).

thf(ty_tf_a,type,
    a: $tType ).

% Explicit typings (830)
thf(sy_cl_Lattices_Obounded__lattice,type,
    bounded_lattice: 
      !>[A: $tType] : $o ).

thf(sy_cl_HOL_Otype,type,
    type: 
      !>[A: $tType] : $o ).

thf(sy_cl_Nat_Osize,type,
    size: 
      !>[A: $tType] : $o ).

thf(sy_cl_Heap_Oheap,type,
    heap: 
      !>[A: $tType] : $o ).

thf(sy_cl_Rings_Odvd,type,
    dvd: 
      !>[A: $tType] : $o ).

thf(sy_cl_Rings_Oidom,type,
    idom: 
      !>[A: $tType] : $o ).

thf(sy_cl_Rings_Oring,type,
    ring: 
      !>[A: $tType] : $o ).

thf(sy_cl_Groups_Oplus,type,
    plus: 
      !>[A: $tType] : $o ).

thf(sy_cl_Groups_Ozero,type,
    zero: 
      !>[A: $tType] : $o ).

thf(sy_cl_Num_Onumeral,type,
    numeral: 
      !>[A: $tType] : $o ).

thf(sy_cl_Power_Opower,type,
    power: 
      !>[A: $tType] : $o ).

thf(sy_cl_Fields_Ofield,type,
    field: 
      !>[A: $tType] : $o ).

thf(sy_cl_Groups_Otimes,type,
    times: 
      !>[A: $tType] : $o ).

thf(sy_cl_Lattices_Oinf,type,
    inf: 
      !>[A: $tType] : $o ).

thf(sy_cl_Lattices_Osup,type,
    sup: 
      !>[A: $tType] : $o ).

thf(sy_cl_Rings_Oabs__if,type,
    abs_if: 
      !>[A: $tType] : $o ).

thf(sy_cl_Rings_Oring__1,type,
    ring_1: 
      !>[A: $tType] : $o ).

thf(sy_cl_Groups_Ouminus,type,
    uminus: 
      !>[A: $tType] : $o ).

thf(sy_cl_Orderings_Obot,type,
    bot: 
      !>[A: $tType] : $o ).

thf(sy_cl_Orderings_Oord,type,
    ord: 
      !>[A: $tType] : $o ).

thf(sy_cl_Orderings_Otop,type,
    top: 
      !>[A: $tType] : $o ).

thf(sy_cl_Fields_Oinverse,type,
    inverse: 
      !>[A: $tType] : $o ).

thf(sy_cl_Rings_Osemiring,type,
    semiring: 
      !>[A: $tType] : $o ).

thf(sy_cl_Nat_Oring__char__0,type,
    ring_char_0: 
      !>[A: $tType] : $o ).

thf(sy_cl_Num_Oneg__numeral,type,
    neg_numeral: 
      !>[A: $tType] : $o ).

thf(sy_cl_Orderings_Oorder,type,
    order: 
      !>[A: $tType] : $o ).

thf(sy_cl_Rings_Ocomm__ring,type,
    comm_ring: 
      !>[A: $tType] : $o ).

thf(sy_cl_Rings_Omult__zero,type,
    mult_zero: 
      !>[A: $tType] : $o ).

thf(sy_cl_GCD_Osemiring__Gcd,type,
    semiring_Gcd: 
      !>[A: $tType] : $o ).

thf(sy_cl_GCD_Osemiring__gcd,type,
    semiring_gcd: 
      !>[A: $tType] : $o ).

thf(sy_cl_Groups_Ogroup__add,type,
    group_add: 
      !>[A: $tType] : $o ).

thf(sy_cl_Lattices_Olattice,type,
    lattice: 
      !>[A: $tType] : $o ).

thf(sy_cl_Orderings_Ono__bot,type,
    no_bot: 
      !>[A: $tType] : $o ).

thf(sy_cl_Orderings_Ono__top,type,
    no_top: 
      !>[A: $tType] : $o ).

thf(sy_cl_Rings_Osemiring__0,type,
    semiring_0: 
      !>[A: $tType] : $o ).

thf(sy_cl_Rings_Osemiring__1,type,
    semiring_1: 
      !>[A: $tType] : $o ).

thf(sy_cl_Finite__Set_Ofinite,type,
    finite_finite: 
      !>[A: $tType] : $o ).

thf(sy_cl_Groups_Omonoid__add,type,
    monoid_add: 
      !>[A: $tType] : $o ).

thf(sy_cl_Rings_Ocomm__ring__1,type,
    comm_ring_1: 
      !>[A: $tType] : $o ).

thf(sy_cl_Groups_Omonoid__mult,type,
    monoid_mult: 
      !>[A: $tType] : $o ).

thf(sy_cl_Orderings_Olinorder,type,
    linorder: 
      !>[A: $tType] : $o ).

thf(sy_cl_Orderings_Opreorder,type,
    preorder: 
      !>[A: $tType] : $o ).

thf(sy_cl_Parity_Oring__parity,type,
    ring_parity: 
      !>[A: $tType] : $o ).

thf(sy_cl_Rings_Oordered__ring,type,
    ordered_ring: 
      !>[A: $tType] : $o ).

thf(sy_cl_Rings_Ozero__neq__one,type,
    zero_neq_one: 
      !>[A: $tType] : $o ).

thf(sy_cl_Enum_Ofinite__lattice,type,
    finite_lattice: 
      !>[A: $tType] : $o ).

thf(sy_cl_Fields_Ofield__char__0,type,
    field_char_0: 
      !>[A: $tType] : $o ).

thf(sy_cl_Groups_Oab__group__add,type,
    ab_group_add: 
      !>[A: $tType] : $o ).

thf(sy_cl_Nat_Osemiring__char__0,type,
    semiring_char_0: 
      !>[A: $tType] : $o ).

thf(sy_cl_Orderings_Oorder__bot,type,
    order_bot: 
      !>[A: $tType] : $o ).

thf(sy_cl_Orderings_Oorder__top,type,
    order_top: 
      !>[A: $tType] : $o ).

thf(sy_cl_Orderings_Owellorder,type,
    wellorder: 
      !>[A: $tType] : $o ).

thf(sy_cl_Rings_Ocomm__semiring,type,
    comm_semiring: 
      !>[A: $tType] : $o ).

thf(sy_cl_Rings_Ozero__less__one,type,
    zero_less_one: 
      !>[A: $tType] : $o ).

thf(sy_cl_Fields_Odivision__ring,type,
    division_ring: 
      !>[A: $tType] : $o ).

thf(sy_cl_Groups_Osemigroup__add,type,
    semigroup_add: 
      !>[A: $tType] : $o ).

thf(sy_cl_Num_Osemiring__numeral,type,
    semiring_numeral: 
      !>[A: $tType] : $o ).

thf(sy_cl_Rings_Osemidom__divide,type,
    semidom_divide: 
      !>[A: $tType] : $o ).

thf(sy_cl_Rings_Osemidom__modulo,type,
    semidom_modulo: 
      !>[A: $tType] : $o ).

thf(sy_cl_Complete__Lattices_OInf,type,
    complete_Inf: 
      !>[A: $tType] : $o ).

thf(sy_cl_Complete__Lattices_OSup,type,
    complete_Sup: 
      !>[A: $tType] : $o ).

thf(sy_cl_Orderings_Odense__order,type,
    dense_order: 
      !>[A: $tType] : $o ).

thf(sy_cl_Rings_Ocomm__semiring__0,type,
    comm_semiring_0: 
      !>[A: $tType] : $o ).

thf(sy_cl_Rings_Ocomm__semiring__1,type,
    comm_semiring_1: 
      !>[A: $tType] : $o ).

thf(sy_cl_Rings_Olinordered__idom,type,
    linordered_idom: 
      !>[A: $tType] : $o ).

thf(sy_cl_Rings_Olinordered__ring,type,
    linordered_ring: 
      !>[A: $tType] : $o ).

thf(sy_cl_Rings_Osemiring__modulo,type,
    semiring_modulo: 
      !>[A: $tType] : $o ).

thf(sy_cl_Groups_Ocomm__monoid__add,type,
    comm_monoid_add: 
      !>[A: $tType] : $o ).

thf(sy_cl_Parity_Osemiring__parity,type,
    semiring_parity: 
      !>[A: $tType] : $o ).

thf(sy_cl_Rings_Oordered__ring__abs,type,
    ordered_ring_abs: 
      !>[A: $tType] : $o ).

thf(sy_cl_Rings_Oordered__semiring,type,
    ordered_semiring: 
      !>[A: $tType] : $o ).

thf(sy_cl_Fields_Olinordered__field,type,
    linordered_field: 
      !>[A: $tType] : $o ).

thf(sy_cl_Groups_Oab__semigroup__add,type,
    ab_semigroup_add: 
      !>[A: $tType] : $o ).

thf(sy_cl_Groups_Ocomm__monoid__diff,type,
    comm_monoid_diff: 
      !>[A: $tType] : $o ).

thf(sy_cl_Groups_Ocomm__monoid__mult,type,
    comm_monoid_mult: 
      !>[A: $tType] : $o ).

thf(sy_cl_Rings_Oalgebraic__semidom,type,
    algebraic_semidom: 
      !>[A: $tType] : $o ).

thf(sy_cl_Rings_Osemiring__1__cancel,type,
    semiring_1_cancel: 
      !>[A: $tType] : $o ).

thf(sy_cl_Lattices_Odistrib__lattice,type,
    distrib_lattice: 
      !>[A: $tType] : $o ).

thf(sy_cl_Lattices_Osemilattice__inf,type,
    semilattice_inf: 
      !>[A: $tType] : $o ).

thf(sy_cl_Lattices_Osemilattice__sup,type,
    semilattice_sup: 
      !>[A: $tType] : $o ).

thf(sy_cl_Orderings_Odense__linorder,type,
    dense_linorder: 
      !>[A: $tType] : $o ).

thf(sy_cl_Rings_Olinordered__semidom,type,
    linordered_semidom: 
      !>[A: $tType] : $o ).

thf(sy_cl_Rings_Oordered__semiring__0,type,
    ordered_semiring_0: 
      !>[A: $tType] : $o ).

thf(sy_cl_Rings_Olinordered__semiring,type,
    linordered_semiring: 
      !>[A: $tType] : $o ).

thf(sy_cl_Complete__Partial__Order_Occpo,type,
    comple9053668089753744459l_ccpo: 
      !>[A: $tType] : $o ).

thf(sy_cl_Enum_Ofinite__distrib__lattice,type,
    finite8700451911770168679attice: 
      !>[A: $tType] : $o ).

thf(sy_cl_Groups_Ocancel__semigroup__add,type,
    cancel_semigroup_add: 
      !>[A: $tType] : $o ).

thf(sy_cl_Groups_Oordered__ab__group__add,type,
    ordered_ab_group_add: 
      !>[A: $tType] : $o ).

thf(sy_cl_Rings_Olinordered__semiring__1,type,
    linord6961819062388156250ring_1: 
      !>[A: $tType] : $o ).

thf(sy_cl_Rings_Oordered__comm__semiring,type,
    ordere2520102378445227354miring: 
      !>[A: $tType] : $o ).

thf(sy_cl_Bit__Operations_Osemiring__bits,type,
    bit_semiring_bits: 
      !>[A: $tType] : $o ).

thf(sy_cl_Lattices_Obounded__lattice__top,type,
    bounded_lattice_top: 
      !>[A: $tType] : $o ).

thf(sy_cl_Rings_Ocomm__semiring__1__cancel,type,
    comm_s4317794764714335236cancel: 
      !>[A: $tType] : $o ).

thf(sy_cl_Rings_Olinordered__ring__strict,type,
    linord4710134922213307826strict: 
      !>[A: $tType] : $o ).

thf(sy_cl_Groups_Ocancel__comm__monoid__add,type,
    cancel1802427076303600483id_add: 
      !>[A: $tType] : $o ).

thf(sy_cl_Groups_Ocancel__ab__semigroup__add,type,
    cancel2418104881723323429up_add: 
      !>[A: $tType] : $o ).

thf(sy_cl_Groups_Olinordered__ab__group__add,type,
    linord5086331880401160121up_add: 
      !>[A: $tType] : $o ).

thf(sy_cl_Groups_Oordered__comm__monoid__add,type,
    ordere6911136660526730532id_add: 
      !>[A: $tType] : $o ).

thf(sy_cl_Archimedean__Field_Ofloor__ceiling,type,
    archim2362893244070406136eiling: 
      !>[A: $tType] : $o ).

thf(sy_cl_Groups_Oordered__ab__group__add__abs,type,
    ordere166539214618696060dd_abs: 
      !>[A: $tType] : $o ).

thf(sy_cl_Groups_Oordered__ab__semigroup__add,type,
    ordere6658533253407199908up_add: 
      !>[A: $tType] : $o ).

thf(sy_cl_Boolean__Algebras_Oboolean__algebra,type,
    boolea8198339166811842893lgebra: 
      !>[A: $tType] : $o ).

thf(sy_cl_Rings_Olinordered__semiring__strict,type,
    linord8928482502909563296strict: 
      !>[A: $tType] : $o ).

thf(sy_cl_Rings_Olinordered__nonzero__semiring,type,
    linord181362715937106298miring: 
      !>[A: $tType] : $o ).

thf(sy_cl_Rings_Osemiring__1__no__zero__divisors,type,
    semiri2026040879449505780visors: 
      !>[A: $tType] : $o ).

thf(sy_cl_Bit__Operations_Oring__bit__operations,type,
    bit_ri3973907225187159222ations: 
      !>[A: $tType] : $o ).

thf(sy_cl_Complete__Lattices_Ocomplete__lattice,type,
    comple6319245703460814977attice: 
      !>[A: $tType] : $o ).

thf(sy_cl_Groups_Olinordered__ab__semigroup__add,type,
    linord4140545234300271783up_add: 
      !>[A: $tType] : $o ).

thf(sy_cl_Orderings_Ounbounded__dense__linorder,type,
    unboun7993243217541854897norder: 
      !>[A: $tType] : $o ).

thf(sy_cl_Rings_Olinordered__semiring__1__strict,type,
    linord715952674999750819strict: 
      !>[A: $tType] : $o ).

thf(sy_cl_Archimedean__Field_Oarchimedean__field,type,
    archim462609752435547400_field: 
      !>[A: $tType] : $o ).

thf(sy_cl_Complete__Lattices_Ocomplete__linorder,type,
    comple5582772986160207858norder: 
      !>[A: $tType] : $o ).

thf(sy_cl_Lattices_Obounded__semilattice__inf__top,type,
    bounde4346867609351753570nf_top: 
      !>[A: $tType] : $o ).

thf(sy_cl_Lattices_Obounded__semilattice__sup__bot,type,
    bounde4967611905675639751up_bot: 
      !>[A: $tType] : $o ).

thf(sy_cl_Euclidean__Division_Oeuclidean__semiring,type,
    euclid3725896446679973847miring: 
      !>[A: $tType] : $o ).

thf(sy_cl_Groups_Ocanonically__ordered__monoid__add,type,
    canoni5634975068530333245id_add: 
      !>[A: $tType] : $o ).

thf(sy_cl_Groups_Oordered__cancel__comm__monoid__add,type,
    ordere8940638589300402666id_add: 
      !>[A: $tType] : $o ).

thf(sy_cl_Groups_Ostrict__ordered__comm__monoid__add,type,
    strict7427464778891057005id_add: 
      !>[A: $tType] : $o ).

thf(sy_cl_Rings_Olinordered__comm__semiring__strict,type,
    linord2810124833399127020strict: 
      !>[A: $tType] : $o ).

thf(sy_cl_Bit__Operations_Osemiring__bit__operations,type,
    bit_se359711467146920520ations: 
      !>[A: $tType] : $o ).

thf(sy_cl_Groups_Oordered__ab__semigroup__add__imp__le,type,
    ordere2412721322843649153imp_le: 
      !>[A: $tType] : $o ).

thf(sy_cl_Groups_Oordered__cancel__ab__semigroup__add,type,
    ordere580206878836729694up_add: 
      !>[A: $tType] : $o ).

thf(sy_cl_Groups_Oordered__cancel__comm__monoid__diff,type,
    ordere1170586879665033532d_diff: 
      !>[A: $tType] : $o ).

thf(sy_cl_Groups_Ostrict__ordered__ab__semigroup__add,type,
    strict9044650504122735259up_add: 
      !>[A: $tType] : $o ).

thf(sy_cl_Euclidean__Division_Oeuclidean__ring__cancel,type,
    euclid8851590272496341667cancel: 
      !>[A: $tType] : $o ).

thf(sy_cl_Divides_Ounique__euclidean__semiring__numeral,type,
    unique1627219031080169319umeral: 
      !>[A: $tType] : $o ).

thf(sy_cl_Complete__Lattices_Ocomplete__boolean__algebra,type,
    comple489889107523837845lgebra: 
      !>[A: $tType] : $o ).

thf(sy_cl_Complete__Lattices_Ocomplete__distrib__lattice,type,
    comple592849572758109894attice: 
      !>[A: $tType] : $o ).

thf(sy_cl_Euclidean__Division_Oeuclidean__semiring__cancel,type,
    euclid4440199948858584721cancel: 
      !>[A: $tType] : $o ).

thf(sy_cl_Euclidean__Division_Ounique__euclidean__semiring,type,
    euclid3128863361964157862miring: 
      !>[A: $tType] : $o ).

thf(sy_cl_Groups_Oordered__ab__semigroup__monoid__add__imp__le,type,
    ordere1937475149494474687imp_le: 
      !>[A: $tType] : $o ).

thf(sy_cl_Conditionally__Complete__Lattices_Olinear__continuum,type,
    condit5016429287641298734tinuum: 
      !>[A: $tType] : $o ).

thf(sy_cl_Euclidean__Division_Ounique__euclidean__semiring__with__nat,type,
    euclid5411537665997757685th_nat: 
      !>[A: $tType] : $o ).

thf(sy_cl_Semiring__Normalization_Ocomm__semiring__1__cancel__crossproduct,type,
    semiri1453513574482234551roduct: 
      !>[A: $tType] : $o ).

thf(sy_cl_Bit__Operations_Ounique__euclidean__semiring__with__bit__operations,type,
    bit_un5681908812861735899ations: 
      !>[A: $tType] : $o ).

thf(sy_cl_Conditionally__Complete__Lattices_Oconditionally__complete__lattice,type,
    condit1219197933456340205attice: 
      !>[A: $tType] : $o ).

thf(sy_cl_Conditionally__Complete__Lattices_Oconditionally__complete__linorder,type,
    condit6923001295902523014norder: 
      !>[A: $tType] : $o ).

thf(sy_c_Archimedean__Field_Oceiling,type,
    archimedean_ceiling: 
      !>[A: $tType] : ( A > int ) ).

thf(sy_c_Archimedean__Field_Ofloor__ceiling__class_Ofloor,type,
    archim6421214686448440834_floor: 
      !>[A: $tType] : ( A > int ) ).

thf(sy_c_Archimedean__Field_Ofrac,type,
    archimedean_frac: 
      !>[A: $tType] : ( A > A ) ).

thf(sy_c_Archimedean__Field_Oround,type,
    archimedean_round: 
      !>[A: $tType] : ( A > int ) ).

thf(sy_c_Array__Time_Oalloc,type,
    array_alloc: 
      !>[A: $tType] : ( ( list @ A ) > ( heap_ext @ product_unit ) > ( product_prod @ ( array @ A ) @ ( heap_ext @ product_unit ) ) ) ).

thf(sy_c_Array__Time_Ofreeze,type,
    array_freeze: 
      !>[A: $tType] : ( ( array @ A ) > ( heap_Time_Heap @ ( list @ A ) ) ) ).

thf(sy_c_Array__Time_Oget,type,
    array_get: 
      !>[A: $tType] : ( ( heap_ext @ product_unit ) > ( array @ A ) > ( list @ A ) ) ).

thf(sy_c_Array__Time_Olen,type,
    array_len: 
      !>[A: $tType] : ( ( array @ A ) > ( heap_Time_Heap @ nat ) ) ).

thf(sy_c_Array__Time_Olen_H,type,
    array_len2: 
      !>[B: $tType,A: $tType] : ( ( array @ B ) > ( heap_Time_Heap @ A ) ) ).

thf(sy_c_Array__Time_Olength,type,
    array_length: 
      !>[A: $tType] : ( ( heap_ext @ product_unit ) > ( array @ A ) > nat ) ).

thf(sy_c_Array__Time_Omake,type,
    array_make: 
      !>[A: $tType] : ( nat > ( nat > A ) > ( heap_Time_Heap @ ( array @ A ) ) ) ).

thf(sy_c_Array__Time_Omap__entry,type,
    array_map_entry: 
      !>[A: $tType] : ( nat > ( A > A ) > ( array @ A ) > ( heap_Time_Heap @ ( array @ A ) ) ) ).

thf(sy_c_Array__Time_Onew,type,
    array_new: 
      !>[A: $tType] : ( nat > A > ( heap_Time_Heap @ ( array @ A ) ) ) ).

thf(sy_c_Array__Time_Onth,type,
    array_nth: 
      !>[A: $tType] : ( ( array @ A ) > nat > ( heap_Time_Heap @ A ) ) ).

thf(sy_c_Array__Time_Oof__list,type,
    array_of_list: 
      !>[A: $tType] : ( ( list @ A ) > ( heap_Time_Heap @ ( array @ A ) ) ) ).

thf(sy_c_Array__Time_Opresent,type,
    array_present: 
      !>[A: $tType] : ( ( heap_ext @ product_unit ) > ( array @ A ) > $o ) ).

thf(sy_c_Array__Time_Oset,type,
    array_set: 
      !>[A: $tType] : ( ( array @ A ) > ( list @ A ) > ( heap_ext @ product_unit ) > ( heap_ext @ product_unit ) ) ).

thf(sy_c_Array__Time_Oswap,type,
    array_swap: 
      !>[A: $tType] : ( nat > A > ( array @ A ) > ( heap_Time_Heap @ A ) ) ).

thf(sy_c_Array__Time_Oupd,type,
    array_upd: 
      !>[A: $tType] : ( nat > A > ( array @ A ) > ( heap_Time_Heap @ ( array @ A ) ) ) ).

thf(sy_c_Array__Time_Oupd_H,type,
    array_upd2: 
      !>[A: $tType] : ( ( array @ A ) > code_integer > A > ( heap_Time_Heap @ product_unit ) ) ).

thf(sy_c_Array__Time_Oupdate,type,
    array_update: 
      !>[A: $tType] : ( ( array @ A ) > nat > A > ( heap_ext @ product_unit ) > ( heap_ext @ product_unit ) ) ).

thf(sy_c_Assertions_Oassn_OAbs__assn,type,
    abs_assn: ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) > assn ).

thf(sy_c_Assertions_Oassn_ORep__assn,type,
    rep_assn: assn > ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ).

thf(sy_c_Assertions_Oentails,type,
    entails: assn > assn > $o ).

thf(sy_c_Assertions_Oex__assn,type,
    ex_assn: 
      !>[A: $tType] : ( ( A > assn ) > assn ) ).

thf(sy_c_Assertions_Oin__range,type,
    in_range: ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ).

thf(sy_c_Assertions_Oin__range__rel,type,
    in_range_rel: ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ).

thf(sy_c_Assertions_Oone__assn__raw,type,
    one_assn_raw: ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ).

thf(sy_c_Assertions_Oone__assn__raw__rel,type,
    one_assn_raw_rel: ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ).

thf(sy_c_Assertions_Oprecise,type,
    precise: 
      !>[A: $tType,B: $tType] : ( ( A > B > assn ) > $o ) ).

thf(sy_c_Assertions_Opure__assn,type,
    pure_assn: $o > assn ).

thf(sy_c_Assertions_Opure__assn__raw,type,
    pure_assn_raw: 
      !>[A: $tType,B: $tType] : ( $o > ( product_prod @ A @ ( set @ B ) ) > $o ) ).

thf(sy_c_Assertions_Opure__assn__raw__rel,type,
    pure_assn_raw_rel: 
      !>[A: $tType,B: $tType] : ( ( product_prod @ $o @ ( product_prod @ A @ ( set @ B ) ) ) > ( product_prod @ $o @ ( product_prod @ A @ ( set @ B ) ) ) > $o ) ).

thf(sy_c_Assertions_OrelH,type,
    relH: ( set @ nat ) > ( heap_ext @ product_unit ) > ( heap_ext @ product_unit ) > $o ).

thf(sy_c_Assertions_Osnga__assn,type,
    snga_assn: 
      !>[A: $tType] : ( ( array @ A ) > ( list @ A ) > assn ) ).

thf(sy_c_Assertions_Osnga__assn__raw,type,
    snga_assn_raw: 
      !>[A: $tType] : ( ( array @ A ) > ( list @ A ) > ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) ).

thf(sy_c_Assertions_Osnga__assn__raw__rel,type,
    snga_assn_raw_rel: 
      !>[A: $tType] : ( ( product_prod @ ( array @ A ) @ ( product_prod @ ( list @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) ) > ( product_prod @ ( array @ A ) @ ( product_prod @ ( list @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) ) > $o ) ).

thf(sy_c_Assertions_Osngr__assn,type,
    sngr_assn: 
      !>[A: $tType] : ( ( ref @ A ) > A > assn ) ).

thf(sy_c_Assertions_Osngr__assn__raw,type,
    sngr_assn_raw: 
      !>[A: $tType] : ( ( ref @ A ) > A > ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) ).

thf(sy_c_Assertions_Osngr__assn__raw__rel,type,
    sngr_assn_raw_rel: 
      !>[A: $tType] : ( ( product_prod @ ( ref @ A ) @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) ) > ( product_prod @ ( ref @ A ) @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) ) > $o ) ).

thf(sy_c_Assertions_Otimes__assn__raw,type,
    times_assn_raw: ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) > ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) > ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ).

thf(sy_c_Assertions_Otimes__assn__raw__rel,type,
    times_assn_raw_rel: ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) ) > ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) ) > $o ).

thf(sy_c_Assertions_Owand__assn,type,
    wand_assn: assn > assn > assn ).

thf(sy_c_Assertions_Owand__raw,type,
    wand_raw: ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) > ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) > ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ).

thf(sy_c_Assertions_Owand__raw__rel,type,
    wand_raw_rel: ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) ) > ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) ) > $o ).

thf(sy_c_BNF__Cardinal__Arithmetic_OCsum,type,
    bNF_Cardinal_Csum: 
      !>[A: $tType,B: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > ( A > ( set @ ( product_prod @ B @ B ) ) ) > ( set @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) ) ) ) ).

thf(sy_c_BNF__Cardinal__Arithmetic_Ocinfinite,type,
    bNF_Ca4139267488887388095finite: 
      !>[A: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > $o ) ).

thf(sy_c_BNF__Cardinal__Arithmetic_Ocprod,type,
    bNF_Cardinal_cprod: 
      !>[A: $tType,B: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > ( set @ ( product_prod @ B @ B ) ) > ( set @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) ) ) ) ).

thf(sy_c_BNF__Cardinal__Arithmetic_Ocsum,type,
    bNF_Cardinal_csum: 
      !>[A: $tType,B: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > ( set @ ( product_prod @ B @ B ) ) > ( set @ ( product_prod @ ( sum_sum @ A @ B ) @ ( sum_sum @ A @ B ) ) ) ) ).

thf(sy_c_BNF__Cardinal__Order__Relation_OcardSuc,type,
    bNF_Ca8387033319878233205ardSuc: 
      !>[A: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) ) ).

thf(sy_c_BNF__Cardinal__Order__Relation_Ocard__of,type,
    bNF_Ca6860139660246222851ard_of: 
      !>[A: $tType] : ( ( set @ A ) > ( set @ ( product_prod @ A @ A ) ) ) ).

thf(sy_c_BNF__Cardinal__Order__Relation_Ocard__order__on,type,
    bNF_Ca8970107618336181345der_on: 
      !>[A: $tType] : ( ( set @ A ) > ( set @ ( product_prod @ A @ A ) ) > $o ) ).

thf(sy_c_BNF__Cardinal__Order__Relation_Ocofinal,type,
    bNF_Ca7293521722713021262ofinal: 
      !>[A: $tType] : ( ( set @ A ) > ( set @ ( product_prod @ A @ A ) ) > $o ) ).

thf(sy_c_BNF__Cardinal__Order__Relation_OisCardSuc,type,
    bNF_Ca6246979054910435723ardSuc: 
      !>[A: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) > $o ) ).

thf(sy_c_BNF__Cardinal__Order__Relation_OnatLeq,type,
    bNF_Ca8665028551170535155natLeq: set @ ( product_prod @ nat @ nat ) ).

thf(sy_c_BNF__Cardinal__Order__Relation_OnatLess,type,
    bNF_Ca8459412986667044542atLess: set @ ( product_prod @ nat @ nat ) ).

thf(sy_c_BNF__Cardinal__Order__Relation_OregularCard,type,
    bNF_Ca7133664381575040944arCard: 
      !>[A: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > $o ) ).

thf(sy_c_BNF__Cardinal__Order__Relation_OrelChain,type,
    bNF_Ca3754400796208372196lChain: 
      !>[A: $tType,B: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > ( A > B ) > $o ) ).

thf(sy_c_BNF__Def_OGr,type,
    bNF_Gr: 
      !>[A: $tType,B: $tType] : ( ( set @ A ) > ( A > B ) > ( set @ ( product_prod @ A @ B ) ) ) ).

thf(sy_c_BNF__Def_OGrp,type,
    bNF_Grp: 
      !>[A: $tType,B: $tType] : ( ( set @ A ) > ( A > B ) > A > B > $o ) ).

thf(sy_c_BNF__Def_Ocollect,type,
    bNF_collect: 
      !>[B: $tType,A: $tType] : ( ( set @ ( B > ( set @ A ) ) ) > B > ( set @ A ) ) ).

thf(sy_c_BNF__Def_Oconvol,type,
    bNF_convol: 
      !>[A: $tType,B: $tType,C: $tType] : ( ( A > B ) > ( A > C ) > A > ( product_prod @ B @ C ) ) ).

thf(sy_c_BNF__Def_Oeq__onp,type,
    bNF_eq_onp: 
      !>[A: $tType] : ( ( A > $o ) > A > A > $o ) ).

thf(sy_c_BNF__Def_Orel__fun,type,
    bNF_rel_fun: 
      !>[A: $tType,C: $tType,B: $tType,D: $tType] : ( ( A > C > $o ) > ( B > D > $o ) > ( A > B ) > ( C > D ) > $o ) ).

thf(sy_c_BNF__Def_Orel__set,type,
    bNF_rel_set: 
      !>[A: $tType,B: $tType] : ( ( A > B > $o ) > ( set @ A ) > ( set @ B ) > $o ) ).

thf(sy_c_BNF__Def_Ovimage2p,type,
    bNF_vimage2p: 
      !>[A: $tType,D: $tType,B: $tType,E: $tType,C: $tType] : ( ( A > D ) > ( B > E ) > ( D > E > C ) > A > B > C ) ).

thf(sy_c_BNF__Greatest__Fixpoint_OShift,type,
    bNF_Greatest_Shift: 
      !>[A: $tType] : ( ( set @ ( list @ A ) ) > A > ( set @ ( list @ A ) ) ) ).

thf(sy_c_BNF__Greatest__Fixpoint_OSucc,type,
    bNF_Greatest_Succ: 
      !>[A: $tType] : ( ( set @ ( list @ A ) ) > ( list @ A ) > ( set @ A ) ) ).

thf(sy_c_BNF__Greatest__Fixpoint_OfromCard,type,
    bNF_Gr5436034075474128252omCard: 
      !>[A: $tType,B: $tType] : ( ( set @ A ) > ( set @ ( product_prod @ B @ B ) ) > B > A ) ).

thf(sy_c_BNF__Greatest__Fixpoint_Oimage2,type,
    bNF_Greatest_image2: 
      !>[C: $tType,A: $tType,B: $tType] : ( ( set @ C ) > ( C > A ) > ( C > B ) > ( set @ ( product_prod @ A @ B ) ) ) ).

thf(sy_c_BNF__Greatest__Fixpoint_Oimage2p,type,
    bNF_Greatest_image2p: 
      !>[C: $tType,A: $tType,D: $tType,B: $tType] : ( ( C > A ) > ( D > B ) > ( C > D > $o ) > A > B > $o ) ).

thf(sy_c_BNF__Greatest__Fixpoint_OrelImage,type,
    bNF_Gr4221423524335903396lImage: 
      !>[B: $tType,A: $tType] : ( ( set @ ( product_prod @ B @ B ) ) > ( B > A ) > ( set @ ( product_prod @ A @ A ) ) ) ).

thf(sy_c_BNF__Greatest__Fixpoint_OrelInvImage,type,
    bNF_Gr7122648621184425601vImage: 
      !>[A: $tType,B: $tType] : ( ( set @ A ) > ( set @ ( product_prod @ B @ B ) ) > ( A > B ) > ( set @ ( product_prod @ A @ A ) ) ) ).

thf(sy_c_BNF__Greatest__Fixpoint_Oshift,type,
    bNF_Greatest_shift: 
      !>[A: $tType,B: $tType] : ( ( ( list @ A ) > B ) > A > ( list @ A ) > B ) ).

thf(sy_c_BNF__Greatest__Fixpoint_OtoCard,type,
    bNF_Greatest_toCard: 
      !>[A: $tType,B: $tType] : ( ( set @ A ) > ( set @ ( product_prod @ B @ B ) ) > A > B ) ).

thf(sy_c_BNF__Greatest__Fixpoint_OtoCard__pred,type,
    bNF_Gr1419584066657907630d_pred: 
      !>[A: $tType,B: $tType] : ( ( set @ A ) > ( set @ ( product_prod @ B @ B ) ) > ( A > B ) > $o ) ).

thf(sy_c_BNF__Greatest__Fixpoint_Ouniv,type,
    bNF_Greatest_univ: 
      !>[B: $tType,A: $tType] : ( ( B > A ) > ( set @ B ) > A ) ).

thf(sy_c_BNF__Wellorder__Constructions_OFunc,type,
    bNF_Wellorder_Func: 
      !>[A: $tType,B: $tType] : ( ( set @ A ) > ( set @ B ) > ( set @ ( A > B ) ) ) ).

thf(sy_c_BNF__Wellorder__Constructions_OFunc__map,type,
    bNF_We4925052301507509544nc_map: 
      !>[B: $tType,C: $tType,A: $tType,D: $tType] : ( ( set @ B ) > ( C > A ) > ( B > D ) > ( D > C ) > B > A ) ).

thf(sy_c_BNF__Wellorder__Constructions_Obsqr,type,
    bNF_Wellorder_bsqr: 
      !>[A: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > ( set @ ( product_prod @ ( product_prod @ A @ A ) @ ( product_prod @ A @ A ) ) ) ) ).

thf(sy_c_BNF__Wellorder__Constructions_Ocurr,type,
    bNF_Wellorder_curr: 
      !>[A: $tType,B: $tType,C: $tType] : ( ( set @ A ) > ( ( product_prod @ A @ B ) > C ) > A > B > C ) ).

thf(sy_c_BNF__Wellorder__Constructions_OofilterIncl,type,
    bNF_We413866401316099525erIncl: 
      !>[A: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) ) ).

thf(sy_c_BNF__Wellorder__Constructions_OordIso,type,
    bNF_Wellorder_ordIso: 
      !>[A: $tType,A2: $tType] : ( set @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A2 @ A2 ) ) ) ) ).

thf(sy_c_BNF__Wellorder__Constructions_OordLeq,type,
    bNF_Wellorder_ordLeq: 
      !>[A: $tType,A2: $tType] : ( set @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A2 @ A2 ) ) ) ) ).

thf(sy_c_BNF__Wellorder__Constructions_OordLess,type,
    bNF_We4044943003108391690rdLess: 
      !>[A: $tType,A2: $tType] : ( set @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A2 @ A2 ) ) ) ) ).

thf(sy_c_BNF__Wellorder__Constructions_Oord__to__filter,type,
    bNF_We8469521843155493636filter: 
      !>[A: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > ( set @ ( product_prod @ A @ A ) ) > ( set @ A ) ) ).

thf(sy_c_BNF__Wellorder__Embedding_Ocompat,type,
    bNF_Wellorder_compat: 
      !>[A: $tType,A2: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > ( set @ ( product_prod @ A2 @ A2 ) ) > ( A > A2 ) > $o ) ).

thf(sy_c_BNF__Wellorder__Embedding_Oembed,type,
    bNF_Wellorder_embed: 
      !>[A: $tType,A2: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > ( set @ ( product_prod @ A2 @ A2 ) ) > ( A > A2 ) > $o ) ).

thf(sy_c_BNF__Wellorder__Embedding_OembedS,type,
    bNF_Wellorder_embedS: 
      !>[A: $tType,A2: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > ( set @ ( product_prod @ A2 @ A2 ) ) > ( A > A2 ) > $o ) ).

thf(sy_c_BNF__Wellorder__Embedding_Oiso,type,
    bNF_Wellorder_iso: 
      !>[A: $tType,A2: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > ( set @ ( product_prod @ A2 @ A2 ) ) > ( A > A2 ) > $o ) ).

thf(sy_c_BNF__Wellorder__Relation_Owo__rel,type,
    bNF_Wellorder_wo_rel: 
      !>[A: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > $o ) ).

thf(sy_c_BNF__Wellorder__Relation_Owo__rel_OisMinim,type,
    bNF_We4791949203932849705sMinim: 
      !>[A: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > ( set @ A ) > A > $o ) ).

thf(sy_c_BNF__Wellorder__Relation_Owo__rel_Omax2,type,
    bNF_We1388413361240627857o_max2: 
      !>[A: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > A > A > A ) ).

thf(sy_c_BNF__Wellorder__Relation_Owo__rel_Ominim,type,
    bNF_We6954850376910717587_minim: 
      !>[A: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > ( set @ A ) > A ) ).

thf(sy_c_BNF__Wellorder__Relation_Owo__rel_Osuc,type,
    bNF_Wellorder_wo_suc: 
      !>[A: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > ( set @ A ) > A ) ).

thf(sy_c_Basic__BNF__LFPs_Oprod_Osize__prod,type,
    basic_BNF_size_prod: 
      !>[A: $tType,B: $tType] : ( ( A > nat ) > ( B > nat ) > ( product_prod @ A @ B ) > nat ) ).

thf(sy_c_Basic__BNFs_Ofsts,type,
    basic_fsts: 
      !>[A: $tType,B: $tType] : ( ( product_prod @ A @ B ) > ( set @ A ) ) ).

thf(sy_c_Basic__BNFs_Opred__fun,type,
    basic_pred_fun: 
      !>[A: $tType,B: $tType] : ( ( A > $o ) > ( B > $o ) > ( A > B ) > $o ) ).

thf(sy_c_Basic__BNFs_Opred__prod,type,
    basic_pred_prod: 
      !>[A: $tType,B: $tType] : ( ( A > $o ) > ( B > $o ) > ( product_prod @ A @ B ) > $o ) ).

thf(sy_c_Basic__BNFs_Orel__prod,type,
    basic_rel_prod: 
      !>[A: $tType,B: $tType,C: $tType,D: $tType] : ( ( A > B > $o ) > ( C > D > $o ) > ( product_prod @ A @ C ) > ( product_prod @ B @ D ) > $o ) ).

thf(sy_c_Basic__BNFs_Osnds,type,
    basic_snds: 
      !>[A: $tType,B: $tType] : ( ( product_prod @ A @ B ) > ( set @ B ) ) ).

thf(sy_c_Binomial_Obinomial,type,
    binomial: nat > nat > nat ).

thf(sy_c_Binomial_Ogbinomial,type,
    gbinomial: 
      !>[A: $tType] : ( A > nat > A ) ).

thf(sy_c_Bit__Operations_Oand__int__rel,type,
    bit_and_int_rel: ( product_prod @ int @ int ) > ( product_prod @ int @ int ) > $o ).

thf(sy_c_Bit__Operations_Oand__not__num,type,
    bit_and_not_num: num > num > ( option @ num ) ).

thf(sy_c_Bit__Operations_Oand__not__num__rel,type,
    bit_and_not_num_rel: ( product_prod @ num @ num ) > ( product_prod @ num @ num ) > $o ).

thf(sy_c_Bit__Operations_Oconcat__bit,type,
    bit_concat_bit: nat > int > int > int ).

thf(sy_c_Bit__Operations_Oring__bit__operations__class_Onot,type,
    bit_ri4277139882892585799ns_not: 
      !>[A: $tType] : ( A > A ) ).

thf(sy_c_Bit__Operations_Oring__bit__operations__class_Osigned__take__bit,type,
    bit_ri4674362597316999326ke_bit: 
      !>[A: $tType] : ( nat > A > A ) ).

thf(sy_c_Bit__Operations_Osemiring__bit__operations__class_Oand,type,
    bit_se5824344872417868541ns_and: 
      !>[A: $tType] : ( A > A > A ) ).

thf(sy_c_Bit__Operations_Osemiring__bit__operations__class_Odrop__bit,type,
    bit_se4197421643247451524op_bit: 
      !>[A: $tType] : ( nat > A > A ) ).

thf(sy_c_Bit__Operations_Osemiring__bit__operations__class_Oflip__bit,type,
    bit_se8732182000553998342ip_bit: 
      !>[A: $tType] : ( nat > A > A ) ).

thf(sy_c_Bit__Operations_Osemiring__bit__operations__class_Omask,type,
    bit_se2239418461657761734s_mask: 
      !>[A: $tType] : ( nat > A ) ).

thf(sy_c_Bit__Operations_Osemiring__bit__operations__class_Oor,type,
    bit_se1065995026697491101ons_or: 
      !>[A: $tType] : ( A > A > A ) ).

thf(sy_c_Bit__Operations_Osemiring__bit__operations__class_Opush__bit,type,
    bit_se4730199178511100633sh_bit: 
      !>[A: $tType] : ( nat > A > A ) ).

thf(sy_c_Bit__Operations_Osemiring__bit__operations__class_Oset__bit,type,
    bit_se5668285175392031749et_bit: 
      !>[A: $tType] : ( nat > A > A ) ).

thf(sy_c_Bit__Operations_Osemiring__bit__operations__class_Otake__bit,type,
    bit_se2584673776208193580ke_bit: 
      !>[A: $tType] : ( nat > A > A ) ).

thf(sy_c_Bit__Operations_Osemiring__bit__operations__class_Ounset__bit,type,
    bit_se2638667681897837118et_bit: 
      !>[A: $tType] : ( nat > A > A ) ).

thf(sy_c_Bit__Operations_Osemiring__bit__operations__class_Oxor,type,
    bit_se5824344971392196577ns_xor: 
      !>[A: $tType] : ( A > A > A ) ).

thf(sy_c_Bit__Operations_Osemiring__bits__class_Obit,type,
    bit_se5641148757651400278ts_bit: 
      !>[A: $tType] : ( A > nat > $o ) ).

thf(sy_c_Bit__Operations_Osemiring__bits__class_Opossible__bit,type,
    bit_se6407376104438227557le_bit: 
      !>[A: $tType] : ( ( itself @ A ) > nat > $o ) ).

thf(sy_c_Bit__Operations_Otake__bit__num,type,
    bit_take_bit_num: nat > num > ( option @ num ) ).

thf(sy_c_Bit__Operations_Ounique__euclidean__semiring__with__bit__operations__class_Oand__num,type,
    bit_un7362597486090784418nd_num: num > num > ( option @ num ) ).

thf(sy_c_Bit__Operations_Ounique__euclidean__semiring__with__bit__operations__class_Oand__num__rel,type,
    bit_un4731106466462545111um_rel: ( product_prod @ num @ num ) > ( product_prod @ num @ num ) > $o ).

thf(sy_c_Bit__Operations_Ounique__euclidean__semiring__with__bit__operations__class_Oxor__num,type,
    bit_un2480387367778600638or_num: num > num > ( option @ num ) ).

thf(sy_c_Boolean__Algebras_Oabstract__boolean__algebra,type,
    boolea2506097494486148201lgebra: 
      !>[A: $tType] : ( ( A > A > A ) > ( A > A > A ) > ( A > A ) > A > A > $o ) ).

thf(sy_c_Code__Numeral_Obit__cut__integer,type,
    code_bit_cut_integer: code_integer > ( product_prod @ code_integer @ $o ) ).

thf(sy_c_Code__Numeral_Odivmod__abs,type,
    code_divmod_abs: code_integer > code_integer > ( product_prod @ code_integer @ code_integer ) ).

thf(sy_c_Code__Numeral_Odivmod__integer,type,
    code_divmod_integer: code_integer > code_integer > ( product_prod @ code_integer @ code_integer ) ).

thf(sy_c_Code__Numeral_Odup,type,
    code_dup: code_integer > code_integer ).

thf(sy_c_Code__Numeral_Ointeger_Oint__of__integer,type,
    code_int_of_integer: code_integer > int ).

thf(sy_c_Code__Numeral_Ointeger_Ointeger__of__int,type,
    code_integer_of_int: int > code_integer ).

thf(sy_c_Code__Numeral_Ointeger__of__num,type,
    code_integer_of_num: num > code_integer ).

thf(sy_c_Code__Numeral_Onat__of__integer,type,
    code_nat_of_integer: code_integer > nat ).

thf(sy_c_Code__Numeral_Onatural_Onat__of__natural,type,
    code_nat_of_natural: code_natural > nat ).

thf(sy_c_Code__Numeral_Onatural_Onatural__of__nat,type,
    code_natural_of_nat: nat > code_natural ).

thf(sy_c_Code__Numeral_Onum__of__integer,type,
    code_num_of_integer: code_integer > num ).

thf(sy_c_Code__Numeral_Osub,type,
    code_sub: num > num > code_integer ).

thf(sy_c_Complete__Lattices_OInf__class_OInf,type,
    complete_Inf_Inf: 
      !>[A: $tType] : ( ( set @ A ) > A ) ).

thf(sy_c_Complete__Lattices_OSup__class_OSup,type,
    complete_Sup_Sup: 
      !>[A: $tType] : ( ( set @ A ) > A ) ).

thf(sy_c_Complete__Partial__Order_Occpo_Oadmissible,type,
    comple1908693960933563346ssible: 
      !>[A: $tType] : ( ( ( set @ A ) > A ) > ( A > A > $o ) > ( A > $o ) > $o ) ).

thf(sy_c_Complete__Partial__Order_Occpo__class_Oiteratesp,type,
    comple7512665784863727008ratesp: 
      !>[A: $tType] : ( ( A > A ) > A > $o ) ).

thf(sy_c_Complete__Partial__Order_Ochain,type,
    comple1602240252501008431_chain: 
      !>[A: $tType] : ( ( A > A > $o ) > ( set @ A ) > $o ) ).

thf(sy_c_Conditionally__Complete__Lattices_Opreorder_Obdd__above,type,
    condit8047198070973881523_above: 
      !>[A: $tType] : ( ( A > A > $o ) > ( set @ A ) > $o ) ).

thf(sy_c_Conditionally__Complete__Lattices_Opreorder_Obdd__below,type,
    condit8119078960628432327_below: 
      !>[A: $tType] : ( ( A > A > $o ) > ( set @ A ) > $o ) ).

thf(sy_c_Conditionally__Complete__Lattices_Opreorder__class_Obdd__above,type,
    condit941137186595557371_above: 
      !>[A: $tType] : ( ( set @ A ) > $o ) ).

thf(sy_c_Conditionally__Complete__Lattices_Opreorder__class_Obdd__below,type,
    condit1013018076250108175_below: 
      !>[A: $tType] : ( ( set @ A ) > $o ) ).

thf(sy_c_Divides_Oadjust__div,type,
    adjust_div: ( product_prod @ int @ int ) > int ).

thf(sy_c_Divides_Odivmod__nat,type,
    divmod_nat: nat > nat > ( product_prod @ nat @ nat ) ).

thf(sy_c_Divides_Oeucl__rel__int,type,
    eucl_rel_int: int > int > ( product_prod @ int @ int ) > $o ).

thf(sy_c_Divides_Ounique__euclidean__semiring__numeral__class_Odivides__aux,type,
    unique5940410009612947441es_aux: 
      !>[A: $tType] : ( ( product_prod @ A @ A ) > $o ) ).

thf(sy_c_Divides_Ounique__euclidean__semiring__numeral__class_Odivmod,type,
    unique8689654367752047608divmod: 
      !>[A: $tType] : ( num > num > ( product_prod @ A @ A ) ) ).

thf(sy_c_Divides_Ounique__euclidean__semiring__numeral__class_Odivmod__step,type,
    unique1321980374590559556d_step: 
      !>[A: $tType] : ( num > ( product_prod @ A @ A ) > ( product_prod @ A @ A ) ) ).

thf(sy_c_Equiv__Relations_Ocongruent,type,
    equiv_congruent: 
      !>[A: $tType,B: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > ( A > B ) > $o ) ).

thf(sy_c_Equiv__Relations_Ocongruent2,type,
    equiv_congruent2: 
      !>[A: $tType,B: $tType,C: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > ( set @ ( product_prod @ B @ B ) ) > ( A > B > C ) > $o ) ).

thf(sy_c_Equiv__Relations_Oequiv,type,
    equiv_equiv: 
      !>[A: $tType] : ( ( set @ A ) > ( set @ ( product_prod @ A @ A ) ) > $o ) ).

thf(sy_c_Equiv__Relations_Oproj,type,
    equiv_proj: 
      !>[B: $tType,A: $tType] : ( ( set @ ( product_prod @ B @ A ) ) > B > ( set @ A ) ) ).

thf(sy_c_Equiv__Relations_Oquotient,type,
    equiv_quotient: 
      !>[A: $tType] : ( ( set @ A ) > ( set @ ( product_prod @ A @ A ) ) > ( set @ ( set @ A ) ) ) ).

thf(sy_c_Euclidean__Division_Oeuclidean__semiring__class_Oeuclidean__size,type,
    euclid6346220572633701492n_size: 
      !>[A: $tType] : ( A > nat ) ).

thf(sy_c_Euclidean__Division_Ounique__euclidean__semiring__class_Odivision__segment,type,
    euclid7384307370059645450egment: 
      !>[A: $tType] : ( A > A ) ).

thf(sy_c_Factorial_Ocomm__semiring__1__class_Opochhammer,type,
    comm_s3205402744901411588hammer: 
      !>[A: $tType] : ( A > nat > A ) ).

thf(sy_c_Factorial_Osemiring__char__0__class_Ofact,type,
    semiring_char_0_fact: 
      !>[A: $tType] : ( nat > A ) ).

thf(sy_c_Fields_Oinverse__class_Oinverse,type,
    inverse_inverse: 
      !>[A: $tType] : ( A > A ) ).

thf(sy_c_Filter_Oat__bot,type,
    at_bot: 
      !>[A: $tType] : ( filter @ A ) ).

thf(sy_c_Filter_Oat__top,type,
    at_top: 
      !>[A: $tType] : ( filter @ A ) ).

thf(sy_c_Filter_Oeventually,type,
    eventually: 
      !>[A: $tType] : ( ( A > $o ) > ( filter @ A ) > $o ) ).

thf(sy_c_Filter_Ofilter_OAbs__filter,type,
    abs_filter: 
      !>[A: $tType] : ( ( ( A > $o ) > $o ) > ( filter @ A ) ) ).

thf(sy_c_Filter_Ofiltercomap,type,
    filtercomap: 
      !>[A: $tType,B: $tType] : ( ( A > B ) > ( filter @ B ) > ( filter @ A ) ) ).

thf(sy_c_Filter_Ofilterlim,type,
    filterlim: 
      !>[A: $tType,B: $tType] : ( ( A > B ) > ( filter @ B ) > ( filter @ A ) > $o ) ).

thf(sy_c_Filter_Ofiltermap,type,
    filtermap: 
      !>[A: $tType,B: $tType] : ( ( A > B ) > ( filter @ A ) > ( filter @ B ) ) ).

thf(sy_c_Filter_Ofinite__subsets__at__top,type,
    finite5375528669736107172at_top: 
      !>[A: $tType] : ( ( set @ A ) > ( filter @ ( set @ A ) ) ) ).

thf(sy_c_Filter_Omap__filter__on,type,
    map_filter_on: 
      !>[A: $tType,B: $tType] : ( ( set @ A ) > ( A > B ) > ( filter @ A ) > ( filter @ B ) ) ).

thf(sy_c_Filter_Oprincipal,type,
    principal: 
      !>[A: $tType] : ( ( set @ A ) > ( filter @ A ) ) ).

thf(sy_c_Filter_Oprod__filter,type,
    prod_filter: 
      !>[A: $tType,B: $tType] : ( ( filter @ A ) > ( filter @ B ) > ( filter @ ( product_prod @ A @ B ) ) ) ).

thf(sy_c_Filter_Orel__filter,type,
    rel_filter: 
      !>[A: $tType,B: $tType] : ( ( A > B > $o ) > ( filter @ A ) > ( filter @ B ) > $o ) ).

thf(sy_c_Finite__Set_OFpow,type,
    finite_Fpow: 
      !>[A: $tType] : ( ( set @ A ) > ( set @ ( set @ A ) ) ) ).

thf(sy_c_Finite__Set_Ocard,type,
    finite_card: 
      !>[B: $tType] : ( ( set @ B ) > nat ) ).

thf(sy_c_Finite__Set_Ocomp__fun__commute,type,
    finite6289374366891150609ommute: 
      !>[A: $tType,B: $tType] : ( ( A > B > B ) > $o ) ).

thf(sy_c_Finite__Set_Ocomp__fun__commute__on,type,
    finite4664212375090638736ute_on: 
      !>[A: $tType,B: $tType] : ( ( set @ A ) > ( A > B > B ) > $o ) ).

thf(sy_c_Finite__Set_Ocomp__fun__idem__on,type,
    finite673082921795544331dem_on: 
      !>[A: $tType,B: $tType] : ( ( set @ A ) > ( A > B > B ) > $o ) ).

thf(sy_c_Finite__Set_Ofinite,type,
    finite_finite2: 
      !>[A: $tType] : ( ( set @ A ) > $o ) ).

thf(sy_c_Finite__Set_Ofold,type,
    finite_fold: 
      !>[A: $tType,B: $tType] : ( ( A > B > B ) > B > ( set @ A ) > B ) ).

thf(sy_c_Finite__Set_Ofold__graph,type,
    finite_fold_graph: 
      !>[A: $tType,B: $tType] : ( ( A > B > B ) > B > ( set @ A ) > B > $o ) ).

thf(sy_c_Finite__Set_Ofolding__idem__on,type,
    finite1890593828518410140dem_on: 
      !>[A: $tType,B: $tType] : ( ( set @ A ) > ( A > B > B ) > $o ) ).

thf(sy_c_Finite__Set_Ofolding__on,type,
    finite_folding_on: 
      !>[A: $tType,B: $tType] : ( ( set @ A ) > ( A > B > B ) > $o ) ).

thf(sy_c_Finite__Set_Ofolding__on_OF,type,
    finite_folding_F: 
      !>[A: $tType,B: $tType] : ( ( A > B > B ) > B > ( set @ A ) > B ) ).

thf(sy_c_Fun_Obij__betw,type,
    bij_betw: 
      !>[A: $tType,B: $tType] : ( ( A > B ) > ( set @ A ) > ( set @ B ) > $o ) ).

thf(sy_c_Fun_Ocomp,type,
    comp: 
      !>[B: $tType,C: $tType,A: $tType] : ( ( B > C ) > ( A > B ) > A > C ) ).

thf(sy_c_Fun_Ofun__upd,type,
    fun_upd: 
      !>[A: $tType,B: $tType] : ( ( A > B ) > A > B > A > B ) ).

thf(sy_c_Fun_Oid,type,
    id: 
      !>[A: $tType] : ( A > A ) ).

thf(sy_c_Fun_Oinj__on,type,
    inj_on: 
      !>[A: $tType,B: $tType] : ( ( A > B ) > ( set @ A ) > $o ) ).

thf(sy_c_Fun_Omap__fun,type,
    map_fun: 
      !>[C: $tType,A: $tType,B: $tType,D: $tType] : ( ( C > A ) > ( B > D ) > ( A > B ) > C > D ) ).

thf(sy_c_Fun_Ooverride__on,type,
    override_on: 
      !>[A: $tType,B: $tType] : ( ( A > B ) > ( A > B ) > ( set @ A ) > A > B ) ).

thf(sy_c_Fun_Ostrict__mono__on,type,
    strict_mono_on: 
      !>[A: $tType,B: $tType] : ( ( A > B ) > ( set @ A ) > $o ) ).

thf(sy_c_Fun_Othe__inv__into,type,
    the_inv_into: 
      !>[A: $tType,B: $tType] : ( ( set @ A ) > ( A > B ) > B > A ) ).

thf(sy_c_Fun__Def_Omax__strict,type,
    fun_max_strict: set @ ( product_prod @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) ) ).

thf(sy_c_Fun__Def_Omax__weak,type,
    fun_max_weak: set @ ( product_prod @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) ) ).

thf(sy_c_Fun__Def_Omin__strict,type,
    fun_min_strict: set @ ( product_prod @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) ) ).

thf(sy_c_Fun__Def_Omin__weak,type,
    fun_min_weak: set @ ( product_prod @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) ) ).

thf(sy_c_Fun__Def_Opair__leq,type,
    fun_pair_leq: set @ ( product_prod @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) ) ).

thf(sy_c_Fun__Def_Opair__less,type,
    fun_pair_less: set @ ( product_prod @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) ) ).

thf(sy_c_Fun__Def_Oreduction__pair,type,
    fun_reduction_pair: 
      !>[A: $tType] : ( ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) ) > $o ) ).

thf(sy_c_Fun__Def_Orp__inv__image,type,
    fun_rp_inv_image: 
      !>[A: $tType,B: $tType] : ( ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) ) > ( B > A ) > ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ B @ B ) ) ) ) ).

thf(sy_c_GCD_OGcd__class_OGcd,type,
    gcd_Gcd: 
      !>[A: $tType] : ( ( set @ A ) > A ) ).

thf(sy_c_GCD_Obezw,type,
    bezw: nat > nat > ( product_prod @ int @ int ) ).

thf(sy_c_GCD_Ogcd__class_Ogcd,type,
    gcd_gcd: 
      !>[A: $tType] : ( A > A > A ) ).

thf(sy_c_GCD_Osemiring__1__class_Osemiring__char,type,
    semiri4206861660011772517g_char: 
      !>[A: $tType] : ( ( itself @ A ) > nat ) ).

thf(sy_c_GCD_Osemiring__gcd__class_OGcd__fin,type,
    semiring_gcd_Gcd_fin: 
      !>[A: $tType] : ( ( set @ A ) > A ) ).

thf(sy_c_Groups_Oabs__class_Oabs,type,
    abs_abs: 
      !>[A: $tType] : ( A > A ) ).

thf(sy_c_Groups_Ominus__class_Ominus,type,
    minus_minus: 
      !>[A: $tType] : ( A > A > A ) ).

thf(sy_c_Groups_Oone__class_Oone,type,
    one_one: 
      !>[A: $tType] : A ).

thf(sy_c_Groups_Oplus__class_Oplus,type,
    plus_plus: 
      !>[A: $tType] : ( A > A > A ) ).

thf(sy_c_Groups_Osgn__class_Osgn,type,
    sgn_sgn: 
      !>[A: $tType] : ( A > A ) ).

thf(sy_c_Groups_Otimes__class_Otimes,type,
    times_times: 
      !>[A: $tType] : ( A > A > A ) ).

thf(sy_c_Groups_Ouminus__class_Ouminus,type,
    uminus_uminus: 
      !>[A: $tType] : ( A > A ) ).

thf(sy_c_Groups_Ozero__class_Ozero,type,
    zero_zero: 
      !>[A: $tType] : A ).

thf(sy_c_Groups__Big_Ocomm__monoid__add_Osum,type,
    groups3894954378712506084id_sum: 
      !>[A: $tType,B: $tType] : ( ( A > A > A ) > A > ( B > A ) > ( set @ B ) > A ) ).

thf(sy_c_Groups__Big_Ocomm__monoid__add__class_Osum,type,
    groups7311177749621191930dd_sum: 
      !>[B: $tType,A: $tType] : ( ( B > A ) > ( set @ B ) > A ) ).

thf(sy_c_Groups__Big_Ocomm__monoid__add__class_Osum_H,type,
    groups1027152243600224163dd_sum: 
      !>[C: $tType,A: $tType] : ( ( C > A ) > ( set @ C ) > A ) ).

thf(sy_c_Groups__Big_Ocomm__monoid__mult__class_Oprod,type,
    groups7121269368397514597t_prod: 
      !>[B: $tType,A: $tType] : ( ( B > A ) > ( set @ B ) > A ) ).

thf(sy_c_Groups__Big_Ocomm__monoid__mult__class_Oprod_H,type,
    groups1962203154675924110t_prod: 
      !>[C: $tType,A: $tType] : ( ( C > A ) > ( set @ C ) > A ) ).

thf(sy_c_Groups__List_Ocomm__semiring__0__class_Ohorner__sum,type,
    groups4207007520872428315er_sum: 
      !>[B: $tType,A: $tType] : ( ( B > A ) > A > ( list @ B ) > A ) ).

thf(sy_c_Groups__List_Omonoid__add_Osum__list,type,
    groups4543113879258116180m_list: 
      !>[A: $tType] : ( ( A > A > A ) > A > ( list @ A ) > A ) ).

thf(sy_c_Groups__List_Omonoid__add__class_Osum__list,type,
    groups8242544230860333062m_list: 
      !>[A: $tType] : ( ( list @ A ) > A ) ).

thf(sy_c_HOL_OEx1,type,
    ex1: 
      !>[A: $tType] : ( ( A > $o ) > $o ) ).

thf(sy_c_HOL_ONO__MATCH,type,
    nO_MATCH: 
      !>[A: $tType,B: $tType] : ( A > B > $o ) ).

thf(sy_c_HOL_OThe,type,
    the: 
      !>[A: $tType] : ( ( A > $o ) > A ) ).

thf(sy_c_HOL_OUniq,type,
    uniq: 
      !>[A: $tType] : ( ( A > $o ) > $o ) ).

thf(sy_c_HOL_Odefault__class_Odefault,type,
    default_default: 
      !>[A: $tType] : A ).

thf(sy_c_HOL_Oundefined,type,
    undefined: 
      !>[A: $tType] : A ).

thf(sy_c_Heap_Oaddr__of__array,type,
    addr_of_array: 
      !>[A: $tType] : ( ( array @ A ) > nat ) ).

thf(sy_c_Heap_Oaddr__of__ref,type,
    addr_of_ref: 
      !>[A: $tType] : ( ( ref @ A ) > nat ) ).

thf(sy_c_Heap_Oarray_OArray,type,
    array2: 
      !>[A: $tType] : ( nat > ( array @ A ) ) ).

thf(sy_c_Heap_Oheap_Olim,type,
    lim: 
      !>[Z: $tType] : ( ( heap_ext @ Z ) > nat ) ).

thf(sy_c_Heap_Oheap_Olim__update,type,
    lim_update: 
      !>[Z: $tType] : ( ( nat > nat ) > ( heap_ext @ Z ) > ( heap_ext @ Z ) ) ).

thf(sy_c_Heap_Oref_ORef,type,
    ref2: 
      !>[A: $tType] : ( nat > ( ref @ A ) ) ).

thf(sy_c_Heap__Time__Monad_OHeap_OHeap,type,
    heap_Time_Heap2: 
      !>[A: $tType] : ( ( ( heap_ext @ product_unit ) > ( option @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) ) > ( heap_Time_Heap @ A ) ) ).

thf(sy_c_Heap__Time__Monad_OHeap_Osize__Heap,type,
    heap_Time_size_Heap: 
      !>[A: $tType] : ( ( A > nat ) > ( heap_Time_Heap @ A ) > nat ) ).

thf(sy_c_Heap__Time__Monad_OHeap__lub,type,
    heap_Time_Heap_lub: 
      !>[A: $tType] : ( ( set @ ( heap_Time_Heap @ A ) ) > ( heap_Time_Heap @ A ) ) ).

thf(sy_c_Heap__Time__Monad_Oassert,type,
    heap_Time_assert: 
      !>[A: $tType] : ( ( A > $o ) > A > ( heap_Time_Heap @ A ) ) ).

thf(sy_c_Heap__Time__Monad_Obind,type,
    heap_Time_bind: 
      !>[A: $tType,B: $tType] : ( ( heap_Time_Heap @ A ) > ( A > ( heap_Time_Heap @ B ) ) > ( heap_Time_Heap @ B ) ) ).

thf(sy_c_Heap__Time__Monad_Oeffect,type,
    heap_Time_effect: 
      !>[A: $tType] : ( ( heap_Time_Heap @ A ) > ( heap_ext @ product_unit ) > ( heap_ext @ product_unit ) > A > nat > $o ) ).

thf(sy_c_Heap__Time__Monad_Oexecute,type,
    heap_Time_execute: 
      !>[A: $tType] : ( ( heap_Time_Heap @ A ) > ( heap_ext @ product_unit ) > ( option @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) ) ).

thf(sy_c_Heap__Time__Monad_Oguard,type,
    heap_Time_guard: 
      !>[A: $tType] : ( ( ( heap_ext @ product_unit ) > $o ) > ( ( heap_ext @ product_unit ) > ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) > ( heap_Time_Heap @ A ) ) ).

thf(sy_c_Heap__Time__Monad_Oheap,type,
    heap_Time_heap: 
      !>[A: $tType] : ( ( ( heap_ext @ product_unit ) > ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) > ( heap_Time_Heap @ A ) ) ).

thf(sy_c_Heap__Time__Monad_Olift,type,
    heap_Time_lift: 
      !>[A: $tType,B: $tType] : ( ( A > B ) > A > ( heap_Time_Heap @ B ) ) ).

thf(sy_c_Heap__Time__Monad_Oraise,type,
    heap_Time_raise: 
      !>[A: $tType] : ( ( list @ char ) > ( heap_Time_Heap @ A ) ) ).

thf(sy_c_Heap__Time__Monad_Oreturn,type,
    heap_Time_return: 
      !>[A: $tType] : ( A > ( heap_Time_Heap @ A ) ) ).

thf(sy_c_Heap__Time__Monad_Osuccess,type,
    heap_Time_success: 
      !>[A: $tType] : ( ( heap_Time_Heap @ A ) > ( heap_ext @ product_unit ) > $o ) ).

thf(sy_c_Heap__Time__Monad_Otap,type,
    heap_Time_tap: 
      !>[A: $tType] : ( ( ( heap_ext @ product_unit ) > A ) > ( heap_Time_Heap @ A ) ) ).

thf(sy_c_Heap__Time__Monad_OtimeFrame,type,
    heap_Time_timeFrame: 
      !>[A: $tType] : ( nat > ( option @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) > ( option @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) ) ).

thf(sy_c_Heap__Time__Monad_OtimeFrame__rel,type,
    heap_T5500966940807335491me_rel: 
      !>[A: $tType] : ( ( product_prod @ nat @ ( option @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) ) > ( product_prod @ nat @ ( option @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) ) > $o ) ).

thf(sy_c_Heap__Time__Monad_Oureturn,type,
    heap_Time_ureturn: 
      !>[A: $tType] : ( A > ( heap_Time_Heap @ A ) ) ).

thf(sy_c_Heap__Time__Monad_Owait,type,
    heap_Time_wait: nat > ( heap_Time_Heap @ product_unit ) ).

thf(sy_c_Hoare__Triple_Ohoare__triple,type,
    hoare_hoare_triple: 
      !>[A: $tType] : ( assn > ( heap_Time_Heap @ A ) > ( A > assn ) > $o ) ).

thf(sy_c_Hoare__Triple_Onew__addrs,type,
    hoare_new_addrs: ( heap_ext @ product_unit ) > ( set @ nat ) > ( heap_ext @ product_unit ) > ( set @ nat ) ).

thf(sy_c_If,type,
    if: 
      !>[A: $tType] : ( $o > A > A > A ) ).

thf(sy_c_Inductive_Ocomplete__lattice__class_Ogfp,type,
    complete_lattice_gfp: 
      !>[A: $tType] : ( ( A > A ) > A ) ).

thf(sy_c_Inductive_Ocomplete__lattice__class_Olfp,type,
    complete_lattice_lfp: 
      !>[A: $tType] : ( ( A > A ) > A ) ).

thf(sy_c_Infinite__Set_Owellorder__class_Oenumerate,type,
    infini527867602293511546merate: 
      !>[A: $tType] : ( ( set @ A ) > nat > A ) ).

thf(sy_c_Int_OAbs__Integ,type,
    abs_Integ: ( product_prod @ nat @ nat ) > int ).

thf(sy_c_Int_ORep__Integ,type,
    rep_Integ: int > ( product_prod @ nat @ nat ) ).

thf(sy_c_Int_Oint__ge__less__than,type,
    int_ge_less_than: int > ( set @ ( product_prod @ int @ int ) ) ).

thf(sy_c_Int_Oint__ge__less__than2,type,
    int_ge_less_than2: int > ( set @ ( product_prod @ int @ int ) ) ).

thf(sy_c_Int_Ointrel,type,
    intrel: ( product_prod @ nat @ nat ) > ( product_prod @ nat @ nat ) > $o ).

thf(sy_c_Int_Onat,type,
    nat2: int > nat ).

thf(sy_c_Int_Opcr__int,type,
    pcr_int: ( product_prod @ nat @ nat ) > int > $o ).

thf(sy_c_Int_Opower__int,type,
    power_int: 
      !>[A: $tType] : ( A > int > A ) ).

thf(sy_c_Int_Oring__1__class_OInts,type,
    ring_1_Ints: 
      !>[A: $tType] : ( set @ A ) ).

thf(sy_c_Int_Oring__1__class_Oof__int,type,
    ring_1_of_int: 
      !>[A: $tType] : ( int > A ) ).

thf(sy_c_Lattices_Oinf__class_Oinf,type,
    inf_inf: 
      !>[A: $tType] : ( A > A > A ) ).

thf(sy_c_Lattices_Osemilattice__neutr__order,type,
    semila1105856199041335345_order: 
      !>[A: $tType] : ( ( A > A > A ) > A > ( A > A > $o ) > ( A > A > $o ) > $o ) ).

thf(sy_c_Lattices_Osup__class_Osup,type,
    sup_sup: 
      !>[A: $tType] : ( A > A > A ) ).

thf(sy_c_Lattices__Big_Olinorder_OMax,type,
    lattices_Max: 
      !>[A: $tType] : ( ( A > A > $o ) > ( set @ A ) > A ) ).

thf(sy_c_Lattices__Big_Olinorder_OMin,type,
    lattices_Min: 
      !>[A: $tType] : ( ( A > A > $o ) > ( set @ A ) > A ) ).

thf(sy_c_Lattices__Big_Olinorder__class_OMax,type,
    lattic643756798349783984er_Max: 
      !>[A: $tType] : ( ( set @ A ) > A ) ).

thf(sy_c_Lattices__Big_Olinorder__class_OMin,type,
    lattic643756798350308766er_Min: 
      !>[A: $tType] : ( ( set @ A ) > A ) ).

thf(sy_c_Lattices__Big_Oord__class_Oarg__max,type,
    lattices_ord_arg_max: 
      !>[B: $tType,A: $tType] : ( ( B > A ) > ( B > $o ) > B ) ).

thf(sy_c_Lattices__Big_Oord__class_Oarg__max__on,type,
    lattic1883929316492267755max_on: 
      !>[B: $tType,A: $tType] : ( ( B > A ) > ( set @ B ) > B ) ).

thf(sy_c_Lattices__Big_Oord__class_Oarg__min,type,
    lattices_ord_arg_min: 
      !>[B: $tType,A: $tType] : ( ( B > A ) > ( B > $o ) > B ) ).

thf(sy_c_Lattices__Big_Oord__class_Oarg__min__on,type,
    lattic7623131987881927897min_on: 
      !>[B: $tType,A: $tType] : ( ( B > A ) > ( set @ B ) > B ) ).

thf(sy_c_Lattices__Big_Oord__class_Ois__arg__max,type,
    lattic501386751176901750rg_max: 
      !>[B: $tType,A: $tType] : ( ( B > A ) > ( B > $o ) > B > $o ) ).

thf(sy_c_Lattices__Big_Oord__class_Ois__arg__min,type,
    lattic501386751177426532rg_min: 
      !>[B: $tType,A: $tType] : ( ( B > A ) > ( B > $o ) > B > $o ) ).

thf(sy_c_Lattices__Big_Osemilattice__inf_OInf__fin,type,
    lattic8678736583308907530nf_fin: 
      !>[A: $tType] : ( ( A > A > A ) > ( set @ A ) > A ) ).

thf(sy_c_Lattices__Big_Osemilattice__inf__class_OInf__fin,type,
    lattic7752659483105999362nf_fin: 
      !>[A: $tType] : ( ( set @ A ) > A ) ).

thf(sy_c_Lattices__Big_Osemilattice__order__set,type,
    lattic4895041142388067077er_set: 
      !>[A: $tType] : ( ( A > A > A ) > ( A > A > $o ) > ( A > A > $o ) > $o ) ).

thf(sy_c_Lattices__Big_Osemilattice__sup_OSup__fin,type,
    lattic4630905495605216202up_fin: 
      !>[A: $tType] : ( ( A > A > A ) > ( set @ A ) > A ) ).

thf(sy_c_Lattices__Big_Osemilattice__sup__class_OSup__fin,type,
    lattic5882676163264333800up_fin: 
      !>[A: $tType] : ( ( set @ A ) > A ) ).

thf(sy_c_Lifting_OQuotient,type,
    quotient: 
      !>[A: $tType,B: $tType] : ( ( A > A > $o ) > ( A > B ) > ( B > A ) > ( A > B > $o ) > $o ) ).

thf(sy_c_Lifting_Orel__pred__comp,type,
    rel_pred_comp: 
      !>[A: $tType,B: $tType] : ( ( A > B > $o ) > ( B > $o ) > A > $o ) ).

thf(sy_c_List_OBleast,type,
    bleast: 
      !>[A: $tType] : ( ( set @ A ) > ( A > $o ) > A ) ).

thf(sy_c_List_Oabort__Bleast,type,
    abort_Bleast: 
      !>[A: $tType] : ( ( set @ A ) > ( A > $o ) > A ) ).

thf(sy_c_List_Oappend,type,
    append: 
      !>[A: $tType] : ( ( list @ A ) > ( list @ A ) > ( list @ A ) ) ).

thf(sy_c_List_Oarg__min__list,type,
    arg_min_list: 
      !>[A: $tType,B: $tType] : ( ( A > B ) > ( list @ A ) > A ) ).

thf(sy_c_List_Oarg__min__list__rel,type,
    arg_min_list_rel: 
      !>[A: $tType,B: $tType] : ( ( product_prod @ ( A > B ) @ ( list @ A ) ) > ( product_prod @ ( A > B ) @ ( list @ A ) ) > $o ) ).

thf(sy_c_List_Obind,type,
    bind: 
      !>[A: $tType,B: $tType] : ( ( list @ A ) > ( A > ( list @ B ) ) > ( list @ B ) ) ).

thf(sy_c_List_Obutlast,type,
    butlast: 
      !>[A: $tType] : ( ( list @ A ) > ( list @ A ) ) ).

thf(sy_c_List_Oconcat,type,
    concat: 
      !>[A: $tType] : ( ( list @ ( list @ A ) ) > ( list @ A ) ) ).

thf(sy_c_List_Ocoset,type,
    coset: 
      !>[A: $tType] : ( ( list @ A ) > ( set @ A ) ) ).

thf(sy_c_List_Ocount__list,type,
    count_list: 
      !>[A: $tType] : ( ( list @ A ) > A > nat ) ).

thf(sy_c_List_Odistinct,type,
    distinct: 
      !>[A: $tType] : ( ( list @ A ) > $o ) ).

thf(sy_c_List_Odrop,type,
    drop: 
      !>[A: $tType] : ( nat > ( list @ A ) > ( list @ A ) ) ).

thf(sy_c_List_OdropWhile,type,
    dropWhile: 
      !>[A: $tType] : ( ( A > $o ) > ( list @ A ) > ( list @ A ) ) ).

thf(sy_c_List_Oenumerate,type,
    enumerate: 
      !>[A: $tType] : ( nat > ( list @ A ) > ( list @ ( product_prod @ nat @ A ) ) ) ).

thf(sy_c_List_Oextract,type,
    extract: 
      !>[A: $tType] : ( ( A > $o ) > ( list @ A ) > ( option @ ( product_prod @ ( list @ A ) @ ( product_prod @ A @ ( list @ A ) ) ) ) ) ).

thf(sy_c_List_Ofilter,type,
    filter2: 
      !>[A: $tType] : ( ( A > $o ) > ( list @ A ) > ( list @ A ) ) ).

thf(sy_c_List_Ofind,type,
    find: 
      !>[A: $tType] : ( ( A > $o ) > ( list @ A ) > ( option @ A ) ) ).

thf(sy_c_List_Ofold,type,
    fold: 
      !>[A: $tType,B: $tType] : ( ( A > B > B ) > ( list @ A ) > B > B ) ).

thf(sy_c_List_Ofolding__insort__key,type,
    folding_insort_key: 
      !>[A: $tType,B: $tType] : ( ( A > A > $o ) > ( A > A > $o ) > ( set @ B ) > ( B > A ) > $o ) ).

thf(sy_c_List_Ofoldl,type,
    foldl: 
      !>[B: $tType,A: $tType] : ( ( B > A > B ) > B > ( list @ A ) > B ) ).

thf(sy_c_List_Ofoldr,type,
    foldr: 
      !>[A: $tType,B: $tType] : ( ( A > B > B ) > ( list @ A ) > B > B ) ).

thf(sy_c_List_Ogen__length,type,
    gen_length: 
      !>[A: $tType] : ( nat > ( list @ A ) > nat ) ).

thf(sy_c_List_Olast,type,
    last: 
      !>[A: $tType] : ( ( list @ A ) > A ) ).

thf(sy_c_List_Olenlex,type,
    lenlex: 
      !>[A: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > ( set @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) ) ) ).

thf(sy_c_List_Olex,type,
    lex: 
      !>[A: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > ( set @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) ) ) ).

thf(sy_c_List_Olexn,type,
    lexn: 
      !>[A: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > nat > ( set @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) ) ) ).

thf(sy_c_List_Olexord,type,
    lexord: 
      !>[A: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > ( set @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) ) ) ).

thf(sy_c_List_Olexordp,type,
    lexordp: 
      !>[A: $tType] : ( ( A > A > $o ) > ( list @ A ) > ( list @ A ) > $o ) ).

thf(sy_c_List_Olinorder_Oinsort__key,type,
    insort_key: 
      !>[A: $tType,B: $tType] : ( ( A > A > $o ) > ( B > A ) > B > ( list @ B ) > ( list @ B ) ) ).

thf(sy_c_List_Olinorder_Osorted__key__list__of__set,type,
    sorted8670434370408473282of_set: 
      !>[A: $tType,B: $tType] : ( ( A > A > $o ) > ( B > A ) > ( set @ B ) > ( list @ B ) ) ).

thf(sy_c_List_Olinorder__class_Oinsort__insert__key,type,
    linord329482645794927042rt_key: 
      !>[B: $tType,A: $tType] : ( ( B > A ) > B > ( list @ B ) > ( list @ B ) ) ).

thf(sy_c_List_Olinorder__class_Oinsort__key,type,
    linorder_insort_key: 
      !>[B: $tType,A: $tType] : ( ( B > A ) > B > ( list @ B ) > ( list @ B ) ) ).

thf(sy_c_List_Olinorder__class_Osort__key,type,
    linorder_sort_key: 
      !>[B: $tType,A: $tType] : ( ( B > A ) > ( list @ B ) > ( list @ B ) ) ).

thf(sy_c_List_Olinorder__class_Osorted__key__list__of__set,type,
    linord144544945434240204of_set: 
      !>[B: $tType,A: $tType] : ( ( B > A ) > ( set @ B ) > ( list @ B ) ) ).

thf(sy_c_List_Olinorder__class_Osorted__list__of__set,type,
    linord4507533701916653071of_set: 
      !>[A: $tType] : ( ( set @ A ) > ( list @ A ) ) ).

thf(sy_c_List_Olinorder__class_Ostable__sort__key,type,
    linord3483353639454293061rt_key: 
      !>[B: $tType,A: $tType] : ( ( ( B > A ) > ( list @ B ) > ( list @ B ) ) > $o ) ).

thf(sy_c_List_Olist_OCons,type,
    cons: 
      !>[A: $tType] : ( A > ( list @ A ) > ( list @ A ) ) ).

thf(sy_c_List_Olist_ONil,type,
    nil: 
      !>[A: $tType] : ( list @ A ) ).

thf(sy_c_List_Olist_Ocase__list,type,
    case_list: 
      !>[B: $tType,A: $tType] : ( B > ( A > ( list @ A ) > B ) > ( list @ A ) > B ) ).

thf(sy_c_List_Olist_Ohd,type,
    hd: 
      !>[A: $tType] : ( ( list @ A ) > A ) ).

thf(sy_c_List_Olist_Olist__all2,type,
    list_all2: 
      !>[A: $tType,B: $tType] : ( ( A > B > $o ) > ( list @ A ) > ( list @ B ) > $o ) ).

thf(sy_c_List_Olist_Omap,type,
    map: 
      !>[A: $tType,Aa: $tType] : ( ( A > Aa ) > ( list @ A ) > ( list @ Aa ) ) ).

thf(sy_c_List_Olist_Orec__list,type,
    rec_list: 
      !>[C: $tType,A: $tType] : ( C > ( A > ( list @ A ) > C > C ) > ( list @ A ) > C ) ).

thf(sy_c_List_Olist_Oset,type,
    set2: 
      !>[A: $tType] : ( ( list @ A ) > ( set @ A ) ) ).

thf(sy_c_List_Olist_Osize__list,type,
    size_list: 
      !>[A: $tType] : ( ( A > nat ) > ( list @ A ) > nat ) ).

thf(sy_c_List_Olist_Otl,type,
    tl: 
      !>[A: $tType] : ( ( list @ A ) > ( list @ A ) ) ).

thf(sy_c_List_Olist__update,type,
    list_update: 
      !>[A: $tType] : ( ( list @ A ) > nat > A > ( list @ A ) ) ).

thf(sy_c_List_Olistrel,type,
    listrel: 
      !>[A: $tType,B: $tType] : ( ( set @ ( product_prod @ A @ B ) ) > ( set @ ( product_prod @ ( list @ A ) @ ( list @ B ) ) ) ) ).

thf(sy_c_List_Olistrel1,type,
    listrel1: 
      !>[A: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > ( set @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) ) ) ).

thf(sy_c_List_Olistrel1p,type,
    listrel1p: 
      !>[A: $tType] : ( ( A > A > $o ) > ( list @ A ) > ( list @ A ) > $o ) ).

thf(sy_c_List_Olistrelp,type,
    listrelp: 
      !>[A: $tType,B: $tType] : ( ( A > B > $o ) > ( list @ A ) > ( list @ B ) > $o ) ).

thf(sy_c_List_Olists,type,
    lists: 
      !>[A: $tType] : ( ( set @ A ) > ( set @ ( list @ A ) ) ) ).

thf(sy_c_List_Omap__filter,type,
    map_filter: 
      !>[A: $tType,B: $tType] : ( ( A > ( option @ B ) ) > ( list @ A ) > ( list @ B ) ) ).

thf(sy_c_List_Omap__project,type,
    map_project: 
      !>[A: $tType,B: $tType] : ( ( A > ( option @ B ) ) > ( set @ A ) > ( set @ B ) ) ).

thf(sy_c_List_Omeasures,type,
    measures: 
      !>[A: $tType] : ( ( list @ ( A > nat ) ) > ( set @ ( product_prod @ A @ A ) ) ) ).

thf(sy_c_List_Omin__list,type,
    min_list: 
      !>[A: $tType] : ( ( list @ A ) > A ) ).

thf(sy_c_List_Omin__list__rel,type,
    min_list_rel: 
      !>[A: $tType] : ( ( list @ A ) > ( list @ A ) > $o ) ).

thf(sy_c_List_On__lists,type,
    n_lists: 
      !>[A: $tType] : ( nat > ( list @ A ) > ( list @ ( list @ A ) ) ) ).

thf(sy_c_List_Onth,type,
    nth: 
      !>[A: $tType] : ( ( list @ A ) > nat > A ) ).

thf(sy_c_List_Onths,type,
    nths: 
      !>[A: $tType] : ( ( list @ A ) > ( set @ nat ) > ( list @ A ) ) ).

thf(sy_c_List_Oord_Olexordp,type,
    lexordp2: 
      !>[A: $tType] : ( ( A > A > $o ) > ( list @ A ) > ( list @ A ) > $o ) ).

thf(sy_c_List_Oord__class_Olexordp,type,
    ord_lexordp: 
      !>[A: $tType] : ( ( list @ A ) > ( list @ A ) > $o ) ).

thf(sy_c_List_Opartition,type,
    partition: 
      !>[A: $tType] : ( ( A > $o ) > ( list @ A ) > ( product_prod @ ( list @ A ) @ ( list @ A ) ) ) ).

thf(sy_c_List_Oproduct,type,
    product: 
      !>[A: $tType,B: $tType] : ( ( list @ A ) > ( list @ B ) > ( list @ ( product_prod @ A @ B ) ) ) ).

thf(sy_c_List_Oproduct__lists,type,
    product_lists: 
      !>[A: $tType] : ( ( list @ ( list @ A ) ) > ( list @ ( list @ A ) ) ) ).

thf(sy_c_List_Oremdups,type,
    remdups: 
      !>[A: $tType] : ( ( list @ A ) > ( list @ A ) ) ).

thf(sy_c_List_Oremdups__adj,type,
    remdups_adj: 
      !>[A: $tType] : ( ( list @ A ) > ( list @ A ) ) ).

thf(sy_c_List_Oremove1,type,
    remove1: 
      !>[A: $tType] : ( A > ( list @ A ) > ( list @ A ) ) ).

thf(sy_c_List_Oreplicate,type,
    replicate: 
      !>[A: $tType] : ( nat > A > ( list @ A ) ) ).

thf(sy_c_List_Orev,type,
    rev: 
      !>[A: $tType] : ( ( list @ A ) > ( list @ A ) ) ).

thf(sy_c_List_Orotate,type,
    rotate: 
      !>[A: $tType] : ( nat > ( list @ A ) > ( list @ A ) ) ).

thf(sy_c_List_Orotate1,type,
    rotate1: 
      !>[A: $tType] : ( ( list @ A ) > ( list @ A ) ) ).

thf(sy_c_List_Oset__Cons,type,
    set_Cons: 
      !>[A: $tType] : ( ( set @ A ) > ( set @ ( list @ A ) ) > ( set @ ( list @ A ) ) ) ).

thf(sy_c_List_Oshuffles,type,
    shuffles: 
      !>[A: $tType] : ( ( list @ A ) > ( list @ A ) > ( set @ ( list @ A ) ) ) ).

thf(sy_c_List_Oshuffles__rel,type,
    shuffles_rel: 
      !>[A: $tType] : ( ( product_prod @ ( list @ A ) @ ( list @ A ) ) > ( product_prod @ ( list @ A ) @ ( list @ A ) ) > $o ) ).

thf(sy_c_List_Osorted__wrt,type,
    sorted_wrt: 
      !>[A: $tType] : ( ( A > A > $o ) > ( list @ A ) > $o ) ).

thf(sy_c_List_Osubseqs,type,
    subseqs: 
      !>[A: $tType] : ( ( list @ A ) > ( list @ ( list @ A ) ) ) ).

thf(sy_c_List_Otake,type,
    take: 
      !>[A: $tType] : ( nat > ( list @ A ) > ( list @ A ) ) ).

thf(sy_c_List_OtakeWhile,type,
    takeWhile: 
      !>[A: $tType] : ( ( A > $o ) > ( list @ A ) > ( list @ A ) ) ).

thf(sy_c_List_Otranspose,type,
    transpose: 
      !>[A: $tType] : ( ( list @ ( list @ A ) ) > ( list @ ( list @ A ) ) ) ).

thf(sy_c_List_Otranspose__rel,type,
    transpose_rel: 
      !>[A: $tType] : ( ( list @ ( list @ A ) ) > ( list @ ( list @ A ) ) > $o ) ).

thf(sy_c_List_Ounion,type,
    union: 
      !>[A: $tType] : ( ( list @ A ) > ( list @ A ) > ( list @ A ) ) ).

thf(sy_c_List_Oupt,type,
    upt: nat > nat > ( list @ nat ) ).

thf(sy_c_List_Oupto,type,
    upto: int > int > ( list @ int ) ).

thf(sy_c_List_Oupto__aux,type,
    upto_aux: int > int > ( list @ int ) > ( list @ int ) ).

thf(sy_c_List_Oupto__rel,type,
    upto_rel: ( product_prod @ int @ int ) > ( product_prod @ int @ int ) > $o ).

thf(sy_c_List_Ozip,type,
    zip: 
      !>[A: $tType,B: $tType] : ( ( list @ A ) > ( list @ B ) > ( list @ ( product_prod @ A @ B ) ) ) ).

thf(sy_c_Map_Odom,type,
    dom: 
      !>[A: $tType,B: $tType] : ( ( A > ( option @ B ) ) > ( set @ A ) ) ).

thf(sy_c_Map_Ograph,type,
    graph: 
      !>[A: $tType,B: $tType] : ( ( A > ( option @ B ) ) > ( set @ ( product_prod @ A @ B ) ) ) ).

thf(sy_c_Map_Omap__add,type,
    map_add: 
      !>[A: $tType,B: $tType] : ( ( A > ( option @ B ) ) > ( A > ( option @ B ) ) > A > ( option @ B ) ) ).

thf(sy_c_Map_Omap__comp,type,
    map_comp: 
      !>[B: $tType,C: $tType,A: $tType] : ( ( B > ( option @ C ) ) > ( A > ( option @ B ) ) > A > ( option @ C ) ) ).

thf(sy_c_Map_Omap__le,type,
    map_le: 
      !>[A: $tType,B: $tType] : ( ( A > ( option @ B ) ) > ( A > ( option @ B ) ) > $o ) ).

thf(sy_c_Map_Omap__of,type,
    map_of: 
      !>[A: $tType,B: $tType] : ( ( list @ ( product_prod @ A @ B ) ) > A > ( option @ B ) ) ).

thf(sy_c_Map_Omap__upds,type,
    map_upds: 
      !>[A: $tType,B: $tType] : ( ( A > ( option @ B ) ) > ( list @ A ) > ( list @ B ) > A > ( option @ B ) ) ).

thf(sy_c_Map_Oran,type,
    ran: 
      !>[A: $tType,B: $tType] : ( ( A > ( option @ B ) ) > ( set @ B ) ) ).

thf(sy_c_Map_Orestrict__map,type,
    restrict_map: 
      !>[A: $tType,B: $tType] : ( ( A > ( option @ B ) ) > ( set @ A ) > A > ( option @ B ) ) ).

thf(sy_c_Misc_OCODE__ABORT,type,
    cODE_ABORT: 
      !>[A: $tType] : ( ( product_unit > A ) > A ) ).

thf(sy_c_Misc_OEps__Opt,type,
    eps_Opt: 
      !>[A: $tType] : ( ( A > $o ) > ( option @ A ) ) ).

thf(sy_c_Misc_Obijective,type,
    bijective: 
      !>[A: $tType,B: $tType] : ( ( set @ ( product_prod @ A @ B ) ) > $o ) ).

thf(sy_c_Misc_Obrk__rel,type,
    brk_rel: 
      !>[A: $tType,B: $tType] : ( ( set @ ( product_prod @ A @ B ) ) > ( set @ ( product_prod @ ( product_prod @ $o @ A ) @ ( product_prod @ $o @ B ) ) ) ) ).

thf(sy_c_Misc_Odflt__None__set,type,
    dflt_None_set: 
      !>[A: $tType] : ( ( set @ A ) > ( option @ ( set @ A ) ) ) ).

thf(sy_c_Misc_Ofilter__rev,type,
    filter_rev: 
      !>[A: $tType] : ( ( A > $o ) > ( list @ A ) > ( list @ A ) ) ).

thf(sy_c_Misc_Ofilter__rev__aux,type,
    filter_rev_aux: 
      !>[A: $tType] : ( ( list @ A ) > ( A > $o ) > ( list @ A ) > ( list @ A ) ) ).

thf(sy_c_Misc_Ofun__of__rel,type,
    fun_of_rel: 
      !>[B: $tType,A: $tType] : ( ( set @ ( product_prod @ B @ A ) ) > B > A ) ).

thf(sy_c_Misc_Oinv__on,type,
    inv_on: 
      !>[A: $tType,B: $tType] : ( ( A > B ) > ( set @ A ) > B > A ) ).

thf(sy_c_Misc_Olist__collect__set,type,
    list_collect_set: 
      !>[B: $tType,A: $tType] : ( ( B > ( set @ A ) ) > ( list @ B ) > ( set @ A ) ) ).

thf(sy_c_Misc_Omap__mmupd,type,
    map_mmupd: 
      !>[B: $tType,A: $tType] : ( ( B > ( option @ A ) ) > ( set @ B ) > A > B > ( option @ A ) ) ).

thf(sy_c_Misc_Omap__to__set,type,
    map_to_set: 
      !>[A: $tType,B: $tType] : ( ( A > ( option @ B ) ) > ( set @ ( product_prod @ A @ B ) ) ) ).

thf(sy_c_Misc_Omerge,type,
    merge: 
      !>[A: $tType] : ( ( list @ A ) > ( list @ A ) > ( list @ A ) ) ).

thf(sy_c_Misc_Omerge__list,type,
    merge_list: 
      !>[A: $tType] : ( ( list @ ( list @ A ) ) > ( list @ ( list @ A ) ) > ( list @ A ) ) ).

thf(sy_c_Misc_Omerge__list__rel,type,
    merge_list_rel: 
      !>[A: $tType] : ( ( product_prod @ ( list @ ( list @ A ) ) @ ( list @ ( list @ A ) ) ) > ( product_prod @ ( list @ ( list @ A ) ) @ ( list @ ( list @ A ) ) ) > $o ) ).

thf(sy_c_Misc_Omerge__rel,type,
    merge_rel: 
      !>[A: $tType] : ( ( product_prod @ ( list @ A ) @ ( list @ A ) ) > ( product_prod @ ( list @ A ) @ ( list @ A ) ) > $o ) ).

thf(sy_c_Misc_Omergesort,type,
    mergesort: 
      !>[A: $tType] : ( ( list @ A ) > ( list @ A ) ) ).

thf(sy_c_Misc_Omergesort__by__rel,type,
    mergesort_by_rel: 
      !>[A: $tType] : ( ( A > A > $o ) > ( list @ A ) > ( list @ A ) ) ).

thf(sy_c_Misc_Omergesort__by__rel__merge,type,
    merges9089515139780605204_merge: 
      !>[A: $tType] : ( ( A > A > $o ) > ( list @ A ) > ( list @ A ) > ( list @ A ) ) ).

thf(sy_c_Misc_Omergesort__by__rel__merge__rel,type,
    merges2244889521215249637ge_rel: 
      !>[A: $tType] : ( ( product_prod @ ( A > A > $o ) @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) ) > ( product_prod @ ( A > A > $o ) @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) ) > $o ) ).

thf(sy_c_Misc_Omergesort__by__rel__rel,type,
    mergesort_by_rel_rel: 
      !>[A: $tType] : ( ( product_prod @ ( A > A > $o ) @ ( list @ A ) ) > ( product_prod @ ( A > A > $o ) @ ( list @ A ) ) > $o ) ).

thf(sy_c_Misc_Omergesort__by__rel__split,type,
    merges295452479951948502_split: 
      !>[A: $tType] : ( ( product_prod @ ( list @ A ) @ ( list @ A ) ) > ( list @ A ) > ( product_prod @ ( list @ A ) @ ( list @ A ) ) ) ).

thf(sy_c_Misc_Omergesort__by__rel__split__rel,type,
    merges7066485432131860899it_rel: 
      !>[A: $tType] : ( ( product_prod @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( list @ A ) ) > ( product_prod @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( list @ A ) ) > $o ) ).

thf(sy_c_Misc_Omergesort__remdups,type,
    mergesort_remdups: 
      !>[A: $tType] : ( ( list @ A ) > ( list @ A ) ) ).

thf(sy_c_Misc_Opairself,type,
    pairself: 
      !>[A: $tType,B: $tType] : ( ( A > B ) > ( product_prod @ A @ A ) > ( product_prod @ B @ B ) ) ).

thf(sy_c_Misc_Opairself__rel,type,
    pairself_rel: 
      !>[A: $tType,B: $tType] : ( ( product_prod @ ( A > B ) @ ( product_prod @ A @ A ) ) > ( product_prod @ ( A > B ) @ ( product_prod @ A @ A ) ) > $o ) ).

thf(sy_c_Misc_Opartition__rev,type,
    partition_rev: 
      !>[A: $tType] : ( ( A > $o ) > ( product_prod @ ( list @ A ) @ ( list @ A ) ) > ( list @ A ) > ( product_prod @ ( list @ A ) @ ( list @ A ) ) ) ).

thf(sy_c_Misc_Opartition__rev__rel,type,
    partition_rev_rel: 
      !>[A: $tType] : ( ( product_prod @ ( A > $o ) @ ( product_prod @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( list @ A ) ) ) > ( product_prod @ ( A > $o ) @ ( product_prod @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( list @ A ) ) ) > $o ) ).

thf(sy_c_Misc_Oquicksort__by__rel,type,
    quicksort_by_rel: 
      !>[A: $tType] : ( ( A > A > $o ) > ( list @ A ) > ( list @ A ) > ( list @ A ) ) ).

thf(sy_c_Misc_Oquicksort__by__rel__rel,type,
    quicksort_by_rel_rel: 
      !>[A: $tType] : ( ( product_prod @ ( A > A > $o ) @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) ) > ( product_prod @ ( A > A > $o ) @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) ) > $o ) ).

thf(sy_c_Misc_Orel__of,type,
    rel_of: 
      !>[A: $tType,B: $tType] : ( ( A > ( option @ B ) ) > ( ( product_prod @ A @ B ) > $o ) > ( set @ ( product_prod @ A @ B ) ) ) ).

thf(sy_c_Misc_Orel__restrict,type,
    rel_restrict: 
      !>[A: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > ( set @ A ) > ( set @ ( product_prod @ A @ A ) ) ) ).

thf(sy_c_Misc_Oremove__rev,type,
    remove_rev: 
      !>[A: $tType] : ( A > ( list @ A ) > ( list @ A ) ) ).

thf(sy_c_Misc_Orevg,type,
    revg: 
      !>[A: $tType] : ( ( list @ A ) > ( list @ A ) > ( list @ A ) ) ).

thf(sy_c_Misc_Orevg__rel,type,
    revg_rel: 
      !>[A: $tType] : ( ( product_prod @ ( list @ A ) @ ( list @ A ) ) > ( product_prod @ ( list @ A ) @ ( list @ A ) ) > $o ) ).

thf(sy_c_Misc_Oset__to__map,type,
    set_to_map: 
      !>[B: $tType,A: $tType] : ( ( set @ ( product_prod @ B @ A ) ) > B > ( option @ A ) ) ).

thf(sy_c_Misc_Oslice,type,
    slice: 
      !>[A: $tType] : ( nat > nat > ( list @ A ) > ( list @ A ) ) ).

thf(sy_c_Misc_Othe__default,type,
    the_default: 
      !>[A: $tType] : ( A > ( option @ A ) > A ) ).

thf(sy_c_Misc_Ouncurry,type,
    uncurry: 
      !>[A: $tType,B: $tType,C: $tType] : ( ( A > B > C ) > ( product_prod @ A @ B ) > C ) ).

thf(sy_c_Misc_Ozipf,type,
    zipf: 
      !>[A: $tType,B: $tType,C: $tType] : ( ( A > B > C ) > ( list @ A ) > ( list @ B ) > ( list @ C ) ) ).

thf(sy_c_Misc_Ozipf__rel,type,
    zipf_rel: 
      !>[A: $tType,B: $tType,C: $tType] : ( ( product_prod @ ( A > B > C ) @ ( product_prod @ ( list @ A ) @ ( list @ B ) ) ) > ( product_prod @ ( A > B > C ) @ ( product_prod @ ( list @ A ) @ ( list @ B ) ) ) > $o ) ).

thf(sy_c_Multiset_Oadd__mset,type,
    add_mset: 
      !>[A: $tType] : ( A > ( multiset @ A ) > ( multiset @ A ) ) ).

thf(sy_c_Multiset_Ocomm__monoid__add_Osum__mset,type,
    comm_monoid_sum_mset: 
      !>[A: $tType] : ( ( A > A > A ) > A > ( multiset @ A ) > A ) ).

thf(sy_c_Multiset_Ocomm__monoid__add__class_Osum__mset,type,
    comm_m7189776963980413722m_mset: 
      !>[A: $tType] : ( ( multiset @ A ) > A ) ).

thf(sy_c_Multiset_Ocr__multiset,type,
    cr_multiset: 
      !>[A: $tType] : ( ( A > nat ) > ( multiset @ A ) > $o ) ).

thf(sy_c_Multiset_Ofilter__mset,type,
    filter_mset: 
      !>[A: $tType] : ( ( A > $o ) > ( multiset @ A ) > ( multiset @ A ) ) ).

thf(sy_c_Multiset_Ofold__mset,type,
    fold_mset: 
      !>[A: $tType,B: $tType] : ( ( A > B > B ) > B > ( multiset @ A ) > B ) ).

thf(sy_c_Multiset_Oimage__mset,type,
    image_mset: 
      !>[A: $tType,B: $tType] : ( ( A > B ) > ( multiset @ A ) > ( multiset @ B ) ) ).

thf(sy_c_Multiset_Ointer__mset,type,
    inter_mset: 
      !>[A: $tType] : ( ( multiset @ A ) > ( multiset @ A ) > ( multiset @ A ) ) ).

thf(sy_c_Multiset_Olinorder__class_Opart,type,
    linorder_part: 
      !>[B: $tType,A: $tType] : ( ( B > A ) > A > ( list @ B ) > ( product_prod @ ( list @ B ) @ ( product_prod @ ( list @ B ) @ ( list @ B ) ) ) ) ).

thf(sy_c_Multiset_Olinorder__class_Osorted__list__of__multiset,type,
    linord6283353356039996273ltiset: 
      !>[A: $tType] : ( ( multiset @ A ) > ( list @ A ) ) ).

thf(sy_c_Multiset_Oms__strict,type,
    ms_strict: set @ ( product_prod @ ( multiset @ ( product_prod @ nat @ nat ) ) @ ( multiset @ ( product_prod @ nat @ nat ) ) ) ).

thf(sy_c_Multiset_Oms__weak,type,
    ms_weak: set @ ( product_prod @ ( multiset @ ( product_prod @ nat @ nat ) ) @ ( multiset @ ( product_prod @ nat @ nat ) ) ) ).

thf(sy_c_Multiset_Omset,type,
    mset: 
      !>[A: $tType] : ( ( list @ A ) > ( multiset @ A ) ) ).

thf(sy_c_Multiset_Omset__set,type,
    mset_set: 
      !>[B: $tType] : ( ( set @ B ) > ( multiset @ B ) ) ).

thf(sy_c_Multiset_Omult,type,
    mult: 
      !>[A: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > ( set @ ( product_prod @ ( multiset @ A ) @ ( multiset @ A ) ) ) ) ).

thf(sy_c_Multiset_Omult1,type,
    mult1: 
      !>[A: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > ( set @ ( product_prod @ ( multiset @ A ) @ ( multiset @ A ) ) ) ) ).

thf(sy_c_Multiset_Omulteqp__code,type,
    multeqp_code: 
      !>[A: $tType] : ( ( A > A > $o ) > ( multiset @ A ) > ( multiset @ A ) > $o ) ).

thf(sy_c_Multiset_Omultiset_OAbs__multiset,type,
    abs_multiset: 
      !>[A: $tType] : ( ( A > nat ) > ( multiset @ A ) ) ).

thf(sy_c_Multiset_Omultiset_Ocount,type,
    count: 
      !>[A: $tType] : ( ( multiset @ A ) > A > nat ) ).

thf(sy_c_Multiset_Omultp,type,
    multp: 
      !>[A: $tType] : ( ( A > A > $o ) > ( multiset @ A ) > ( multiset @ A ) > $o ) ).

thf(sy_c_Multiset_Omultp__code,type,
    multp_code: 
      !>[A: $tType] : ( ( A > A > $o ) > ( multiset @ A ) > ( multiset @ A ) > $o ) ).

thf(sy_c_Multiset_Opcr__multiset,type,
    pcr_multiset: 
      !>[C: $tType,B: $tType] : ( ( C > B > $o ) > ( C > nat ) > ( multiset @ B ) > $o ) ).

thf(sy_c_Multiset_Opw__leq,type,
    pw_leq: ( multiset @ ( product_prod @ nat @ nat ) ) > ( multiset @ ( product_prod @ nat @ nat ) ) > $o ).

thf(sy_c_Multiset_Orel__mset,type,
    rel_mset: 
      !>[A: $tType,B: $tType] : ( ( A > B > $o ) > ( multiset @ A ) > ( multiset @ B ) > $o ) ).

thf(sy_c_Multiset_Orepeat__mset,type,
    repeat_mset: 
      !>[A: $tType] : ( nat > ( multiset @ A ) > ( multiset @ A ) ) ).

thf(sy_c_Multiset_Oreplicate__mset,type,
    replicate_mset: 
      !>[A: $tType] : ( nat > A > ( multiset @ A ) ) ).

thf(sy_c_Multiset_Oset__mset,type,
    set_mset: 
      !>[A: $tType] : ( ( multiset @ A ) > ( set @ A ) ) ).

thf(sy_c_Multiset_Osize__multiset,type,
    size_multiset: 
      !>[A: $tType] : ( ( A > nat ) > ( multiset @ A ) > nat ) ).

thf(sy_c_Multiset_Osubset__eq__mset__impl,type,
    subset_eq_mset_impl: 
      !>[A: $tType] : ( ( list @ A ) > ( list @ A ) > ( option @ $o ) ) ).

thf(sy_c_Multiset_Osubset__eq__mset__impl__rel,type,
    subset751672762298770561pl_rel: 
      !>[A: $tType] : ( ( product_prod @ ( list @ A ) @ ( list @ A ) ) > ( product_prod @ ( list @ A ) @ ( list @ A ) ) > $o ) ).

thf(sy_c_Multiset_Osubset__mset,type,
    subset_mset: 
      !>[A: $tType] : ( ( multiset @ A ) > ( multiset @ A ) > $o ) ).

thf(sy_c_Multiset_Osubseteq__mset,type,
    subseteq_mset: 
      !>[A: $tType] : ( ( multiset @ A ) > ( multiset @ A ) > $o ) ).

thf(sy_c_Multiset_Ounion__mset,type,
    union_mset: 
      !>[A: $tType] : ( ( multiset @ A ) > ( multiset @ A ) > ( multiset @ A ) ) ).

thf(sy_c_Multiset_Owcount,type,
    wcount: 
      !>[A: $tType] : ( ( A > nat ) > ( multiset @ A ) > A > nat ) ).

thf(sy_c_Nat_OSuc,type,
    suc: nat > nat ).

thf(sy_c_Nat_Ocompow,type,
    compow: 
      !>[A: $tType] : ( nat > A > A ) ).

thf(sy_c_Nat_Ofunpow,type,
    funpow: 
      !>[A: $tType] : ( nat > ( A > A ) > A > A ) ).

thf(sy_c_Nat_Onat_Ocase__nat,type,
    case_nat: 
      !>[A: $tType] : ( A > ( nat > A ) > nat > A ) ).

thf(sy_c_Nat_Onat_Opred,type,
    pred: nat > nat ).

thf(sy_c_Nat_Oold_Onat_Orec__nat,type,
    rec_nat: 
      !>[T: $tType] : ( T > ( nat > T > T ) > nat > T ) ).

thf(sy_c_Nat_Oold_Onat_Orec__set__nat,type,
    rec_set_nat: 
      !>[T: $tType] : ( T > ( nat > T > T ) > nat > T > $o ) ).

thf(sy_c_Nat_Osemiring__1__class_ONats,type,
    semiring_1_Nats: 
      !>[A: $tType] : ( set @ A ) ).

thf(sy_c_Nat_Osemiring__1__class_Oof__nat,type,
    semiring_1_of_nat: 
      !>[A: $tType] : ( nat > A ) ).

thf(sy_c_Nat_Osemiring__1__class_Oof__nat__aux,type,
    semiri8178284476397505188at_aux: 
      !>[A: $tType] : ( ( A > A ) > nat > A > A ) ).

thf(sy_c_Nat_Osize__class_Osize,type,
    size_size: 
      !>[A: $tType] : ( A > nat ) ).

thf(sy_c_Nat__Bijection_Olist__decode,type,
    nat_list_decode: nat > ( list @ nat ) ).

thf(sy_c_Nat__Bijection_Olist__decode__rel,type,
    nat_list_decode_rel: nat > nat > $o ).

thf(sy_c_Nat__Bijection_Oprod__decode,type,
    nat_prod_decode: nat > ( product_prod @ nat @ nat ) ).

thf(sy_c_Nat__Bijection_Oprod__decode__aux,type,
    nat_prod_decode_aux: nat > nat > ( product_prod @ nat @ nat ) ).

thf(sy_c_Nat__Bijection_Oprod__decode__aux__rel,type,
    nat_pr5047031295181774490ux_rel: ( product_prod @ nat @ nat ) > ( product_prod @ nat @ nat ) > $o ).

thf(sy_c_Nat__Bijection_Oprod__encode,type,
    nat_prod_encode: ( product_prod @ nat @ nat ) > nat ).

thf(sy_c_Nat__Bijection_Oset__decode,type,
    nat_set_decode: nat > ( set @ nat ) ).

thf(sy_c_Nat__Bijection_Oset__encode,type,
    nat_set_encode: ( set @ nat ) > nat ).

thf(sy_c_Nat__Bijection_Otriangle,type,
    nat_triangle: nat > nat ).

thf(sy_c_Num_OBitM,type,
    bitM: num > num ).

thf(sy_c_Num_Oinc,type,
    inc: num > num ).

thf(sy_c_Num_Oneg__numeral__class_Odbl__dec,type,
    neg_numeral_dbl_dec: 
      !>[A: $tType] : ( A > A ) ).

thf(sy_c_Num_Oneg__numeral__class_Osub,type,
    neg_numeral_sub: 
      !>[A: $tType] : ( num > num > A ) ).

thf(sy_c_Num_Onum_OBit0,type,
    bit0: num > num ).

thf(sy_c_Num_Onum_OBit1,type,
    bit1: num > num ).

thf(sy_c_Num_Onum_OOne,type,
    one: num ).

thf(sy_c_Num_Onum_Ocase__num,type,
    case_num: 
      !>[A: $tType] : ( A > ( num > A ) > ( num > A ) > num > A ) ).

thf(sy_c_Num_Onum_Osize__num,type,
    size_num: num > nat ).

thf(sy_c_Num_Onum__of__nat,type,
    num_of_nat: nat > num ).

thf(sy_c_Num_Onumeral__class_Onumeral,type,
    numeral_numeral: 
      !>[A: $tType] : ( num > A ) ).

thf(sy_c_Num_Opred__numeral,type,
    pred_numeral: num > nat ).

thf(sy_c_Num_Oring__1__class_Oiszero,type,
    ring_1_iszero: 
      !>[A: $tType] : ( A > $o ) ).

thf(sy_c_Num_Osqr,type,
    sqr: num > num ).

thf(sy_c_Option_Ocombine__options,type,
    combine_options: 
      !>[A: $tType] : ( ( A > A > A ) > ( option @ A ) > ( option @ A ) > ( option @ A ) ) ).

thf(sy_c_Option_Ooption_ONone,type,
    none: 
      !>[A: $tType] : ( option @ A ) ).

thf(sy_c_Option_Ooption_OSome,type,
    some: 
      !>[A: $tType] : ( A > ( option @ A ) ) ).

thf(sy_c_Option_Ooption_Ocase__option,type,
    case_option: 
      !>[B: $tType,A: $tType] : ( B > ( A > B ) > ( option @ A ) > B ) ).

thf(sy_c_Option_Ooption_Omap__option,type,
    map_option: 
      !>[A: $tType,Aa: $tType] : ( ( A > Aa ) > ( option @ A ) > ( option @ Aa ) ) ).

thf(sy_c_Option_Ooption_Orec__option,type,
    rec_option: 
      !>[C: $tType,A: $tType] : ( C > ( A > C ) > ( option @ A ) > C ) ).

thf(sy_c_Option_Ooption_Osize__option,type,
    size_option: 
      !>[A: $tType] : ( ( A > nat ) > ( option @ A ) > nat ) ).

thf(sy_c_Option_Ooption_Othe,type,
    the2: 
      !>[A: $tType] : ( ( option @ A ) > A ) ).

thf(sy_c_Option_Othese,type,
    these: 
      !>[A: $tType] : ( ( set @ ( option @ A ) ) > ( set @ A ) ) ).

thf(sy_c_Order__Relation_OAbove,type,
    order_Above: 
      !>[A: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > ( set @ A ) > ( set @ A ) ) ).

thf(sy_c_Order__Relation_OAboveS,type,
    order_AboveS: 
      !>[A: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > ( set @ A ) > ( set @ A ) ) ).

thf(sy_c_Order__Relation_OUnder,type,
    order_Under: 
      !>[A: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > ( set @ A ) > ( set @ A ) ) ).

thf(sy_c_Order__Relation_OUnderS,type,
    order_UnderS: 
      !>[A: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > ( set @ A ) > ( set @ A ) ) ).

thf(sy_c_Order__Relation_Oabove,type,
    order_above: 
      !>[A: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > A > ( set @ A ) ) ).

thf(sy_c_Order__Relation_Olinear__order__on,type,
    order_679001287576687338der_on: 
      !>[A: $tType] : ( ( set @ A ) > ( set @ ( product_prod @ A @ A ) ) > $o ) ).

thf(sy_c_Order__Relation_Oofilter,type,
    order_ofilter: 
      !>[A: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > ( set @ A ) > $o ) ).

thf(sy_c_Order__Relation_Opartial__order__on,type,
    order_7125193373082350890der_on: 
      !>[A: $tType] : ( ( set @ A ) > ( set @ ( product_prod @ A @ A ) ) > $o ) ).

thf(sy_c_Order__Relation_Opreorder__on,type,
    order_preorder_on: 
      !>[A: $tType] : ( ( set @ A ) > ( set @ ( product_prod @ A @ A ) ) > $o ) ).

thf(sy_c_Order__Relation_Orelation__of,type,
    order_relation_of: 
      !>[A: $tType] : ( ( A > A > $o ) > ( set @ A ) > ( set @ ( product_prod @ A @ A ) ) ) ).

thf(sy_c_Order__Relation_Ounder,type,
    order_under: 
      !>[A: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > A > ( set @ A ) ) ).

thf(sy_c_Order__Relation_OunderS,type,
    order_underS: 
      !>[A: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > A > ( set @ A ) ) ).

thf(sy_c_Order__Relation_Owell__order__on,type,
    order_well_order_on: 
      !>[A: $tType] : ( ( set @ A ) > ( set @ ( product_prod @ A @ A ) ) > $o ) ).

thf(sy_c_Orderings_Obot__class_Obot,type,
    bot_bot: 
      !>[A: $tType] : A ).

thf(sy_c_Orderings_Oord_OLeast,type,
    least: 
      !>[A: $tType] : ( ( A > A > $o ) > ( A > $o ) > A ) ).

thf(sy_c_Orderings_Oord_Omax,type,
    max: 
      !>[A: $tType] : ( ( A > A > $o ) > A > A > A ) ).

thf(sy_c_Orderings_Oord_Omin,type,
    min: 
      !>[A: $tType] : ( ( A > A > $o ) > A > A > A ) ).

thf(sy_c_Orderings_Oord__class_OLeast,type,
    ord_Least: 
      !>[A: $tType] : ( ( A > $o ) > A ) ).

thf(sy_c_Orderings_Oord__class_Oless,type,
    ord_less: 
      !>[A: $tType] : ( A > A > $o ) ).

thf(sy_c_Orderings_Oord__class_Oless__eq,type,
    ord_less_eq: 
      !>[A: $tType] : ( A > A > $o ) ).

thf(sy_c_Orderings_Oord__class_Omax,type,
    ord_max: 
      !>[A: $tType] : ( A > A > A ) ).

thf(sy_c_Orderings_Oord__class_Omin,type,
    ord_min: 
      !>[A: $tType] : ( A > A > A ) ).

thf(sy_c_Orderings_Oorder_OGreatest,type,
    greatest: 
      !>[A: $tType] : ( ( A > A > $o ) > ( A > $o ) > A ) ).

thf(sy_c_Orderings_Oorder_Omono,type,
    mono: 
      !>[A: $tType,B: $tType] : ( ( A > A > $o ) > ( A > B ) > $o ) ).

thf(sy_c_Orderings_Oorder__class_OGreatest,type,
    order_Greatest: 
      !>[A: $tType] : ( ( A > $o ) > A ) ).

thf(sy_c_Orderings_Oorder__class_Oantimono,type,
    order_antimono: 
      !>[A: $tType,B: $tType] : ( ( A > B ) > $o ) ).

thf(sy_c_Orderings_Oorder__class_Omono,type,
    order_mono: 
      !>[A: $tType,B: $tType] : ( ( A > B ) > $o ) ).

thf(sy_c_Orderings_Oordering__top,type,
    ordering_top: 
      !>[A: $tType] : ( ( A > A > $o ) > ( A > A > $o ) > A > $o ) ).

thf(sy_c_Orderings_Otop__class_Otop,type,
    top_top: 
      !>[A: $tType] : A ).

thf(sy_c_Partial__Function_Oflat__lub,type,
    partial_flat_lub: 
      !>[A: $tType] : ( A > ( set @ A ) > A ) ).

thf(sy_c_Power_Opower__class_Opower,type,
    power_power: 
      !>[A: $tType] : ( A > nat > A ) ).

thf(sy_c_Predicate_Oiterate__upto__rel,type,
    iterate_upto_rel: 
      !>[A: $tType] : ( ( product_prod @ ( code_natural > A ) @ ( product_prod @ code_natural @ code_natural ) ) > ( product_prod @ ( code_natural > A ) @ ( product_prod @ code_natural @ code_natural ) ) > $o ) ).

thf(sy_c_Product__Type_OPair,type,
    product_Pair: 
      !>[A: $tType,B: $tType] : ( A > B > ( product_prod @ A @ B ) ) ).

thf(sy_c_Product__Type_OSigma,type,
    product_Sigma: 
      !>[A: $tType,B: $tType] : ( ( set @ A ) > ( A > ( set @ B ) ) > ( set @ ( product_prod @ A @ B ) ) ) ).

thf(sy_c_Product__Type_OUnity,type,
    product_Unity: product_unit ).

thf(sy_c_Product__Type_Oapfst,type,
    product_apfst: 
      !>[A: $tType,C: $tType,B: $tType] : ( ( A > C ) > ( product_prod @ A @ B ) > ( product_prod @ C @ B ) ) ).

thf(sy_c_Product__Type_Oapsnd,type,
    product_apsnd: 
      !>[B: $tType,C: $tType,A: $tType] : ( ( B > C ) > ( product_prod @ A @ B ) > ( product_prod @ A @ C ) ) ).

thf(sy_c_Product__Type_Ocurry,type,
    product_curry: 
      !>[A: $tType,B: $tType,C: $tType] : ( ( ( product_prod @ A @ B ) > C ) > A > B > C ) ).

thf(sy_c_Product__Type_Ointernal__case__prod,type,
    produc5280177257484947105e_prod: 
      !>[A: $tType,B: $tType,C: $tType] : ( ( A > B > C ) > ( product_prod @ A @ B ) > C ) ).

thf(sy_c_Product__Type_Omap__prod,type,
    product_map_prod: 
      !>[A: $tType,C: $tType,B: $tType,D: $tType] : ( ( A > C ) > ( B > D ) > ( product_prod @ A @ B ) > ( product_prod @ C @ D ) ) ).

thf(sy_c_Product__Type_Oold_Oprod_Orec__prod,type,
    product_rec_prod: 
      !>[A: $tType,B: $tType,T: $tType] : ( ( A > B > T ) > ( product_prod @ A @ B ) > T ) ).

thf(sy_c_Product__Type_Oold_Oprod_Orec__set__prod,type,
    product_rec_set_prod: 
      !>[A: $tType,B: $tType,T: $tType] : ( ( A > B > T ) > ( product_prod @ A @ B ) > T > $o ) ).

thf(sy_c_Product__Type_Oold_Ounit_Orec__set__unit,type,
    product_rec_set_unit: 
      !>[T: $tType] : ( T > product_unit > T > $o ) ).

thf(sy_c_Product__Type_Oold_Ounit_Orec__unit,type,
    product_rec_unit: 
      !>[T: $tType] : ( T > product_unit > T ) ).

thf(sy_c_Product__Type_Oprod_Ocase__prod,type,
    product_case_prod: 
      !>[A: $tType,B: $tType,C: $tType] : ( ( A > B > C ) > ( product_prod @ A @ B ) > C ) ).

thf(sy_c_Product__Type_Oprod_Ofst,type,
    product_fst: 
      !>[A: $tType,B: $tType] : ( ( product_prod @ A @ B ) > A ) ).

thf(sy_c_Product__Type_Oprod_Osnd,type,
    product_snd: 
      !>[A: $tType,B: $tType] : ( ( product_prod @ A @ B ) > B ) ).

thf(sy_c_Product__Type_Oprod_Oswap,type,
    product_swap: 
      !>[A: $tType,B: $tType] : ( ( product_prod @ A @ B ) > ( product_prod @ B @ A ) ) ).

thf(sy_c_Product__Type_Oproduct,type,
    product_product: 
      !>[A: $tType,B: $tType] : ( ( set @ A ) > ( set @ B ) > ( set @ ( product_prod @ A @ B ) ) ) ).

thf(sy_c_Product__Type_Oscomp,type,
    product_scomp: 
      !>[A: $tType,B: $tType,C: $tType,D: $tType] : ( ( A > ( product_prod @ B @ C ) ) > ( B > C > D ) > A > D ) ).

thf(sy_c_Product__Type_Ounit_OAbs__unit,type,
    product_Abs_unit: $o > product_unit ).

thf(sy_c_Product__Type_Ounit_ORep__unit,type,
    product_Rep_unit: product_unit > $o ).

thf(sy_c_Pure_Otype,type,
    type2: 
      !>[A: $tType] : ( itself @ A ) ).

thf(sy_c_Quicksort_Olinorder__class_Oquicksort,type,
    linorder_quicksort: 
      !>[A: $tType] : ( ( list @ A ) > ( list @ A ) ) ).

thf(sy_c_Quicksort_Olinorder__class_Oquicksort__rel,type,
    linord6200660962353139674rt_rel: 
      !>[A: $tType] : ( ( list @ A ) > ( list @ A ) > $o ) ).

thf(sy_c_Random_Oinc__shift,type,
    inc_shift: code_natural > code_natural > code_natural ).

thf(sy_c_Random_Oiterate,type,
    iterate: 
      !>[B: $tType,A: $tType] : ( code_natural > ( B > A > ( product_prod @ B @ A ) ) > B > A > ( product_prod @ B @ A ) ) ).

thf(sy_c_Random_Oiterate__rel,type,
    iterate_rel: 
      !>[B: $tType,A: $tType] : ( ( product_prod @ code_natural @ ( product_prod @ ( B > A > ( product_prod @ B @ A ) ) @ B ) ) > ( product_prod @ code_natural @ ( product_prod @ ( B > A > ( product_prod @ B @ A ) ) @ B ) ) > $o ) ).

thf(sy_c_Random_Olog,type,
    log: code_natural > code_natural > code_natural ).

thf(sy_c_Random_Olog__rel,type,
    log_rel: ( product_prod @ code_natural @ code_natural ) > ( product_prod @ code_natural @ code_natural ) > $o ).

thf(sy_c_Random_Ominus__shift,type,
    minus_shift: code_natural > code_natural > code_natural > code_natural ).

thf(sy_c_Random_Onext,type,
    next: ( product_prod @ code_natural @ code_natural ) > ( product_prod @ code_natural @ ( product_prod @ code_natural @ code_natural ) ) ).

thf(sy_c_Random_Opick,type,
    pick: 
      !>[A: $tType] : ( ( list @ ( product_prod @ code_natural @ A ) ) > code_natural > A ) ).

thf(sy_c_Random_Orange,type,
    range: code_natural > ( product_prod @ code_natural @ code_natural ) > ( product_prod @ code_natural @ ( product_prod @ code_natural @ code_natural ) ) ).

thf(sy_c_Random_Oselect,type,
    select: 
      !>[A: $tType] : ( ( list @ A ) > ( product_prod @ code_natural @ code_natural ) > ( product_prod @ A @ ( product_prod @ code_natural @ code_natural ) ) ) ).

thf(sy_c_Random_Oselect__weight,type,
    select_weight: 
      !>[A: $tType] : ( ( list @ ( product_prod @ code_natural @ A ) ) > ( product_prod @ code_natural @ code_natural ) > ( product_prod @ A @ ( product_prod @ code_natural @ code_natural ) ) ) ).

thf(sy_c_Random_Osplit__seed,type,
    split_seed: ( product_prod @ code_natural @ code_natural ) > ( product_prod @ ( product_prod @ code_natural @ code_natural ) @ ( product_prod @ code_natural @ code_natural ) ) ).

thf(sy_c_Rat_OAbs__Rat,type,
    abs_Rat: ( product_prod @ int @ int ) > rat ).

thf(sy_c_Rat_OFract,type,
    fract: int > int > rat ).

thf(sy_c_Rat_ORep__Rat,type,
    rep_Rat: rat > ( product_prod @ int @ int ) ).

thf(sy_c_Rat_Ocr__rat,type,
    cr_rat: ( product_prod @ int @ int ) > rat > $o ).

thf(sy_c_Rat_Ofield__char__0__class_ORats,type,
    field_char_0_Rats: 
      !>[A: $tType] : ( set @ A ) ).

thf(sy_c_Rat_Ofield__char__0__class_Oof__rat,type,
    field_char_0_of_rat: 
      !>[A: $tType] : ( rat > A ) ).

thf(sy_c_Rat_Onormalize,type,
    normalize: ( product_prod @ int @ int ) > ( product_prod @ int @ int ) ).

thf(sy_c_Rat_Opcr__rat,type,
    pcr_rat: ( product_prod @ int @ int ) > rat > $o ).

thf(sy_c_Rat_Opositive,type,
    positive: rat > $o ).

thf(sy_c_Rat_Oquotient__of,type,
    quotient_of: rat > ( product_prod @ int @ int ) ).

thf(sy_c_Rat_Orat_OAbs__rat,type,
    abs_rat: ( set @ ( product_prod @ int @ int ) ) > rat ).

thf(sy_c_Rat_Orat_ORep__rat,type,
    rep_rat: rat > ( set @ ( product_prod @ int @ int ) ) ).

thf(sy_c_Rat_Oratrel,type,
    ratrel: ( product_prod @ int @ int ) > ( product_prod @ int @ int ) > $o ).

thf(sy_c_Ref__Time_Oalloc,type,
    ref_alloc: 
      !>[A: $tType] : ( A > ( heap_ext @ product_unit ) > ( product_prod @ ( ref @ A ) @ ( heap_ext @ product_unit ) ) ) ).

thf(sy_c_Ref__Time_Ochange,type,
    ref_change: 
      !>[A: $tType] : ( ( A > A ) > ( ref @ A ) > ( heap_Time_Heap @ A ) ) ).

thf(sy_c_Ref__Time_Oget,type,
    ref_get: 
      !>[A: $tType] : ( ( heap_ext @ product_unit ) > ( ref @ A ) > A ) ).

thf(sy_c_Ref__Time_Olookup,type,
    ref_lookup: 
      !>[A: $tType] : ( ( ref @ A ) > ( heap_Time_Heap @ A ) ) ).

thf(sy_c_Ref__Time_Opresent,type,
    ref_present: 
      !>[A: $tType] : ( ( heap_ext @ product_unit ) > ( ref @ A ) > $o ) ).

thf(sy_c_Ref__Time_Oref,type,
    ref_ref: 
      !>[A: $tType] : ( A > ( heap_Time_Heap @ ( ref @ A ) ) ) ).

thf(sy_c_Ref__Time_Oset,type,
    ref_set: 
      !>[A: $tType] : ( ( ref @ A ) > A > ( heap_ext @ product_unit ) > ( heap_ext @ product_unit ) ) ).

thf(sy_c_Ref__Time_Oupdate,type,
    ref_update: 
      !>[A: $tType] : ( ( ref @ A ) > A > ( heap_Time_Heap @ product_unit ) ) ).

thf(sy_c_Relation_ODomainp,type,
    domainp: 
      !>[A: $tType,B: $tType] : ( ( A > B > $o ) > A > $o ) ).

thf(sy_c_Relation_OField,type,
    field2: 
      !>[A: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > ( set @ A ) ) ).

thf(sy_c_Relation_OId,type,
    id2: 
      !>[A: $tType] : ( set @ ( product_prod @ A @ A ) ) ).

thf(sy_c_Relation_OId__on,type,
    id_on: 
      !>[A: $tType] : ( ( set @ A ) > ( set @ ( product_prod @ A @ A ) ) ) ).

thf(sy_c_Relation_OImage,type,
    image: 
      !>[A: $tType,B: $tType] : ( ( set @ ( product_prod @ A @ B ) ) > ( set @ A ) > ( set @ B ) ) ).

thf(sy_c_Relation_Oantisym,type,
    antisym: 
      !>[A: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > $o ) ).

thf(sy_c_Relation_Oasymp,type,
    asymp: 
      !>[A: $tType] : ( ( A > A > $o ) > $o ) ).

thf(sy_c_Relation_Oconverse,type,
    converse: 
      !>[A: $tType,B: $tType] : ( ( set @ ( product_prod @ A @ B ) ) > ( set @ ( product_prod @ B @ A ) ) ) ).

thf(sy_c_Relation_Oconversep,type,
    conversep: 
      !>[A: $tType,B: $tType] : ( ( A > B > $o ) > B > A > $o ) ).

thf(sy_c_Relation_Oinv__image,type,
    inv_image: 
      !>[B: $tType,A: $tType] : ( ( set @ ( product_prod @ B @ B ) ) > ( A > B ) > ( set @ ( product_prod @ A @ A ) ) ) ).

thf(sy_c_Relation_Oirrefl,type,
    irrefl: 
      !>[A: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > $o ) ).

thf(sy_c_Relation_Oirreflp,type,
    irreflp: 
      !>[A: $tType] : ( ( A > A > $o ) > $o ) ).

thf(sy_c_Relation_Orefl__on,type,
    refl_on: 
      !>[A: $tType] : ( ( set @ A ) > ( set @ ( product_prod @ A @ A ) ) > $o ) ).

thf(sy_c_Relation_Orelcomp,type,
    relcomp: 
      !>[A: $tType,B: $tType,C: $tType] : ( ( set @ ( product_prod @ A @ B ) ) > ( set @ ( product_prod @ B @ C ) ) > ( set @ ( product_prod @ A @ C ) ) ) ).

thf(sy_c_Relation_Orelcompp,type,
    relcompp: 
      !>[A: $tType,B: $tType,C: $tType] : ( ( A > B > $o ) > ( B > C > $o ) > A > C > $o ) ).

thf(sy_c_Relation_Osingle__valued,type,
    single_valued: 
      !>[A: $tType,B: $tType] : ( ( set @ ( product_prod @ A @ B ) ) > $o ) ).

thf(sy_c_Relation_Osingle__valuedp,type,
    single_valuedp: 
      !>[A: $tType,B: $tType] : ( ( A > B > $o ) > $o ) ).

thf(sy_c_Relation_Osym,type,
    sym: 
      !>[A: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > $o ) ).

thf(sy_c_Relation_Ototal__on,type,
    total_on: 
      !>[A: $tType] : ( ( set @ A ) > ( set @ ( product_prod @ A @ A ) ) > $o ) ).

thf(sy_c_Relation_Otrans,type,
    trans: 
      !>[A: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > $o ) ).

thf(sy_c_Relation_Otransp,type,
    transp: 
      !>[A: $tType] : ( ( A > A > $o ) > $o ) ).

thf(sy_c_Rings_Oalgebraic__semidom__class_Ocoprime,type,
    algebr8660921524188924756oprime: 
      !>[A: $tType] : ( A > A > $o ) ).

thf(sy_c_Rings_Odivide__class_Odivide,type,
    divide_divide: 
      !>[A: $tType] : ( A > A > A ) ).

thf(sy_c_Rings_Odvd__class_Odvd,type,
    dvd_dvd: 
      !>[A: $tType] : ( A > A > $o ) ).

thf(sy_c_Rings_Omodulo__class_Omodulo,type,
    modulo_modulo: 
      !>[A: $tType] : ( A > A > A ) ).

thf(sy_c_Rings_Ozero__neq__one__class_Oof__bool,type,
    zero_neq_one_of_bool: 
      !>[A: $tType] : ( $o > A ) ).

thf(sy_c_Set_OBall,type,
    ball: 
      !>[A: $tType] : ( ( set @ A ) > ( A > $o ) > $o ) ).

thf(sy_c_Set_OBex,type,
    bex: 
      !>[A: $tType] : ( ( set @ A ) > ( A > $o ) > $o ) ).

thf(sy_c_Set_OCollect,type,
    collect: 
      !>[A: $tType] : ( ( A > $o ) > ( set @ A ) ) ).

thf(sy_c_Set_OPow,type,
    pow: 
      !>[A: $tType] : ( ( set @ A ) > ( set @ ( set @ A ) ) ) ).

thf(sy_c_Set_Odisjnt,type,
    disjnt: 
      !>[A: $tType] : ( ( set @ A ) > ( set @ A ) > $o ) ).

thf(sy_c_Set_Ofilter,type,
    filter3: 
      !>[A: $tType] : ( ( A > $o ) > ( set @ A ) > ( set @ A ) ) ).

thf(sy_c_Set_Oimage,type,
    image2: 
      !>[A: $tType,B: $tType] : ( ( A > B ) > ( set @ A ) > ( set @ B ) ) ).

thf(sy_c_Set_Oinsert,type,
    insert: 
      !>[A: $tType] : ( A > ( set @ A ) > ( set @ A ) ) ).

thf(sy_c_Set_Ois__empty,type,
    is_empty: 
      !>[A: $tType] : ( ( set @ A ) > $o ) ).

thf(sy_c_Set_Ois__singleton,type,
    is_singleton: 
      !>[A: $tType] : ( ( set @ A ) > $o ) ).

thf(sy_c_Set_Opairwise,type,
    pairwise: 
      !>[A: $tType] : ( ( A > A > $o ) > ( set @ A ) > $o ) ).

thf(sy_c_Set_Oremove,type,
    remove: 
      !>[A: $tType] : ( A > ( set @ A ) > ( set @ A ) ) ).

thf(sy_c_Set_Othe__elem,type,
    the_elem: 
      !>[A: $tType] : ( ( set @ A ) > A ) ).

thf(sy_c_Set_Ovimage,type,
    vimage: 
      !>[A: $tType,B: $tType] : ( ( A > B ) > ( set @ B ) > ( set @ A ) ) ).

thf(sy_c_Set__Interval_Ofold__atLeastAtMost__nat,type,
    set_fo6178422350223883121st_nat: 
      !>[A: $tType] : ( ( nat > A > A ) > nat > nat > A > A ) ).

thf(sy_c_Set__Interval_Ofold__atLeastAtMost__nat__rel,type,
    set_fo1817059534552279752at_rel: 
      !>[A: $tType] : ( ( product_prod @ ( nat > A > A ) @ ( product_prod @ nat @ ( product_prod @ nat @ A ) ) ) > ( product_prod @ ( nat > A > A ) @ ( product_prod @ nat @ ( product_prod @ nat @ A ) ) ) > $o ) ).

thf(sy_c_Set__Interval_Oord__class_OatLeast,type,
    set_ord_atLeast: 
      !>[A: $tType] : ( A > ( set @ A ) ) ).

thf(sy_c_Set__Interval_Oord__class_OatLeastAtMost,type,
    set_or1337092689740270186AtMost: 
      !>[A: $tType] : ( A > A > ( set @ A ) ) ).

thf(sy_c_Set__Interval_Oord__class_OatLeastLessThan,type,
    set_or7035219750837199246ssThan: 
      !>[A: $tType] : ( A > A > ( set @ A ) ) ).

thf(sy_c_Set__Interval_Oord__class_OatMost,type,
    set_ord_atMost: 
      !>[A: $tType] : ( A > ( set @ A ) ) ).

thf(sy_c_Set__Interval_Oord__class_OgreaterThan,type,
    set_ord_greaterThan: 
      !>[A: $tType] : ( A > ( set @ A ) ) ).

thf(sy_c_Set__Interval_Oord__class_OgreaterThanAtMost,type,
    set_or3652927894154168847AtMost: 
      !>[A: $tType] : ( A > A > ( set @ A ) ) ).

thf(sy_c_Set__Interval_Oord__class_OgreaterThanLessThan,type,
    set_or5935395276787703475ssThan: 
      !>[A: $tType] : ( A > A > ( set @ A ) ) ).

thf(sy_c_Set__Interval_Oord__class_OlessThan,type,
    set_ord_lessThan: 
      !>[A: $tType] : ( A > ( set @ A ) ) ).

thf(sy_c_String_Ochar_OChar,type,
    char2: $o > $o > $o > $o > $o > $o > $o > $o > char ).

thf(sy_c_String_Ointeger__of__char,type,
    integer_of_char: char > code_integer ).

thf(sy_c_String_Ounique__euclidean__semiring__with__bit__operations__class_Ochar__of,type,
    unique5772411509450598832har_of: 
      !>[A: $tType] : ( A > char ) ).

thf(sy_c_Sum__Type_OPlus,type,
    sum_Plus: 
      !>[A: $tType,B: $tType] : ( ( set @ A ) > ( set @ B ) > ( set @ ( sum_sum @ A @ B ) ) ) ).

thf(sy_c_Syntax__Match_Osyntax__fo__nomatch,type,
    syntax7388354845996824322omatch: 
      !>[A: $tType,B: $tType] : ( A > B > $o ) ).

thf(sy_c_Transfer_Obi__total,type,
    bi_total: 
      !>[A: $tType,B: $tType] : ( ( A > B > $o ) > $o ) ).

thf(sy_c_Transfer_Obi__unique,type,
    bi_unique: 
      !>[A: $tType,B: $tType] : ( ( A > B > $o ) > $o ) ).

thf(sy_c_Transfer_Oleft__total,type,
    left_total: 
      !>[A: $tType,B: $tType] : ( ( A > B > $o ) > $o ) ).

thf(sy_c_Transfer_Oleft__unique,type,
    left_unique: 
      !>[A: $tType,B: $tType] : ( ( A > B > $o ) > $o ) ).

thf(sy_c_Transfer_Oright__total,type,
    right_total: 
      !>[A: $tType,B: $tType] : ( ( A > B > $o ) > $o ) ).

thf(sy_c_Transfer_Oright__unique,type,
    right_unique: 
      !>[A: $tType,B: $tType] : ( ( A > B > $o ) > $o ) ).

thf(sy_c_Transfer_Otransfer__bforall,type,
    transfer_bforall: 
      !>[A: $tType] : ( ( A > $o ) > ( A > $o ) > $o ) ).

thf(sy_c_Transitive__Closure_Oacyclic,type,
    transitive_acyclic: 
      !>[A: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > $o ) ).

thf(sy_c_Transitive__Closure_Ontrancl,type,
    transitive_ntrancl: 
      !>[A: $tType] : ( nat > ( set @ ( product_prod @ A @ A ) ) > ( set @ ( product_prod @ A @ A ) ) ) ).

thf(sy_c_Transitive__Closure_Ortrancl,type,
    transitive_rtrancl: 
      !>[A: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > ( set @ ( product_prod @ A @ A ) ) ) ).

thf(sy_c_Transitive__Closure_Otrancl,type,
    transitive_trancl: 
      !>[A: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > ( set @ ( product_prod @ A @ A ) ) ) ).

thf(sy_c_Typedef_Otype__definition,type,
    type_definition: 
      !>[B: $tType,A: $tType] : ( ( B > A ) > ( A > B ) > ( set @ A ) > $o ) ).

thf(sy_c_Wellfounded_Oaccp,type,
    accp: 
      !>[A: $tType] : ( ( A > A > $o ) > A > $o ) ).

thf(sy_c_Wellfounded_Ofinite__psubset,type,
    finite_psubset: 
      !>[A: $tType] : ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) ).

thf(sy_c_Wellfounded_Oless__than,type,
    less_than: set @ ( product_prod @ nat @ nat ) ).

thf(sy_c_Wellfounded_Olex__prod,type,
    lex_prod: 
      !>[A: $tType,B: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > ( set @ ( product_prod @ B @ B ) ) > ( set @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) ) ) ) ).

thf(sy_c_Wellfounded_Omax__ext,type,
    max_ext: 
      !>[A: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) ) ).

thf(sy_c_Wellfounded_Omax__extp,type,
    max_extp: 
      !>[A: $tType] : ( ( A > A > $o ) > ( set @ A ) > ( set @ A ) > $o ) ).

thf(sy_c_Wellfounded_Omeasure,type,
    measure: 
      !>[A: $tType] : ( ( A > nat ) > ( set @ ( product_prod @ A @ A ) ) ) ).

thf(sy_c_Wellfounded_Omin__ext,type,
    min_ext: 
      !>[A: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) ) ).

thf(sy_c_Wellfounded_Omlex__prod,type,
    mlex_prod: 
      !>[A: $tType] : ( ( A > nat ) > ( set @ ( product_prod @ A @ A ) ) > ( set @ ( product_prod @ A @ A ) ) ) ).

thf(sy_c_Wellfounded_Opred__nat,type,
    pred_nat: set @ ( product_prod @ nat @ nat ) ).

thf(sy_c_Wellfounded_Owf,type,
    wf: 
      !>[A: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > $o ) ).

thf(sy_c_Wfrec_Osame__fst,type,
    same_fst: 
      !>[A: $tType,B: $tType] : ( ( A > $o ) > ( A > ( set @ ( product_prod @ B @ B ) ) ) > ( set @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) ) ) ) ).

thf(sy_c_Zorn_OChains,type,
    chains: 
      !>[A: $tType] : ( ( set @ ( product_prod @ A @ A ) ) > ( set @ ( set @ A ) ) ) ).

thf(sy_c_Zorn_Ochain__subset,type,
    chain_subset: 
      !>[A: $tType] : ( ( set @ ( set @ A ) ) > $o ) ).

thf(sy_c_Zorn_Ochains,type,
    chains2: 
      !>[A: $tType] : ( ( set @ ( set @ A ) ) > ( set @ ( set @ ( set @ A ) ) ) ) ).

thf(sy_c_Zorn_Oinit__seg__of,type,
    init_seg_of: 
      !>[A: $tType] : ( set @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) ) ) ).

thf(sy_c_Zorn_Opred__on_Ochain,type,
    pred_chain: 
      !>[A: $tType] : ( ( set @ A ) > ( A > A > $o ) > ( set @ A ) > $o ) ).

thf(sy_c_Zorn_Opred__on_Omaxchain,type,
    pred_maxchain: 
      !>[A: $tType] : ( ( set @ A ) > ( A > A > $o ) > ( set @ A ) > $o ) ).

thf(sy_c_Zorn_Opred__on_Osuc,type,
    pred_suc: 
      !>[A: $tType] : ( ( set @ A ) > ( A > A > $o ) > ( set @ A ) > ( set @ A ) ) ).

thf(sy_c_fChoice,type,
    fChoice: 
      !>[A: $tType] : ( ( A > $o ) > A ) ).

thf(sy_c_member,type,
    member: 
      !>[A: $tType] : ( A > ( set @ A ) > $o ) ).

thf(sy_v_P,type,
    p: assn ).

thf(sy_v_Q,type,
    q: b > assn ).

thf(sy_v_R,type,
    r: a > assn ).

thf(sy_v_as____,type,
    as: set @ nat ).

thf(sy_v_f,type,
    f: heap_Time_Heap @ a ).

thf(sy_v_g,type,
    g: a > ( heap_Time_Heap @ b ) ).

thf(sy_v_h_H_H____,type,
    h: heap_ext @ product_unit ).

thf(sy_v_h_H____,type,
    h2: heap_ext @ product_unit ).

thf(sy_v_h____,type,
    h3: heap_ext @ product_unit ).

thf(sy_v_rf____,type,
    rf: a ).

thf(sy_v_rg____,type,
    rg: b ).

thf(sy_v_t_H_H____,type,
    t: nat ).

thf(sy_v_t_H____,type,
    t2: nat ).

% Relevant facts (8185)
thf(fact_0__092_060open_062new__addrs_Ah_H_A_Inew__addrs_Ah_Aas_Ah_H_J_Ah_H_H_A_061_Anew__addrs_Ah_Aas_Ah_H_H_092_060close_062,axiom,
    ( ( hoare_new_addrs @ h2 @ ( hoare_new_addrs @ h3 @ as @ h2 ) @ h )
    = ( hoare_new_addrs @ h3 @ as @ h ) ) ).

% \<open>new_addrs h' (new_addrs h as h') h'' = new_addrs h as h''\<close>
thf(fact_1__092_060open_062_Ih_M_Aas_J_A_092_060Turnstile_062_AP_092_060close_062,axiom,
    rep_assn @ p @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ h3 @ as ) ).

% \<open>(h, as) \<Turnstile> P\<close>
thf(fact_2_new__addr__refl,axiom,
    ! [H: heap_ext @ product_unit,As: set @ nat] :
      ( ( hoare_new_addrs @ H @ As @ H )
      = As ) ).

% new_addr_refl
thf(fact_3_POST__G,axiom,
    rep_assn @ ( q @ rg ) @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ h @ ( hoare_new_addrs @ h2 @ ( hoare_new_addrs @ h3 @ as @ h2 ) @ h ) ) ).

% POST_G
thf(fact_4_POST__F,axiom,
    rep_assn @ ( r @ rf ) @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ h2 @ ( hoare_new_addrs @ h3 @ as @ h2 ) ) ).

% POST_F
thf(fact_5_Rep__assn__inject,axiom,
    ! [X: assn,Y: assn] :
      ( ( ( rep_assn @ X )
        = ( rep_assn @ Y ) )
      = ( X = Y ) ) ).

% Rep_assn_inject
thf(fact_6_prod_Oinject,axiom,
    ! [A: $tType,B: $tType,X1: A,X2: B,Y1: A,Y2: B] :
      ( ( ( product_Pair @ A @ B @ X1 @ X2 )
        = ( product_Pair @ A @ B @ Y1 @ Y2 ) )
      = ( ( X1 = Y1 )
        & ( X2 = Y2 ) ) ) ).

% prod.inject
thf(fact_7_old_Oprod_Oinject,axiom,
    ! [A: $tType,B: $tType,A3: A,B2: B,A4: A,B3: B] :
      ( ( ( product_Pair @ A @ B @ A3 @ B2 )
        = ( product_Pair @ A @ B @ A4 @ B3 ) )
      = ( ( A3 = A4 )
        & ( B2 = B3 ) ) ) ).

% old.prod.inject
thf(fact_8_one__assn__raw_Ocases,axiom,
    ! [X: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
      ~ ! [H2: heap_ext @ product_unit,As2: set @ nat] :
          ( X
         != ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) ) ).

% one_assn_raw.cases
thf(fact_9_pairself_Ocases,axiom,
    ! [B: $tType,A: $tType,X: product_prod @ ( A > B ) @ ( product_prod @ A @ A )] :
      ~ ! [F: A > B,A5: A,B4: A] :
          ( X
         != ( product_Pair @ ( A > B ) @ ( product_prod @ A @ A ) @ F @ ( product_Pair @ A @ A @ A5 @ B4 ) ) ) ).

% pairself.cases
thf(fact_10_snga__assn__raw_Ocases,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [X: product_prod @ ( array @ A ) @ ( product_prod @ ( list @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) )] :
          ~ ! [R: array @ A,X3: list @ A,H2: heap_ext @ product_unit,As2: set @ nat] :
              ( X
             != ( product_Pair @ ( array @ A ) @ ( product_prod @ ( list @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) @ R @ ( product_Pair @ ( list @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) @ X3 @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) ) ) ) ) ).

% snga_assn_raw.cases
thf(fact_11_sngr__assn__raw_Ocases,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [X: product_prod @ ( ref @ A ) @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) )] :
          ~ ! [R: ref @ A,X3: A,H2: heap_ext @ product_unit,As2: set @ nat] :
              ( X
             != ( product_Pair @ ( ref @ A ) @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) @ R @ ( product_Pair @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) @ X3 @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) ) ) ) ) ).

% sngr_assn_raw.cases
thf(fact_12_times__assn__raw_Ocases,axiom,
    ! [X: product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) )] :
      ~ ! [P: ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o,Q: ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o,H2: heap_ext @ product_unit,As2: set @ nat] :
          ( X
         != ( product_Pair @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) @ P @ ( product_Pair @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) @ Q @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) ) ) ) ).

% times_assn_raw.cases
thf(fact_13_pure__assn__raw_Ocases,axiom,
    ! [A: $tType,B: $tType,X: product_prod @ $o @ ( product_prod @ A @ ( set @ B ) )] :
      ~ ! [B4: $o,H2: A,As2: set @ B] :
          ( X
         != ( product_Pair @ $o @ ( product_prod @ A @ ( set @ B ) ) @ B4 @ ( product_Pair @ A @ ( set @ B ) @ H2 @ As2 ) ) ) ).

% pure_assn_raw.cases
thf(fact_14_prod__induct7,axiom,
    ! [G: $tType,F2: $tType,E: $tType,D: $tType,C: $tType,B: $tType,A: $tType,P2: ( product_prod @ A @ ( product_prod @ B @ ( product_prod @ C @ ( product_prod @ D @ ( product_prod @ E @ ( product_prod @ F2 @ G ) ) ) ) ) ) > $o,X: product_prod @ A @ ( product_prod @ B @ ( product_prod @ C @ ( product_prod @ D @ ( product_prod @ E @ ( product_prod @ F2 @ G ) ) ) ) )] :
      ( ! [A5: A,B4: B,C2: C,D2: D,E2: E,F: F2,G2: G] : ( P2 @ ( product_Pair @ A @ ( product_prod @ B @ ( product_prod @ C @ ( product_prod @ D @ ( product_prod @ E @ ( product_prod @ F2 @ G ) ) ) ) ) @ A5 @ ( product_Pair @ B @ ( product_prod @ C @ ( product_prod @ D @ ( product_prod @ E @ ( product_prod @ F2 @ G ) ) ) ) @ B4 @ ( product_Pair @ C @ ( product_prod @ D @ ( product_prod @ E @ ( product_prod @ F2 @ G ) ) ) @ C2 @ ( product_Pair @ D @ ( product_prod @ E @ ( product_prod @ F2 @ G ) ) @ D2 @ ( product_Pair @ E @ ( product_prod @ F2 @ G ) @ E2 @ ( product_Pair @ F2 @ G @ F @ G2 ) ) ) ) ) ) )
     => ( P2 @ X ) ) ).

% prod_induct7
thf(fact_15_prod__induct6,axiom,
    ! [F2: $tType,E: $tType,D: $tType,C: $tType,B: $tType,A: $tType,P2: ( product_prod @ A @ ( product_prod @ B @ ( product_prod @ C @ ( product_prod @ D @ ( product_prod @ E @ F2 ) ) ) ) ) > $o,X: product_prod @ A @ ( product_prod @ B @ ( product_prod @ C @ ( product_prod @ D @ ( product_prod @ E @ F2 ) ) ) )] :
      ( ! [A5: A,B4: B,C2: C,D2: D,E2: E,F: F2] : ( P2 @ ( product_Pair @ A @ ( product_prod @ B @ ( product_prod @ C @ ( product_prod @ D @ ( product_prod @ E @ F2 ) ) ) ) @ A5 @ ( product_Pair @ B @ ( product_prod @ C @ ( product_prod @ D @ ( product_prod @ E @ F2 ) ) ) @ B4 @ ( product_Pair @ C @ ( product_prod @ D @ ( product_prod @ E @ F2 ) ) @ C2 @ ( product_Pair @ D @ ( product_prod @ E @ F2 ) @ D2 @ ( product_Pair @ E @ F2 @ E2 @ F ) ) ) ) ) )
     => ( P2 @ X ) ) ).

% prod_induct6
thf(fact_16_prod__induct5,axiom,
    ! [E: $tType,D: $tType,C: $tType,B: $tType,A: $tType,P2: ( product_prod @ A @ ( product_prod @ B @ ( product_prod @ C @ ( product_prod @ D @ E ) ) ) ) > $o,X: product_prod @ A @ ( product_prod @ B @ ( product_prod @ C @ ( product_prod @ D @ E ) ) )] :
      ( ! [A5: A,B4: B,C2: C,D2: D,E2: E] : ( P2 @ ( product_Pair @ A @ ( product_prod @ B @ ( product_prod @ C @ ( product_prod @ D @ E ) ) ) @ A5 @ ( product_Pair @ B @ ( product_prod @ C @ ( product_prod @ D @ E ) ) @ B4 @ ( product_Pair @ C @ ( product_prod @ D @ E ) @ C2 @ ( product_Pair @ D @ E @ D2 @ E2 ) ) ) ) )
     => ( P2 @ X ) ) ).

% prod_induct5
thf(fact_17_prod__induct4,axiom,
    ! [D: $tType,C: $tType,B: $tType,A: $tType,P2: ( product_prod @ A @ ( product_prod @ B @ ( product_prod @ C @ D ) ) ) > $o,X: product_prod @ A @ ( product_prod @ B @ ( product_prod @ C @ D ) )] :
      ( ! [A5: A,B4: B,C2: C,D2: D] : ( P2 @ ( product_Pair @ A @ ( product_prod @ B @ ( product_prod @ C @ D ) ) @ A5 @ ( product_Pair @ B @ ( product_prod @ C @ D ) @ B4 @ ( product_Pair @ C @ D @ C2 @ D2 ) ) ) )
     => ( P2 @ X ) ) ).

% prod_induct4
thf(fact_18_prod__induct3,axiom,
    ! [C: $tType,B: $tType,A: $tType,P2: ( product_prod @ A @ ( product_prod @ B @ C ) ) > $o,X: product_prod @ A @ ( product_prod @ B @ C )] :
      ( ! [A5: A,B4: B,C2: C] : ( P2 @ ( product_Pair @ A @ ( product_prod @ B @ C ) @ A5 @ ( product_Pair @ B @ C @ B4 @ C2 ) ) )
     => ( P2 @ X ) ) ).

% prod_induct3
thf(fact_19_prod__cases7,axiom,
    ! [A: $tType,B: $tType,C: $tType,D: $tType,E: $tType,F2: $tType,G: $tType,Y: product_prod @ A @ ( product_prod @ B @ ( product_prod @ C @ ( product_prod @ D @ ( product_prod @ E @ ( product_prod @ F2 @ G ) ) ) ) )] :
      ~ ! [A5: A,B4: B,C2: C,D2: D,E2: E,F: F2,G2: G] :
          ( Y
         != ( product_Pair @ A @ ( product_prod @ B @ ( product_prod @ C @ ( product_prod @ D @ ( product_prod @ E @ ( product_prod @ F2 @ G ) ) ) ) ) @ A5 @ ( product_Pair @ B @ ( product_prod @ C @ ( product_prod @ D @ ( product_prod @ E @ ( product_prod @ F2 @ G ) ) ) ) @ B4 @ ( product_Pair @ C @ ( product_prod @ D @ ( product_prod @ E @ ( product_prod @ F2 @ G ) ) ) @ C2 @ ( product_Pair @ D @ ( product_prod @ E @ ( product_prod @ F2 @ G ) ) @ D2 @ ( product_Pair @ E @ ( product_prod @ F2 @ G ) @ E2 @ ( product_Pair @ F2 @ G @ F @ G2 ) ) ) ) ) ) ) ).

% prod_cases7
thf(fact_20_prod__cases6,axiom,
    ! [A: $tType,B: $tType,C: $tType,D: $tType,E: $tType,F2: $tType,Y: product_prod @ A @ ( product_prod @ B @ ( product_prod @ C @ ( product_prod @ D @ ( product_prod @ E @ F2 ) ) ) )] :
      ~ ! [A5: A,B4: B,C2: C,D2: D,E2: E,F: F2] :
          ( Y
         != ( product_Pair @ A @ ( product_prod @ B @ ( product_prod @ C @ ( product_prod @ D @ ( product_prod @ E @ F2 ) ) ) ) @ A5 @ ( product_Pair @ B @ ( product_prod @ C @ ( product_prod @ D @ ( product_prod @ E @ F2 ) ) ) @ B4 @ ( product_Pair @ C @ ( product_prod @ D @ ( product_prod @ E @ F2 ) ) @ C2 @ ( product_Pair @ D @ ( product_prod @ E @ F2 ) @ D2 @ ( product_Pair @ E @ F2 @ E2 @ F ) ) ) ) ) ) ).

% prod_cases6
thf(fact_21_prod__cases5,axiom,
    ! [A: $tType,B: $tType,C: $tType,D: $tType,E: $tType,Y: product_prod @ A @ ( product_prod @ B @ ( product_prod @ C @ ( product_prod @ D @ E ) ) )] :
      ~ ! [A5: A,B4: B,C2: C,D2: D,E2: E] :
          ( Y
         != ( product_Pair @ A @ ( product_prod @ B @ ( product_prod @ C @ ( product_prod @ D @ E ) ) ) @ A5 @ ( product_Pair @ B @ ( product_prod @ C @ ( product_prod @ D @ E ) ) @ B4 @ ( product_Pair @ C @ ( product_prod @ D @ E ) @ C2 @ ( product_Pair @ D @ E @ D2 @ E2 ) ) ) ) ) ).

% prod_cases5
thf(fact_22_prod__cases4,axiom,
    ! [A: $tType,B: $tType,C: $tType,D: $tType,Y: product_prod @ A @ ( product_prod @ B @ ( product_prod @ C @ D ) )] :
      ~ ! [A5: A,B4: B,C2: C,D2: D] :
          ( Y
         != ( product_Pair @ A @ ( product_prod @ B @ ( product_prod @ C @ D ) ) @ A5 @ ( product_Pair @ B @ ( product_prod @ C @ D ) @ B4 @ ( product_Pair @ C @ D @ C2 @ D2 ) ) ) ) ).

% prod_cases4
thf(fact_23_prod__cases3,axiom,
    ! [A: $tType,B: $tType,C: $tType,Y: product_prod @ A @ ( product_prod @ B @ C )] :
      ~ ! [A5: A,B4: B,C2: C] :
          ( Y
         != ( product_Pair @ A @ ( product_prod @ B @ C ) @ A5 @ ( product_Pair @ B @ C @ B4 @ C2 ) ) ) ).

% prod_cases3
thf(fact_24_Pair__inject,axiom,
    ! [A: $tType,B: $tType,A3: A,B2: B,A4: A,B3: B] :
      ( ( ( product_Pair @ A @ B @ A3 @ B2 )
        = ( product_Pair @ A @ B @ A4 @ B3 ) )
     => ~ ( ( A3 = A4 )
         => ( B2 != B3 ) ) ) ).

% Pair_inject
thf(fact_25_prod__cases,axiom,
    ! [B: $tType,A: $tType,P2: ( product_prod @ A @ B ) > $o,P3: product_prod @ A @ B] :
      ( ! [A5: A,B4: B] : ( P2 @ ( product_Pair @ A @ B @ A5 @ B4 ) )
     => ( P2 @ P3 ) ) ).

% prod_cases
thf(fact_26_surj__pair,axiom,
    ! [A: $tType,B: $tType,P3: product_prod @ A @ B] :
    ? [X3: A,Y3: B] :
      ( P3
      = ( product_Pair @ A @ B @ X3 @ Y3 ) ) ).

% surj_pair
thf(fact_27_bex2I,axiom,
    ! [A: $tType,B: $tType,A3: A,B2: B,S: set @ ( product_prod @ A @ B ),P2: A > B > $o] :
      ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ A3 @ B2 ) @ S )
     => ( ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ A3 @ B2 ) @ S )
         => ( P2 @ A3 @ B2 ) )
       => ? [A5: A,B4: B] :
            ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ A5 @ B4 ) @ S )
            & ( P2 @ A5 @ B4 ) ) ) ) ).

% bex2I
thf(fact_28_old_Oprod_Oexhaust,axiom,
    ! [A: $tType,B: $tType,Y: product_prod @ A @ B] :
      ~ ! [A5: A,B4: B] :
          ( Y
         != ( product_Pair @ A @ B @ A5 @ B4 ) ) ).

% old.prod.exhaust
thf(fact_29_T1,axiom,
    hoare_hoare_triple @ a @ p @ f @ r ).

% T1
thf(fact_30_old_Oprod_Orec,axiom,
    ! [A: $tType,T: $tType,B: $tType,F1: A > B > T,A3: A,B2: B] :
      ( ( product_rec_prod @ A @ B @ T @ F1 @ ( product_Pair @ A @ B @ A3 @ B2 ) )
      = ( F1 @ A3 @ B2 ) ) ).

% old.prod.rec
thf(fact_31_T2,axiom,
    ! [X: a] : ( hoare_hoare_triple @ b @ ( r @ X ) @ ( g @ X ) @ q ) ).

% T2
thf(fact_32_EX__G,axiom,
    ( ( heap_Time_execute @ b @ ( g @ rf ) @ h2 )
    = ( some @ ( product_prod @ b @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( product_Pair @ b @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ rg @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ h @ t ) ) ) ) ).

% EX_G
thf(fact_33_LIM__G,axiom,
    ord_less_eq @ nat @ ( lim @ product_unit @ h2 ) @ ( lim @ product_unit @ h ) ).

% LIM_G
thf(fact_34_uncurry__apply,axiom,
    ! [B: $tType,A: $tType,C: $tType,F3: B > C > A,A3: B,B2: C] :
      ( ( uncurry @ B @ C @ A @ F3 @ ( product_Pair @ B @ C @ A3 @ B2 ) )
      = ( F3 @ A3 @ B2 ) ) ).

% uncurry_apply
thf(fact_35_LIM__F,axiom,
    ord_less_eq @ nat @ ( lim @ product_unit @ h3 ) @ ( lim @ product_unit @ h2 ) ).

% LIM_F
thf(fact_36_internal__case__prod__conv,axiom,
    ! [B: $tType,A: $tType,C: $tType,C3: B > C > A,A3: B,B2: C] :
      ( ( produc5280177257484947105e_prod @ B @ C @ A @ C3 @ ( product_Pair @ B @ C @ A3 @ B2 ) )
      = ( C3 @ A3 @ B2 ) ) ).

% internal_case_prod_conv
thf(fact_37_EX__F,axiom,
    ( ( heap_Time_execute @ a @ f @ h3 )
    = ( some @ ( product_prod @ a @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( product_Pair @ a @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ rf @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ h2 @ t2 ) ) ) ) ).

% EX_F
thf(fact_38_mem__Collect__eq,axiom,
    ! [A: $tType,A3: A,P2: A > $o] :
      ( ( member @ A @ A3 @ ( collect @ A @ P2 ) )
      = ( P2 @ A3 ) ) ).

% mem_Collect_eq
thf(fact_39_Collect__mem__eq,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ( collect @ A
        @ ^ [X4: A] : ( member @ A @ X4 @ A6 ) )
      = A6 ) ).

% Collect_mem_eq
thf(fact_40_Collect__cong,axiom,
    ! [A: $tType,P2: A > $o,Q2: A > $o] :
      ( ! [X3: A] :
          ( ( P2 @ X3 )
          = ( Q2 @ X3 ) )
     => ( ( collect @ A @ P2 )
        = ( collect @ A @ Q2 ) ) ) ).

% Collect_cong
thf(fact_41_ext,axiom,
    ! [B: $tType,A: $tType,F3: A > B,G3: A > B] :
      ( ! [X3: A] :
          ( ( F3 @ X3 )
          = ( G3 @ X3 ) )
     => ( F3 = G3 ) ) ).

% ext
thf(fact_42_bijective__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( bijective @ A @ B )
      = ( ^ [R2: set @ ( product_prod @ A @ B )] :
            ( ! [X4: A,Y4: B,Z2: B] :
                ( ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X4 @ Y4 ) @ R2 )
                  & ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X4 @ Z2 ) @ R2 ) )
               => ( Y4 = Z2 ) )
            & ! [X4: A,Y4: A,Z2: B] :
                ( ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X4 @ Z2 ) @ R2 )
                  & ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ Y4 @ Z2 ) @ R2 ) )
               => ( X4 = Y4 ) ) ) ) ) ).

% bijective_def
thf(fact_43_ssubst__Pair__rhs,axiom,
    ! [B: $tType,A: $tType,R3: A,S2: B,R4: set @ ( product_prod @ A @ B ),S3: B] :
      ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ R3 @ S2 ) @ R4 )
     => ( ( S3 = S2 )
       => ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ R3 @ S3 ) @ R4 ) ) ) ).

% ssubst_Pair_rhs
thf(fact_44_curry__conv,axiom,
    ! [A: $tType,C: $tType,B: $tType] :
      ( ( product_curry @ B @ C @ A )
      = ( ^ [F4: ( product_prod @ B @ C ) > A,A7: B,B5: C] : ( F4 @ ( product_Pair @ B @ C @ A7 @ B5 ) ) ) ) ).

% curry_conv
thf(fact_45_curryI,axiom,
    ! [A: $tType,B: $tType,F3: ( product_prod @ A @ B ) > $o,A3: A,B2: B] :
      ( ( F3 @ ( product_Pair @ A @ B @ A3 @ B2 ) )
     => ( product_curry @ A @ B @ $o @ F3 @ A3 @ B2 ) ) ).

% curryI
thf(fact_46_curry__uncurry__id,axiom,
    ! [C: $tType,B: $tType,A: $tType,F3: A > B > C] :
      ( ( product_curry @ A @ B @ C @ ( uncurry @ A @ B @ C @ F3 ) )
      = F3 ) ).

% curry_uncurry_id
thf(fact_47_uncurry__curry__id,axiom,
    ! [C: $tType,B: $tType,A: $tType,F3: ( product_prod @ A @ B ) > C] :
      ( ( uncurry @ A @ B @ C @ ( product_curry @ A @ B @ C @ F3 ) )
      = F3 ) ).

% uncurry_curry_id
thf(fact_48_le__some__optE,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [M: A,X: option @ A] :
          ( ( ord_less_eq @ ( option @ A ) @ ( some @ A @ M ) @ X )
         => ~ ! [M2: A] :
                ( ( X
                  = ( some @ A @ M2 ) )
               => ~ ( ord_less_eq @ A @ M @ M2 ) ) ) ) ).

% le_some_optE
thf(fact_49_ord__eq__le__eq__trans,axiom,
    ! [A: $tType] :
      ( ( ord @ A )
     => ! [A3: A,B2: A,C3: A,D3: A] :
          ( ( A3 = B2 )
         => ( ( ord_less_eq @ A @ B2 @ C3 )
           => ( ( C3 = D3 )
             => ( ord_less_eq @ A @ A3 @ D3 ) ) ) ) ) ).

% ord_eq_le_eq_trans
thf(fact_50_hoare__triple__preI,axiom,
    ! [A: $tType,P2: assn,C3: heap_Time_Heap @ A,Q2: A > assn] :
      ( ! [H2: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
          ( ( rep_assn @ P2 @ H2 )
         => ( hoare_hoare_triple @ A @ P2 @ C3 @ Q2 ) )
     => ( hoare_hoare_triple @ A @ P2 @ C3 @ Q2 ) ) ).

% hoare_triple_preI
thf(fact_51_curryD,axiom,
    ! [A: $tType,B: $tType,F3: ( product_prod @ A @ B ) > $o,A3: A,B2: B] :
      ( ( product_curry @ A @ B @ $o @ F3 @ A3 @ B2 )
     => ( F3 @ ( product_Pair @ A @ B @ A3 @ B2 ) ) ) ).

% curryD
thf(fact_52_curryE,axiom,
    ! [A: $tType,B: $tType,F3: ( product_prod @ A @ B ) > $o,A3: A,B2: B] :
      ( ( product_curry @ A @ B @ $o @ F3 @ A3 @ B2 )
     => ( F3 @ ( product_Pair @ A @ B @ A3 @ B2 ) ) ) ).

% curryE
thf(fact_53_less__eq__option__Some,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less_eq @ ( option @ A ) @ ( some @ A @ X ) @ ( some @ A @ Y ) )
          = ( ord_less_eq @ A @ X @ Y ) ) ) ).

% less_eq_option_Some
thf(fact_54_option_Oinject,axiom,
    ! [A: $tType,X2: A,Y2: A] :
      ( ( ( some @ A @ X2 )
        = ( some @ A @ Y2 ) )
      = ( X2 = Y2 ) ) ).

% option.inject
thf(fact_55_dual__order_Orefl,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [A3: A] : ( ord_less_eq @ A @ A3 @ A3 ) ) ).

% dual_order.refl
thf(fact_56_order__refl,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [X: A] : ( ord_less_eq @ A @ X @ X ) ) ).

% order_refl
thf(fact_57__092_060open_062_092_060And_062thesis_O_A_I_092_060And_062rg_Ah_H_H_At_H_H_O_A_092_060lbrakk_062execute_A_Ig_Arf_J_Ah_H_A_061_ASome_A_Irg_M_Ah_H_H_M_At_H_H_J_059_A_Ih_H_H_M_Anew__addrs_Ah_H_A_Inew__addrs_Ah_Aas_Ah_H_J_Ah_H_H_J_A_092_060Turnstile_062_AQ_Arg_059_ArelH_A_123a_O_Aa_A_060_Alim_Ah_H_A_092_060and_062_Aa_A_092_060notin_062_Anew__addrs_Ah_Aas_Ah_H_125_Ah_H_Ah_H_H_059_Alim_Ah_H_A_092_060le_062_Alim_Ah_H_H_092_060rbrakk_062_A_092_060Longrightarrow_062_Athesis_J_A_092_060Longrightarrow_062_Athesis_092_060close_062,axiom,
    ~ ! [Rg: b,H3: heap_ext @ product_unit] :
        ( ? [T2: nat] :
            ( ( heap_Time_execute @ b @ ( g @ rf ) @ h2 )
            = ( some @ ( product_prod @ b @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( product_Pair @ b @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ Rg @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ H3 @ T2 ) ) ) )
       => ( ( rep_assn @ ( q @ Rg ) @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H3 @ ( hoare_new_addrs @ h2 @ ( hoare_new_addrs @ h3 @ as @ h2 ) @ H3 ) ) )
         => ( ( relH
              @ ( collect @ nat
                @ ^ [A7: nat] :
                    ( ( ord_less @ nat @ A7 @ ( lim @ product_unit @ h2 ) )
                    & ~ ( member @ nat @ A7 @ ( hoare_new_addrs @ h3 @ as @ h2 ) ) ) )
              @ h2
              @ H3 )
           => ~ ( ord_less_eq @ nat @ ( lim @ product_unit @ h2 ) @ ( lim @ product_unit @ H3 ) ) ) ) ) ).

% \<open>\<And>thesis. (\<And>rg h'' t''. \<lbrakk>execute (g rf) h' = Some (rg, h'', t''); (h'', new_addrs h' (new_addrs h as h') h'') \<Turnstile> Q rg; relH {a. a < lim h' \<and> a \<notin> new_addrs h as h'} h' h''; lim h' \<le> lim h''\<rbrakk> \<Longrightarrow> thesis) \<Longrightarrow> thesis\<close>
thf(fact_58__092_060open_062_092_060And_062thesis_O_A_I_092_060And_062rf_Ah_H_At_H_O_A_092_060lbrakk_062execute_Af_Ah_A_061_ASome_A_Irf_M_Ah_H_M_At_H_J_059_A_Ih_H_M_Anew__addrs_Ah_Aas_Ah_H_J_A_092_060Turnstile_062_AR_Arf_059_ArelH_A_123a_O_Aa_A_060_Alim_Ah_A_092_060and_062_Aa_A_092_060notin_062_Aas_125_Ah_Ah_H_059_Alim_Ah_A_092_060le_062_Alim_Ah_H_092_060rbrakk_062_A_092_060Longrightarrow_062_Athesis_J_A_092_060Longrightarrow_062_Athesis_092_060close_062,axiom,
    ~ ! [Rf: a,H4: heap_ext @ product_unit] :
        ( ? [T3: nat] :
            ( ( heap_Time_execute @ a @ f @ h3 )
            = ( some @ ( product_prod @ a @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( product_Pair @ a @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ Rf @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ H4 @ T3 ) ) ) )
       => ( ( rep_assn @ ( r @ Rf ) @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H4 @ ( hoare_new_addrs @ h3 @ as @ H4 ) ) )
         => ( ( relH
              @ ( collect @ nat
                @ ^ [A7: nat] :
                    ( ( ord_less @ nat @ A7 @ ( lim @ product_unit @ h3 ) )
                    & ~ ( member @ nat @ A7 @ as ) ) )
              @ h3
              @ H4 )
           => ~ ( ord_less_eq @ nat @ ( lim @ product_unit @ h3 ) @ ( lim @ product_unit @ H4 ) ) ) ) ) ).

% \<open>\<And>thesis. (\<And>rf h' t'. \<lbrakk>execute f h = Some (rf, h', t'); (h', new_addrs h as h') \<Turnstile> R rf; relH {a. a < lim h \<and> a \<notin> as} h h'; lim h \<le> lim h'\<rbrakk> \<Longrightarrow> thesis) \<Longrightarrow> thesis\<close>
thf(fact_59_the__default_Osimps_I1_J,axiom,
    ! [A: $tType,Uu: A,X: A] :
      ( ( the_default @ A @ Uu @ ( some @ A @ X ) )
      = X ) ).

% the_default.simps(1)
thf(fact_60_hoare__triple__effect,axiom,
    ! [A: $tType,P2: assn,C3: heap_Time_Heap @ A,Q2: A > assn,H: heap_ext @ product_unit,As: set @ nat] :
      ( ( hoare_hoare_triple @ A @ P2 @ C3 @ Q2 )
     => ( ( rep_assn @ P2 @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ As ) )
       => ? [H4: heap_ext @ product_unit,R: A,T4: nat] :
            ( ( heap_Time_effect @ A @ C3 @ H @ H4 @ R @ T4 )
            & ( rep_assn @ ( Q2 @ R ) @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H4 @ ( hoare_new_addrs @ H @ As @ H4 ) ) ) ) ) ) ).

% hoare_triple_effect
thf(fact_61_hoare__triple__success,axiom,
    ! [A: $tType,P2: assn,C3: heap_Time_Heap @ A,Q2: A > assn,H: heap_ext @ product_unit,As: set @ nat] :
      ( ( hoare_hoare_triple @ A @ P2 @ C3 @ Q2 )
     => ( ( rep_assn @ P2 @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ As ) )
       => ( heap_Time_success @ A @ C3 @ H ) ) ) ).

% hoare_triple_success
thf(fact_62_relChain__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ord @ B )
     => ( ( bNF_Ca3754400796208372196lChain @ A @ B )
        = ( ^ [R5: set @ ( product_prod @ A @ A ),As3: A > B] :
            ! [I: A,J: A] :
              ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ I @ J ) @ R5 )
             => ( ord_less_eq @ B @ ( As3 @ I ) @ ( As3 @ J ) ) ) ) ) ) ).

% relChain_def
thf(fact_63_Heap__eqI,axiom,
    ! [A: $tType,F3: heap_Time_Heap @ A,G3: heap_Time_Heap @ A] :
      ( ! [H2: heap_ext @ product_unit] :
          ( ( heap_Time_execute @ A @ F3 @ H2 )
          = ( heap_Time_execute @ A @ G3 @ H2 ) )
     => ( F3 = G3 ) ) ).

% Heap_eqI
thf(fact_64_RH__G,axiom,
    ( relH
    @ ( collect @ nat
      @ ^ [A7: nat] :
          ( ( ord_less @ nat @ A7 @ ( lim @ product_unit @ h2 ) )
          & ~ ( member @ nat @ A7 @ ( hoare_new_addrs @ h3 @ as @ h2 ) ) ) )
    @ h2
    @ h ) ).

% RH_G
thf(fact_65_RH__F,axiom,
    ( relH
    @ ( collect @ nat
      @ ^ [A7: nat] :
          ( ( ord_less @ nat @ A7 @ ( lim @ product_unit @ h3 ) )
          & ~ ( member @ nat @ A7 @ as ) ) )
    @ h3
    @ h2 ) ).

% RH_F
thf(fact_66_less__option__Some,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less @ ( option @ A ) @ ( some @ A @ X ) @ ( some @ A @ Y ) )
          = ( ord_less @ A @ X @ Y ) ) ) ).

% less_option_Some
thf(fact_67_relH__subset,axiom,
    ! [Bs: set @ nat,H: heap_ext @ product_unit,H5: heap_ext @ product_unit,As: set @ nat] :
      ( ( relH @ Bs @ H @ H5 )
     => ( ( ord_less_eq @ ( set @ nat ) @ As @ Bs )
       => ( relH @ As @ H @ H5 ) ) ) ).

% relH_subset
thf(fact_68_effect__deterministic_I3_J,axiom,
    ! [A: $tType,F3: heap_Time_Heap @ A,H: heap_ext @ product_unit,H5: heap_ext @ product_unit,A3: A,N: nat,H6: heap_ext @ product_unit,B2: A,N2: nat] :
      ( ( heap_Time_effect @ A @ F3 @ H @ H5 @ A3 @ N )
     => ( ( heap_Time_effect @ A @ F3 @ H @ H6 @ B2 @ N2 )
       => ( N = N2 ) ) ) ).

% effect_deterministic(3)
thf(fact_69_effect__deterministic_I2_J,axiom,
    ! [A: $tType,F3: heap_Time_Heap @ A,H: heap_ext @ product_unit,H5: heap_ext @ product_unit,A3: A,N: nat,H6: heap_ext @ product_unit,B2: A,N2: nat] :
      ( ( heap_Time_effect @ A @ F3 @ H @ H5 @ A3 @ N )
     => ( ( heap_Time_effect @ A @ F3 @ H @ H6 @ B2 @ N2 )
       => ( H5 = H6 ) ) ) ).

% effect_deterministic(2)
thf(fact_70_effect__deterministic_I1_J,axiom,
    ! [A: $tType,F3: heap_Time_Heap @ A,H: heap_ext @ product_unit,H5: heap_ext @ product_unit,A3: A,N: nat,H6: heap_ext @ product_unit,B2: A,N2: nat] :
      ( ( heap_Time_effect @ A @ F3 @ H @ H5 @ A3 @ N )
     => ( ( heap_Time_effect @ A @ F3 @ H @ H6 @ B2 @ N2 )
       => ( A3 = B2 ) ) ) ).

% effect_deterministic(1)
thf(fact_71_lt__ex,axiom,
    ! [A: $tType] :
      ( ( no_bot @ A )
     => ! [X: A] :
        ? [Y3: A] : ( ord_less @ A @ Y3 @ X ) ) ).

% lt_ex
thf(fact_72_gt__ex,axiom,
    ! [A: $tType] :
      ( ( no_top @ A )
     => ! [X: A] :
        ? [X_1: A] : ( ord_less @ A @ X @ X_1 ) ) ).

% gt_ex
thf(fact_73_dense,axiom,
    ! [A: $tType] :
      ( ( dense_order @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less @ A @ X @ Y )
         => ? [Z3: A] :
              ( ( ord_less @ A @ X @ Z3 )
              & ( ord_less @ A @ Z3 @ Y ) ) ) ) ).

% dense
thf(fact_74_less__imp__neq,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less @ A @ X @ Y )
         => ( X != Y ) ) ) ).

% less_imp_neq
thf(fact_75_order_Oasym,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ~ ( ord_less @ A @ B2 @ A3 ) ) ) ).

% order.asym
thf(fact_76_ord__eq__less__trans,axiom,
    ! [A: $tType] :
      ( ( ord @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( A3 = B2 )
         => ( ( ord_less @ A @ B2 @ C3 )
           => ( ord_less @ A @ A3 @ C3 ) ) ) ) ).

% ord_eq_less_trans
thf(fact_77_ord__less__eq__trans,axiom,
    ! [A: $tType] :
      ( ( ord @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ( ( B2 = C3 )
           => ( ord_less @ A @ A3 @ C3 ) ) ) ) ).

% ord_less_eq_trans
thf(fact_78_less__induct,axiom,
    ! [A: $tType] :
      ( ( wellorder @ A )
     => ! [P2: A > $o,A3: A] :
          ( ! [X3: A] :
              ( ! [Y5: A] :
                  ( ( ord_less @ A @ Y5 @ X3 )
                 => ( P2 @ Y5 ) )
             => ( P2 @ X3 ) )
         => ( P2 @ A3 ) ) ) ).

% less_induct
thf(fact_79_antisym__conv3,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Y: A,X: A] :
          ( ~ ( ord_less @ A @ Y @ X )
         => ( ( ~ ( ord_less @ A @ X @ Y ) )
            = ( X = Y ) ) ) ) ).

% antisym_conv3
thf(fact_80_linorder__cases,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [X: A,Y: A] :
          ( ~ ( ord_less @ A @ X @ Y )
         => ( ( X != Y )
           => ( ord_less @ A @ Y @ X ) ) ) ) ).

% linorder_cases
thf(fact_81_dual__order_Oasym,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [B2: A,A3: A] :
          ( ( ord_less @ A @ B2 @ A3 )
         => ~ ( ord_less @ A @ A3 @ B2 ) ) ) ).

% dual_order.asym
thf(fact_82_dual__order_Oirrefl,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [A3: A] :
          ~ ( ord_less @ A @ A3 @ A3 ) ) ).

% dual_order.irrefl
thf(fact_83_exists__least__iff,axiom,
    ! [A: $tType] :
      ( ( wellorder @ A )
     => ( ( ^ [P4: A > $o] :
            ? [X5: A] : ( P4 @ X5 ) )
        = ( ^ [P5: A > $o] :
            ? [N3: A] :
              ( ( P5 @ N3 )
              & ! [M3: A] :
                  ( ( ord_less @ A @ M3 @ N3 )
                 => ~ ( P5 @ M3 ) ) ) ) ) ) ).

% exists_least_iff
thf(fact_84_linorder__less__wlog,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [P2: A > A > $o,A3: A,B2: A] :
          ( ! [A5: A,B4: A] :
              ( ( ord_less @ A @ A5 @ B4 )
             => ( P2 @ A5 @ B4 ) )
         => ( ! [A5: A] : ( P2 @ A5 @ A5 )
           => ( ! [A5: A,B4: A] :
                  ( ( P2 @ B4 @ A5 )
                 => ( P2 @ A5 @ B4 ) )
             => ( P2 @ A3 @ B2 ) ) ) ) ) ).

% linorder_less_wlog
thf(fact_85_order_Ostrict__trans,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ( ( ord_less @ A @ B2 @ C3 )
           => ( ord_less @ A @ A3 @ C3 ) ) ) ) ).

% order.strict_trans
thf(fact_86_not__less__iff__gr__or__eq,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [X: A,Y: A] :
          ( ( ~ ( ord_less @ A @ X @ Y ) )
          = ( ( ord_less @ A @ Y @ X )
            | ( X = Y ) ) ) ) ).

% not_less_iff_gr_or_eq
thf(fact_87_dual__order_Ostrict__trans,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [B2: A,A3: A,C3: A] :
          ( ( ord_less @ A @ B2 @ A3 )
         => ( ( ord_less @ A @ C3 @ B2 )
           => ( ord_less @ A @ C3 @ A3 ) ) ) ) ).

% dual_order.strict_trans
thf(fact_88_order_Ostrict__implies__not__eq,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ( A3 != B2 ) ) ) ).

% order.strict_implies_not_eq
thf(fact_89_dual__order_Ostrict__implies__not__eq,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [B2: A,A3: A] :
          ( ( ord_less @ A @ B2 @ A3 )
         => ( A3 != B2 ) ) ) ).

% dual_order.strict_implies_not_eq
thf(fact_90_linorder__neqE,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [X: A,Y: A] :
          ( ( X != Y )
         => ( ~ ( ord_less @ A @ X @ Y )
           => ( ord_less @ A @ Y @ X ) ) ) ) ).

% linorder_neqE
thf(fact_91_order__less__asym,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less @ A @ X @ Y )
         => ~ ( ord_less @ A @ Y @ X ) ) ) ).

% order_less_asym
thf(fact_92_effect__ifE,axiom,
    ! [A: $tType,C3: $o,T5: heap_Time_Heap @ A,E3: heap_Time_Heap @ A,H: heap_ext @ product_unit,H5: heap_ext @ product_unit,R3: A,N: nat] :
      ( ( heap_Time_effect @ A @ ( if @ ( heap_Time_Heap @ A ) @ C3 @ T5 @ E3 ) @ H @ H5 @ R3 @ N )
     => ( ( C3
         => ~ ( heap_Time_effect @ A @ T5 @ H @ H5 @ R3 @ N ) )
       => ~ ( ~ C3
           => ~ ( heap_Time_effect @ A @ E3 @ H @ H5 @ R3 @ N ) ) ) ) ).

% effect_ifE
thf(fact_93_effect__ifI,axiom,
    ! [A: $tType,C3: $o,T5: heap_Time_Heap @ A,H: heap_ext @ product_unit,H5: heap_ext @ product_unit,R3: A,N: nat,E3: heap_Time_Heap @ A] :
      ( ( C3
       => ( heap_Time_effect @ A @ T5 @ H @ H5 @ R3 @ N ) )
     => ( ( ~ C3
         => ( heap_Time_effect @ A @ E3 @ H @ H5 @ R3 @ N ) )
       => ( heap_Time_effect @ A @ ( if @ ( heap_Time_Heap @ A ) @ C3 @ T5 @ E3 ) @ H @ H5 @ R3 @ N ) ) ) ).

% effect_ifI
thf(fact_94_linorder__neq__iff,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [X: A,Y: A] :
          ( ( X != Y )
          = ( ( ord_less @ A @ X @ Y )
            | ( ord_less @ A @ Y @ X ) ) ) ) ).

% linorder_neq_iff
thf(fact_95_order__less__asym_H,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ~ ( ord_less @ A @ B2 @ A3 ) ) ) ).

% order_less_asym'
thf(fact_96_order__less__trans,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [X: A,Y: A,Z4: A] :
          ( ( ord_less @ A @ X @ Y )
         => ( ( ord_less @ A @ Y @ Z4 )
           => ( ord_less @ A @ X @ Z4 ) ) ) ) ).

% order_less_trans
thf(fact_97_effect__LetI,axiom,
    ! [B: $tType,A: $tType,X: A,T5: A,F3: A > ( heap_Time_Heap @ B ),H: heap_ext @ product_unit,H5: heap_ext @ product_unit,R3: B,N: nat] :
      ( ( X = T5 )
     => ( ( heap_Time_effect @ B @ ( F3 @ X ) @ H @ H5 @ R3 @ N )
       => ( heap_Time_effect @ B @ ( F3 @ T5 ) @ H @ H5 @ R3 @ N ) ) ) ).

% effect_LetI
thf(fact_98_success__ifI,axiom,
    ! [A: $tType,C3: $o,T5: heap_Time_Heap @ A,H: heap_ext @ product_unit,E3: heap_Time_Heap @ A] :
      ( ( C3
       => ( heap_Time_success @ A @ T5 @ H ) )
     => ( ( ~ C3
         => ( heap_Time_success @ A @ E3 @ H ) )
       => ( heap_Time_success @ A @ ( if @ ( heap_Time_Heap @ A ) @ C3 @ T5 @ E3 ) @ H ) ) ) ).

% success_ifI
thf(fact_99_ord__eq__less__subst,axiom,
    ! [A: $tType,B: $tType] :
      ( ( ( ord @ B )
        & ( ord @ A ) )
     => ! [A3: A,F3: B > A,B2: B,C3: B] :
          ( ( A3
            = ( F3 @ B2 ) )
         => ( ( ord_less @ B @ B2 @ C3 )
           => ( ! [X3: B,Y3: B] :
                  ( ( ord_less @ B @ X3 @ Y3 )
                 => ( ord_less @ A @ ( F3 @ X3 ) @ ( F3 @ Y3 ) ) )
             => ( ord_less @ A @ A3 @ ( F3 @ C3 ) ) ) ) ) ) ).

% ord_eq_less_subst
thf(fact_100_ord__less__eq__subst,axiom,
    ! [A: $tType,B: $tType] :
      ( ( ( ord @ B )
        & ( ord @ A ) )
     => ! [A3: A,B2: A,F3: A > B,C3: B] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ( ( ( F3 @ B2 )
              = C3 )
           => ( ! [X3: A,Y3: A] :
                  ( ( ord_less @ A @ X3 @ Y3 )
                 => ( ord_less @ B @ ( F3 @ X3 ) @ ( F3 @ Y3 ) ) )
             => ( ord_less @ B @ ( F3 @ A3 ) @ C3 ) ) ) ) ) ).

% ord_less_eq_subst
thf(fact_101_order__less__irrefl,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [X: A] :
          ~ ( ord_less @ A @ X @ X ) ) ).

% order_less_irrefl
thf(fact_102_order__less__subst1,axiom,
    ! [A: $tType,B: $tType] :
      ( ( ( order @ B )
        & ( order @ A ) )
     => ! [A3: A,F3: B > A,B2: B,C3: B] :
          ( ( ord_less @ A @ A3 @ ( F3 @ B2 ) )
         => ( ( ord_less @ B @ B2 @ C3 )
           => ( ! [X3: B,Y3: B] :
                  ( ( ord_less @ B @ X3 @ Y3 )
                 => ( ord_less @ A @ ( F3 @ X3 ) @ ( F3 @ Y3 ) ) )
             => ( ord_less @ A @ A3 @ ( F3 @ C3 ) ) ) ) ) ) ).

% order_less_subst1
thf(fact_103_order__less__subst2,axiom,
    ! [A: $tType,C: $tType] :
      ( ( ( order @ C )
        & ( order @ A ) )
     => ! [A3: A,B2: A,F3: A > C,C3: C] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ( ( ord_less @ C @ ( F3 @ B2 ) @ C3 )
           => ( ! [X3: A,Y3: A] :
                  ( ( ord_less @ A @ X3 @ Y3 )
                 => ( ord_less @ C @ ( F3 @ X3 ) @ ( F3 @ Y3 ) ) )
             => ( ord_less @ C @ ( F3 @ A3 ) @ C3 ) ) ) ) ) ).

% order_less_subst2
thf(fact_104_success__LetI,axiom,
    ! [A: $tType,B: $tType,X: A,T5: A,F3: A > ( heap_Time_Heap @ B ),H: heap_ext @ product_unit] :
      ( ( X = T5 )
     => ( ( heap_Time_success @ B @ ( F3 @ X ) @ H )
       => ( heap_Time_success @ B @ ( F3 @ T5 ) @ H ) ) ) ).

% success_LetI
thf(fact_105_order__less__not__sym,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less @ A @ X @ Y )
         => ~ ( ord_less @ A @ Y @ X ) ) ) ).

% order_less_not_sym
thf(fact_106_order__less__imp__triv,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [X: A,Y: A,P2: $o] :
          ( ( ord_less @ A @ X @ Y )
         => ( ( ord_less @ A @ Y @ X )
           => P2 ) ) ) ).

% order_less_imp_triv
thf(fact_107_effect__success,axiom,
    ! [A: $tType,C3: heap_Time_Heap @ A,H: heap_ext @ product_unit,H5: heap_ext @ product_unit,R3: A,N: nat] :
      ( ( heap_Time_effect @ A @ C3 @ H @ H5 @ R3 @ N )
     => ( heap_Time_success @ A @ C3 @ H ) ) ).

% effect_success
thf(fact_108_linorder__less__linear,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less @ A @ X @ Y )
          | ( X = Y )
          | ( ord_less @ A @ Y @ X ) ) ) ).

% linorder_less_linear
thf(fact_109_success__effectE,axiom,
    ! [A: $tType,C3: heap_Time_Heap @ A,H: heap_ext @ product_unit] :
      ( ( heap_Time_success @ A @ C3 @ H )
     => ~ ! [R: A,H4: heap_ext @ product_unit,N4: nat] :
            ~ ( heap_Time_effect @ A @ C3 @ H @ H4 @ R @ N4 ) ) ).

% success_effectE
thf(fact_110_order__less__imp__not__eq,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less @ A @ X @ Y )
         => ( X != Y ) ) ) ).

% order_less_imp_not_eq
thf(fact_111_order__less__imp__not__eq2,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less @ A @ X @ Y )
         => ( Y != X ) ) ) ).

% order_less_imp_not_eq2
thf(fact_112_order__less__imp__not__less,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less @ A @ X @ Y )
         => ~ ( ord_less @ A @ Y @ X ) ) ) ).

% order_less_imp_not_less
thf(fact_113_relH__trans,axiom,
    ! [As: set @ nat,H1: heap_ext @ product_unit,H22: heap_ext @ product_unit,H32: heap_ext @ product_unit] :
      ( ( relH @ As @ H1 @ H22 )
     => ( ( relH @ As @ H22 @ H32 )
       => ( relH @ As @ H1 @ H32 ) ) ) ).

% relH_trans
thf(fact_114_relH__sym,axiom,
    ! [As: set @ nat,H: heap_ext @ product_unit,H5: heap_ext @ product_unit] :
      ( ( relH @ As @ H @ H5 )
     => ( relH @ As @ H5 @ H ) ) ).

% relH_sym
thf(fact_115_leD,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [Y: A,X: A] :
          ( ( ord_less_eq @ A @ Y @ X )
         => ~ ( ord_less @ A @ X @ Y ) ) ) ).

% leD
thf(fact_116_leI,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [X: A,Y: A] :
          ( ~ ( ord_less @ A @ X @ Y )
         => ( ord_less_eq @ A @ Y @ X ) ) ) ).

% leI
thf(fact_117_nless__le,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [A3: A,B2: A] :
          ( ( ~ ( ord_less @ A @ A3 @ B2 ) )
          = ( ~ ( ord_less_eq @ A @ A3 @ B2 )
            | ( A3 = B2 ) ) ) ) ).

% nless_le
thf(fact_118_antisym__conv1,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [X: A,Y: A] :
          ( ~ ( ord_less @ A @ X @ Y )
         => ( ( ord_less_eq @ A @ X @ Y )
            = ( X = Y ) ) ) ) ).

% antisym_conv1
thf(fact_119_antisym__conv2,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less_eq @ A @ X @ Y )
         => ( ( ~ ( ord_less @ A @ X @ Y ) )
            = ( X = Y ) ) ) ) ).

% antisym_conv2
thf(fact_120_dense__ge,axiom,
    ! [A: $tType] :
      ( ( dense_linorder @ A )
     => ! [Z4: A,Y: A] :
          ( ! [X3: A] :
              ( ( ord_less @ A @ Z4 @ X3 )
             => ( ord_less_eq @ A @ Y @ X3 ) )
         => ( ord_less_eq @ A @ Y @ Z4 ) ) ) ).

% dense_ge
thf(fact_121_dense__le,axiom,
    ! [A: $tType] :
      ( ( dense_linorder @ A )
     => ! [Y: A,Z4: A] :
          ( ! [X3: A] :
              ( ( ord_less @ A @ X3 @ Y )
             => ( ord_less_eq @ A @ X3 @ Z4 ) )
         => ( ord_less_eq @ A @ Y @ Z4 ) ) ) ).

% dense_le
thf(fact_122_less__le__not__le,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ( ( ord_less @ A )
        = ( ^ [X4: A,Y4: A] :
              ( ( ord_less_eq @ A @ X4 @ Y4 )
              & ~ ( ord_less_eq @ A @ Y4 @ X4 ) ) ) ) ) ).

% less_le_not_le
thf(fact_123_not__le__imp__less,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Y: A,X: A] :
          ( ~ ( ord_less_eq @ A @ Y @ X )
         => ( ord_less @ A @ X @ Y ) ) ) ).

% not_le_imp_less
thf(fact_124_order_Oorder__iff__strict,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ( ( ord_less_eq @ A )
        = ( ^ [A7: A,B5: A] :
              ( ( ord_less @ A @ A7 @ B5 )
              | ( A7 = B5 ) ) ) ) ) ).

% order.order_iff_strict
thf(fact_125_order_Ostrict__iff__order,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ( ( ord_less @ A )
        = ( ^ [A7: A,B5: A] :
              ( ( ord_less_eq @ A @ A7 @ B5 )
              & ( A7 != B5 ) ) ) ) ) ).

% order.strict_iff_order
thf(fact_126_order_Ostrict__trans1,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ( ord_less @ A @ B2 @ C3 )
           => ( ord_less @ A @ A3 @ C3 ) ) ) ) ).

% order.strict_trans1
thf(fact_127_order_Ostrict__trans2,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ( ( ord_less_eq @ A @ B2 @ C3 )
           => ( ord_less @ A @ A3 @ C3 ) ) ) ) ).

% order.strict_trans2
thf(fact_128_order_Ostrict__iff__not,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ( ( ord_less @ A )
        = ( ^ [A7: A,B5: A] :
              ( ( ord_less_eq @ A @ A7 @ B5 )
              & ~ ( ord_less_eq @ A @ B5 @ A7 ) ) ) ) ) ).

% order.strict_iff_not
thf(fact_129_dense__ge__bounded,axiom,
    ! [A: $tType] :
      ( ( dense_linorder @ A )
     => ! [Z4: A,X: A,Y: A] :
          ( ( ord_less @ A @ Z4 @ X )
         => ( ! [W: A] :
                ( ( ord_less @ A @ Z4 @ W )
               => ( ( ord_less @ A @ W @ X )
                 => ( ord_less_eq @ A @ Y @ W ) ) )
           => ( ord_less_eq @ A @ Y @ Z4 ) ) ) ) ).

% dense_ge_bounded
thf(fact_130_dense__le__bounded,axiom,
    ! [A: $tType] :
      ( ( dense_linorder @ A )
     => ! [X: A,Y: A,Z4: A] :
          ( ( ord_less @ A @ X @ Y )
         => ( ! [W: A] :
                ( ( ord_less @ A @ X @ W )
               => ( ( ord_less @ A @ W @ Y )
                 => ( ord_less_eq @ A @ W @ Z4 ) ) )
           => ( ord_less_eq @ A @ Y @ Z4 ) ) ) ) ).

% dense_le_bounded
thf(fact_131_dual__order_Oorder__iff__strict,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ( ( ord_less_eq @ A )
        = ( ^ [B5: A,A7: A] :
              ( ( ord_less @ A @ B5 @ A7 )
              | ( A7 = B5 ) ) ) ) ) ).

% dual_order.order_iff_strict
thf(fact_132_dual__order_Ostrict__iff__order,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ( ( ord_less @ A )
        = ( ^ [B5: A,A7: A] :
              ( ( ord_less_eq @ A @ B5 @ A7 )
              & ( A7 != B5 ) ) ) ) ) ).

% dual_order.strict_iff_order
thf(fact_133_dual__order_Ostrict__trans1,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [B2: A,A3: A,C3: A] :
          ( ( ord_less_eq @ A @ B2 @ A3 )
         => ( ( ord_less @ A @ C3 @ B2 )
           => ( ord_less @ A @ C3 @ A3 ) ) ) ) ).

% dual_order.strict_trans1
thf(fact_134_dual__order_Ostrict__trans2,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [B2: A,A3: A,C3: A] :
          ( ( ord_less @ A @ B2 @ A3 )
         => ( ( ord_less_eq @ A @ C3 @ B2 )
           => ( ord_less @ A @ C3 @ A3 ) ) ) ) ).

% dual_order.strict_trans2
thf(fact_135_dual__order_Ostrict__iff__not,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ( ( ord_less @ A )
        = ( ^ [B5: A,A7: A] :
              ( ( ord_less_eq @ A @ B5 @ A7 )
              & ~ ( ord_less_eq @ A @ A7 @ B5 ) ) ) ) ) ).

% dual_order.strict_iff_not
thf(fact_136_order_Ostrict__implies__order,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ( ord_less_eq @ A @ A3 @ B2 ) ) ) ).

% order.strict_implies_order
thf(fact_137_dual__order_Ostrict__implies__order,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [B2: A,A3: A] :
          ( ( ord_less @ A @ B2 @ A3 )
         => ( ord_less_eq @ A @ B2 @ A3 ) ) ) ).

% dual_order.strict_implies_order
thf(fact_138_order__le__less,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ( ( ord_less_eq @ A )
        = ( ^ [X4: A,Y4: A] :
              ( ( ord_less @ A @ X4 @ Y4 )
              | ( X4 = Y4 ) ) ) ) ) ).

% order_le_less
thf(fact_139_order__less__le,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ( ( ord_less @ A )
        = ( ^ [X4: A,Y4: A] :
              ( ( ord_less_eq @ A @ X4 @ Y4 )
              & ( X4 != Y4 ) ) ) ) ) ).

% order_less_le
thf(fact_140_linorder__not__le,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [X: A,Y: A] :
          ( ( ~ ( ord_less_eq @ A @ X @ Y ) )
          = ( ord_less @ A @ Y @ X ) ) ) ).

% linorder_not_le
thf(fact_141_linorder__not__less,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [X: A,Y: A] :
          ( ( ~ ( ord_less @ A @ X @ Y ) )
          = ( ord_less_eq @ A @ Y @ X ) ) ) ).

% linorder_not_less
thf(fact_142_order__less__imp__le,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less @ A @ X @ Y )
         => ( ord_less_eq @ A @ X @ Y ) ) ) ).

% order_less_imp_le
thf(fact_143_order__le__neq__trans,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ( A3 != B2 )
           => ( ord_less @ A @ A3 @ B2 ) ) ) ) ).

% order_le_neq_trans
thf(fact_144_order__neq__le__trans,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [A3: A,B2: A] :
          ( ( A3 != B2 )
         => ( ( ord_less_eq @ A @ A3 @ B2 )
           => ( ord_less @ A @ A3 @ B2 ) ) ) ) ).

% order_neq_le_trans
thf(fact_145_order__le__less__trans,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [X: A,Y: A,Z4: A] :
          ( ( ord_less_eq @ A @ X @ Y )
         => ( ( ord_less @ A @ Y @ Z4 )
           => ( ord_less @ A @ X @ Z4 ) ) ) ) ).

% order_le_less_trans
thf(fact_146_order__less__le__trans,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [X: A,Y: A,Z4: A] :
          ( ( ord_less @ A @ X @ Y )
         => ( ( ord_less_eq @ A @ Y @ Z4 )
           => ( ord_less @ A @ X @ Z4 ) ) ) ) ).

% order_less_le_trans
thf(fact_147_order__le__less__subst1,axiom,
    ! [A: $tType,B: $tType] :
      ( ( ( order @ B )
        & ( order @ A ) )
     => ! [A3: A,F3: B > A,B2: B,C3: B] :
          ( ( ord_less_eq @ A @ A3 @ ( F3 @ B2 ) )
         => ( ( ord_less @ B @ B2 @ C3 )
           => ( ! [X3: B,Y3: B] :
                  ( ( ord_less @ B @ X3 @ Y3 )
                 => ( ord_less @ A @ ( F3 @ X3 ) @ ( F3 @ Y3 ) ) )
             => ( ord_less @ A @ A3 @ ( F3 @ C3 ) ) ) ) ) ) ).

% order_le_less_subst1
thf(fact_148_order__le__less__subst2,axiom,
    ! [A: $tType,C: $tType] :
      ( ( ( order @ C )
        & ( order @ A ) )
     => ! [A3: A,B2: A,F3: A > C,C3: C] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ( ord_less @ C @ ( F3 @ B2 ) @ C3 )
           => ( ! [X3: A,Y3: A] :
                  ( ( ord_less_eq @ A @ X3 @ Y3 )
                 => ( ord_less_eq @ C @ ( F3 @ X3 ) @ ( F3 @ Y3 ) ) )
             => ( ord_less @ C @ ( F3 @ A3 ) @ C3 ) ) ) ) ) ).

% order_le_less_subst2
thf(fact_149_order__less__le__subst1,axiom,
    ! [A: $tType,B: $tType] :
      ( ( ( order @ B )
        & ( order @ A ) )
     => ! [A3: A,F3: B > A,B2: B,C3: B] :
          ( ( ord_less @ A @ A3 @ ( F3 @ B2 ) )
         => ( ( ord_less_eq @ B @ B2 @ C3 )
           => ( ! [X3: B,Y3: B] :
                  ( ( ord_less_eq @ B @ X3 @ Y3 )
                 => ( ord_less_eq @ A @ ( F3 @ X3 ) @ ( F3 @ Y3 ) ) )
             => ( ord_less @ A @ A3 @ ( F3 @ C3 ) ) ) ) ) ) ).

% order_less_le_subst1
thf(fact_150_order__less__le__subst2,axiom,
    ! [A: $tType,C: $tType] :
      ( ( ( order @ C )
        & ( order @ A ) )
     => ! [A3: A,B2: A,F3: A > C,C3: C] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ( ( ord_less_eq @ C @ ( F3 @ B2 ) @ C3 )
           => ( ! [X3: A,Y3: A] :
                  ( ( ord_less @ A @ X3 @ Y3 )
                 => ( ord_less @ C @ ( F3 @ X3 ) @ ( F3 @ Y3 ) ) )
             => ( ord_less @ C @ ( F3 @ A3 ) @ C3 ) ) ) ) ) ).

% order_less_le_subst2
thf(fact_151_linorder__le__less__linear,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less_eq @ A @ X @ Y )
          | ( ord_less @ A @ Y @ X ) ) ) ).

% linorder_le_less_linear
thf(fact_152_order__le__imp__less__or__eq,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less_eq @ A @ X @ Y )
         => ( ( ord_less @ A @ X @ Y )
            | ( X = Y ) ) ) ) ).

% order_le_imp_less_or_eq
thf(fact_153_curry__K,axiom,
    ! [B: $tType,C: $tType,A: $tType,C3: C] :
      ( ( product_curry @ A @ B @ C
        @ ^ [X4: product_prod @ A @ B] : C3 )
      = ( ^ [X4: A,Y4: B] : C3 ) ) ).

% curry_K
thf(fact_154_curry__def,axiom,
    ! [C: $tType,B: $tType,A: $tType] :
      ( ( product_curry @ A @ B @ C )
      = ( ^ [C4: ( product_prod @ A @ B ) > C,X4: A,Y4: B] : ( C4 @ ( product_Pair @ A @ B @ X4 @ Y4 ) ) ) ) ).

% curry_def
thf(fact_155_exists__leI,axiom,
    ! [N: nat,P2: nat > $o] :
      ( ( ! [N5: nat] :
            ( ( ord_less @ nat @ N5 @ N )
           => ~ ( P2 @ N5 ) )
       => ( P2 @ N ) )
     => ? [N6: nat] :
          ( ( ord_less_eq @ nat @ N6 @ N )
          & ( P2 @ N6 ) ) ) ).

% exists_leI
thf(fact_156_mod__relH,axiom,
    ! [As: set @ nat,H: heap_ext @ product_unit,H5: heap_ext @ product_unit,P2: assn] :
      ( ( relH @ As @ H @ H5 )
     => ( ( rep_assn @ P2 @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ As ) )
        = ( rep_assn @ P2 @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H5 @ As ) ) ) ) ).

% mod_relH
thf(fact_157_hoare__triple__def,axiom,
    ! [A: $tType] :
      ( ( hoare_hoare_triple @ A )
      = ( ^ [P5: assn,C4: heap_Time_Heap @ A,Q3: A > assn] :
          ! [H7: heap_ext @ product_unit,As4: set @ nat] :
            ( ( rep_assn @ P5 @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H7 @ As4 ) )
           => ? [R5: A,H8: heap_ext @ product_unit] :
                ( ? [T6: nat] :
                    ( ( heap_Time_execute @ A @ C4 @ H7 )
                    = ( some @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( product_Pair @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ R5 @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ H8 @ T6 ) ) ) )
                & ( rep_assn @ ( Q3 @ R5 ) @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H8 @ ( hoare_new_addrs @ H7 @ As4 @ H8 ) ) )
                & ( relH
                  @ ( collect @ nat
                    @ ^ [A7: nat] :
                        ( ( ord_less @ nat @ A7 @ ( lim @ product_unit @ H7 ) )
                        & ~ ( member @ nat @ A7 @ As4 ) ) )
                  @ H7
                  @ H8 )
                & ( ord_less_eq @ nat @ ( lim @ product_unit @ H7 ) @ ( lim @ product_unit @ H8 ) ) ) ) ) ) ).

% hoare_triple_def
thf(fact_158_hoare__tripleI,axiom,
    ! [A: $tType,P2: assn,C3: heap_Time_Heap @ A,Q2: A > assn] :
      ( ! [H2: heap_ext @ product_unit,As2: set @ nat] :
          ( ( rep_assn @ P2 @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
         => ? [R6: A,H9: heap_ext @ product_unit,T7: nat] :
              ( ( ( heap_Time_execute @ A @ C3 @ H2 )
                = ( some @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( product_Pair @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ R6 @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ H9 @ T7 ) ) ) )
              & ( rep_assn @ ( Q2 @ R6 ) @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H9 @ ( hoare_new_addrs @ H2 @ As2 @ H9 ) ) )
              & ( relH
                @ ( collect @ nat
                  @ ^ [A7: nat] :
                      ( ( ord_less @ nat @ A7 @ ( lim @ product_unit @ H2 ) )
                      & ~ ( member @ nat @ A7 @ As2 ) ) )
                @ H2
                @ H9 )
              & ( ord_less_eq @ nat @ ( lim @ product_unit @ H2 ) @ ( lim @ product_unit @ H9 ) ) ) )
     => ( hoare_hoare_triple @ A @ P2 @ C3 @ Q2 ) ) ).

% hoare_tripleI
thf(fact_159_hoare__tripleE,axiom,
    ! [A: $tType,P2: assn,C3: heap_Time_Heap @ A,Q2: A > assn,H: heap_ext @ product_unit,As: set @ nat] :
      ( ( hoare_hoare_triple @ A @ P2 @ C3 @ Q2 )
     => ( ( rep_assn @ P2 @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ As ) )
       => ~ ! [R: A,H4: heap_ext @ product_unit] :
              ( ? [T4: nat] :
                  ( ( heap_Time_execute @ A @ C3 @ H )
                  = ( some @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( product_Pair @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ R @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ H4 @ T4 ) ) ) )
             => ( ( rep_assn @ ( Q2 @ R ) @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H4 @ ( hoare_new_addrs @ H @ As @ H4 ) ) )
               => ( ( relH
                    @ ( collect @ nat
                      @ ^ [A7: nat] :
                          ( ( ord_less @ nat @ A7 @ ( lim @ product_unit @ H ) )
                          & ~ ( member @ nat @ A7 @ As ) ) )
                    @ H
                    @ H4 )
                 => ~ ( ord_less_eq @ nat @ ( lim @ product_unit @ H ) @ ( lim @ product_unit @ H4 ) ) ) ) ) ) ) ).

% hoare_tripleE
thf(fact_160_successE,axiom,
    ! [A: $tType,F3: heap_Time_Heap @ A,H: heap_ext @ product_unit] :
      ( ( heap_Time_success @ A @ F3 @ H )
     => ~ ! [R: A,H4: product_prod @ ( heap_ext @ product_unit ) @ nat] :
            ( ( heap_Time_execute @ A @ F3 @ H )
           != ( some @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( product_Pair @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ R @ H4 ) ) ) ) ).

% successE
thf(fact_161_nle__le,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A3: A,B2: A] :
          ( ( ~ ( ord_less_eq @ A @ A3 @ B2 ) )
          = ( ( ord_less_eq @ A @ B2 @ A3 )
            & ( B2 != A3 ) ) ) ) ).

% nle_le
thf(fact_162_le__cases3,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [X: A,Y: A,Z4: A] :
          ( ( ( ord_less_eq @ A @ X @ Y )
           => ~ ( ord_less_eq @ A @ Y @ Z4 ) )
         => ( ( ( ord_less_eq @ A @ Y @ X )
             => ~ ( ord_less_eq @ A @ X @ Z4 ) )
           => ( ( ( ord_less_eq @ A @ X @ Z4 )
               => ~ ( ord_less_eq @ A @ Z4 @ Y ) )
             => ( ( ( ord_less_eq @ A @ Z4 @ Y )
                 => ~ ( ord_less_eq @ A @ Y @ X ) )
               => ( ( ( ord_less_eq @ A @ Y @ Z4 )
                   => ~ ( ord_less_eq @ A @ Z4 @ X ) )
                 => ~ ( ( ord_less_eq @ A @ Z4 @ X )
                     => ~ ( ord_less_eq @ A @ X @ Y ) ) ) ) ) ) ) ) ).

% le_cases3
thf(fact_163_order__class_Oorder__eq__iff,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ( ( ^ [Y6: A,Z5: A] : Y6 = Z5 )
        = ( ^ [X4: A,Y4: A] :
              ( ( ord_less_eq @ A @ X4 @ Y4 )
              & ( ord_less_eq @ A @ Y4 @ X4 ) ) ) ) ) ).

% order_class.order_eq_iff
thf(fact_164_ord__eq__le__trans,axiom,
    ! [A: $tType] :
      ( ( ord @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( A3 = B2 )
         => ( ( ord_less_eq @ A @ B2 @ C3 )
           => ( ord_less_eq @ A @ A3 @ C3 ) ) ) ) ).

% ord_eq_le_trans
thf(fact_165_ord__le__eq__trans,axiom,
    ! [A: $tType] :
      ( ( ord @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ( B2 = C3 )
           => ( ord_less_eq @ A @ A3 @ C3 ) ) ) ) ).

% ord_le_eq_trans
thf(fact_166_order__antisym,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less_eq @ A @ X @ Y )
         => ( ( ord_less_eq @ A @ Y @ X )
           => ( X = Y ) ) ) ) ).

% order_antisym
thf(fact_167_order_Otrans,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ( ord_less_eq @ A @ B2 @ C3 )
           => ( ord_less_eq @ A @ A3 @ C3 ) ) ) ) ).

% order.trans
thf(fact_168_order__trans,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [X: A,Y: A,Z4: A] :
          ( ( ord_less_eq @ A @ X @ Y )
         => ( ( ord_less_eq @ A @ Y @ Z4 )
           => ( ord_less_eq @ A @ X @ Z4 ) ) ) ) ).

% order_trans
thf(fact_169_linorder__wlog,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [P2: A > A > $o,A3: A,B2: A] :
          ( ! [A5: A,B4: A] :
              ( ( ord_less_eq @ A @ A5 @ B4 )
             => ( P2 @ A5 @ B4 ) )
         => ( ! [A5: A,B4: A] :
                ( ( P2 @ B4 @ A5 )
               => ( P2 @ A5 @ B4 ) )
           => ( P2 @ A3 @ B2 ) ) ) ) ).

% linorder_wlog
thf(fact_170_dual__order_Oeq__iff,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ( ( ^ [Y6: A,Z5: A] : Y6 = Z5 )
        = ( ^ [A7: A,B5: A] :
              ( ( ord_less_eq @ A @ B5 @ A7 )
              & ( ord_less_eq @ A @ A7 @ B5 ) ) ) ) ) ).

% dual_order.eq_iff
thf(fact_171_dual__order_Oantisym,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [B2: A,A3: A] :
          ( ( ord_less_eq @ A @ B2 @ A3 )
         => ( ( ord_less_eq @ A @ A3 @ B2 )
           => ( A3 = B2 ) ) ) ) ).

% dual_order.antisym
thf(fact_172_dual__order_Otrans,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [B2: A,A3: A,C3: A] :
          ( ( ord_less_eq @ A @ B2 @ A3 )
         => ( ( ord_less_eq @ A @ C3 @ B2 )
           => ( ord_less_eq @ A @ C3 @ A3 ) ) ) ) ).

% dual_order.trans
thf(fact_173_antisym,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ( ord_less_eq @ A @ B2 @ A3 )
           => ( A3 = B2 ) ) ) ) ).

% antisym
thf(fact_174_le__funD,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ord @ B )
     => ! [F3: A > B,G3: A > B,X: A] :
          ( ( ord_less_eq @ ( A > B ) @ F3 @ G3 )
         => ( ord_less_eq @ B @ ( F3 @ X ) @ ( G3 @ X ) ) ) ) ).

% le_funD
thf(fact_175_le__funE,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ord @ B )
     => ! [F3: A > B,G3: A > B,X: A] :
          ( ( ord_less_eq @ ( A > B ) @ F3 @ G3 )
         => ( ord_less_eq @ B @ ( F3 @ X ) @ ( G3 @ X ) ) ) ) ).

% le_funE
thf(fact_176_le__funI,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ord @ B )
     => ! [F3: A > B,G3: A > B] :
          ( ! [X3: A] : ( ord_less_eq @ B @ ( F3 @ X3 ) @ ( G3 @ X3 ) )
         => ( ord_less_eq @ ( A > B ) @ F3 @ G3 ) ) ) ).

% le_funI
thf(fact_177_le__fun__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ord @ B )
     => ( ( ord_less_eq @ ( A > B ) )
        = ( ^ [F4: A > B,G4: A > B] :
            ! [X4: A] : ( ord_less_eq @ B @ ( F4 @ X4 ) @ ( G4 @ X4 ) ) ) ) ) ).

% le_fun_def
thf(fact_178_Orderings_Oorder__eq__iff,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ( ( ^ [Y6: A,Z5: A] : Y6 = Z5 )
        = ( ^ [A7: A,B5: A] :
              ( ( ord_less_eq @ A @ A7 @ B5 )
              & ( ord_less_eq @ A @ B5 @ A7 ) ) ) ) ) ).

% Orderings.order_eq_iff
thf(fact_179_order__subst1,axiom,
    ! [A: $tType,B: $tType] :
      ( ( ( order @ B )
        & ( order @ A ) )
     => ! [A3: A,F3: B > A,B2: B,C3: B] :
          ( ( ord_less_eq @ A @ A3 @ ( F3 @ B2 ) )
         => ( ( ord_less_eq @ B @ B2 @ C3 )
           => ( ! [X3: B,Y3: B] :
                  ( ( ord_less_eq @ B @ X3 @ Y3 )
                 => ( ord_less_eq @ A @ ( F3 @ X3 ) @ ( F3 @ Y3 ) ) )
             => ( ord_less_eq @ A @ A3 @ ( F3 @ C3 ) ) ) ) ) ) ).

% order_subst1
thf(fact_180_order__subst2,axiom,
    ! [A: $tType,C: $tType] :
      ( ( ( order @ C )
        & ( order @ A ) )
     => ! [A3: A,B2: A,F3: A > C,C3: C] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ( ord_less_eq @ C @ ( F3 @ B2 ) @ C3 )
           => ( ! [X3: A,Y3: A] :
                  ( ( ord_less_eq @ A @ X3 @ Y3 )
                 => ( ord_less_eq @ C @ ( F3 @ X3 ) @ ( F3 @ Y3 ) ) )
             => ( ord_less_eq @ C @ ( F3 @ A3 ) @ C3 ) ) ) ) ) ).

% order_subst2
thf(fact_181_order__eq__refl,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [X: A,Y: A] :
          ( ( X = Y )
         => ( ord_less_eq @ A @ X @ Y ) ) ) ).

% order_eq_refl
thf(fact_182_linorder__linear,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less_eq @ A @ X @ Y )
          | ( ord_less_eq @ A @ Y @ X ) ) ) ).

% linorder_linear
thf(fact_183_ord__eq__le__subst,axiom,
    ! [A: $tType,B: $tType] :
      ( ( ( ord @ B )
        & ( ord @ A ) )
     => ! [A3: A,F3: B > A,B2: B,C3: B] :
          ( ( A3
            = ( F3 @ B2 ) )
         => ( ( ord_less_eq @ B @ B2 @ C3 )
           => ( ! [X3: B,Y3: B] :
                  ( ( ord_less_eq @ B @ X3 @ Y3 )
                 => ( ord_less_eq @ A @ ( F3 @ X3 ) @ ( F3 @ Y3 ) ) )
             => ( ord_less_eq @ A @ A3 @ ( F3 @ C3 ) ) ) ) ) ) ).

% ord_eq_le_subst
thf(fact_184_ord__le__eq__subst,axiom,
    ! [A: $tType,B: $tType] :
      ( ( ( ord @ B )
        & ( ord @ A ) )
     => ! [A3: A,B2: A,F3: A > B,C3: B] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ( ( F3 @ B2 )
              = C3 )
           => ( ! [X3: A,Y3: A] :
                  ( ( ord_less_eq @ A @ X3 @ Y3 )
                 => ( ord_less_eq @ B @ ( F3 @ X3 ) @ ( F3 @ Y3 ) ) )
             => ( ord_less_eq @ B @ ( F3 @ A3 ) @ C3 ) ) ) ) ) ).

% ord_le_eq_subst
thf(fact_185_linorder__le__cases,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [X: A,Y: A] :
          ( ~ ( ord_less_eq @ A @ X @ Y )
         => ( ord_less_eq @ A @ Y @ X ) ) ) ).

% linorder_le_cases
thf(fact_186_order__antisym__conv,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [Y: A,X: A] :
          ( ( ord_less_eq @ A @ Y @ X )
         => ( ( ord_less_eq @ A @ X @ Y )
            = ( X = Y ) ) ) ) ).

% order_antisym_conv
thf(fact_187_effect__def,axiom,
    ! [A: $tType] :
      ( ( heap_Time_effect @ A )
      = ( ^ [C4: heap_Time_Heap @ A,H7: heap_ext @ product_unit,H8: heap_ext @ product_unit,R5: A,N3: nat] :
            ( ( heap_Time_execute @ A @ C4 @ H7 )
            = ( some @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( product_Pair @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ R5 @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ H8 @ N3 ) ) ) ) ) ) ).

% effect_def
thf(fact_188_effectI,axiom,
    ! [A: $tType,C3: heap_Time_Heap @ A,H: heap_ext @ product_unit,R3: A,H5: heap_ext @ product_unit,N: nat] :
      ( ( ( heap_Time_execute @ A @ C3 @ H )
        = ( some @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( product_Pair @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ R3 @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ H5 @ N ) ) ) )
     => ( heap_Time_effect @ A @ C3 @ H @ H5 @ R3 @ N ) ) ).

% effectI
thf(fact_189_nat__less__le,axiom,
    ( ( ord_less @ nat )
    = ( ^ [M3: nat,N3: nat] :
          ( ( ord_less_eq @ nat @ M3 @ N3 )
          & ( M3 != N3 ) ) ) ) ).

% nat_less_le
thf(fact_190_less__imp__le__nat,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less @ nat @ M @ N )
     => ( ord_less_eq @ nat @ M @ N ) ) ).

% less_imp_le_nat
thf(fact_191_le__eq__less__or__eq,axiom,
    ( ( ord_less_eq @ nat )
    = ( ^ [M3: nat,N3: nat] :
          ( ( ord_less @ nat @ M3 @ N3 )
          | ( M3 = N3 ) ) ) ) ).

% le_eq_less_or_eq
thf(fact_192_less__or__eq__imp__le,axiom,
    ! [M: nat,N: nat] :
      ( ( ( ord_less @ nat @ M @ N )
        | ( M = N ) )
     => ( ord_less_eq @ nat @ M @ N ) ) ).

% less_or_eq_imp_le
thf(fact_193_le__neq__implies__less,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ M @ N )
     => ( ( M != N )
       => ( ord_less @ nat @ M @ N ) ) ) ).

% le_neq_implies_less
thf(fact_194_less__mono__imp__le__mono,axiom,
    ! [F3: nat > nat,I2: nat,J2: nat] :
      ( ! [I3: nat,J3: nat] :
          ( ( ord_less @ nat @ I3 @ J3 )
         => ( ord_less @ nat @ ( F3 @ I3 ) @ ( F3 @ J3 ) ) )
     => ( ( ord_less_eq @ nat @ I2 @ J2 )
       => ( ord_less_eq @ nat @ ( F3 @ I2 ) @ ( F3 @ J2 ) ) ) ) ).

% less_mono_imp_le_mono
thf(fact_195_nat__descend__induct,axiom,
    ! [N: nat,P2: nat > $o,M: nat] :
      ( ! [K: nat] :
          ( ( ord_less @ nat @ N @ K )
         => ( P2 @ K ) )
     => ( ! [K: nat] :
            ( ( ord_less_eq @ nat @ K @ N )
           => ( ! [I4: nat] :
                  ( ( ord_less @ nat @ K @ I4 )
                 => ( P2 @ I4 ) )
             => ( P2 @ K ) ) )
       => ( P2 @ M ) ) ) ).

% nat_descend_induct
thf(fact_196_Lattices__Big_Oex__has__greatest__nat,axiom,
    ! [A: $tType,P2: A > $o,K2: A,F3: A > nat,B2: nat] :
      ( ( P2 @ K2 )
     => ( ! [Y3: A] :
            ( ( P2 @ Y3 )
           => ( ord_less @ nat @ ( F3 @ Y3 ) @ B2 ) )
       => ? [X3: A] :
            ( ( P2 @ X3 )
            & ! [Y5: A] :
                ( ( P2 @ Y5 )
               => ( ord_less_eq @ nat @ ( F3 @ Y5 ) @ ( F3 @ X3 ) ) ) ) ) ) ).

% Lattices_Big.ex_has_greatest_nat
thf(fact_197_success__bind__executeI,axiom,
    ! [A: $tType,B: $tType,F3: heap_Time_Heap @ A,H: heap_ext @ product_unit,X: A,H5: heap_ext @ product_unit,N: nat,G3: A > ( heap_Time_Heap @ B )] :
      ( ( ( heap_Time_execute @ A @ F3 @ H )
        = ( some @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( product_Pair @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ X @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ H5 @ N ) ) ) )
     => ( ( heap_Time_success @ B @ ( G3 @ X ) @ H5 )
       => ( heap_Time_success @ B @ ( heap_Time_bind @ A @ B @ F3 @ G3 ) @ H ) ) ) ).

% success_bind_executeI
thf(fact_198_minf_I8_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [T5: A] :
        ? [Z3: A] :
        ! [X6: A] :
          ( ( ord_less @ A @ X6 @ Z3 )
         => ~ ( ord_less_eq @ A @ T5 @ X6 ) ) ) ).

% minf(8)
thf(fact_199_minf_I6_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [T5: A] :
        ? [Z3: A] :
        ! [X6: A] :
          ( ( ord_less @ A @ X6 @ Z3 )
         => ( ord_less_eq @ A @ X6 @ T5 ) ) ) ).

% minf(6)
thf(fact_200_pinf_I8_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [T5: A] :
        ? [Z3: A] :
        ! [X6: A] :
          ( ( ord_less @ A @ Z3 @ X6 )
         => ( ord_less_eq @ A @ T5 @ X6 ) ) ) ).

% pinf(8)
thf(fact_201_Heap__Time__Monad_Obind__bind,axiom,
    ! [C: $tType,B: $tType,A: $tType,F3: heap_Time_Heap @ A,G3: A > ( heap_Time_Heap @ C ),K2: C > ( heap_Time_Heap @ B )] :
      ( ( heap_Time_bind @ C @ B @ ( heap_Time_bind @ A @ C @ F3 @ G3 ) @ K2 )
      = ( heap_Time_bind @ A @ B @ F3
        @ ^ [X4: A] : ( heap_Time_bind @ C @ B @ ( G3 @ X4 ) @ K2 ) ) ) ).

% Heap_Time_Monad.bind_bind
thf(fact_202_subset__Collect__conv,axiom,
    ! [A: $tType,S: set @ A,P2: A > $o] :
      ( ( ord_less_eq @ ( set @ A ) @ S @ ( collect @ A @ P2 ) )
      = ( ! [X4: A] :
            ( ( member @ A @ X4 @ S )
           => ( P2 @ X4 ) ) ) ) ).

% subset_Collect_conv
thf(fact_203_Collect__restrict,axiom,
    ! [A: $tType,X7: set @ A,P2: A > $o] :
      ( ord_less_eq @ ( set @ A )
      @ ( collect @ A
        @ ^ [X4: A] :
            ( ( member @ A @ X4 @ X7 )
            & ( P2 @ X4 ) ) )
      @ X7 ) ).

% Collect_restrict
thf(fact_204_prop__restrict,axiom,
    ! [A: $tType,X: A,Z6: set @ A,X7: set @ A,P2: A > $o] :
      ( ( member @ A @ X @ Z6 )
     => ( ( ord_less_eq @ ( set @ A ) @ Z6
          @ ( collect @ A
            @ ^ [X4: A] :
                ( ( member @ A @ X4 @ X7 )
                & ( P2 @ X4 ) ) ) )
       => ( P2 @ X ) ) ) ).

% prop_restrict
thf(fact_205_less__fun__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ord @ B )
     => ( ( ord_less @ ( A > B ) )
        = ( ^ [F4: A > B,G4: A > B] :
              ( ( ord_less_eq @ ( A > B ) @ F4 @ G4 )
              & ~ ( ord_less_eq @ ( A > B ) @ G4 @ F4 ) ) ) ) ) ).

% less_fun_def
thf(fact_206_distrib__if__bind,axiom,
    ! [A: $tType,B: $tType,B2: $o,C3: heap_Time_Heap @ B,D3: heap_Time_Heap @ B,F3: B > ( heap_Time_Heap @ A )] :
      ( ( B2
       => ( ( heap_Time_bind @ B @ A @ ( if @ ( heap_Time_Heap @ B ) @ B2 @ C3 @ D3 ) @ F3 )
          = ( heap_Time_bind @ B @ A @ C3 @ F3 ) ) )
      & ( ~ B2
       => ( ( heap_Time_bind @ B @ A @ ( if @ ( heap_Time_Heap @ B ) @ B2 @ C3 @ D3 ) @ F3 )
          = ( heap_Time_bind @ B @ A @ D3 @ F3 ) ) ) ) ).

% distrib_if_bind
thf(fact_207_success__bind__effectI,axiom,
    ! [A: $tType,B: $tType,F3: heap_Time_Heap @ A,H: heap_ext @ product_unit,H5: heap_ext @ product_unit,X: A,N: nat,G3: A > ( heap_Time_Heap @ B )] :
      ( ( heap_Time_effect @ A @ F3 @ H @ H5 @ X @ N )
     => ( ( heap_Time_success @ B @ ( G3 @ X ) @ H5 )
       => ( heap_Time_success @ B @ ( heap_Time_bind @ A @ B @ F3 @ G3 ) @ H ) ) ) ).

% success_bind_effectI
thf(fact_208_measure__induct__rule,axiom,
    ! [B: $tType,A: $tType] :
      ( ( wellorder @ B )
     => ! [F3: A > B,P2: A > $o,A3: A] :
          ( ! [X3: A] :
              ( ! [Y5: A] :
                  ( ( ord_less @ B @ ( F3 @ Y5 ) @ ( F3 @ X3 ) )
                 => ( P2 @ Y5 ) )
             => ( P2 @ X3 ) )
         => ( P2 @ A3 ) ) ) ).

% measure_induct_rule
thf(fact_209_measure__induct,axiom,
    ! [B: $tType,A: $tType] :
      ( ( wellorder @ B )
     => ! [F3: A > B,P2: A > $o,A3: A] :
          ( ! [X3: A] :
              ( ! [Y5: A] :
                  ( ( ord_less @ B @ ( F3 @ Y5 ) @ ( F3 @ X3 ) )
                 => ( P2 @ Y5 ) )
             => ( P2 @ X3 ) )
         => ( P2 @ A3 ) ) ) ).

% measure_induct
thf(fact_210_pinf_I1_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [P2: A > $o,P6: A > $o,Q2: A > $o,Q4: A > $o] :
          ( ? [Z7: A] :
            ! [X3: A] :
              ( ( ord_less @ A @ Z7 @ X3 )
             => ( ( P2 @ X3 )
                = ( P6 @ X3 ) ) )
         => ( ? [Z7: A] :
              ! [X3: A] :
                ( ( ord_less @ A @ Z7 @ X3 )
               => ( ( Q2 @ X3 )
                  = ( Q4 @ X3 ) ) )
           => ? [Z3: A] :
              ! [X6: A] :
                ( ( ord_less @ A @ Z3 @ X6 )
               => ( ( ( P2 @ X6 )
                    & ( Q2 @ X6 ) )
                  = ( ( P6 @ X6 )
                    & ( Q4 @ X6 ) ) ) ) ) ) ) ).

% pinf(1)
thf(fact_211_pinf_I2_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [P2: A > $o,P6: A > $o,Q2: A > $o,Q4: A > $o] :
          ( ? [Z7: A] :
            ! [X3: A] :
              ( ( ord_less @ A @ Z7 @ X3 )
             => ( ( P2 @ X3 )
                = ( P6 @ X3 ) ) )
         => ( ? [Z7: A] :
              ! [X3: A] :
                ( ( ord_less @ A @ Z7 @ X3 )
               => ( ( Q2 @ X3 )
                  = ( Q4 @ X3 ) ) )
           => ? [Z3: A] :
              ! [X6: A] :
                ( ( ord_less @ A @ Z3 @ X6 )
               => ( ( ( P2 @ X6 )
                    | ( Q2 @ X6 ) )
                  = ( ( P6 @ X6 )
                    | ( Q4 @ X6 ) ) ) ) ) ) ) ).

% pinf(2)
thf(fact_212_pinf_I3_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [T5: A] :
        ? [Z3: A] :
        ! [X6: A] :
          ( ( ord_less @ A @ Z3 @ X6 )
         => ( X6 != T5 ) ) ) ).

% pinf(3)
thf(fact_213_pinf_I4_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [T5: A] :
        ? [Z3: A] :
        ! [X6: A] :
          ( ( ord_less @ A @ Z3 @ X6 )
         => ( X6 != T5 ) ) ) ).

% pinf(4)
thf(fact_214_pinf_I5_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [T5: A] :
        ? [Z3: A] :
        ! [X6: A] :
          ( ( ord_less @ A @ Z3 @ X6 )
         => ~ ( ord_less @ A @ X6 @ T5 ) ) ) ).

% pinf(5)
thf(fact_215_pinf_I7_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [T5: A] :
        ? [Z3: A] :
        ! [X6: A] :
          ( ( ord_less @ A @ Z3 @ X6 )
         => ( ord_less @ A @ T5 @ X6 ) ) ) ).

% pinf(7)
thf(fact_216_pinf_I11_J,axiom,
    ! [C: $tType,D: $tType] :
      ( ( ord @ C )
     => ! [F5: D] :
        ? [Z3: C] :
        ! [X6: C] :
          ( ( ord_less @ C @ Z3 @ X6 )
         => ( F5 = F5 ) ) ) ).

% pinf(11)
thf(fact_217_minf_I1_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [P2: A > $o,P6: A > $o,Q2: A > $o,Q4: A > $o] :
          ( ? [Z7: A] :
            ! [X3: A] :
              ( ( ord_less @ A @ X3 @ Z7 )
             => ( ( P2 @ X3 )
                = ( P6 @ X3 ) ) )
         => ( ? [Z7: A] :
              ! [X3: A] :
                ( ( ord_less @ A @ X3 @ Z7 )
               => ( ( Q2 @ X3 )
                  = ( Q4 @ X3 ) ) )
           => ? [Z3: A] :
              ! [X6: A] :
                ( ( ord_less @ A @ X6 @ Z3 )
               => ( ( ( P2 @ X6 )
                    & ( Q2 @ X6 ) )
                  = ( ( P6 @ X6 )
                    & ( Q4 @ X6 ) ) ) ) ) ) ) ).

% minf(1)
thf(fact_218_minf_I2_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [P2: A > $o,P6: A > $o,Q2: A > $o,Q4: A > $o] :
          ( ? [Z7: A] :
            ! [X3: A] :
              ( ( ord_less @ A @ X3 @ Z7 )
             => ( ( P2 @ X3 )
                = ( P6 @ X3 ) ) )
         => ( ? [Z7: A] :
              ! [X3: A] :
                ( ( ord_less @ A @ X3 @ Z7 )
               => ( ( Q2 @ X3 )
                  = ( Q4 @ X3 ) ) )
           => ? [Z3: A] :
              ! [X6: A] :
                ( ( ord_less @ A @ X6 @ Z3 )
               => ( ( ( P2 @ X6 )
                    | ( Q2 @ X6 ) )
                  = ( ( P6 @ X6 )
                    | ( Q4 @ X6 ) ) ) ) ) ) ) ).

% minf(2)
thf(fact_219_minf_I3_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [T5: A] :
        ? [Z3: A] :
        ! [X6: A] :
          ( ( ord_less @ A @ X6 @ Z3 )
         => ( X6 != T5 ) ) ) ).

% minf(3)
thf(fact_220_minf_I4_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [T5: A] :
        ? [Z3: A] :
        ! [X6: A] :
          ( ( ord_less @ A @ X6 @ Z3 )
         => ( X6 != T5 ) ) ) ).

% minf(4)
thf(fact_221_minf_I5_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [T5: A] :
        ? [Z3: A] :
        ! [X6: A] :
          ( ( ord_less @ A @ X6 @ Z3 )
         => ( ord_less @ A @ X6 @ T5 ) ) ) ).

% minf(5)
thf(fact_222_minf_I7_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [T5: A] :
        ? [Z3: A] :
        ! [X6: A] :
          ( ( ord_less @ A @ X6 @ Z3 )
         => ~ ( ord_less @ A @ T5 @ X6 ) ) ) ).

% minf(7)
thf(fact_223_minf_I11_J,axiom,
    ! [C: $tType,D: $tType] :
      ( ( ord @ C )
     => ! [F5: D] :
        ? [Z3: C] :
        ! [X6: C] :
          ( ( ord_less @ C @ X6 @ Z3 )
         => ( F5 = F5 ) ) ) ).

% minf(11)
thf(fact_224_infinite__descent__measure,axiom,
    ! [A: $tType,P2: A > $o,V: A > nat,X: A] :
      ( ! [X3: A] :
          ( ~ ( P2 @ X3 )
         => ? [Y5: A] :
              ( ( ord_less @ nat @ ( V @ Y5 ) @ ( V @ X3 ) )
              & ~ ( P2 @ Y5 ) ) )
     => ( P2 @ X ) ) ).

% infinite_descent_measure
thf(fact_225_linorder__neqE__nat,axiom,
    ! [X: nat,Y: nat] :
      ( ( X != Y )
     => ( ~ ( ord_less @ nat @ X @ Y )
       => ( ord_less @ nat @ Y @ X ) ) ) ).

% linorder_neqE_nat
thf(fact_226_infinite__descent,axiom,
    ! [P2: nat > $o,N: nat] :
      ( ! [N4: nat] :
          ( ~ ( P2 @ N4 )
         => ? [M4: nat] :
              ( ( ord_less @ nat @ M4 @ N4 )
              & ~ ( P2 @ M4 ) ) )
     => ( P2 @ N ) ) ).

% infinite_descent
thf(fact_227_nat__less__induct,axiom,
    ! [P2: nat > $o,N: nat] :
      ( ! [N4: nat] :
          ( ! [M4: nat] :
              ( ( ord_less @ nat @ M4 @ N4 )
             => ( P2 @ M4 ) )
         => ( P2 @ N4 ) )
     => ( P2 @ N ) ) ).

% nat_less_induct
thf(fact_228_less__irrefl__nat,axiom,
    ! [N: nat] :
      ~ ( ord_less @ nat @ N @ N ) ).

% less_irrefl_nat
thf(fact_229_less__not__refl3,axiom,
    ! [S2: nat,T5: nat] :
      ( ( ord_less @ nat @ S2 @ T5 )
     => ( S2 != T5 ) ) ).

% less_not_refl3
thf(fact_230_less__not__refl2,axiom,
    ! [N: nat,M: nat] :
      ( ( ord_less @ nat @ N @ M )
     => ( M != N ) ) ).

% less_not_refl2
thf(fact_231_less__not__refl,axiom,
    ! [N: nat] :
      ~ ( ord_less @ nat @ N @ N ) ).

% less_not_refl
thf(fact_232_nat__neq__iff,axiom,
    ! [M: nat,N: nat] :
      ( ( M != N )
      = ( ( ord_less @ nat @ M @ N )
        | ( ord_less @ nat @ N @ M ) ) ) ).

% nat_neq_iff
thf(fact_233_ex__has__least__nat,axiom,
    ! [A: $tType,P2: A > $o,K2: A,M: A > nat] :
      ( ( P2 @ K2 )
     => ? [X3: A] :
          ( ( P2 @ X3 )
          & ! [Y5: A] :
              ( ( P2 @ Y5 )
             => ( ord_less_eq @ nat @ ( M @ X3 ) @ ( M @ Y5 ) ) ) ) ) ).

% ex_has_least_nat
thf(fact_234_Nat_Oex__has__greatest__nat,axiom,
    ! [P2: nat > $o,K2: nat,B2: nat] :
      ( ( P2 @ K2 )
     => ( ! [Y3: nat] :
            ( ( P2 @ Y3 )
           => ( ord_less_eq @ nat @ Y3 @ B2 ) )
       => ? [X3: nat] :
            ( ( P2 @ X3 )
            & ! [Y5: nat] :
                ( ( P2 @ Y5 )
               => ( ord_less_eq @ nat @ Y5 @ X3 ) ) ) ) ) ).

% Nat.ex_has_greatest_nat
thf(fact_235_nat__le__linear,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ M @ N )
      | ( ord_less_eq @ nat @ N @ M ) ) ).

% nat_le_linear
thf(fact_236_le__antisym,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ M @ N )
     => ( ( ord_less_eq @ nat @ N @ M )
       => ( M = N ) ) ) ).

% le_antisym
thf(fact_237_eq__imp__le,axiom,
    ! [M: nat,N: nat] :
      ( ( M = N )
     => ( ord_less_eq @ nat @ M @ N ) ) ).

% eq_imp_le
thf(fact_238_le__trans,axiom,
    ! [I2: nat,J2: nat,K2: nat] :
      ( ( ord_less_eq @ nat @ I2 @ J2 )
     => ( ( ord_less_eq @ nat @ J2 @ K2 )
       => ( ord_less_eq @ nat @ I2 @ K2 ) ) ) ).

% le_trans
thf(fact_239_le__refl,axiom,
    ! [N: nat] : ( ord_less_eq @ nat @ N @ N ) ).

% le_refl
thf(fact_240_pinf_I6_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [T5: A] :
        ? [Z3: A] :
        ! [X6: A] :
          ( ( ord_less @ A @ Z3 @ X6 )
         => ~ ( ord_less_eq @ A @ X6 @ T5 ) ) ) ).

% pinf(6)
thf(fact_241_execute__bind_I1_J,axiom,
    ! [A: $tType,B: $tType,F3: heap_Time_Heap @ A,H: heap_ext @ product_unit,X: A,H5: heap_ext @ product_unit,N: nat,G3: A > ( heap_Time_Heap @ B )] :
      ( ( ( heap_Time_execute @ A @ F3 @ H )
        = ( some @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( product_Pair @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ X @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ H5 @ N ) ) ) )
     => ( ( heap_Time_execute @ B @ ( heap_Time_bind @ A @ B @ F3 @ G3 ) @ H )
        = ( heap_Time_timeFrame @ B @ N @ ( heap_Time_execute @ B @ ( G3 @ X ) @ H5 ) ) ) ) ).

% execute_bind(1)
thf(fact_242_subset__antisym,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
     => ( ( ord_less_eq @ ( set @ A ) @ B6 @ A6 )
       => ( A6 = B6 ) ) ) ).

% subset_antisym
thf(fact_243_psubsetI,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
     => ( ( A6 != B6 )
       => ( ord_less @ ( set @ A ) @ A6 @ B6 ) ) ) ).

% psubsetI
thf(fact_244_subsetI,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ! [X3: A] :
          ( ( member @ A @ X3 @ A6 )
         => ( member @ A @ X3 @ B6 ) )
     => ( ord_less_eq @ ( set @ A ) @ A6 @ B6 ) ) ).

% subsetI
thf(fact_245_complete__interval,axiom,
    ! [A: $tType] :
      ( ( condit6923001295902523014norder @ A )
     => ! [A3: A,B2: A,P2: A > $o] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ( ( P2 @ A3 )
           => ( ~ ( P2 @ B2 )
             => ? [C2: A] :
                  ( ( ord_less_eq @ A @ A3 @ C2 )
                  & ( ord_less_eq @ A @ C2 @ B2 )
                  & ! [X6: A] :
                      ( ( ( ord_less_eq @ A @ A3 @ X6 )
                        & ( ord_less @ A @ X6 @ C2 ) )
                     => ( P2 @ X6 ) )
                  & ! [D4: A] :
                      ( ! [X3: A] :
                          ( ( ( ord_less_eq @ A @ A3 @ X3 )
                            & ( ord_less @ A @ X3 @ D4 ) )
                         => ( P2 @ X3 ) )
                     => ( ord_less_eq @ A @ D4 @ C2 ) ) ) ) ) ) ) ).

% complete_interval
thf(fact_246_verit__comp__simplify1_I3_J,axiom,
    ! [B: $tType] :
      ( ( linorder @ B )
     => ! [B3: B,A4: B] :
          ( ( ~ ( ord_less_eq @ B @ B3 @ A4 ) )
          = ( ord_less @ B @ A4 @ B3 ) ) ) ).

% verit_comp_simplify1(3)
thf(fact_247_execute__bind__eq__SomeI,axiom,
    ! [A: $tType,B: $tType,F3: heap_Time_Heap @ A,H: heap_ext @ product_unit,X: A,H5: heap_ext @ product_unit,N: nat,G3: A > ( heap_Time_Heap @ B ),Y: B,H6: heap_ext @ product_unit,N2: nat] :
      ( ( ( heap_Time_execute @ A @ F3 @ H )
        = ( some @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( product_Pair @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ X @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ H5 @ N ) ) ) )
     => ( ( ( heap_Time_execute @ B @ ( G3 @ X ) @ H5 )
          = ( some @ ( product_prod @ B @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( product_Pair @ B @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ Y @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ H6 @ N2 ) ) ) )
       => ( ( heap_Time_execute @ B @ ( heap_Time_bind @ A @ B @ F3 @ G3 ) @ H )
          = ( some @ ( product_prod @ B @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( product_Pair @ B @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ Y @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ H6 @ ( plus_plus @ nat @ N @ N2 ) ) ) ) ) ) ) ).

% execute_bind_eq_SomeI
thf(fact_248_new__addrs__def,axiom,
    ( hoare_new_addrs
    = ( ^ [H7: heap_ext @ product_unit,As4: set @ nat,H8: heap_ext @ product_unit] :
          ( sup_sup @ ( set @ nat ) @ As4
          @ ( collect @ nat
            @ ^ [A7: nat] :
                ( ( ord_less_eq @ nat @ ( lim @ product_unit @ H7 ) @ A7 )
                & ( ord_less @ nat @ A7 @ ( lim @ product_unit @ H8 ) ) ) ) ) ) ) ).

% new_addrs_def
thf(fact_249_subset__Collect__iff,axiom,
    ! [A: $tType,B6: set @ A,A6: set @ A,P2: A > $o] :
      ( ( ord_less_eq @ ( set @ A ) @ B6 @ A6 )
     => ( ( ord_less_eq @ ( set @ A ) @ B6
          @ ( collect @ A
            @ ^ [X4: A] :
                ( ( member @ A @ X4 @ A6 )
                & ( P2 @ X4 ) ) ) )
        = ( ! [X4: A] :
              ( ( member @ A @ X4 @ B6 )
             => ( P2 @ X4 ) ) ) ) ) ).

% subset_Collect_iff
thf(fact_250_subset__CollectI,axiom,
    ! [A: $tType,B6: set @ A,A6: set @ A,Q2: A > $o,P2: A > $o] :
      ( ( ord_less_eq @ ( set @ A ) @ B6 @ A6 )
     => ( ! [X3: A] :
            ( ( member @ A @ X3 @ B6 )
           => ( ( Q2 @ X3 )
             => ( P2 @ X3 ) ) )
       => ( ord_less_eq @ ( set @ A )
          @ ( collect @ A
            @ ^ [X4: A] :
                ( ( member @ A @ X4 @ B6 )
                & ( Q2 @ X4 ) ) )
          @ ( collect @ A
            @ ^ [X4: A] :
                ( ( member @ A @ X4 @ A6 )
                & ( P2 @ X4 ) ) ) ) ) ) ).

% subset_CollectI
thf(fact_251_conj__subset__def,axiom,
    ! [A: $tType,A6: set @ A,P2: A > $o,Q2: A > $o] :
      ( ( ord_less_eq @ ( set @ A ) @ A6
        @ ( collect @ A
          @ ^ [X4: A] :
              ( ( P2 @ X4 )
              & ( Q2 @ X4 ) ) ) )
      = ( ( ord_less_eq @ ( set @ A ) @ A6 @ ( collect @ A @ P2 ) )
        & ( ord_less_eq @ ( set @ A ) @ A6 @ ( collect @ A @ Q2 ) ) ) ) ).

% conj_subset_def
thf(fact_252_UnCI,axiom,
    ! [A: $tType,C3: A,B6: set @ A,A6: set @ A] :
      ( ( ~ ( member @ A @ C3 @ B6 )
       => ( member @ A @ C3 @ A6 ) )
     => ( member @ A @ C3 @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) ) ) ).

% UnCI
thf(fact_253_Un__iff,axiom,
    ! [A: $tType,C3: A,A6: set @ A,B6: set @ A] :
      ( ( member @ A @ C3 @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) )
      = ( ( member @ A @ C3 @ A6 )
        | ( member @ A @ C3 @ B6 ) ) ) ).

% Un_iff
thf(fact_254_nat__add__left__cancel__less,axiom,
    ! [K2: nat,M: nat,N: nat] :
      ( ( ord_less @ nat @ ( plus_plus @ nat @ K2 @ M ) @ ( plus_plus @ nat @ K2 @ N ) )
      = ( ord_less @ nat @ M @ N ) ) ).

% nat_add_left_cancel_less
thf(fact_255_Un__subset__iff,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A,C5: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) @ C5 )
      = ( ( ord_less_eq @ ( set @ A ) @ A6 @ C5 )
        & ( ord_less_eq @ ( set @ A ) @ B6 @ C5 ) ) ) ).

% Un_subset_iff
thf(fact_256_nat__add__left__cancel__le,axiom,
    ! [K2: nat,M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ ( plus_plus @ nat @ K2 @ M ) @ ( plus_plus @ nat @ K2 @ N ) )
      = ( ord_less_eq @ nat @ M @ N ) ) ).

% nat_add_left_cancel_le
thf(fact_257_sup__Some,axiom,
    ! [A: $tType] :
      ( ( sup @ A )
     => ! [X: A,Y: A] :
          ( ( sup_sup @ ( option @ A ) @ ( some @ A @ X ) @ ( some @ A @ Y ) )
          = ( some @ A @ ( sup_sup @ A @ X @ Y ) ) ) ) ).

% sup_Some
thf(fact_258_timeFrame__assoc,axiom,
    ! [A: $tType,N: nat,N2: nat,F3: option @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) )] :
      ( ( heap_Time_timeFrame @ A @ N @ ( heap_Time_timeFrame @ A @ N2 @ F3 ) )
      = ( heap_Time_timeFrame @ A @ ( plus_plus @ nat @ N @ N2 ) @ F3 ) ) ).

% timeFrame_assoc
thf(fact_259_relH__dist__union,axiom,
    ! [As: set @ nat,As5: set @ nat,H: heap_ext @ product_unit,H5: heap_ext @ product_unit] :
      ( ( relH @ ( sup_sup @ ( set @ nat ) @ As @ As5 ) @ H @ H5 )
      = ( ( relH @ As @ H @ H5 )
        & ( relH @ As5 @ H @ H5 ) ) ) ).

% relH_dist_union
thf(fact_260_psubsetD,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A,C3: A] :
      ( ( ord_less @ ( set @ A ) @ A6 @ B6 )
     => ( ( member @ A @ C3 @ A6 )
       => ( member @ A @ C3 @ B6 ) ) ) ).

% psubsetD
thf(fact_261_less__set__def,axiom,
    ! [A: $tType] :
      ( ( ord_less @ ( set @ A ) )
      = ( ^ [A8: set @ A,B7: set @ A] :
            ( ord_less @ ( A > $o )
            @ ^ [X4: A] : ( member @ A @ X4 @ A8 )
            @ ^ [X4: A] : ( member @ A @ X4 @ B7 ) ) ) ) ).

% less_set_def
thf(fact_262_psubset__trans,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A,C5: set @ A] :
      ( ( ord_less @ ( set @ A ) @ A6 @ B6 )
     => ( ( ord_less @ ( set @ A ) @ B6 @ C5 )
       => ( ord_less @ ( set @ A ) @ A6 @ C5 ) ) ) ).

% psubset_trans
thf(fact_263_UnE,axiom,
    ! [A: $tType,C3: A,A6: set @ A,B6: set @ A] :
      ( ( member @ A @ C3 @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) )
     => ( ~ ( member @ A @ C3 @ A6 )
       => ( member @ A @ C3 @ B6 ) ) ) ).

% UnE
thf(fact_264_UnI1,axiom,
    ! [A: $tType,C3: A,A6: set @ A,B6: set @ A] :
      ( ( member @ A @ C3 @ A6 )
     => ( member @ A @ C3 @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) ) ) ).

% UnI1
thf(fact_265_UnI2,axiom,
    ! [A: $tType,C3: A,B6: set @ A,A6: set @ A] :
      ( ( member @ A @ C3 @ B6 )
     => ( member @ A @ C3 @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) ) ) ).

% UnI2
thf(fact_266_bex__Un,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A,P2: A > $o] :
      ( ( ? [X4: A] :
            ( ( member @ A @ X4 @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) )
            & ( P2 @ X4 ) ) )
      = ( ? [X4: A] :
            ( ( member @ A @ X4 @ A6 )
            & ( P2 @ X4 ) )
        | ? [X4: A] :
            ( ( member @ A @ X4 @ B6 )
            & ( P2 @ X4 ) ) ) ) ).

% bex_Un
thf(fact_267_ball__Un,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A,P2: A > $o] :
      ( ( ! [X4: A] :
            ( ( member @ A @ X4 @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) )
           => ( P2 @ X4 ) ) )
      = ( ! [X4: A] :
            ( ( member @ A @ X4 @ A6 )
           => ( P2 @ X4 ) )
        & ! [X4: A] :
            ( ( member @ A @ X4 @ B6 )
           => ( P2 @ X4 ) ) ) ) ).

% ball_Un
thf(fact_268_Un__assoc,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A,C5: set @ A] :
      ( ( sup_sup @ ( set @ A ) @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) @ C5 )
      = ( sup_sup @ ( set @ A ) @ A6 @ ( sup_sup @ ( set @ A ) @ B6 @ C5 ) ) ) ).

% Un_assoc
thf(fact_269_Un__absorb,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ( sup_sup @ ( set @ A ) @ A6 @ A6 )
      = A6 ) ).

% Un_absorb
thf(fact_270_Un__commute,axiom,
    ! [A: $tType] :
      ( ( sup_sup @ ( set @ A ) )
      = ( ^ [A8: set @ A,B7: set @ A] : ( sup_sup @ ( set @ A ) @ B7 @ A8 ) ) ) ).

% Un_commute
thf(fact_271_Un__left__absorb,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( sup_sup @ ( set @ A ) @ A6 @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) )
      = ( sup_sup @ ( set @ A ) @ A6 @ B6 ) ) ).

% Un_left_absorb
thf(fact_272_Un__left__commute,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A,C5: set @ A] :
      ( ( sup_sup @ ( set @ A ) @ A6 @ ( sup_sup @ ( set @ A ) @ B6 @ C5 ) )
      = ( sup_sup @ ( set @ A ) @ B6 @ ( sup_sup @ ( set @ A ) @ A6 @ C5 ) ) ) ).

% Un_left_commute
thf(fact_273_Collect__disj__eq,axiom,
    ! [A: $tType,P2: A > $o,Q2: A > $o] :
      ( ( collect @ A
        @ ^ [X4: A] :
            ( ( P2 @ X4 )
            | ( Q2 @ X4 ) ) )
      = ( sup_sup @ ( set @ A ) @ ( collect @ A @ P2 ) @ ( collect @ A @ Q2 ) ) ) ).

% Collect_disj_eq
thf(fact_274_Un__def,axiom,
    ! [A: $tType] :
      ( ( sup_sup @ ( set @ A ) )
      = ( ^ [A8: set @ A,B7: set @ A] :
            ( collect @ A
            @ ^ [X4: A] :
                ( ( member @ A @ X4 @ A8 )
                | ( member @ A @ X4 @ B7 ) ) ) ) ) ).

% Un_def
thf(fact_275_Un__mono,axiom,
    ! [A: $tType,A6: set @ A,C5: set @ A,B6: set @ A,D5: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ A6 @ C5 )
     => ( ( ord_less_eq @ ( set @ A ) @ B6 @ D5 )
       => ( ord_less_eq @ ( set @ A ) @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) @ ( sup_sup @ ( set @ A ) @ C5 @ D5 ) ) ) ) ).

% Un_mono
thf(fact_276_Un__least,axiom,
    ! [A: $tType,A6: set @ A,C5: set @ A,B6: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ A6 @ C5 )
     => ( ( ord_less_eq @ ( set @ A ) @ B6 @ C5 )
       => ( ord_less_eq @ ( set @ A ) @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) @ C5 ) ) ) ).

% Un_least
thf(fact_277_Un__upper1,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] : ( ord_less_eq @ ( set @ A ) @ A6 @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) ) ).

% Un_upper1
thf(fact_278_Un__upper2,axiom,
    ! [A: $tType,B6: set @ A,A6: set @ A] : ( ord_less_eq @ ( set @ A ) @ B6 @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) ) ).

% Un_upper2
thf(fact_279_Un__absorb1,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
     => ( ( sup_sup @ ( set @ A ) @ A6 @ B6 )
        = B6 ) ) ).

% Un_absorb1
thf(fact_280_Un__absorb2,axiom,
    ! [A: $tType,B6: set @ A,A6: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ B6 @ A6 )
     => ( ( sup_sup @ ( set @ A ) @ A6 @ B6 )
        = A6 ) ) ).

% Un_absorb2
thf(fact_281_subset__UnE,axiom,
    ! [A: $tType,C5: set @ A,A6: set @ A,B6: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ C5 @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) )
     => ~ ! [A9: set @ A] :
            ( ( ord_less_eq @ ( set @ A ) @ A9 @ A6 )
           => ! [B8: set @ A] :
                ( ( ord_less_eq @ ( set @ A ) @ B8 @ B6 )
               => ( C5
                 != ( sup_sup @ ( set @ A ) @ A9 @ B8 ) ) ) ) ) ).

% subset_UnE
thf(fact_282_subset__Un__eq,axiom,
    ! [A: $tType] :
      ( ( ord_less_eq @ ( set @ A ) )
      = ( ^ [A8: set @ A,B7: set @ A] :
            ( ( sup_sup @ ( set @ A ) @ A8 @ B7 )
            = B7 ) ) ) ).

% subset_Un_eq
thf(fact_283_add__lessD1,axiom,
    ! [I2: nat,J2: nat,K2: nat] :
      ( ( ord_less @ nat @ ( plus_plus @ nat @ I2 @ J2 ) @ K2 )
     => ( ord_less @ nat @ I2 @ K2 ) ) ).

% add_lessD1
thf(fact_284_add__less__mono,axiom,
    ! [I2: nat,J2: nat,K2: nat,L: nat] :
      ( ( ord_less @ nat @ I2 @ J2 )
     => ( ( ord_less @ nat @ K2 @ L )
       => ( ord_less @ nat @ ( plus_plus @ nat @ I2 @ K2 ) @ ( plus_plus @ nat @ J2 @ L ) ) ) ) ).

% add_less_mono
thf(fact_285_not__add__less1,axiom,
    ! [I2: nat,J2: nat] :
      ~ ( ord_less @ nat @ ( plus_plus @ nat @ I2 @ J2 ) @ I2 ) ).

% not_add_less1
thf(fact_286_not__add__less2,axiom,
    ! [J2: nat,I2: nat] :
      ~ ( ord_less @ nat @ ( plus_plus @ nat @ J2 @ I2 ) @ I2 ) ).

% not_add_less2
thf(fact_287_add__less__mono1,axiom,
    ! [I2: nat,J2: nat,K2: nat] :
      ( ( ord_less @ nat @ I2 @ J2 )
     => ( ord_less @ nat @ ( plus_plus @ nat @ I2 @ K2 ) @ ( plus_plus @ nat @ J2 @ K2 ) ) ) ).

% add_less_mono1
thf(fact_288_trans__less__add1,axiom,
    ! [I2: nat,J2: nat,M: nat] :
      ( ( ord_less @ nat @ I2 @ J2 )
     => ( ord_less @ nat @ I2 @ ( plus_plus @ nat @ J2 @ M ) ) ) ).

% trans_less_add1
thf(fact_289_trans__less__add2,axiom,
    ! [I2: nat,J2: nat,M: nat] :
      ( ( ord_less @ nat @ I2 @ J2 )
     => ( ord_less @ nat @ I2 @ ( plus_plus @ nat @ M @ J2 ) ) ) ).

% trans_less_add2
thf(fact_290_less__add__eq__less,axiom,
    ! [K2: nat,L: nat,M: nat,N: nat] :
      ( ( ord_less @ nat @ K2 @ L )
     => ( ( ( plus_plus @ nat @ M @ L )
          = ( plus_plus @ nat @ K2 @ N ) )
       => ( ord_less @ nat @ M @ N ) ) ) ).

% less_add_eq_less
thf(fact_291_add__leE,axiom,
    ! [M: nat,K2: nat,N: nat] :
      ( ( ord_less_eq @ nat @ ( plus_plus @ nat @ M @ K2 ) @ N )
     => ~ ( ( ord_less_eq @ nat @ M @ N )
         => ~ ( ord_less_eq @ nat @ K2 @ N ) ) ) ).

% add_leE
thf(fact_292_le__add1,axiom,
    ! [N: nat,M: nat] : ( ord_less_eq @ nat @ N @ ( plus_plus @ nat @ N @ M ) ) ).

% le_add1
thf(fact_293_le__add2,axiom,
    ! [N: nat,M: nat] : ( ord_less_eq @ nat @ N @ ( plus_plus @ nat @ M @ N ) ) ).

% le_add2
thf(fact_294_add__leD1,axiom,
    ! [M: nat,K2: nat,N: nat] :
      ( ( ord_less_eq @ nat @ ( plus_plus @ nat @ M @ K2 ) @ N )
     => ( ord_less_eq @ nat @ M @ N ) ) ).

% add_leD1
thf(fact_295_add__leD2,axiom,
    ! [M: nat,K2: nat,N: nat] :
      ( ( ord_less_eq @ nat @ ( plus_plus @ nat @ M @ K2 ) @ N )
     => ( ord_less_eq @ nat @ K2 @ N ) ) ).

% add_leD2
thf(fact_296_le__Suc__ex,axiom,
    ! [K2: nat,L: nat] :
      ( ( ord_less_eq @ nat @ K2 @ L )
     => ? [N4: nat] :
          ( L
          = ( plus_plus @ nat @ K2 @ N4 ) ) ) ).

% le_Suc_ex
thf(fact_297_add__le__mono,axiom,
    ! [I2: nat,J2: nat,K2: nat,L: nat] :
      ( ( ord_less_eq @ nat @ I2 @ J2 )
     => ( ( ord_less_eq @ nat @ K2 @ L )
       => ( ord_less_eq @ nat @ ( plus_plus @ nat @ I2 @ K2 ) @ ( plus_plus @ nat @ J2 @ L ) ) ) ) ).

% add_le_mono
thf(fact_298_add__le__mono1,axiom,
    ! [I2: nat,J2: nat,K2: nat] :
      ( ( ord_less_eq @ nat @ I2 @ J2 )
     => ( ord_less_eq @ nat @ ( plus_plus @ nat @ I2 @ K2 ) @ ( plus_plus @ nat @ J2 @ K2 ) ) ) ).

% add_le_mono1
thf(fact_299_trans__le__add1,axiom,
    ! [I2: nat,J2: nat,M: nat] :
      ( ( ord_less_eq @ nat @ I2 @ J2 )
     => ( ord_less_eq @ nat @ I2 @ ( plus_plus @ nat @ J2 @ M ) ) ) ).

% trans_le_add1
thf(fact_300_trans__le__add2,axiom,
    ! [I2: nat,J2: nat,M: nat] :
      ( ( ord_less_eq @ nat @ I2 @ J2 )
     => ( ord_less_eq @ nat @ I2 @ ( plus_plus @ nat @ M @ J2 ) ) ) ).

% trans_le_add2
thf(fact_301_nat__le__iff__add,axiom,
    ( ( ord_less_eq @ nat )
    = ( ^ [M3: nat,N3: nat] :
        ? [K3: nat] :
          ( N3
          = ( plus_plus @ nat @ M3 @ K3 ) ) ) ) ).

% nat_le_iff_add
thf(fact_302_timeFrame_Osimps_I1_J,axiom,
    ! [A: $tType,N: nat,R3: A,H: heap_ext @ product_unit,N2: nat] :
      ( ( heap_Time_timeFrame @ A @ N @ ( some @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( product_Pair @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ R3 @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ H @ N2 ) ) ) )
      = ( some @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( product_Pair @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ R3 @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ H @ ( plus_plus @ nat @ N @ N2 ) ) ) ) ) ).

% timeFrame.simps(1)
thf(fact_303_ex__has__greatest__nat__lemma,axiom,
    ! [A: $tType,P2: A > $o,K2: A,F3: A > nat,N: nat] :
      ( ( P2 @ K2 )
     => ( ! [X3: A] :
            ( ( P2 @ X3 )
           => ? [Y5: A] :
                ( ( P2 @ Y5 )
                & ~ ( ord_less_eq @ nat @ ( F3 @ Y5 ) @ ( F3 @ X3 ) ) ) )
       => ? [Y3: A] :
            ( ( P2 @ Y3 )
            & ~ ( ord_less @ nat @ ( F3 @ Y3 ) @ ( plus_plus @ nat @ ( F3 @ K2 ) @ N ) ) ) ) ) ).

% ex_has_greatest_nat_lemma
thf(fact_304_mono__nat__linear__lb,axiom,
    ! [F3: nat > nat,M: nat,K2: nat] :
      ( ! [M5: nat,N4: nat] :
          ( ( ord_less @ nat @ M5 @ N4 )
         => ( ord_less @ nat @ ( F3 @ M5 ) @ ( F3 @ N4 ) ) )
     => ( ord_less_eq @ nat @ ( plus_plus @ nat @ ( F3 @ M ) @ K2 ) @ ( F3 @ ( plus_plus @ nat @ M @ K2 ) ) ) ) ).

% mono_nat_linear_lb
thf(fact_305_effect__bindE,axiom,
    ! [B: $tType,A: $tType,F3: heap_Time_Heap @ B,G3: B > ( heap_Time_Heap @ A ),H: heap_ext @ product_unit,H6: heap_ext @ product_unit,R7: A,N: nat] :
      ( ( heap_Time_effect @ A @ ( heap_Time_bind @ B @ A @ F3 @ G3 ) @ H @ H6 @ R7 @ N )
     => ~ ! [H4: heap_ext @ product_unit,R: B,N1: nat] :
            ( ( heap_Time_effect @ B @ F3 @ H @ H4 @ R @ N1 )
           => ! [N22: nat] :
                ( ( heap_Time_effect @ A @ ( G3 @ R ) @ H4 @ H6 @ R7 @ N22 )
               => ( N
                 != ( plus_plus @ nat @ N1 @ N22 ) ) ) ) ) ).

% effect_bindE
thf(fact_306_effect__bindI,axiom,
    ! [B: $tType,A: $tType,F3: heap_Time_Heap @ A,H: heap_ext @ product_unit,H5: heap_ext @ product_unit,R3: A,N: nat,G3: A > ( heap_Time_Heap @ B ),H6: heap_ext @ product_unit,R7: B,N2: nat] :
      ( ( heap_Time_effect @ A @ F3 @ H @ H5 @ R3 @ N )
     => ( ( heap_Time_effect @ B @ ( G3 @ R3 ) @ H5 @ H6 @ R7 @ N2 )
       => ( heap_Time_effect @ B @ ( heap_Time_bind @ A @ B @ F3 @ G3 ) @ H @ H6 @ R7 @ ( plus_plus @ nat @ N @ N2 ) ) ) ) ).

% effect_bindI
thf(fact_307_verit__comp__simplify1_I2_J,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [A3: A] : ( ord_less_eq @ A @ A3 @ A3 ) ) ).

% verit_comp_simplify1(2)
thf(fact_308_verit__la__disequality,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A3: A,B2: A] :
          ( ( A3 = B2 )
          | ~ ( ord_less_eq @ A @ A3 @ B2 )
          | ~ ( ord_less_eq @ A @ B2 @ A3 ) ) ) ).

% verit_la_disequality
thf(fact_309_verit__comp__simplify1_I1_J,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [A3: A] :
          ~ ( ord_less @ A @ A3 @ A3 ) ) ).

% verit_comp_simplify1(1)
thf(fact_310_ex__gt__or__lt,axiom,
    ! [A: $tType] :
      ( ( condit5016429287641298734tinuum @ A )
     => ! [A3: A] :
        ? [B4: A] :
          ( ( ord_less @ A @ A3 @ B4 )
          | ( ord_less @ A @ B4 @ A3 ) ) ) ).

% ex_gt_or_lt
thf(fact_311_in__mono,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A,X: A] :
      ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
     => ( ( member @ A @ X @ A6 )
       => ( member @ A @ X @ B6 ) ) ) ).

% in_mono
thf(fact_312_subsetD,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A,C3: A] :
      ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
     => ( ( member @ A @ C3 @ A6 )
       => ( member @ A @ C3 @ B6 ) ) ) ).

% subsetD
thf(fact_313_psubsetE,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( ord_less @ ( set @ A ) @ A6 @ B6 )
     => ~ ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
         => ( ord_less_eq @ ( set @ A ) @ B6 @ A6 ) ) ) ).

% psubsetE
thf(fact_314_equalityE,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( A6 = B6 )
     => ~ ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
         => ~ ( ord_less_eq @ ( set @ A ) @ B6 @ A6 ) ) ) ).

% equalityE
thf(fact_315_subset__eq,axiom,
    ! [A: $tType] :
      ( ( ord_less_eq @ ( set @ A ) )
      = ( ^ [A8: set @ A,B7: set @ A] :
          ! [X4: A] :
            ( ( member @ A @ X4 @ A8 )
           => ( member @ A @ X4 @ B7 ) ) ) ) ).

% subset_eq
thf(fact_316_equalityD1,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( A6 = B6 )
     => ( ord_less_eq @ ( set @ A ) @ A6 @ B6 ) ) ).

% equalityD1
thf(fact_317_equalityD2,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( A6 = B6 )
     => ( ord_less_eq @ ( set @ A ) @ B6 @ A6 ) ) ).

% equalityD2
thf(fact_318_psubset__eq,axiom,
    ! [A: $tType] :
      ( ( ord_less @ ( set @ A ) )
      = ( ^ [A8: set @ A,B7: set @ A] :
            ( ( ord_less_eq @ ( set @ A ) @ A8 @ B7 )
            & ( A8 != B7 ) ) ) ) ).

% psubset_eq
thf(fact_319_subset__iff,axiom,
    ! [A: $tType] :
      ( ( ord_less_eq @ ( set @ A ) )
      = ( ^ [A8: set @ A,B7: set @ A] :
          ! [T6: A] :
            ( ( member @ A @ T6 @ A8 )
           => ( member @ A @ T6 @ B7 ) ) ) ) ).

% subset_iff
thf(fact_320_subset__refl,axiom,
    ! [A: $tType,A6: set @ A] : ( ord_less_eq @ ( set @ A ) @ A6 @ A6 ) ).

% subset_refl
thf(fact_321_Collect__mono,axiom,
    ! [A: $tType,P2: A > $o,Q2: A > $o] :
      ( ! [X3: A] :
          ( ( P2 @ X3 )
         => ( Q2 @ X3 ) )
     => ( ord_less_eq @ ( set @ A ) @ ( collect @ A @ P2 ) @ ( collect @ A @ Q2 ) ) ) ).

% Collect_mono
thf(fact_322_subset__trans,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A,C5: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
     => ( ( ord_less_eq @ ( set @ A ) @ B6 @ C5 )
       => ( ord_less_eq @ ( set @ A ) @ A6 @ C5 ) ) ) ).

% subset_trans
thf(fact_323_set__eq__subset,axiom,
    ! [A: $tType] :
      ( ( ^ [Y6: set @ A,Z5: set @ A] : Y6 = Z5 )
      = ( ^ [A8: set @ A,B7: set @ A] :
            ( ( ord_less_eq @ ( set @ A ) @ A8 @ B7 )
            & ( ord_less_eq @ ( set @ A ) @ B7 @ A8 ) ) ) ) ).

% set_eq_subset
thf(fact_324_Collect__mono__iff,axiom,
    ! [A: $tType,P2: A > $o,Q2: A > $o] :
      ( ( ord_less_eq @ ( set @ A ) @ ( collect @ A @ P2 ) @ ( collect @ A @ Q2 ) )
      = ( ! [X4: A] :
            ( ( P2 @ X4 )
           => ( Q2 @ X4 ) ) ) ) ).

% Collect_mono_iff
thf(fact_325_psubset__imp__subset,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( ord_less @ ( set @ A ) @ A6 @ B6 )
     => ( ord_less_eq @ ( set @ A ) @ A6 @ B6 ) ) ).

% psubset_imp_subset
thf(fact_326_psubset__subset__trans,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A,C5: set @ A] :
      ( ( ord_less @ ( set @ A ) @ A6 @ B6 )
     => ( ( ord_less_eq @ ( set @ A ) @ B6 @ C5 )
       => ( ord_less @ ( set @ A ) @ A6 @ C5 ) ) ) ).

% psubset_subset_trans
thf(fact_327_subset__not__subset__eq,axiom,
    ! [A: $tType] :
      ( ( ord_less @ ( set @ A ) )
      = ( ^ [A8: set @ A,B7: set @ A] :
            ( ( ord_less_eq @ ( set @ A ) @ A8 @ B7 )
            & ~ ( ord_less_eq @ ( set @ A ) @ B7 @ A8 ) ) ) ) ).

% subset_not_subset_eq
thf(fact_328_subset__psubset__trans,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A,C5: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
     => ( ( ord_less @ ( set @ A ) @ B6 @ C5 )
       => ( ord_less @ ( set @ A ) @ A6 @ C5 ) ) ) ).

% subset_psubset_trans
thf(fact_329_subset__iff__psubset__eq,axiom,
    ! [A: $tType] :
      ( ( ord_less_eq @ ( set @ A ) )
      = ( ^ [A8: set @ A,B7: set @ A] :
            ( ( ord_less @ ( set @ A ) @ A8 @ B7 )
            | ( A8 = B7 ) ) ) ) ).

% subset_iff_psubset_eq
thf(fact_330_Collect__subset,axiom,
    ! [A: $tType,A6: set @ A,P2: A > $o] :
      ( ord_less_eq @ ( set @ A )
      @ ( collect @ A
        @ ^ [X4: A] :
            ( ( member @ A @ X4 @ A6 )
            & ( P2 @ X4 ) ) )
      @ A6 ) ).

% Collect_subset
thf(fact_331_less__eq__set__def,axiom,
    ! [A: $tType] :
      ( ( ord_less_eq @ ( set @ A ) )
      = ( ^ [A8: set @ A,B7: set @ A] :
            ( ord_less_eq @ ( A > $o )
            @ ^ [X4: A] : ( member @ A @ X4 @ A8 )
            @ ^ [X4: A] : ( member @ A @ X4 @ B7 ) ) ) ) ).

% less_eq_set_def
thf(fact_332_le__sup__iff,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [X: A,Y: A,Z4: A] :
          ( ( ord_less_eq @ A @ ( sup_sup @ A @ X @ Y ) @ Z4 )
          = ( ( ord_less_eq @ A @ X @ Z4 )
            & ( ord_less_eq @ A @ Y @ Z4 ) ) ) ) ).

% le_sup_iff
thf(fact_333_sup_Obounded__iff,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [B2: A,C3: A,A3: A] :
          ( ( ord_less_eq @ A @ ( sup_sup @ A @ B2 @ C3 ) @ A3 )
          = ( ( ord_less_eq @ A @ B2 @ A3 )
            & ( ord_less_eq @ A @ C3 @ A3 ) ) ) ) ).

% sup.bounded_iff
thf(fact_334_add__less__cancel__left,axiom,
    ! [A: $tType] :
      ( ( ordere2412721322843649153imp_le @ A )
     => ! [C3: A,A3: A,B2: A] :
          ( ( ord_less @ A @ ( plus_plus @ A @ C3 @ A3 ) @ ( plus_plus @ A @ C3 @ B2 ) )
          = ( ord_less @ A @ A3 @ B2 ) ) ) ).

% add_less_cancel_left
thf(fact_335_add__less__cancel__right,axiom,
    ! [A: $tType] :
      ( ( ordere2412721322843649153imp_le @ A )
     => ! [A3: A,C3: A,B2: A] :
          ( ( ord_less @ A @ ( plus_plus @ A @ A3 @ C3 ) @ ( plus_plus @ A @ B2 @ C3 ) )
          = ( ord_less @ A @ A3 @ B2 ) ) ) ).

% add_less_cancel_right
thf(fact_336_add__le__cancel__left,axiom,
    ! [A: $tType] :
      ( ( ordere2412721322843649153imp_le @ A )
     => ! [C3: A,A3: A,B2: A] :
          ( ( ord_less_eq @ A @ ( plus_plus @ A @ C3 @ A3 ) @ ( plus_plus @ A @ C3 @ B2 ) )
          = ( ord_less_eq @ A @ A3 @ B2 ) ) ) ).

% add_le_cancel_left
thf(fact_337_add__le__cancel__right,axiom,
    ! [A: $tType] :
      ( ( ordere2412721322843649153imp_le @ A )
     => ! [A3: A,C3: A,B2: A] :
          ( ( ord_less_eq @ A @ ( plus_plus @ A @ A3 @ C3 ) @ ( plus_plus @ A @ B2 @ C3 ) )
          = ( ord_less_eq @ A @ A3 @ B2 ) ) ) ).

% add_le_cancel_right
thf(fact_338_add__less__le__mono,axiom,
    ! [A: $tType] :
      ( ( ordere580206878836729694up_add @ A )
     => ! [A3: A,B2: A,C3: A,D3: A] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ( ( ord_less_eq @ A @ C3 @ D3 )
           => ( ord_less @ A @ ( plus_plus @ A @ A3 @ C3 ) @ ( plus_plus @ A @ B2 @ D3 ) ) ) ) ) ).

% add_less_le_mono
thf(fact_339_add__le__less__mono,axiom,
    ! [A: $tType] :
      ( ( ordere580206878836729694up_add @ A )
     => ! [A3: A,B2: A,C3: A,D3: A] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ( ord_less @ A @ C3 @ D3 )
           => ( ord_less @ A @ ( plus_plus @ A @ A3 @ C3 ) @ ( plus_plus @ A @ B2 @ D3 ) ) ) ) ) ).

% add_le_less_mono
thf(fact_340_add__mono__thms__linordered__field_I3_J,axiom,
    ! [A: $tType] :
      ( ( ordere580206878836729694up_add @ A )
     => ! [I2: A,J2: A,K2: A,L: A] :
          ( ( ( ord_less @ A @ I2 @ J2 )
            & ( ord_less_eq @ A @ K2 @ L ) )
         => ( ord_less @ A @ ( plus_plus @ A @ I2 @ K2 ) @ ( plus_plus @ A @ J2 @ L ) ) ) ) ).

% add_mono_thms_linordered_field(3)
thf(fact_341_add__mono__thms__linordered__field_I4_J,axiom,
    ! [A: $tType] :
      ( ( ordere580206878836729694up_add @ A )
     => ! [I2: A,J2: A,K2: A,L: A] :
          ( ( ( ord_less_eq @ A @ I2 @ J2 )
            & ( ord_less @ A @ K2 @ L ) )
         => ( ord_less @ A @ ( plus_plus @ A @ I2 @ K2 ) @ ( plus_plus @ A @ J2 @ L ) ) ) ) ).

% add_mono_thms_linordered_field(4)
thf(fact_342_sup_Oidem,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [A3: A] :
          ( ( sup_sup @ A @ A3 @ A3 )
          = A3 ) ) ).

% sup.idem
thf(fact_343_add__right__cancel,axiom,
    ! [A: $tType] :
      ( ( cancel_semigroup_add @ A )
     => ! [B2: A,A3: A,C3: A] :
          ( ( ( plus_plus @ A @ B2 @ A3 )
            = ( plus_plus @ A @ C3 @ A3 ) )
          = ( B2 = C3 ) ) ) ).

% add_right_cancel
thf(fact_344_add__left__cancel,axiom,
    ! [A: $tType] :
      ( ( cancel_semigroup_add @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ( plus_plus @ A @ A3 @ B2 )
            = ( plus_plus @ A @ A3 @ C3 ) )
          = ( B2 = C3 ) ) ) ).

% add_left_cancel
thf(fact_345_sup__apply,axiom,
    ! [B: $tType,A: $tType] :
      ( ( semilattice_sup @ B )
     => ( ( sup_sup @ ( A > B ) )
        = ( ^ [F4: A > B,G4: A > B,X4: A] : ( sup_sup @ B @ ( F4 @ X4 ) @ ( G4 @ X4 ) ) ) ) ) ).

% sup_apply
thf(fact_346_sup_Oright__idem,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [A3: A,B2: A] :
          ( ( sup_sup @ A @ ( sup_sup @ A @ A3 @ B2 ) @ B2 )
          = ( sup_sup @ A @ A3 @ B2 ) ) ) ).

% sup.right_idem
thf(fact_347_sup__left__idem,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [X: A,Y: A] :
          ( ( sup_sup @ A @ X @ ( sup_sup @ A @ X @ Y ) )
          = ( sup_sup @ A @ X @ Y ) ) ) ).

% sup_left_idem
thf(fact_348_sup_Oleft__idem,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [A3: A,B2: A] :
          ( ( sup_sup @ A @ A3 @ ( sup_sup @ A @ A3 @ B2 ) )
          = ( sup_sup @ A @ A3 @ B2 ) ) ) ).

% sup.left_idem
thf(fact_349_sup__idem,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [X: A] :
          ( ( sup_sup @ A @ X @ X )
          = X ) ) ).

% sup_idem
thf(fact_350_mod__or__dist,axiom,
    ! [P2: assn,Q2: assn,H: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
      ( ( rep_assn @ ( sup_sup @ assn @ P2 @ Q2 ) @ H )
      = ( ( rep_assn @ P2 @ H )
        | ( rep_assn @ Q2 @ H ) ) ) ).

% mod_or_dist
thf(fact_351_predicate1I,axiom,
    ! [A: $tType,P2: A > $o,Q2: A > $o] :
      ( ! [X3: A] :
          ( ( P2 @ X3 )
         => ( Q2 @ X3 ) )
     => ( ord_less_eq @ ( A > $o ) @ P2 @ Q2 ) ) ).

% predicate1I
thf(fact_352_rev__predicate1D,axiom,
    ! [A: $tType,P2: A > $o,X: A,Q2: A > $o] :
      ( ( P2 @ X )
     => ( ( ord_less_eq @ ( A > $o ) @ P2 @ Q2 )
       => ( Q2 @ X ) ) ) ).

% rev_predicate1D
thf(fact_353_predicate1D,axiom,
    ! [A: $tType,P2: A > $o,Q2: A > $o,X: A] :
      ( ( ord_less_eq @ ( A > $o ) @ P2 @ Q2 )
     => ( ( P2 @ X )
       => ( Q2 @ X ) ) ) ).

% predicate1D
thf(fact_354_sup__set__def,axiom,
    ! [A: $tType] :
      ( ( sup_sup @ ( set @ A ) )
      = ( ^ [A8: set @ A,B7: set @ A] :
            ( collect @ A
            @ ( sup_sup @ ( A > $o )
              @ ^ [X4: A] : ( member @ A @ X4 @ A8 )
              @ ^ [X4: A] : ( member @ A @ X4 @ B7 ) ) ) ) ) ).

% sup_set_def
thf(fact_355_add__right__imp__eq,axiom,
    ! [A: $tType] :
      ( ( cancel_semigroup_add @ A )
     => ! [B2: A,A3: A,C3: A] :
          ( ( ( plus_plus @ A @ B2 @ A3 )
            = ( plus_plus @ A @ C3 @ A3 ) )
         => ( B2 = C3 ) ) ) ).

% add_right_imp_eq
thf(fact_356_add__left__imp__eq,axiom,
    ! [A: $tType] :
      ( ( cancel_semigroup_add @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ( plus_plus @ A @ A3 @ B2 )
            = ( plus_plus @ A @ A3 @ C3 ) )
         => ( B2 = C3 ) ) ) ).

% add_left_imp_eq
thf(fact_357_ab__semigroup__add__class_Oadd_Oleft__commute,axiom,
    ! [A: $tType] :
      ( ( ab_semigroup_add @ A )
     => ! [B2: A,A3: A,C3: A] :
          ( ( plus_plus @ A @ B2 @ ( plus_plus @ A @ A3 @ C3 ) )
          = ( plus_plus @ A @ A3 @ ( plus_plus @ A @ B2 @ C3 ) ) ) ) ).

% ab_semigroup_add_class.add.left_commute
thf(fact_358_ab__semigroup__add__class_Oadd_Ocommute,axiom,
    ! [A: $tType] :
      ( ( ab_semigroup_add @ A )
     => ( ( plus_plus @ A )
        = ( ^ [A7: A,B5: A] : ( plus_plus @ A @ B5 @ A7 ) ) ) ) ).

% ab_semigroup_add_class.add.commute
thf(fact_359_add_Oright__cancel,axiom,
    ! [A: $tType] :
      ( ( group_add @ A )
     => ! [B2: A,A3: A,C3: A] :
          ( ( ( plus_plus @ A @ B2 @ A3 )
            = ( plus_plus @ A @ C3 @ A3 ) )
          = ( B2 = C3 ) ) ) ).

% add.right_cancel
thf(fact_360_add_Oleft__cancel,axiom,
    ! [A: $tType] :
      ( ( group_add @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ( plus_plus @ A @ A3 @ B2 )
            = ( plus_plus @ A @ A3 @ C3 ) )
          = ( B2 = C3 ) ) ) ).

% add.left_cancel
thf(fact_361_add_Oassoc,axiom,
    ! [A: $tType] :
      ( ( semigroup_add @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( plus_plus @ A @ ( plus_plus @ A @ A3 @ B2 ) @ C3 )
          = ( plus_plus @ A @ A3 @ ( plus_plus @ A @ B2 @ C3 ) ) ) ) ).

% add.assoc
thf(fact_362_group__cancel_Oadd2,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [B6: A,K2: A,B2: A,A3: A] :
          ( ( B6
            = ( plus_plus @ A @ K2 @ B2 ) )
         => ( ( plus_plus @ A @ A3 @ B6 )
            = ( plus_plus @ A @ K2 @ ( plus_plus @ A @ A3 @ B2 ) ) ) ) ) ).

% group_cancel.add2
thf(fact_363_group__cancel_Oadd1,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [A6: A,K2: A,A3: A,B2: A] :
          ( ( A6
            = ( plus_plus @ A @ K2 @ A3 ) )
         => ( ( plus_plus @ A @ A6 @ B2 )
            = ( plus_plus @ A @ K2 @ ( plus_plus @ A @ A3 @ B2 ) ) ) ) ) ).

% group_cancel.add1
thf(fact_364_add__mono__thms__linordered__semiring_I4_J,axiom,
    ! [A: $tType] :
      ( ( ordere6658533253407199908up_add @ A )
     => ! [I2: A,J2: A,K2: A,L: A] :
          ( ( ( I2 = J2 )
            & ( K2 = L ) )
         => ( ( plus_plus @ A @ I2 @ K2 )
            = ( plus_plus @ A @ J2 @ L ) ) ) ) ).

% add_mono_thms_linordered_semiring(4)
thf(fact_365_sup__fun__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( semilattice_sup @ B )
     => ( ( sup_sup @ ( A > B ) )
        = ( ^ [F4: A > B,G4: A > B,X4: A] : ( sup_sup @ B @ ( F4 @ X4 ) @ ( G4 @ X4 ) ) ) ) ) ).

% sup_fun_def
thf(fact_366_sup__left__commute,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [X: A,Y: A,Z4: A] :
          ( ( sup_sup @ A @ X @ ( sup_sup @ A @ Y @ Z4 ) )
          = ( sup_sup @ A @ Y @ ( sup_sup @ A @ X @ Z4 ) ) ) ) ).

% sup_left_commute
thf(fact_367_sup_Oleft__commute,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [B2: A,A3: A,C3: A] :
          ( ( sup_sup @ A @ B2 @ ( sup_sup @ A @ A3 @ C3 ) )
          = ( sup_sup @ A @ A3 @ ( sup_sup @ A @ B2 @ C3 ) ) ) ) ).

% sup.left_commute
thf(fact_368_sup__commute,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ( ( sup_sup @ A )
        = ( ^ [X4: A,Y4: A] : ( sup_sup @ A @ Y4 @ X4 ) ) ) ) ).

% sup_commute
thf(fact_369_sup_Ocommute,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ( ( sup_sup @ A )
        = ( ^ [A7: A,B5: A] : ( sup_sup @ A @ B5 @ A7 ) ) ) ) ).

% sup.commute
thf(fact_370_sup__assoc,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [X: A,Y: A,Z4: A] :
          ( ( sup_sup @ A @ ( sup_sup @ A @ X @ Y ) @ Z4 )
          = ( sup_sup @ A @ X @ ( sup_sup @ A @ Y @ Z4 ) ) ) ) ).

% sup_assoc
thf(fact_371_sup_Oassoc,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( sup_sup @ A @ ( sup_sup @ A @ A3 @ B2 ) @ C3 )
          = ( sup_sup @ A @ A3 @ ( sup_sup @ A @ B2 @ C3 ) ) ) ) ).

% sup.assoc
thf(fact_372_inf__sup__aci_I5_J,axiom,
    ! [A: $tType] :
      ( ( lattice @ A )
     => ( ( sup_sup @ A )
        = ( ^ [X4: A,Y4: A] : ( sup_sup @ A @ Y4 @ X4 ) ) ) ) ).

% inf_sup_aci(5)
thf(fact_373_inf__sup__aci_I6_J,axiom,
    ! [A: $tType] :
      ( ( lattice @ A )
     => ! [X: A,Y: A,Z4: A] :
          ( ( sup_sup @ A @ ( sup_sup @ A @ X @ Y ) @ Z4 )
          = ( sup_sup @ A @ X @ ( sup_sup @ A @ Y @ Z4 ) ) ) ) ).

% inf_sup_aci(6)
thf(fact_374_inf__sup__aci_I7_J,axiom,
    ! [A: $tType] :
      ( ( lattice @ A )
     => ! [X: A,Y: A,Z4: A] :
          ( ( sup_sup @ A @ X @ ( sup_sup @ A @ Y @ Z4 ) )
          = ( sup_sup @ A @ Y @ ( sup_sup @ A @ X @ Z4 ) ) ) ) ).

% inf_sup_aci(7)
thf(fact_375_inf__sup__aci_I8_J,axiom,
    ! [A: $tType] :
      ( ( lattice @ A )
     => ! [X: A,Y: A] :
          ( ( sup_sup @ A @ X @ ( sup_sup @ A @ X @ Y ) )
          = ( sup_sup @ A @ X @ Y ) ) ) ).

% inf_sup_aci(8)
thf(fact_376_add__le__imp__le__right,axiom,
    ! [A: $tType] :
      ( ( ordere2412721322843649153imp_le @ A )
     => ! [A3: A,C3: A,B2: A] :
          ( ( ord_less_eq @ A @ ( plus_plus @ A @ A3 @ C3 ) @ ( plus_plus @ A @ B2 @ C3 ) )
         => ( ord_less_eq @ A @ A3 @ B2 ) ) ) ).

% add_le_imp_le_right
thf(fact_377_add__le__imp__le__left,axiom,
    ! [A: $tType] :
      ( ( ordere2412721322843649153imp_le @ A )
     => ! [C3: A,A3: A,B2: A] :
          ( ( ord_less_eq @ A @ ( plus_plus @ A @ C3 @ A3 ) @ ( plus_plus @ A @ C3 @ B2 ) )
         => ( ord_less_eq @ A @ A3 @ B2 ) ) ) ).

% add_le_imp_le_left
thf(fact_378_le__iff__add,axiom,
    ! [A: $tType] :
      ( ( canoni5634975068530333245id_add @ A )
     => ( ( ord_less_eq @ A )
        = ( ^ [A7: A,B5: A] :
            ? [C4: A] :
              ( B5
              = ( plus_plus @ A @ A7 @ C4 ) ) ) ) ) ).

% le_iff_add
thf(fact_379_add__right__mono,axiom,
    ! [A: $tType] :
      ( ( ordere6658533253407199908up_add @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ord_less_eq @ A @ ( plus_plus @ A @ A3 @ C3 ) @ ( plus_plus @ A @ B2 @ C3 ) ) ) ) ).

% add_right_mono
thf(fact_380_less__eqE,axiom,
    ! [A: $tType] :
      ( ( canoni5634975068530333245id_add @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ~ ! [C2: A] :
                ( B2
               != ( plus_plus @ A @ A3 @ C2 ) ) ) ) ).

% less_eqE
thf(fact_381_add__left__mono,axiom,
    ! [A: $tType] :
      ( ( ordere6658533253407199908up_add @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ord_less_eq @ A @ ( plus_plus @ A @ C3 @ A3 ) @ ( plus_plus @ A @ C3 @ B2 ) ) ) ) ).

% add_left_mono
thf(fact_382_add__mono,axiom,
    ! [A: $tType] :
      ( ( ordere6658533253407199908up_add @ A )
     => ! [A3: A,B2: A,C3: A,D3: A] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ( ord_less_eq @ A @ C3 @ D3 )
           => ( ord_less_eq @ A @ ( plus_plus @ A @ A3 @ C3 ) @ ( plus_plus @ A @ B2 @ D3 ) ) ) ) ) ).

% add_mono
thf(fact_383_add__mono__thms__linordered__semiring_I1_J,axiom,
    ! [A: $tType] :
      ( ( ordere6658533253407199908up_add @ A )
     => ! [I2: A,J2: A,K2: A,L: A] :
          ( ( ( ord_less_eq @ A @ I2 @ J2 )
            & ( ord_less_eq @ A @ K2 @ L ) )
         => ( ord_less_eq @ A @ ( plus_plus @ A @ I2 @ K2 ) @ ( plus_plus @ A @ J2 @ L ) ) ) ) ).

% add_mono_thms_linordered_semiring(1)
thf(fact_384_add__mono__thms__linordered__semiring_I2_J,axiom,
    ! [A: $tType] :
      ( ( ordere6658533253407199908up_add @ A )
     => ! [I2: A,J2: A,K2: A,L: A] :
          ( ( ( I2 = J2 )
            & ( ord_less_eq @ A @ K2 @ L ) )
         => ( ord_less_eq @ A @ ( plus_plus @ A @ I2 @ K2 ) @ ( plus_plus @ A @ J2 @ L ) ) ) ) ).

% add_mono_thms_linordered_semiring(2)
thf(fact_385_add__mono__thms__linordered__semiring_I3_J,axiom,
    ! [A: $tType] :
      ( ( ordere6658533253407199908up_add @ A )
     => ! [I2: A,J2: A,K2: A,L: A] :
          ( ( ( ord_less_eq @ A @ I2 @ J2 )
            & ( K2 = L ) )
         => ( ord_less_eq @ A @ ( plus_plus @ A @ I2 @ K2 ) @ ( plus_plus @ A @ J2 @ L ) ) ) ) ).

% add_mono_thms_linordered_semiring(3)
thf(fact_386_add__less__imp__less__right,axiom,
    ! [A: $tType] :
      ( ( ordere2412721322843649153imp_le @ A )
     => ! [A3: A,C3: A,B2: A] :
          ( ( ord_less @ A @ ( plus_plus @ A @ A3 @ C3 ) @ ( plus_plus @ A @ B2 @ C3 ) )
         => ( ord_less @ A @ A3 @ B2 ) ) ) ).

% add_less_imp_less_right
thf(fact_387_add__less__imp__less__left,axiom,
    ! [A: $tType] :
      ( ( ordere2412721322843649153imp_le @ A )
     => ! [C3: A,A3: A,B2: A] :
          ( ( ord_less @ A @ ( plus_plus @ A @ C3 @ A3 ) @ ( plus_plus @ A @ C3 @ B2 ) )
         => ( ord_less @ A @ A3 @ B2 ) ) ) ).

% add_less_imp_less_left
thf(fact_388_add__strict__right__mono,axiom,
    ! [A: $tType] :
      ( ( ordere580206878836729694up_add @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ( ord_less @ A @ ( plus_plus @ A @ A3 @ C3 ) @ ( plus_plus @ A @ B2 @ C3 ) ) ) ) ).

% add_strict_right_mono
thf(fact_389_add__strict__left__mono,axiom,
    ! [A: $tType] :
      ( ( ordere580206878836729694up_add @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ( ord_less @ A @ ( plus_plus @ A @ C3 @ A3 ) @ ( plus_plus @ A @ C3 @ B2 ) ) ) ) ).

% add_strict_left_mono
thf(fact_390_add__strict__mono,axiom,
    ! [A: $tType] :
      ( ( strict9044650504122735259up_add @ A )
     => ! [A3: A,B2: A,C3: A,D3: A] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ( ( ord_less @ A @ C3 @ D3 )
           => ( ord_less @ A @ ( plus_plus @ A @ A3 @ C3 ) @ ( plus_plus @ A @ B2 @ D3 ) ) ) ) ) ).

% add_strict_mono
thf(fact_391_add__mono__thms__linordered__field_I1_J,axiom,
    ! [A: $tType] :
      ( ( ordere580206878836729694up_add @ A )
     => ! [I2: A,J2: A,K2: A,L: A] :
          ( ( ( ord_less @ A @ I2 @ J2 )
            & ( K2 = L ) )
         => ( ord_less @ A @ ( plus_plus @ A @ I2 @ K2 ) @ ( plus_plus @ A @ J2 @ L ) ) ) ) ).

% add_mono_thms_linordered_field(1)
thf(fact_392_add__mono__thms__linordered__field_I2_J,axiom,
    ! [A: $tType] :
      ( ( ordere580206878836729694up_add @ A )
     => ! [I2: A,J2: A,K2: A,L: A] :
          ( ( ( I2 = J2 )
            & ( ord_less @ A @ K2 @ L ) )
         => ( ord_less @ A @ ( plus_plus @ A @ I2 @ K2 ) @ ( plus_plus @ A @ J2 @ L ) ) ) ) ).

% add_mono_thms_linordered_field(2)
thf(fact_393_add__mono__thms__linordered__field_I5_J,axiom,
    ! [A: $tType] :
      ( ( ordere580206878836729694up_add @ A )
     => ! [I2: A,J2: A,K2: A,L: A] :
          ( ( ( ord_less @ A @ I2 @ J2 )
            & ( ord_less @ A @ K2 @ L ) )
         => ( ord_less @ A @ ( plus_plus @ A @ I2 @ K2 ) @ ( plus_plus @ A @ J2 @ L ) ) ) ) ).

% add_mono_thms_linordered_field(5)
thf(fact_394_sup_OcoboundedI2,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [C3: A,B2: A,A3: A] :
          ( ( ord_less_eq @ A @ C3 @ B2 )
         => ( ord_less_eq @ A @ C3 @ ( sup_sup @ A @ A3 @ B2 ) ) ) ) ).

% sup.coboundedI2
thf(fact_395_sup_OcoboundedI1,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [C3: A,A3: A,B2: A] :
          ( ( ord_less_eq @ A @ C3 @ A3 )
         => ( ord_less_eq @ A @ C3 @ ( sup_sup @ A @ A3 @ B2 ) ) ) ) ).

% sup.coboundedI1
thf(fact_396_sup_Oabsorb__iff2,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ( ( ord_less_eq @ A )
        = ( ^ [A7: A,B5: A] :
              ( ( sup_sup @ A @ A7 @ B5 )
              = B5 ) ) ) ) ).

% sup.absorb_iff2
thf(fact_397_sup_Oabsorb__iff1,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ( ( ord_less_eq @ A )
        = ( ^ [B5: A,A7: A] :
              ( ( sup_sup @ A @ A7 @ B5 )
              = A7 ) ) ) ) ).

% sup.absorb_iff1
thf(fact_398_sup_Ocobounded2,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [B2: A,A3: A] : ( ord_less_eq @ A @ B2 @ ( sup_sup @ A @ A3 @ B2 ) ) ) ).

% sup.cobounded2
thf(fact_399_sup_Ocobounded1,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [A3: A,B2: A] : ( ord_less_eq @ A @ A3 @ ( sup_sup @ A @ A3 @ B2 ) ) ) ).

% sup.cobounded1
thf(fact_400_sup_Oorder__iff,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ( ( ord_less_eq @ A )
        = ( ^ [B5: A,A7: A] :
              ( A7
              = ( sup_sup @ A @ A7 @ B5 ) ) ) ) ) ).

% sup.order_iff
thf(fact_401_sup_OboundedI,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [B2: A,A3: A,C3: A] :
          ( ( ord_less_eq @ A @ B2 @ A3 )
         => ( ( ord_less_eq @ A @ C3 @ A3 )
           => ( ord_less_eq @ A @ ( sup_sup @ A @ B2 @ C3 ) @ A3 ) ) ) ) ).

% sup.boundedI
thf(fact_402_sup_OboundedE,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [B2: A,C3: A,A3: A] :
          ( ( ord_less_eq @ A @ ( sup_sup @ A @ B2 @ C3 ) @ A3 )
         => ~ ( ( ord_less_eq @ A @ B2 @ A3 )
             => ~ ( ord_less_eq @ A @ C3 @ A3 ) ) ) ) ).

% sup.boundedE
thf(fact_403_sup__absorb2,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less_eq @ A @ X @ Y )
         => ( ( sup_sup @ A @ X @ Y )
            = Y ) ) ) ).

% sup_absorb2
thf(fact_404_sup__absorb1,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [Y: A,X: A] :
          ( ( ord_less_eq @ A @ Y @ X )
         => ( ( sup_sup @ A @ X @ Y )
            = X ) ) ) ).

% sup_absorb1
thf(fact_405_sup_Oabsorb2,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ( sup_sup @ A @ A3 @ B2 )
            = B2 ) ) ) ).

% sup.absorb2
thf(fact_406_sup_Oabsorb1,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [B2: A,A3: A] :
          ( ( ord_less_eq @ A @ B2 @ A3 )
         => ( ( sup_sup @ A @ A3 @ B2 )
            = A3 ) ) ) ).

% sup.absorb1
thf(fact_407_sup__unique,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [F3: A > A > A,X: A,Y: A] :
          ( ! [X3: A,Y3: A] : ( ord_less_eq @ A @ X3 @ ( F3 @ X3 @ Y3 ) )
         => ( ! [X3: A,Y3: A] : ( ord_less_eq @ A @ Y3 @ ( F3 @ X3 @ Y3 ) )
           => ( ! [X3: A,Y3: A,Z3: A] :
                  ( ( ord_less_eq @ A @ Y3 @ X3 )
                 => ( ( ord_less_eq @ A @ Z3 @ X3 )
                   => ( ord_less_eq @ A @ ( F3 @ Y3 @ Z3 ) @ X3 ) ) )
             => ( ( sup_sup @ A @ X @ Y )
                = ( F3 @ X @ Y ) ) ) ) ) ) ).

% sup_unique
thf(fact_408_sup_OorderI,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [A3: A,B2: A] :
          ( ( A3
            = ( sup_sup @ A @ A3 @ B2 ) )
         => ( ord_less_eq @ A @ B2 @ A3 ) ) ) ).

% sup.orderI
thf(fact_409_sup_OorderE,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [B2: A,A3: A] :
          ( ( ord_less_eq @ A @ B2 @ A3 )
         => ( A3
            = ( sup_sup @ A @ A3 @ B2 ) ) ) ) ).

% sup.orderE
thf(fact_410_le__iff__sup,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ( ( ord_less_eq @ A )
        = ( ^ [X4: A,Y4: A] :
              ( ( sup_sup @ A @ X4 @ Y4 )
              = Y4 ) ) ) ) ).

% le_iff_sup
thf(fact_411_sup__least,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [Y: A,X: A,Z4: A] :
          ( ( ord_less_eq @ A @ Y @ X )
         => ( ( ord_less_eq @ A @ Z4 @ X )
           => ( ord_less_eq @ A @ ( sup_sup @ A @ Y @ Z4 ) @ X ) ) ) ) ).

% sup_least
thf(fact_412_sup__mono,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [A3: A,C3: A,B2: A,D3: A] :
          ( ( ord_less_eq @ A @ A3 @ C3 )
         => ( ( ord_less_eq @ A @ B2 @ D3 )
           => ( ord_less_eq @ A @ ( sup_sup @ A @ A3 @ B2 ) @ ( sup_sup @ A @ C3 @ D3 ) ) ) ) ) ).

% sup_mono
thf(fact_413_sup_Omono,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [C3: A,A3: A,D3: A,B2: A] :
          ( ( ord_less_eq @ A @ C3 @ A3 )
         => ( ( ord_less_eq @ A @ D3 @ B2 )
           => ( ord_less_eq @ A @ ( sup_sup @ A @ C3 @ D3 ) @ ( sup_sup @ A @ A3 @ B2 ) ) ) ) ) ).

% sup.mono
thf(fact_414_le__supI2,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [X: A,B2: A,A3: A] :
          ( ( ord_less_eq @ A @ X @ B2 )
         => ( ord_less_eq @ A @ X @ ( sup_sup @ A @ A3 @ B2 ) ) ) ) ).

% le_supI2
thf(fact_415_le__supI1,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [X: A,A3: A,B2: A] :
          ( ( ord_less_eq @ A @ X @ A3 )
         => ( ord_less_eq @ A @ X @ ( sup_sup @ A @ A3 @ B2 ) ) ) ) ).

% le_supI1
thf(fact_416_sup__ge2,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [Y: A,X: A] : ( ord_less_eq @ A @ Y @ ( sup_sup @ A @ X @ Y ) ) ) ).

% sup_ge2
thf(fact_417_sup__ge1,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [X: A,Y: A] : ( ord_less_eq @ A @ X @ ( sup_sup @ A @ X @ Y ) ) ) ).

% sup_ge1
thf(fact_418_le__supI,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [A3: A,X: A,B2: A] :
          ( ( ord_less_eq @ A @ A3 @ X )
         => ( ( ord_less_eq @ A @ B2 @ X )
           => ( ord_less_eq @ A @ ( sup_sup @ A @ A3 @ B2 ) @ X ) ) ) ) ).

% le_supI
thf(fact_419_le__supE,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [A3: A,B2: A,X: A] :
          ( ( ord_less_eq @ A @ ( sup_sup @ A @ A3 @ B2 ) @ X )
         => ~ ( ( ord_less_eq @ A @ A3 @ X )
             => ~ ( ord_less_eq @ A @ B2 @ X ) ) ) ) ).

% le_supE
thf(fact_420_inf__sup__ord_I3_J,axiom,
    ! [A: $tType] :
      ( ( lattice @ A )
     => ! [X: A,Y: A] : ( ord_less_eq @ A @ X @ ( sup_sup @ A @ X @ Y ) ) ) ).

% inf_sup_ord(3)
thf(fact_421_inf__sup__ord_I4_J,axiom,
    ! [A: $tType] :
      ( ( lattice @ A )
     => ! [Y: A,X: A] : ( ord_less_eq @ A @ Y @ ( sup_sup @ A @ X @ Y ) ) ) ).

% inf_sup_ord(4)
thf(fact_422_sup_Ostrict__coboundedI2,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [C3: A,B2: A,A3: A] :
          ( ( ord_less @ A @ C3 @ B2 )
         => ( ord_less @ A @ C3 @ ( sup_sup @ A @ A3 @ B2 ) ) ) ) ).

% sup.strict_coboundedI2
thf(fact_423_sup_Ostrict__coboundedI1,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [C3: A,A3: A,B2: A] :
          ( ( ord_less @ A @ C3 @ A3 )
         => ( ord_less @ A @ C3 @ ( sup_sup @ A @ A3 @ B2 ) ) ) ) ).

% sup.strict_coboundedI1
thf(fact_424_sup_Ostrict__order__iff,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ( ( ord_less @ A )
        = ( ^ [B5: A,A7: A] :
              ( ( A7
                = ( sup_sup @ A @ A7 @ B5 ) )
              & ( A7 != B5 ) ) ) ) ) ).

% sup.strict_order_iff
thf(fact_425_sup_Ostrict__boundedE,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [B2: A,C3: A,A3: A] :
          ( ( ord_less @ A @ ( sup_sup @ A @ B2 @ C3 ) @ A3 )
         => ~ ( ( ord_less @ A @ B2 @ A3 )
             => ~ ( ord_less @ A @ C3 @ A3 ) ) ) ) ).

% sup.strict_boundedE
thf(fact_426_sup_Oabsorb4,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ( ( sup_sup @ A @ A3 @ B2 )
            = B2 ) ) ) ).

% sup.absorb4
thf(fact_427_sup_Oabsorb3,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [B2: A,A3: A] :
          ( ( ord_less @ A @ B2 @ A3 )
         => ( ( sup_sup @ A @ A3 @ B2 )
            = A3 ) ) ) ).

% sup.absorb3
thf(fact_428_less__supI2,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [X: A,B2: A,A3: A] :
          ( ( ord_less @ A @ X @ B2 )
         => ( ord_less @ A @ X @ ( sup_sup @ A @ A3 @ B2 ) ) ) ) ).

% less_supI2
thf(fact_429_less__supI1,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [X: A,A3: A,B2: A] :
          ( ( ord_less @ A @ X @ A3 )
         => ( ord_less @ A @ X @ ( sup_sup @ A @ A3 @ B2 ) ) ) ) ).

% less_supI1
thf(fact_430_pred__subset__eq,axiom,
    ! [A: $tType,R4: set @ A,S: set @ A] :
      ( ( ord_less_eq @ ( A > $o )
        @ ^ [X4: A] : ( member @ A @ X4 @ R4 )
        @ ^ [X4: A] : ( member @ A @ X4 @ S ) )
      = ( ord_less_eq @ ( set @ A ) @ R4 @ S ) ) ).

% pred_subset_eq
thf(fact_431_timeFrame_Oelims,axiom,
    ! [A: $tType,X: nat,Xa: option @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ),Y: option @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) )] :
      ( ( ( heap_Time_timeFrame @ A @ X @ Xa )
        = Y )
     => ( ! [R: A,H2: heap_ext @ product_unit,N6: nat] :
            ( ( Xa
              = ( some @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( product_Pair @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ R @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ H2 @ N6 ) ) ) )
           => ( Y
             != ( some @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( product_Pair @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ R @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ H2 @ ( plus_plus @ nat @ X @ N6 ) ) ) ) ) )
       => ~ ( ( Xa
              = ( none @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) )
           => ( Y
             != ( none @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) ) ) ) ) ).

% timeFrame.elims
thf(fact_432_Sup__fin_Osemilattice__order__set__axioms,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ( lattic4895041142388067077er_set @ A @ ( sup_sup @ A )
        @ ^ [X4: A,Y4: A] : ( ord_less_eq @ A @ Y4 @ X4 )
        @ ^ [X4: A,Y4: A] : ( ord_less @ A @ Y4 @ X4 ) ) ) ).

% Sup_fin.semilattice_order_set_axioms
thf(fact_433_sup__option__def,axiom,
    ! [A: $tType] :
      ( ( sup @ A )
     => ( ( sup_sup @ ( option @ A ) )
        = ( ^ [X4: option @ A,Y4: option @ A] :
              ( case_option @ ( option @ A ) @ A @ Y4
              @ ^ [X8: A] :
                  ( case_option @ ( option @ A ) @ A @ X4
                  @ ^ [Z2: A] : ( some @ A @ ( sup_sup @ A @ X8 @ Z2 ) )
                  @ Y4 )
              @ X4 ) ) ) ) ).

% sup_option_def
thf(fact_434_sup__Un__eq,axiom,
    ! [A: $tType,R4: set @ A,S: set @ A] :
      ( ( sup_sup @ ( A > $o )
        @ ^ [X4: A] : ( member @ A @ X4 @ R4 )
        @ ^ [X4: A] : ( member @ A @ X4 @ S ) )
      = ( ^ [X4: A] : ( member @ A @ X4 @ ( sup_sup @ ( set @ A ) @ R4 @ S ) ) ) ) ).

% sup_Un_eq
thf(fact_435_sup__Un__eq2,axiom,
    ! [B: $tType,A: $tType,R4: set @ ( product_prod @ A @ B ),S: set @ ( product_prod @ A @ B )] :
      ( ( sup_sup @ ( A > B > $o )
        @ ^ [X4: A,Y4: B] : ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X4 @ Y4 ) @ R4 )
        @ ^ [X4: A,Y4: B] : ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X4 @ Y4 ) @ S ) )
      = ( ^ [X4: A,Y4: B] : ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X4 @ Y4 ) @ ( sup_sup @ ( set @ ( product_prod @ A @ B ) ) @ R4 @ S ) ) ) ) ).

% sup_Un_eq2
thf(fact_436_pred__subset__eq2,axiom,
    ! [B: $tType,A: $tType,R4: set @ ( product_prod @ A @ B ),S: set @ ( product_prod @ A @ B )] :
      ( ( ord_less_eq @ ( A > B > $o )
        @ ^ [X4: A,Y4: B] : ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X4 @ Y4 ) @ R4 )
        @ ^ [X4: A,Y4: B] : ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X4 @ Y4 ) @ S ) )
      = ( ord_less_eq @ ( set @ ( product_prod @ A @ B ) ) @ R4 @ S ) ) ).

% pred_subset_eq2
thf(fact_437_pred__equals__eq2,axiom,
    ! [B: $tType,A: $tType,R4: set @ ( product_prod @ A @ B ),S: set @ ( product_prod @ A @ B )] :
      ( ( ( ^ [X4: A,Y4: B] : ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X4 @ Y4 ) @ R4 ) )
        = ( ^ [X4: A,Y4: B] : ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X4 @ Y4 ) @ S ) ) )
      = ( R4 = S ) ) ).

% pred_equals_eq2
thf(fact_438_execute__guard_I2_J,axiom,
    ! [A: $tType,P2: ( heap_ext @ product_unit ) > $o,H: heap_ext @ product_unit,F3: ( heap_ext @ product_unit ) > ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) )] :
      ( ( P2 @ H )
     => ( ( heap_Time_execute @ A @ ( heap_Time_guard @ A @ P2 @ F3 ) @ H )
        = ( some @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( F3 @ H ) ) ) ) ).

% execute_guard(2)
thf(fact_439_some__opt__eq__trivial,axiom,
    ! [A: $tType,X: A] :
      ( ( eps_Opt @ A
        @ ^ [Y4: A] : Y4 = X )
      = ( some @ A @ X ) ) ).

% some_opt_eq_trivial
thf(fact_440_raise__bind,axiom,
    ! [B: $tType,A: $tType,E3: list @ char,F3: B > ( heap_Time_Heap @ A )] :
      ( ( heap_Time_bind @ B @ A @ ( heap_Time_raise @ B @ E3 ) @ F3 )
      = ( heap_Time_raise @ A @ E3 ) ) ).

% raise_bind
thf(fact_441_predicate2I,axiom,
    ! [B: $tType,A: $tType,P2: A > B > $o,Q2: A > B > $o] :
      ( ! [X3: A,Y3: B] :
          ( ( P2 @ X3 @ Y3 )
         => ( Q2 @ X3 @ Y3 ) )
     => ( ord_less_eq @ ( A > B > $o ) @ P2 @ Q2 ) ) ).

% predicate2I
thf(fact_442_not__None__eq,axiom,
    ! [A: $tType,X: option @ A] :
      ( ( X
       != ( none @ A ) )
      = ( ? [Y4: A] :
            ( X
            = ( some @ A @ Y4 ) ) ) ) ).

% not_None_eq
thf(fact_443_not__Some__eq,axiom,
    ! [A: $tType,X: option @ A] :
      ( ( ! [Y4: A] :
            ( X
           != ( some @ A @ Y4 ) ) )
      = ( X
        = ( none @ A ) ) ) ).

% not_Some_eq
thf(fact_444_some__opt__sym__eq__trivial,axiom,
    ! [A: $tType,X: A] :
      ( ( eps_Opt @ A
        @ ( ^ [Y6: A,Z5: A] : Y6 = Z5
          @ X ) )
      = ( some @ A @ X ) ) ).

% some_opt_sym_eq_trivial
thf(fact_445_less__eq__option__None__code,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [X: option @ A] : ( ord_less_eq @ ( option @ A ) @ ( none @ A ) @ X ) ) ).

% less_eq_option_None_code
thf(fact_446_less__option__None,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [X: option @ A] :
          ~ ( ord_less @ ( option @ A ) @ X @ ( none @ A ) ) ) ).

% less_option_None
thf(fact_447_sup__None__1,axiom,
    ! [A: $tType] :
      ( ( sup @ A )
     => ! [Y: option @ A] :
          ( ( sup_sup @ ( option @ A ) @ ( none @ A ) @ Y )
          = Y ) ) ).

% sup_None_1
thf(fact_448_sup__None__2,axiom,
    ! [A: $tType] :
      ( ( sup @ A )
     => ! [X: option @ A] :
          ( ( sup_sup @ ( option @ A ) @ X @ ( none @ A ) )
          = X ) ) ).

% sup_None_2
thf(fact_449_some__opt__false__trivial,axiom,
    ! [A: $tType] :
      ( ( eps_Opt @ A
        @ ^ [Uu2: A] : $false )
      = ( none @ A ) ) ).

% some_opt_false_trivial
thf(fact_450_not__Some__eq2,axiom,
    ! [B: $tType,A: $tType,V2: option @ ( product_prod @ A @ B )] :
      ( ( ! [X4: A,Y4: B] :
            ( V2
           != ( some @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X4 @ Y4 ) ) ) )
      = ( V2
        = ( none @ ( product_prod @ A @ B ) ) ) ) ).

% not_Some_eq2
thf(fact_451_less__eq__option__Some__None,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [X: A] :
          ~ ( ord_less_eq @ ( option @ A ) @ ( some @ A @ X ) @ ( none @ A ) ) ) ).

% less_eq_option_Some_None
thf(fact_452_less__option__None__Some__code,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [X: A] : ( ord_less @ ( option @ A ) @ ( none @ A ) @ ( some @ A @ X ) ) ) ).

% less_option_None_Some_code
thf(fact_453_rev__predicate2D,axiom,
    ! [A: $tType,B: $tType,P2: A > B > $o,X: A,Y: B,Q2: A > B > $o] :
      ( ( P2 @ X @ Y )
     => ( ( ord_less_eq @ ( A > B > $o ) @ P2 @ Q2 )
       => ( Q2 @ X @ Y ) ) ) ).

% rev_predicate2D
thf(fact_454_predicate2D,axiom,
    ! [A: $tType,B: $tType,P2: A > B > $o,Q2: A > B > $o,X: A,Y: B] :
      ( ( ord_less_eq @ ( A > B > $o ) @ P2 @ Q2 )
     => ( ( P2 @ X @ Y )
       => ( Q2 @ X @ Y ) ) ) ).

% predicate2D
thf(fact_455_option_Osimps_I4_J,axiom,
    ! [A: $tType,B: $tType,F1: B,F22: A > B] :
      ( ( case_option @ B @ A @ F1 @ F22 @ ( none @ A ) )
      = F1 ) ).

% option.simps(4)
thf(fact_456_execute__guard_I1_J,axiom,
    ! [A: $tType,P2: ( heap_ext @ product_unit ) > $o,H: heap_ext @ product_unit,F3: ( heap_ext @ product_unit ) > ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) )] :
      ( ~ ( P2 @ H )
     => ( ( heap_Time_execute @ A @ ( heap_Time_guard @ A @ P2 @ F3 ) @ H )
        = ( none @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) ) ) ).

% execute_guard(1)
thf(fact_457_execute__raise,axiom,
    ! [A: $tType,S2: list @ char] :
      ( ( heap_Time_execute @ A @ ( heap_Time_raise @ A @ S2 ) )
      = ( ^ [Uu2: heap_ext @ product_unit] : ( none @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) ) ) ).

% execute_raise
thf(fact_458_option_Ocase__distrib,axiom,
    ! [C: $tType,B: $tType,A: $tType,H: B > C,F1: B,F22: A > B,Option: option @ A] :
      ( ( H @ ( case_option @ B @ A @ F1 @ F22 @ Option ) )
      = ( case_option @ C @ A @ ( H @ F1 )
        @ ^ [X4: A] : ( H @ ( F22 @ X4 ) )
        @ Option ) ) ).

% option.case_distrib
thf(fact_459_option_Odistinct_I1_J,axiom,
    ! [A: $tType,X2: A] :
      ( ( none @ A )
     != ( some @ A @ X2 ) ) ).

% option.distinct(1)
thf(fact_460_option_OdiscI,axiom,
    ! [A: $tType,Option: option @ A,X2: A] :
      ( ( Option
        = ( some @ A @ X2 ) )
     => ( Option
       != ( none @ A ) ) ) ).

% option.discI
thf(fact_461_option_Oexhaust,axiom,
    ! [A: $tType,Y: option @ A] :
      ( ( Y
       != ( none @ A ) )
     => ~ ! [X22: A] :
            ( Y
           != ( some @ A @ X22 ) ) ) ).

% option.exhaust
thf(fact_462_split__option__ex,axiom,
    ! [A: $tType] :
      ( ( ^ [P4: ( option @ A ) > $o] :
          ? [X5: option @ A] : ( P4 @ X5 ) )
      = ( ^ [P5: ( option @ A ) > $o] :
            ( ( P5 @ ( none @ A ) )
            | ? [X4: A] : ( P5 @ ( some @ A @ X4 ) ) ) ) ) ).

% split_option_ex
thf(fact_463_split__option__all,axiom,
    ! [A: $tType] :
      ( ( ^ [P4: ( option @ A ) > $o] :
          ! [X5: option @ A] : ( P4 @ X5 ) )
      = ( ^ [P5: ( option @ A ) > $o] :
            ( ( P5 @ ( none @ A ) )
            & ! [X4: A] : ( P5 @ ( some @ A @ X4 ) ) ) ) ) ).

% split_option_all
thf(fact_464_combine__options__cases,axiom,
    ! [A: $tType,B: $tType,X: option @ A,P2: ( option @ A ) > ( option @ B ) > $o,Y: option @ B] :
      ( ( ( X
          = ( none @ A ) )
       => ( P2 @ X @ Y ) )
     => ( ( ( Y
            = ( none @ B ) )
         => ( P2 @ X @ Y ) )
       => ( ! [A5: A,B4: B] :
              ( ( X
                = ( some @ A @ A5 ) )
             => ( ( Y
                  = ( some @ B @ B4 ) )
               => ( P2 @ X @ Y ) ) )
         => ( P2 @ X @ Y ) ) ) ) ).

% combine_options_cases
thf(fact_465_timeFrame_Osimps_I2_J,axiom,
    ! [A: $tType,N: nat] :
      ( ( heap_Time_timeFrame @ A @ N @ ( none @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) )
      = ( none @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) ) ).

% timeFrame.simps(2)
thf(fact_466_less__eq__option__None__is__None,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [X: option @ A] :
          ( ( ord_less_eq @ ( option @ A ) @ X @ ( none @ A ) )
         => ( X
            = ( none @ A ) ) ) ) ).

% less_eq_option_None_is_None
thf(fact_467_less__eq__option__None,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [X: option @ A] : ( ord_less_eq @ ( option @ A ) @ ( none @ A ) @ X ) ) ).

% less_eq_option_None
thf(fact_468_option_Osimps_I5_J,axiom,
    ! [B: $tType,A: $tType,F1: B,F22: A > B,X2: A] :
      ( ( case_option @ B @ A @ F1 @ F22 @ ( some @ A @ X2 ) )
      = ( F22 @ X2 ) ) ).

% option.simps(5)
thf(fact_469_the__default_Osimps_I2_J,axiom,
    ! [A: $tType,X: A] :
      ( ( the_default @ A @ X @ ( none @ A ) )
      = X ) ).

% the_default.simps(2)
thf(fact_470_Eps__Opt__eq__Some__implies,axiom,
    ! [A: $tType,P2: A > $o,X: A] :
      ( ( ( eps_Opt @ A @ P2 )
        = ( some @ A @ X ) )
     => ( P2 @ X ) ) ).

% Eps_Opt_eq_Some_implies
thf(fact_471_Eps__Opt__eq__Some,axiom,
    ! [A: $tType,P2: A > $o,X: A] :
      ( ! [X9: A] :
          ( ( P2 @ X )
         => ( ( P2 @ X9 )
           => ( X9 = X ) ) )
     => ( ( ( eps_Opt @ A @ P2 )
          = ( some @ A @ X ) )
        = ( P2 @ X ) ) ) ).

% Eps_Opt_eq_Some
thf(fact_472_execute__bind_I2_J,axiom,
    ! [A: $tType,B: $tType,F3: heap_Time_Heap @ A,H: heap_ext @ product_unit,G3: A > ( heap_Time_Heap @ B )] :
      ( ( ( heap_Time_execute @ A @ F3 @ H )
        = ( none @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) )
     => ( ( heap_Time_execute @ B @ ( heap_Time_bind @ A @ B @ F3 @ G3 ) @ H )
        = ( none @ ( product_prod @ B @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) ) ) ).

% execute_bind(2)
thf(fact_473_success__def,axiom,
    ! [A: $tType] :
      ( ( heap_Time_success @ A )
      = ( ^ [F4: heap_Time_Heap @ A,H7: heap_ext @ product_unit] :
            ( ( heap_Time_execute @ A @ F4 @ H7 )
           != ( none @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) ) ) ) ).

% success_def
thf(fact_474_successI,axiom,
    ! [A: $tType,F3: heap_Time_Heap @ A,H: heap_ext @ product_unit] :
      ( ( ( heap_Time_execute @ A @ F3 @ H )
       != ( none @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) )
     => ( heap_Time_success @ A @ F3 @ H ) ) ).

% successI
thf(fact_475_success__guardI,axiom,
    ! [A: $tType,P2: ( heap_ext @ product_unit ) > $o,H: heap_ext @ product_unit,F3: ( heap_ext @ product_unit ) > ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) )] :
      ( ( P2 @ H )
     => ( heap_Time_success @ A @ ( heap_Time_guard @ A @ P2 @ F3 ) @ H ) ) ).

% success_guardI
thf(fact_476_effect__raiseE,axiom,
    ! [A: $tType,X: list @ char,H: heap_ext @ product_unit,H5: heap_ext @ product_unit,R3: A,N: nat] :
      ~ ( heap_Time_effect @ A @ ( heap_Time_raise @ A @ X ) @ H @ H5 @ R3 @ N ) ).

% effect_raiseE
thf(fact_477_less__option__None__is__Some,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [X: option @ A] :
          ( ( ord_less @ ( option @ A ) @ ( none @ A ) @ X )
         => ? [Z3: A] :
              ( X
              = ( some @ A @ Z3 ) ) ) ) ).

% less_option_None_is_Some
thf(fact_478_less__option__None__Some,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [X: A] : ( ord_less @ ( option @ A ) @ ( none @ A ) @ ( some @ A @ X ) ) ) ).

% less_option_None_Some
thf(fact_479_subrelI,axiom,
    ! [B: $tType,A: $tType,R3: set @ ( product_prod @ A @ B ),S2: set @ ( product_prod @ A @ B )] :
      ( ! [X3: A,Y3: B] :
          ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X3 @ Y3 ) @ R3 )
         => ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X3 @ Y3 ) @ S2 ) )
     => ( ord_less_eq @ ( set @ ( product_prod @ A @ B ) ) @ R3 @ S2 ) ) ).

% subrelI
thf(fact_480_Heap__cases,axiom,
    ! [A: $tType,F3: heap_Time_Heap @ A,H: heap_ext @ product_unit] :
      ( ! [X3: A,H4: product_prod @ ( heap_ext @ product_unit ) @ nat] :
          ( ( heap_Time_execute @ A @ F3 @ H )
         != ( some @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( product_Pair @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ X3 @ H4 ) ) )
     => ( ( heap_Time_execute @ A @ F3 @ H )
        = ( none @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) ) ) ).

% Heap_cases
thf(fact_481_timeFrame_Ocases,axiom,
    ! [A: $tType,X: product_prod @ nat @ ( option @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) )] :
      ( ! [N4: nat,R: A,H2: heap_ext @ product_unit,N6: nat] :
          ( X
         != ( product_Pair @ nat @ ( option @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) @ N4 @ ( some @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( product_Pair @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ R @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ H2 @ N6 ) ) ) ) )
     => ~ ! [N4: nat] :
            ( X
           != ( product_Pair @ nat @ ( option @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) @ N4 @ ( none @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) ) ) ) ).

% timeFrame.cases
thf(fact_482_sup1CI,axiom,
    ! [A: $tType,B6: A > $o,X: A,A6: A > $o] :
      ( ( ~ ( B6 @ X )
       => ( A6 @ X ) )
     => ( sup_sup @ ( A > $o ) @ A6 @ B6 @ X ) ) ).

% sup1CI
thf(fact_483_sup2CI,axiom,
    ! [A: $tType,B: $tType,B6: A > B > $o,X: A,Y: B,A6: A > B > $o] :
      ( ( ~ ( B6 @ X @ Y )
       => ( A6 @ X @ Y ) )
     => ( sup_sup @ ( A > B > $o ) @ A6 @ B6 @ X @ Y ) ) ).

% sup2CI
thf(fact_484_reflclp__idemp,axiom,
    ! [A: $tType,P2: A > A > $o] :
      ( ( sup_sup @ ( A > A > $o )
        @ ( sup_sup @ ( A > A > $o ) @ P2
          @ ^ [Y6: A,Z5: A] : Y6 = Z5 )
        @ ^ [Y6: A,Z5: A] : Y6 = Z5 )
      = ( sup_sup @ ( A > A > $o ) @ P2
        @ ^ [Y6: A,Z5: A] : Y6 = Z5 ) ) ).

% reflclp_idemp
thf(fact_485_timeFrame_Opelims,axiom,
    ! [A: $tType,X: nat,Xa: option @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ),Y: option @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) )] :
      ( ( ( heap_Time_timeFrame @ A @ X @ Xa )
        = Y )
     => ( ( accp @ ( product_prod @ nat @ ( option @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) ) @ ( heap_T5500966940807335491me_rel @ A ) @ ( product_Pair @ nat @ ( option @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) @ X @ Xa ) )
       => ( ! [R: A,H2: heap_ext @ product_unit,N6: nat] :
              ( ( Xa
                = ( some @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( product_Pair @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ R @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ H2 @ N6 ) ) ) )
             => ( ( Y
                  = ( some @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( product_Pair @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ R @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ H2 @ ( plus_plus @ nat @ X @ N6 ) ) ) ) )
               => ~ ( accp @ ( product_prod @ nat @ ( option @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) ) @ ( heap_T5500966940807335491me_rel @ A ) @ ( product_Pair @ nat @ ( option @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) @ X @ ( some @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( product_Pair @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ R @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ H2 @ N6 ) ) ) ) ) ) )
         => ~ ( ( Xa
                = ( none @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) )
             => ( ( Y
                  = ( none @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) )
               => ~ ( accp @ ( product_prod @ nat @ ( option @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) ) @ ( heap_T5500966940807335491me_rel @ A ) @ ( product_Pair @ nat @ ( option @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) @ X @ ( none @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) ) ) ) ) ) ) ) ).

% timeFrame.pelims
thf(fact_486_disjE__realizer2,axiom,
    ! [B: $tType,A: $tType,P2: $o,Q2: A > $o,X: option @ A,R4: B > $o,F3: B,G3: A > B] :
      ( ( case_option @ $o @ A @ P2 @ Q2 @ X )
     => ( ( P2
         => ( R4 @ F3 ) )
       => ( ! [Q5: A] :
              ( ( Q2 @ Q5 )
             => ( R4 @ ( G3 @ Q5 ) ) )
         => ( R4 @ ( case_option @ B @ A @ F3 @ G3 @ X ) ) ) ) ) ).

% disjE_realizer2
thf(fact_487_eq__subset,axiom,
    ! [A: $tType,P2: A > A > $o] :
      ( ord_less_eq @ ( A > A > $o )
      @ ^ [Y6: A,Z5: A] : Y6 = Z5
      @ ^ [A7: A,B5: A] :
          ( ( P2 @ A7 @ B5 )
          | ( A7 = B5 ) ) ) ).

% eq_subset
thf(fact_488_set__to__map__def,axiom,
    ! [A: $tType,B: $tType] :
      ( ( set_to_map @ B @ A )
      = ( ^ [S4: set @ ( product_prod @ B @ A ),K3: B] :
            ( eps_Opt @ A
            @ ^ [V3: A] : ( member @ ( product_prod @ B @ A ) @ ( product_Pair @ B @ A @ K3 @ V3 ) @ S4 ) ) ) ) ).

% set_to_map_def
thf(fact_489_sup1E,axiom,
    ! [A: $tType,A6: A > $o,B6: A > $o,X: A] :
      ( ( sup_sup @ ( A > $o ) @ A6 @ B6 @ X )
     => ( ~ ( A6 @ X )
       => ( B6 @ X ) ) ) ).

% sup1E
thf(fact_490_sup1I1,axiom,
    ! [A: $tType,A6: A > $o,X: A,B6: A > $o] :
      ( ( A6 @ X )
     => ( sup_sup @ ( A > $o ) @ A6 @ B6 @ X ) ) ).

% sup1I1
thf(fact_491_sup1I2,axiom,
    ! [A: $tType,B6: A > $o,X: A,A6: A > $o] :
      ( ( B6 @ X )
     => ( sup_sup @ ( A > $o ) @ A6 @ B6 @ X ) ) ).

% sup1I2
thf(fact_492_guard__def,axiom,
    ! [A: $tType] :
      ( ( heap_Time_guard @ A )
      = ( ^ [P5: ( heap_ext @ product_unit ) > $o,F4: ( heap_ext @ product_unit ) > ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) )] :
            ( heap_Time_Heap2 @ A
            @ ^ [H7: heap_ext @ product_unit] : ( if @ ( option @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) @ ( P5 @ H7 ) @ ( some @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( F4 @ H7 ) ) @ ( none @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) ) ) ) ) ).

% guard_def
thf(fact_493_Heap_Oinject,axiom,
    ! [A: $tType,X: ( heap_ext @ product_unit ) > ( option @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ),Ya: ( heap_ext @ product_unit ) > ( option @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) )] :
      ( ( ( heap_Time_Heap2 @ A @ X )
        = ( heap_Time_Heap2 @ A @ Ya ) )
      = ( X = Ya ) ) ).

% Heap.inject
thf(fact_494_Heap__execute,axiom,
    ! [A: $tType,F3: heap_Time_Heap @ A] :
      ( ( heap_Time_Heap2 @ A @ ( heap_Time_execute @ A @ F3 ) )
      = F3 ) ).

% Heap_execute
thf(fact_495_Heap_Oexhaust,axiom,
    ! [A: $tType,Y: heap_Time_Heap @ A] :
      ~ ! [X3: ( heap_ext @ product_unit ) > ( option @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) )] :
          ( Y
         != ( heap_Time_Heap2 @ A @ X3 ) ) ).

% Heap.exhaust
thf(fact_496_execute_Osimps,axiom,
    ! [A: $tType,F3: ( heap_ext @ product_unit ) > ( option @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) )] :
      ( ( heap_Time_execute @ A @ ( heap_Time_Heap2 @ A @ F3 ) )
      = F3 ) ).

% execute.simps
thf(fact_497_option_Odisc__eq__case_I2_J,axiom,
    ! [A: $tType,Option: option @ A] :
      ( ( Option
       != ( none @ A ) )
      = ( case_option @ $o @ A @ $false
        @ ^ [Uu2: A] : $true
        @ Option ) ) ).

% option.disc_eq_case(2)
thf(fact_498_option_Odisc__eq__case_I1_J,axiom,
    ! [A: $tType,Option: option @ A] :
      ( ( Option
        = ( none @ A ) )
      = ( case_option @ $o @ A @ $true
        @ ^ [Uu2: A] : $false
        @ Option ) ) ).

% option.disc_eq_case(1)
thf(fact_499_case__optionE,axiom,
    ! [A: $tType,P2: $o,Q2: A > $o,X: option @ A] :
      ( ( case_option @ $o @ A @ P2 @ Q2 @ X )
     => ( ( ( X
            = ( none @ A ) )
         => ~ P2 )
       => ~ ! [Y3: A] :
              ( ( X
                = ( some @ A @ Y3 ) )
             => ~ ( Q2 @ Y3 ) ) ) ) ).

% case_optionE
thf(fact_500_boolean__algebra__cancel_Osup2,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [B6: A,K2: A,B2: A,A3: A] :
          ( ( B6
            = ( sup_sup @ A @ K2 @ B2 ) )
         => ( ( sup_sup @ A @ A3 @ B6 )
            = ( sup_sup @ A @ K2 @ ( sup_sup @ A @ A3 @ B2 ) ) ) ) ) ).

% boolean_algebra_cancel.sup2
thf(fact_501_boolean__algebra__cancel_Osup1,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [A6: A,K2: A,A3: A,B2: A] :
          ( ( A6
            = ( sup_sup @ A @ K2 @ A3 ) )
         => ( ( sup_sup @ A @ A6 @ B2 )
            = ( sup_sup @ A @ K2 @ ( sup_sup @ A @ A3 @ B2 ) ) ) ) ) ).

% boolean_algebra_cancel.sup1
thf(fact_502_less__eq__option__def,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ( ( ord_less_eq @ ( option @ A ) )
        = ( ^ [X4: option @ A,Y4: option @ A] :
              ( case_option @ $o @ A @ $true
              @ ^ [Z2: A] : ( case_option @ $o @ A @ $false @ ( ord_less_eq @ A @ Z2 ) @ Y4 )
              @ X4 ) ) ) ) ).

% less_eq_option_def
thf(fact_503_less__option__def,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ( ( ord_less @ ( option @ A ) )
        = ( ^ [X4: option @ A] :
              ( case_option @ $o @ A @ $false
              @ ^ [Y4: A] :
                  ( case_option @ $o @ A @ $true
                  @ ^ [Z2: A] : ( ord_less @ A @ Z2 @ Y4 )
                  @ X4 ) ) ) ) ) ).

% less_option_def
thf(fact_504_raise__def,axiom,
    ! [A: $tType] :
      ( ( heap_Time_raise @ A )
      = ( ^ [S5: list @ char] :
            ( heap_Time_Heap2 @ A
            @ ^ [Uu2: heap_ext @ product_unit] : ( none @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) ) ) ) ).

% raise_def
thf(fact_505_predicate2D__conj,axiom,
    ! [A: $tType,B: $tType,P2: A > B > $o,Q2: A > B > $o,R4: $o,X: A,Y: B] :
      ( ( ( ord_less_eq @ ( A > B > $o ) @ P2 @ Q2 )
        & R4 )
     => ( R4
        & ( ( P2 @ X @ Y )
         => ( Q2 @ X @ Y ) ) ) ) ).

% predicate2D_conj
thf(fact_506_sup2I2,axiom,
    ! [A: $tType,B: $tType,B6: A > B > $o,X: A,Y: B,A6: A > B > $o] :
      ( ( B6 @ X @ Y )
     => ( sup_sup @ ( A > B > $o ) @ A6 @ B6 @ X @ Y ) ) ).

% sup2I2
thf(fact_507_sup2I1,axiom,
    ! [A: $tType,B: $tType,A6: A > B > $o,X: A,Y: B,B6: A > B > $o] :
      ( ( A6 @ X @ Y )
     => ( sup_sup @ ( A > B > $o ) @ A6 @ B6 @ X @ Y ) ) ).

% sup2I1
thf(fact_508_sup2E,axiom,
    ! [A: $tType,B: $tType,A6: A > B > $o,B6: A > B > $o,X: A,Y: B] :
      ( ( sup_sup @ ( A > B > $o ) @ A6 @ B6 @ X @ Y )
     => ( ~ ( A6 @ X @ Y )
       => ( B6 @ X @ Y ) ) ) ).

% sup2E
thf(fact_509_accp__subset,axiom,
    ! [A: $tType,R1: A > A > $o,R22: A > A > $o] :
      ( ( ord_less_eq @ ( A > A > $o ) @ R1 @ R22 )
     => ( ord_less_eq @ ( A > $o ) @ ( accp @ A @ R22 ) @ ( accp @ A @ R1 ) ) ) ).

% accp_subset
thf(fact_510_accp__subset__induct,axiom,
    ! [A: $tType,D5: A > $o,R4: A > A > $o,X: A,P2: A > $o] :
      ( ( ord_less_eq @ ( A > $o ) @ D5 @ ( accp @ A @ R4 ) )
     => ( ! [X3: A,Z3: A] :
            ( ( D5 @ X3 )
           => ( ( R4 @ Z3 @ X3 )
             => ( D5 @ Z3 ) ) )
       => ( ( D5 @ X )
         => ( ! [X3: A] :
                ( ( D5 @ X3 )
               => ( ! [Z7: A] :
                      ( ( R4 @ Z7 @ X3 )
                     => ( P2 @ Z7 ) )
                 => ( P2 @ X3 ) ) )
           => ( P2 @ X ) ) ) ) ) ).

% accp_subset_induct
thf(fact_511_execute__assert_I2_J,axiom,
    ! [A: $tType,P2: A > $o,X: A,H: heap_ext @ product_unit] :
      ( ~ ( P2 @ X )
     => ( ( heap_Time_execute @ A @ ( heap_Time_assert @ A @ P2 @ X ) @ H )
        = ( none @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) ) ) ).

% execute_assert(2)
thf(fact_512_mod__h__bot__iff_I7_J,axiom,
    ! [P2: assn,Q2: assn,H: heap_ext @ product_unit] :
      ( ( rep_assn @ ( sup_sup @ assn @ P2 @ Q2 ) @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ ( bot_bot @ ( set @ nat ) ) ) )
      = ( ( rep_assn @ P2 @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ ( bot_bot @ ( set @ nat ) ) ) )
        | ( rep_assn @ Q2 @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ ( bot_bot @ ( set @ nat ) ) ) ) ) ) ).

% mod_h_bot_iff(7)
thf(fact_513_combine__options__def,axiom,
    ! [A: $tType] :
      ( ( combine_options @ A )
      = ( ^ [F4: A > A > A,X4: option @ A,Y4: option @ A] :
            ( case_option @ ( option @ A ) @ A @ Y4
            @ ^ [Z2: A] :
                ( case_option @ ( option @ A ) @ A @ ( some @ A @ Z2 )
                @ ^ [Aa2: A] : ( some @ A @ ( F4 @ Z2 @ Aa2 ) )
                @ Y4 )
            @ X4 ) ) ) ).

% combine_options_def
thf(fact_514_arg__max__nat__le,axiom,
    ! [A: $tType,P2: A > $o,X: A,F3: A > nat,B2: nat] :
      ( ( P2 @ X )
     => ( ! [Y3: A] :
            ( ( P2 @ Y3 )
           => ( ord_less @ nat @ ( F3 @ Y3 ) @ B2 ) )
       => ( ord_less_eq @ nat @ ( F3 @ X ) @ ( F3 @ ( lattices_ord_arg_max @ A @ nat @ F3 @ P2 ) ) ) ) ) ).

% arg_max_nat_le
thf(fact_515_arg__max__nat__lemma,axiom,
    ! [A: $tType,P2: A > $o,K2: A,F3: A > nat,B2: nat] :
      ( ( P2 @ K2 )
     => ( ! [Y3: A] :
            ( ( P2 @ Y3 )
           => ( ord_less @ nat @ ( F3 @ Y3 ) @ B2 ) )
       => ( ( P2 @ ( lattices_ord_arg_max @ A @ nat @ F3 @ P2 ) )
          & ! [Y5: A] :
              ( ( P2 @ Y5 )
             => ( ord_less_eq @ nat @ ( F3 @ Y5 ) @ ( F3 @ ( lattices_ord_arg_max @ A @ nat @ F3 @ P2 ) ) ) ) ) ) ) ).

% arg_max_nat_lemma
thf(fact_516_reflcl__set__eq,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] :
      ( ( sup_sup @ ( A > A > $o )
        @ ^ [X4: A,Y4: A] : ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X4 @ Y4 ) @ R3 )
        @ ^ [Y6: A,Z5: A] : Y6 = Z5 )
      = ( ^ [X4: A,Y4: A] : ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X4 @ Y4 ) @ ( sup_sup @ ( set @ ( product_prod @ A @ A ) ) @ R3 @ ( id2 @ A ) ) ) ) ) ).

% reflcl_set_eq
thf(fact_517_in__measure,axiom,
    ! [A: $tType,X: A,Y: A,F3: A > nat] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ ( measure @ A @ F3 ) )
      = ( ord_less @ nat @ ( F3 @ X ) @ ( F3 @ Y ) ) ) ).

% in_measure
thf(fact_518_wait__bind__decon,axiom,
    ! [A: $tType,P2: assn,M: heap_Time_Heap @ A,Q2: A > assn,N: nat] :
      ( ( hoare_hoare_triple @ A @ P2 @ M @ Q2 )
     => ( hoare_hoare_triple @ A @ P2
        @ ( heap_Time_bind @ product_unit @ A @ ( heap_Time_wait @ N )
          @ ^ [Uu2: product_unit] : M )
        @ Q2 ) ) ).

% wait_bind_decon
thf(fact_519_bot__apply,axiom,
    ! [C: $tType,D: $tType] :
      ( ( bot @ C )
     => ( ( bot_bot @ ( D > C ) )
        = ( ^ [X4: D] : ( bot_bot @ C ) ) ) ) ).

% bot_apply
thf(fact_520_empty__Collect__eq,axiom,
    ! [A: $tType,P2: A > $o] :
      ( ( ( bot_bot @ ( set @ A ) )
        = ( collect @ A @ P2 ) )
      = ( ! [X4: A] :
            ~ ( P2 @ X4 ) ) ) ).

% empty_Collect_eq
thf(fact_521_Collect__empty__eq,axiom,
    ! [A: $tType,P2: A > $o] :
      ( ( ( collect @ A @ P2 )
        = ( bot_bot @ ( set @ A ) ) )
      = ( ! [X4: A] :
            ~ ( P2 @ X4 ) ) ) ).

% Collect_empty_eq
thf(fact_522_all__not__in__conv,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ( ! [X4: A] :
            ~ ( member @ A @ X4 @ A6 ) )
      = ( A6
        = ( bot_bot @ ( set @ A ) ) ) ) ).

% all_not_in_conv
thf(fact_523_empty__iff,axiom,
    ! [A: $tType,C3: A] :
      ~ ( member @ A @ C3 @ ( bot_bot @ ( set @ A ) ) ) ).

% empty_iff
thf(fact_524_subset__empty,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ A6 @ ( bot_bot @ ( set @ A ) ) )
      = ( A6
        = ( bot_bot @ ( set @ A ) ) ) ) ).

% subset_empty
thf(fact_525_empty__subsetI,axiom,
    ! [A: $tType,A6: set @ A] : ( ord_less_eq @ ( set @ A ) @ ( bot_bot @ ( set @ A ) ) @ A6 ) ).

% empty_subsetI
thf(fact_526_sup__bot__left,axiom,
    ! [A: $tType] :
      ( ( bounde4967611905675639751up_bot @ A )
     => ! [X: A] :
          ( ( sup_sup @ A @ ( bot_bot @ A ) @ X )
          = X ) ) ).

% sup_bot_left
thf(fact_527_sup__bot__right,axiom,
    ! [A: $tType] :
      ( ( bounde4967611905675639751up_bot @ A )
     => ! [X: A] :
          ( ( sup_sup @ A @ X @ ( bot_bot @ A ) )
          = X ) ) ).

% sup_bot_right
thf(fact_528_bot__eq__sup__iff,axiom,
    ! [A: $tType] :
      ( ( bounde4967611905675639751up_bot @ A )
     => ! [X: A,Y: A] :
          ( ( ( bot_bot @ A )
            = ( sup_sup @ A @ X @ Y ) )
          = ( ( X
              = ( bot_bot @ A ) )
            & ( Y
              = ( bot_bot @ A ) ) ) ) ) ).

% bot_eq_sup_iff
thf(fact_529_sup__eq__bot__iff,axiom,
    ! [A: $tType] :
      ( ( bounde4967611905675639751up_bot @ A )
     => ! [X: A,Y: A] :
          ( ( ( sup_sup @ A @ X @ Y )
            = ( bot_bot @ A ) )
          = ( ( X
              = ( bot_bot @ A ) )
            & ( Y
              = ( bot_bot @ A ) ) ) ) ) ).

% sup_eq_bot_iff
thf(fact_530_sup__bot_Oeq__neutr__iff,axiom,
    ! [A: $tType] :
      ( ( bounde4967611905675639751up_bot @ A )
     => ! [A3: A,B2: A] :
          ( ( ( sup_sup @ A @ A3 @ B2 )
            = ( bot_bot @ A ) )
          = ( ( A3
              = ( bot_bot @ A ) )
            & ( B2
              = ( bot_bot @ A ) ) ) ) ) ).

% sup_bot.eq_neutr_iff
thf(fact_531_sup__bot_Oleft__neutral,axiom,
    ! [A: $tType] :
      ( ( bounde4967611905675639751up_bot @ A )
     => ! [A3: A] :
          ( ( sup_sup @ A @ ( bot_bot @ A ) @ A3 )
          = A3 ) ) ).

% sup_bot.left_neutral
thf(fact_532_sup__bot_Oneutr__eq__iff,axiom,
    ! [A: $tType] :
      ( ( bounde4967611905675639751up_bot @ A )
     => ! [A3: A,B2: A] :
          ( ( ( bot_bot @ A )
            = ( sup_sup @ A @ A3 @ B2 ) )
          = ( ( A3
              = ( bot_bot @ A ) )
            & ( B2
              = ( bot_bot @ A ) ) ) ) ) ).

% sup_bot.neutr_eq_iff
thf(fact_533_sup__bot_Oright__neutral,axiom,
    ! [A: $tType] :
      ( ( bounde4967611905675639751up_bot @ A )
     => ! [A3: A] :
          ( ( sup_sup @ A @ A3 @ ( bot_bot @ A ) )
          = A3 ) ) ).

% sup_bot.right_neutral
thf(fact_534_Un__empty,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( ( sup_sup @ ( set @ A ) @ A6 @ B6 )
        = ( bot_bot @ ( set @ A ) ) )
      = ( ( A6
          = ( bot_bot @ ( set @ A ) ) )
        & ( B6
          = ( bot_bot @ ( set @ A ) ) ) ) ) ).

% Un_empty
thf(fact_535_pair__in__Id__conv,axiom,
    ! [A: $tType,A3: A,B2: A] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ ( id2 @ A ) )
      = ( A3 = B2 ) ) ).

% pair_in_Id_conv
thf(fact_536_IdI,axiom,
    ! [A: $tType,A3: A] : ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ A3 ) @ ( id2 @ A ) ) ).

% IdI
thf(fact_537_combine__options__simps_I3_J,axiom,
    ! [A: $tType,F3: A > A > A,A3: A,B2: A] :
      ( ( combine_options @ A @ F3 @ ( some @ A @ A3 ) @ ( some @ A @ B2 ) )
      = ( some @ A @ ( F3 @ A3 @ B2 ) ) ) ).

% combine_options_simps(3)
thf(fact_538_combine__options__simps_I1_J,axiom,
    ! [A: $tType,F3: A > A > A,Y: option @ A] :
      ( ( combine_options @ A @ F3 @ ( none @ A ) @ Y )
      = Y ) ).

% combine_options_simps(1)
thf(fact_539_combine__options__simps_I2_J,axiom,
    ! [A: $tType,F3: A > A > A,X: option @ A] :
      ( ( combine_options @ A @ F3 @ X @ ( none @ A ) )
      = X ) ).

% combine_options_simps(2)
thf(fact_540_bijective__Id,axiom,
    ! [A: $tType] : ( bijective @ A @ A @ ( id2 @ A ) ) ).

% bijective_Id
thf(fact_541_memb__imp__not__empty,axiom,
    ! [A: $tType,X: A,S: set @ A] :
      ( ( member @ A @ X @ S )
     => ( S
       != ( bot_bot @ ( set @ A ) ) ) ) ).

% memb_imp_not_empty
thf(fact_542_set__notEmptyE,axiom,
    ! [A: $tType,S: set @ A] :
      ( ( S
       != ( bot_bot @ ( set @ A ) ) )
     => ~ ! [X3: A] :
            ~ ( member @ A @ X3 @ S ) ) ).

% set_notEmptyE
thf(fact_543_combine__options__left__commute,axiom,
    ! [A: $tType,F3: A > A > A,Y: option @ A,X: option @ A,Z4: option @ A] :
      ( ! [X3: A,Y3: A] :
          ( ( F3 @ X3 @ Y3 )
          = ( F3 @ Y3 @ X3 ) )
     => ( ! [X3: A,Y3: A,Z3: A] :
            ( ( F3 @ ( F3 @ X3 @ Y3 ) @ Z3 )
            = ( F3 @ X3 @ ( F3 @ Y3 @ Z3 ) ) )
       => ( ( combine_options @ A @ F3 @ Y @ ( combine_options @ A @ F3 @ X @ Z4 ) )
          = ( combine_options @ A @ F3 @ X @ ( combine_options @ A @ F3 @ Y @ Z4 ) ) ) ) ) ).

% combine_options_left_commute
thf(fact_544_combine__options__commute,axiom,
    ! [A: $tType,F3: A > A > A,X: option @ A,Y: option @ A] :
      ( ! [X3: A,Y3: A] :
          ( ( F3 @ X3 @ Y3 )
          = ( F3 @ Y3 @ X3 ) )
     => ( ( combine_options @ A @ F3 @ X @ Y )
        = ( combine_options @ A @ F3 @ Y @ X ) ) ) ).

% combine_options_commute
thf(fact_545_combine__options__assoc,axiom,
    ! [A: $tType,F3: A > A > A,X: option @ A,Y: option @ A,Z4: option @ A] :
      ( ! [X3: A,Y3: A,Z3: A] :
          ( ( F3 @ ( F3 @ X3 @ Y3 ) @ Z3 )
          = ( F3 @ X3 @ ( F3 @ Y3 @ Z3 ) ) )
     => ( ( combine_options @ A @ F3 @ ( combine_options @ A @ F3 @ X @ Y ) @ Z4 )
        = ( combine_options @ A @ F3 @ X @ ( combine_options @ A @ F3 @ Y @ Z4 ) ) ) ) ).

% combine_options_assoc
thf(fact_546_bot__fun__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( bot @ B )
     => ( ( bot_bot @ ( A > B ) )
        = ( ^ [X4: A] : ( bot_bot @ B ) ) ) ) ).

% bot_fun_def
thf(fact_547_ex__in__conv,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ( ? [X4: A] : ( member @ A @ X4 @ A6 ) )
      = ( A6
       != ( bot_bot @ ( set @ A ) ) ) ) ).

% ex_in_conv
thf(fact_548_equals0I,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ! [Y3: A] :
          ~ ( member @ A @ Y3 @ A6 )
     => ( A6
        = ( bot_bot @ ( set @ A ) ) ) ) ).

% equals0I
thf(fact_549_equals0D,axiom,
    ! [A: $tType,A6: set @ A,A3: A] :
      ( ( A6
        = ( bot_bot @ ( set @ A ) ) )
     => ~ ( member @ A @ A3 @ A6 ) ) ).

% equals0D
thf(fact_550_emptyE,axiom,
    ! [A: $tType,A3: A] :
      ~ ( member @ A @ A3 @ ( bot_bot @ ( set @ A ) ) ) ).

% emptyE
thf(fact_551_Set_Oempty__def,axiom,
    ! [A: $tType] :
      ( ( bot_bot @ ( set @ A ) )
      = ( collect @ A
        @ ^ [X4: A] : $false ) ) ).

% Set.empty_def
thf(fact_552_bot_Oextremum,axiom,
    ! [A: $tType] :
      ( ( order_bot @ A )
     => ! [A3: A] : ( ord_less_eq @ A @ ( bot_bot @ A ) @ A3 ) ) ).

% bot.extremum
thf(fact_553_bot_Oextremum__unique,axiom,
    ! [A: $tType] :
      ( ( order_bot @ A )
     => ! [A3: A] :
          ( ( ord_less_eq @ A @ A3 @ ( bot_bot @ A ) )
          = ( A3
            = ( bot_bot @ A ) ) ) ) ).

% bot.extremum_unique
thf(fact_554_bot_Oextremum__uniqueI,axiom,
    ! [A: $tType] :
      ( ( order_bot @ A )
     => ! [A3: A] :
          ( ( ord_less_eq @ A @ A3 @ ( bot_bot @ A ) )
         => ( A3
            = ( bot_bot @ A ) ) ) ) ).

% bot.extremum_uniqueI
thf(fact_555_bot_Oextremum__strict,axiom,
    ! [A: $tType] :
      ( ( order_bot @ A )
     => ! [A3: A] :
          ~ ( ord_less @ A @ A3 @ ( bot_bot @ A ) ) ) ).

% bot.extremum_strict
thf(fact_556_bot_Onot__eq__extremum,axiom,
    ! [A: $tType] :
      ( ( order_bot @ A )
     => ! [A3: A] :
          ( ( A3
           != ( bot_bot @ A ) )
          = ( ord_less @ A @ ( bot_bot @ A ) @ A3 ) ) ) ).

% bot.not_eq_extremum
thf(fact_557_boolean__algebra_Odisj__zero__right,axiom,
    ! [A: $tType] :
      ( ( boolea8198339166811842893lgebra @ A )
     => ! [X: A] :
          ( ( sup_sup @ A @ X @ ( bot_bot @ A ) )
          = X ) ) ).

% boolean_algebra.disj_zero_right
thf(fact_558_IdE,axiom,
    ! [A: $tType,P3: product_prod @ A @ A] :
      ( ( member @ ( product_prod @ A @ A ) @ P3 @ ( id2 @ A ) )
     => ~ ! [X3: A] :
            ( P3
           != ( product_Pair @ A @ A @ X3 @ X3 ) ) ) ).

% IdE
thf(fact_559_BNF__Greatest__Fixpoint_OIdD,axiom,
    ! [A: $tType,A3: A,B2: A] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ ( id2 @ A ) )
     => ( A3 = B2 ) ) ).

% BNF_Greatest_Fixpoint.IdD
thf(fact_560_subset__emptyI,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ! [X3: A] :
          ~ ( member @ A @ X3 @ A6 )
     => ( ord_less_eq @ ( set @ A ) @ A6 @ ( bot_bot @ ( set @ A ) ) ) ) ).

% subset_emptyI
thf(fact_561_Un__empty__left,axiom,
    ! [A: $tType,B6: set @ A] :
      ( ( sup_sup @ ( set @ A ) @ ( bot_bot @ ( set @ A ) ) @ B6 )
      = B6 ) ).

% Un_empty_left
thf(fact_562_Un__empty__right,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ( sup_sup @ ( set @ A ) @ A6 @ ( bot_bot @ ( set @ A ) ) )
      = A6 ) ).

% Un_empty_right
thf(fact_563_not__psubset__empty,axiom,
    ! [A: $tType,A6: set @ A] :
      ~ ( ord_less @ ( set @ A ) @ A6 @ ( bot_bot @ ( set @ A ) ) ) ).

% not_psubset_empty
thf(fact_564_arg__max__natI,axiom,
    ! [A: $tType,P2: A > $o,K2: A,F3: A > nat,B2: nat] :
      ( ( P2 @ K2 )
     => ( ! [Y3: A] :
            ( ( P2 @ Y3 )
           => ( ord_less @ nat @ ( F3 @ Y3 ) @ B2 ) )
       => ( P2 @ ( lattices_ord_arg_max @ A @ nat @ F3 @ P2 ) ) ) ) ).

% arg_max_natI
thf(fact_565_mod__h__bot__indep,axiom,
    ! [P2: assn,H: heap_ext @ product_unit,H5: heap_ext @ product_unit] :
      ( ( rep_assn @ P2 @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ ( bot_bot @ ( set @ nat ) ) ) )
      = ( rep_assn @ P2 @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H5 @ ( bot_bot @ ( set @ nat ) ) ) ) ) ).

% mod_h_bot_indep
thf(fact_566_assert__cong,axiom,
    ! [B: $tType,A: $tType,P2: A > $o,P6: A > $o,F3: A > ( heap_Time_Heap @ B ),F6: A > ( heap_Time_Heap @ B ),X: A] :
      ( ( P2 = P6 )
     => ( ! [X3: A] :
            ( ( P6 @ X3 )
           => ( ( F3 @ X3 )
              = ( F6 @ X3 ) ) )
       => ( ( heap_Time_bind @ A @ B @ ( heap_Time_assert @ A @ P2 @ X ) @ F3 )
          = ( heap_Time_bind @ A @ B @ ( heap_Time_assert @ A @ P6 @ X ) @ F6 ) ) ) ) ).

% assert_cong
thf(fact_567_success__assertI,axiom,
    ! [A: $tType,P2: A > $o,X: A,H: heap_ext @ product_unit] :
      ( ( P2 @ X )
     => ( heap_Time_success @ A @ ( heap_Time_assert @ A @ P2 @ X ) @ H ) ) ).

% success_assertI
thf(fact_568_arg__max__equality,axiom,
    ! [A: $tType,C: $tType] :
      ( ( order @ A )
     => ! [P2: C > $o,K2: C,F3: C > A] :
          ( ( P2 @ K2 )
         => ( ! [X3: C] :
                ( ( P2 @ X3 )
               => ( ord_less_eq @ A @ ( F3 @ X3 ) @ ( F3 @ K2 ) ) )
           => ( ( F3 @ ( lattices_ord_arg_max @ C @ A @ F3 @ P2 ) )
              = ( F3 @ K2 ) ) ) ) ) ).

% arg_max_equality
thf(fact_569_arg__maxI,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ord @ B )
     => ! [P2: A > $o,X: A,F3: A > B,Q2: A > $o] :
          ( ( P2 @ X )
         => ( ! [Y3: A] :
                ( ( P2 @ Y3 )
               => ~ ( ord_less @ B @ ( F3 @ X ) @ ( F3 @ Y3 ) ) )
           => ( ! [X3: A] :
                  ( ( P2 @ X3 )
                 => ( ! [Y5: A] :
                        ( ( P2 @ Y5 )
                       => ~ ( ord_less @ B @ ( F3 @ X3 ) @ ( F3 @ Y5 ) ) )
                   => ( Q2 @ X3 ) ) )
             => ( Q2 @ ( lattices_ord_arg_max @ A @ B @ F3 @ P2 ) ) ) ) ) ) ).

% arg_maxI
thf(fact_570_arg__max__on__def,axiom,
    ! [A: $tType,B: $tType] :
      ( ( ord @ A )
     => ( ( lattic1883929316492267755max_on @ B @ A )
        = ( ^ [F4: B > A,S4: set @ B] :
              ( lattices_ord_arg_max @ B @ A @ F4
              @ ^ [X4: B] : ( member @ B @ X4 @ S4 ) ) ) ) ) ).

% arg_max_on_def
thf(fact_571_mod__h__bot__iff_I3_J,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [P3: ref @ A,X: A,H: heap_ext @ product_unit] :
          ~ ( rep_assn @ ( sngr_assn @ A @ P3 @ X ) @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ ( bot_bot @ ( set @ nat ) ) ) ) ) ).

% mod_h_bot_iff(3)
thf(fact_572_sup__bot_Osemilattice__neutr__order__axioms,axiom,
    ! [A: $tType] :
      ( ( bounde4967611905675639751up_bot @ A )
     => ( semila1105856199041335345_order @ A @ ( sup_sup @ A ) @ ( bot_bot @ A )
        @ ^ [X4: A,Y4: A] : ( ord_less_eq @ A @ Y4 @ X4 )
        @ ^ [X4: A,Y4: A] : ( ord_less @ A @ Y4 @ X4 ) ) ) ).

% sup_bot.semilattice_neutr_order_axioms
thf(fact_573_mod__h__bot__iff_I4_J,axiom,
    ! [B: $tType] :
      ( ( heap @ B )
     => ! [Q6: array @ B,Y: list @ B,H: heap_ext @ product_unit] :
          ~ ( rep_assn @ ( snga_assn @ B @ Q6 @ Y ) @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ ( bot_bot @ ( set @ nat ) ) ) ) ) ).

% mod_h_bot_iff(4)
thf(fact_574_execute__assert_I1_J,axiom,
    ! [A: $tType,P2: A > $o,X: A,H: heap_ext @ product_unit] :
      ( ( P2 @ X )
     => ( ( heap_Time_execute @ A @ ( heap_Time_assert @ A @ P2 @ X ) @ H )
        = ( some @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( product_Pair @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ X @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ H @ ( one_one @ nat ) ) ) ) ) ) ).

% execute_assert(1)
thf(fact_575_mod__h__bot__iff_I8_J,axiom,
    ! [C: $tType,R4: C > assn,H: heap_ext @ product_unit] :
      ( ( rep_assn @ ( ex_assn @ C @ R4 ) @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ ( bot_bot @ ( set @ nat ) ) ) )
      = ( ? [X4: C] : ( rep_assn @ ( R4 @ X4 ) @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ ( bot_bot @ ( set @ nat ) ) ) ) ) ) ).

% mod_h_bot_iff(8)
thf(fact_576_the__dflt__None__empty,axiom,
    ! [A: $tType] :
      ( ( dflt_None_set @ A @ ( bot_bot @ ( set @ A ) ) )
      = ( none @ ( set @ A ) ) ) ).

% the_dflt_None_empty
thf(fact_577_the__dflt__None__nonempty,axiom,
    ! [A: $tType,S: set @ A] :
      ( ( S
       != ( bot_bot @ ( set @ A ) ) )
     => ( ( dflt_None_set @ A @ S )
        = ( some @ ( set @ A ) @ S ) ) ) ).

% the_dflt_None_nonempty
thf(fact_578_the__dflt__None__set,axiom,
    ! [A: $tType,X: set @ A] :
      ( ( the_default @ ( set @ A ) @ ( bot_bot @ ( set @ A ) ) @ ( dflt_None_set @ A @ X ) )
      = X ) ).

% the_dflt_None_set
thf(fact_579_bot_Oordering__top__axioms,axiom,
    ! [A: $tType] :
      ( ( order_bot @ A )
     => ( ordering_top @ A
        @ ^ [X4: A,Y4: A] : ( ord_less_eq @ A @ Y4 @ X4 )
        @ ^ [X4: A,Y4: A] : ( ord_less @ A @ Y4 @ X4 )
        @ ( bot_bot @ A ) ) ) ).

% bot.ordering_top_axioms
thf(fact_580_false__rule,axiom,
    ! [A: $tType,C3: heap_Time_Heap @ A,Q2: A > assn] : ( hoare_hoare_triple @ A @ ( bot_bot @ assn ) @ C3 @ Q2 ) ).

% false_rule
thf(fact_581_ex__assn__const,axiom,
    ! [A: $tType,C3: assn] :
      ( ( ex_assn @ A
        @ ^ [X4: A] : C3 )
      = C3 ) ).

% ex_assn_const
thf(fact_582_bijective__Empty,axiom,
    ! [B: $tType,A: $tType] : ( bijective @ A @ B @ ( bot_bot @ ( set @ ( product_prod @ A @ B ) ) ) ) ).

% bijective_Empty
thf(fact_583_set__to__map__empty,axiom,
    ! [B: $tType,A: $tType] :
      ( ( set_to_map @ A @ B @ ( bot_bot @ ( set @ ( product_prod @ A @ B ) ) ) )
      = ( ^ [X4: A] : ( none @ B ) ) ) ).

% set_to_map_empty
thf(fact_584_mod__ex__dist,axiom,
    ! [A: $tType,P2: A > assn,H: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
      ( ( rep_assn @ ( ex_assn @ A @ P2 ) @ H )
      = ( ? [X4: A] : ( rep_assn @ ( P2 @ X4 ) @ H ) ) ) ).

% mod_ex_dist
thf(fact_585_ordering__top_Oextremum,axiom,
    ! [A: $tType,Less_eq: A > A > $o,Less: A > A > $o,Top: A,A3: A] :
      ( ( ordering_top @ A @ Less_eq @ Less @ Top )
     => ( Less_eq @ A3 @ Top ) ) ).

% ordering_top.extremum
thf(fact_586_ordering__top_Oextremum__strict,axiom,
    ! [A: $tType,Less_eq: A > A > $o,Less: A > A > $o,Top: A,A3: A] :
      ( ( ordering_top @ A @ Less_eq @ Less @ Top )
     => ~ ( Less @ Top @ A3 ) ) ).

% ordering_top.extremum_strict
thf(fact_587_ordering__top_Oextremum__unique,axiom,
    ! [A: $tType,Less_eq: A > A > $o,Less: A > A > $o,Top: A,A3: A] :
      ( ( ordering_top @ A @ Less_eq @ Less @ Top )
     => ( ( Less_eq @ Top @ A3 )
        = ( A3 = Top ) ) ) ).

% ordering_top.extremum_unique
thf(fact_588_ordering__top_Onot__eq__extremum,axiom,
    ! [A: $tType,Less_eq: A > A > $o,Less: A > A > $o,Top: A,A3: A] :
      ( ( ordering_top @ A @ Less_eq @ Less @ Top )
     => ( ( A3 != Top )
        = ( Less @ A3 @ Top ) ) ) ).

% ordering_top.not_eq_extremum
thf(fact_589_ordering__top_Oextremum__uniqueI,axiom,
    ! [A: $tType,Less_eq: A > A > $o,Less: A > A > $o,Top: A,A3: A] :
      ( ( ordering_top @ A @ Less_eq @ Less @ Top )
     => ( ( Less_eq @ Top @ A3 )
       => ( A3 = Top ) ) ) ).

% ordering_top.extremum_uniqueI
thf(fact_590_bot__empty__eq2,axiom,
    ! [B: $tType,A: $tType] :
      ( ( bot_bot @ ( A > B > $o ) )
      = ( ^ [X4: A,Y4: B] : ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X4 @ Y4 ) @ ( bot_bot @ ( set @ ( product_prod @ A @ B ) ) ) ) ) ) ).

% bot_empty_eq2
thf(fact_591_bot__set__def,axiom,
    ! [A: $tType] :
      ( ( bot_bot @ ( set @ A ) )
      = ( collect @ A @ ( bot_bot @ ( A > $o ) ) ) ) ).

% bot_set_def
thf(fact_592_bot__option__def,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ( ( bot_bot @ ( option @ A ) )
        = ( none @ A ) ) ) ).

% bot_option_def
thf(fact_593_mod__false,axiom,
    ! [H: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
      ~ ( rep_assn @ ( bot_bot @ assn ) @ H ) ).

% mod_false
thf(fact_594_less__by__empty,axiom,
    ! [A: $tType,A6: set @ ( product_prod @ A @ A ),B6: set @ ( product_prod @ A @ A )] :
      ( ( A6
        = ( bot_bot @ ( set @ ( product_prod @ A @ A ) ) ) )
     => ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ A6 @ B6 ) ) ).

% less_by_empty
thf(fact_595_mod__exE,axiom,
    ! [A: $tType,P2: A > assn,H: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
      ( ( rep_assn @ ( ex_assn @ A @ P2 ) @ H )
     => ~ ! [X3: A] :
            ~ ( rep_assn @ ( P2 @ X3 ) @ H ) ) ).

% mod_exE
thf(fact_596_mod__exI,axiom,
    ! [A: $tType,P2: A > assn,H: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
      ( ? [X6: A] : ( rep_assn @ ( P2 @ X6 ) @ H )
     => ( rep_assn @ ( ex_assn @ A @ P2 ) @ H ) ) ).

% mod_exI
thf(fact_597_ex__one__point__gen,axiom,
    ! [A: $tType,P2: A > assn,V2: A] :
      ( ! [H2: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ),X3: A] :
          ( ( rep_assn @ ( P2 @ X3 ) @ H2 )
         => ( X3 = V2 ) )
     => ( ( ex_assn @ A @ P2 )
        = ( P2 @ V2 ) ) ) ).

% ex_one_point_gen
thf(fact_598_post__exI__rule,axiom,
    ! [B: $tType,A: $tType,P2: assn,C3: heap_Time_Heap @ A,Q2: A > B > assn,X: B] :
      ( ( hoare_hoare_triple @ A @ P2 @ C3
        @ ^ [R5: A] : ( Q2 @ R5 @ X ) )
     => ( hoare_hoare_triple @ A @ P2 @ C3
        @ ^ [R5: A] : ( ex_assn @ B @ ( Q2 @ R5 ) ) ) ) ).

% post_exI_rule
thf(fact_599_norm__pre__ex__rule,axiom,
    ! [A: $tType,B: $tType,P2: A > assn,F3: heap_Time_Heap @ B,Q2: B > assn] :
      ( ! [X3: A] : ( hoare_hoare_triple @ B @ ( P2 @ X3 ) @ F3 @ Q2 )
     => ( hoare_hoare_triple @ B @ ( ex_assn @ A @ P2 ) @ F3 @ Q2 ) ) ).

% norm_pre_ex_rule
thf(fact_600_ex__join__or,axiom,
    ! [A: $tType,P2: A > assn,Q2: A > assn] :
      ( ( ex_assn @ A
        @ ^ [X4: A] : ( sup_sup @ assn @ ( P2 @ X4 ) @ ( ex_assn @ A @ Q2 ) ) )
      = ( ex_assn @ A
        @ ^ [X4: A] : ( sup_sup @ assn @ ( P2 @ X4 ) @ ( Q2 @ X4 ) ) ) ) ).

% ex_join_or
thf(fact_601_ex__distrib__or,axiom,
    ! [A: $tType,P2: A > assn,Q2: assn] :
      ( ( ex_assn @ A
        @ ^ [X4: A] : ( sup_sup @ assn @ ( P2 @ X4 ) @ Q2 ) )
      = ( sup_sup @ assn @ ( ex_assn @ A @ P2 ) @ Q2 ) ) ).

% ex_distrib_or
thf(fact_602_raise__rule,axiom,
    ! [A: $tType,S2: list @ char,Q2: A > assn] : ( hoare_hoare_triple @ A @ ( bot_bot @ assn ) @ ( heap_Time_raise @ A @ S2 ) @ Q2 ) ).

% raise_rule
thf(fact_603_raise__iff,axiom,
    ! [A: $tType,P2: assn,S2: list @ char,Q2: A > assn] :
      ( ( hoare_hoare_triple @ A @ P2 @ ( heap_Time_raise @ A @ S2 ) @ Q2 )
      = ( P2
        = ( bot_bot @ assn ) ) ) ).

% raise_iff
thf(fact_604_set__to__map__empty__iff_I1_J,axiom,
    ! [B: $tType,A: $tType,S: set @ ( product_prod @ A @ B )] :
      ( ( ( set_to_map @ A @ B @ S )
        = ( ^ [X4: A] : ( none @ B ) ) )
      = ( S
        = ( bot_bot @ ( set @ ( product_prod @ A @ B ) ) ) ) ) ).

% set_to_map_empty_iff(1)
thf(fact_605_effect__assertI,axiom,
    ! [A: $tType,P2: A > $o,X: A,H5: heap_ext @ product_unit,H: heap_ext @ product_unit,R3: A,N: nat] :
      ( ( P2 @ X )
     => ( ( H5 = H )
       => ( ( R3 = X )
         => ( ( N
              = ( one_one @ nat ) )
           => ( heap_Time_effect @ A @ ( heap_Time_assert @ A @ P2 @ X ) @ H @ H5 @ R3 @ N ) ) ) ) ) ).

% effect_assertI
thf(fact_606_effect__assertE,axiom,
    ! [A: $tType,P2: A > $o,X: A,H: heap_ext @ product_unit,H5: heap_ext @ product_unit,R3: A,N: nat] :
      ( ( heap_Time_effect @ A @ ( heap_Time_assert @ A @ P2 @ X ) @ H @ H5 @ R3 @ N )
     => ~ ( ( P2 @ X )
         => ( ( R3 = X )
           => ( ( H5 = H )
             => ( N
               != ( one_one @ nat ) ) ) ) ) ) ).

% effect_assertE
thf(fact_607_set__to__map__empty__iff_I2_J,axiom,
    ! [B: $tType,A: $tType,S: set @ ( product_prod @ A @ B )] :
      ( ( ( ^ [X4: A] : ( none @ B ) )
        = ( set_to_map @ A @ B @ S ) )
      = ( S
        = ( bot_bot @ ( set @ ( product_prod @ A @ B ) ) ) ) ) ).

% set_to_map_empty_iff(2)
thf(fact_608_dflt__None__set__def,axiom,
    ! [A: $tType] :
      ( ( dflt_None_set @ A )
      = ( ^ [S4: set @ A] :
            ( if @ ( option @ ( set @ A ) )
            @ ( S4
              = ( bot_bot @ ( set @ A ) ) )
            @ ( none @ ( set @ A ) )
            @ ( some @ ( set @ A ) @ S4 ) ) ) ) ).

% dflt_None_set_def
thf(fact_609_rel__of__empty,axiom,
    ! [B: $tType,A: $tType,P2: ( product_prod @ A @ B ) > $o] :
      ( ( rel_of @ A @ B
        @ ^ [X4: A] : ( none @ B )
        @ P2 )
      = ( bot_bot @ ( set @ ( product_prod @ A @ B ) ) ) ) ).

% rel_of_empty
thf(fact_610_discrete,axiom,
    ! [A: $tType] :
      ( ( unique1627219031080169319umeral @ A )
     => ( ( ord_less @ A )
        = ( ^ [A7: A] : ( ord_less_eq @ A @ ( plus_plus @ A @ A7 @ ( one_one @ A ) ) ) ) ) ) ).

% discrete
thf(fact_611_tap__def,axiom,
    ! [A: $tType] :
      ( ( heap_Time_tap @ A )
      = ( ^ [F4: ( heap_ext @ product_unit ) > A] :
            ( heap_Time_Heap2 @ A
            @ ^ [H7: heap_ext @ product_unit] : ( some @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( product_Pair @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ ( F4 @ H7 ) @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ H7 @ ( one_one @ nat ) ) ) ) ) ) ) ).

% tap_def
thf(fact_612_execute__tap,axiom,
    ! [A: $tType,F3: ( heap_ext @ product_unit ) > A,H: heap_ext @ product_unit] :
      ( ( heap_Time_execute @ A @ ( heap_Time_tap @ A @ F3 ) @ H )
      = ( some @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( product_Pair @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ ( F3 @ H ) @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ H @ ( one_one @ nat ) ) ) ) ) ).

% execute_tap
thf(fact_613_add__mono1,axiom,
    ! [A: $tType] :
      ( ( linord181362715937106298miring @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ( ord_less @ A @ ( plus_plus @ A @ A3 @ ( one_one @ A ) ) @ ( plus_plus @ A @ B2 @ ( one_one @ A ) ) ) ) ) ).

% add_mono1
thf(fact_614_less__add__one,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [A3: A] : ( ord_less @ A @ A3 @ ( plus_plus @ A @ A3 @ ( one_one @ A ) ) ) ) ).

% less_add_one
thf(fact_615_bind__return,axiom,
    ! [A: $tType,F3: heap_Time_Heap @ A] :
      ( ( heap_Time_bind @ A @ A @ F3 @ ( heap_Time_return @ A ) )
      = ( heap_Time_bind @ product_unit @ A @ ( heap_Time_wait @ ( one_one @ nat ) )
        @ ^ [Uu2: product_unit] : F3 ) ) ).

% bind_return
thf(fact_616_return__bind,axiom,
    ! [B: $tType,A: $tType,X: B,F3: B > ( heap_Time_Heap @ A )] :
      ( ( heap_Time_bind @ B @ A @ ( heap_Time_return @ B @ X ) @ F3 )
      = ( heap_Time_bind @ product_unit @ A @ ( heap_Time_wait @ ( one_one @ nat ) )
        @ ^ [Uu2: product_unit] : ( F3 @ X ) ) ) ).

% return_bind
thf(fact_617_lookup__chain,axiom,
    ! [B: $tType,A: $tType] :
      ( ( heap @ B )
     => ! [R3: ref @ B,F3: heap_Time_Heap @ A] :
          ( ( heap_Time_bind @ B @ A @ ( ref_lookup @ B @ R3 )
            @ ^ [Uu2: B] : F3 )
          = ( heap_Time_bind @ product_unit @ A @ ( heap_Time_wait @ ( one_one @ nat ) )
            @ ^ [Uu2: product_unit] : F3 ) ) ) ).

% lookup_chain
thf(fact_618_assn__basic__inequalities_I3_J,axiom,
    ( ( bot_bot @ assn )
   != ( one_one @ assn ) ) ).

% assn_basic_inequalities(3)
thf(fact_619_bot2E,axiom,
    ! [A: $tType,B: $tType,X: A,Y: B] :
      ~ ( bot_bot @ ( A > B > $o ) @ X @ Y ) ).

% bot2E
thf(fact_620_fold__if__return,axiom,
    ! [A: $tType,B2: $o,C3: A,D3: A] :
      ( ( B2
       => ( ( heap_Time_return @ A @ C3 )
          = ( heap_Time_return @ A @ ( if @ A @ B2 @ C3 @ D3 ) ) ) )
      & ( ~ B2
       => ( ( heap_Time_return @ A @ D3 )
          = ( heap_Time_return @ A @ ( if @ A @ B2 @ C3 @ D3 ) ) ) ) ) ).

% fold_if_return
thf(fact_621_success__lookupI,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [R3: ref @ A,H: heap_ext @ product_unit] : ( heap_Time_success @ A @ ( ref_lookup @ A @ R3 ) @ H ) ) ).

% success_lookupI
thf(fact_622_return__wp__rule,axiom,
    ! [A: $tType,Q2: A > assn,X: A] : ( hoare_hoare_triple @ A @ ( Q2 @ X ) @ ( heap_Time_return @ A @ X ) @ Q2 ) ).

% return_wp_rule
thf(fact_623_success__returnI,axiom,
    ! [A: $tType,X: A,H: heap_ext @ product_unit] : ( heap_Time_success @ A @ ( heap_Time_return @ A @ X ) @ H ) ).

% success_returnI
thf(fact_624_wait__rule,axiom,
    ! [N: nat] :
      ( hoare_hoare_triple @ product_unit @ ( one_one @ assn ) @ ( heap_Time_wait @ N )
      @ ^ [Uu2: product_unit] : ( one_one @ assn ) ) ).

% wait_rule
thf(fact_625_success__tapI,axiom,
    ! [A: $tType,F3: ( heap_ext @ product_unit ) > A,H: heap_ext @ product_unit] : ( heap_Time_success @ A @ ( heap_Time_tap @ A @ F3 ) @ H ) ).

% success_tapI
thf(fact_626_linorder__neqE__linordered__idom,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [X: A,Y: A] :
          ( ( X != Y )
         => ( ~ ( ord_less @ A @ X @ Y )
           => ( ord_less @ A @ Y @ X ) ) ) ) ).

% linorder_neqE_linordered_idom
thf(fact_627_bounded__Max__nat,axiom,
    ! [P2: nat > $o,X: nat,M6: nat] :
      ( ( P2 @ X )
     => ( ! [X3: nat] :
            ( ( P2 @ X3 )
           => ( ord_less_eq @ nat @ X3 @ M6 ) )
       => ~ ! [M5: nat] :
              ( ( P2 @ M5 )
             => ~ ! [X6: nat] :
                    ( ( P2 @ X6 )
                   => ( ord_less_eq @ nat @ X6 @ M5 ) ) ) ) ) ).

% bounded_Max_nat
thf(fact_628_effect__returnE,axiom,
    ! [A: $tType,X: A,H: heap_ext @ product_unit,H5: heap_ext @ product_unit,R3: A,N: nat] :
      ( ( heap_Time_effect @ A @ ( heap_Time_return @ A @ X ) @ H @ H5 @ R3 @ N )
     => ~ ( ( R3 = X )
         => ( ( H5 = H )
           => ( N
             != ( one_one @ nat ) ) ) ) ) ).

% effect_returnE
thf(fact_629_effect__returnI,axiom,
    ! [A: $tType,H: heap_ext @ product_unit,H5: heap_ext @ product_unit,X: A] :
      ( ( H = H5 )
     => ( heap_Time_effect @ A @ ( heap_Time_return @ A @ X ) @ H @ H5 @ X @ ( one_one @ nat ) ) ) ).

% effect_returnI
thf(fact_630_mod__emp__simp,axiom,
    ! [H: heap_ext @ product_unit] : ( rep_assn @ ( one_one @ assn ) @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ ( bot_bot @ ( set @ nat ) ) ) ) ).

% mod_emp_simp
thf(fact_631_effect__tapE,axiom,
    ! [A: $tType,F3: ( heap_ext @ product_unit ) > A,H: heap_ext @ product_unit,H5: heap_ext @ product_unit,R3: A,N: nat] :
      ( ( heap_Time_effect @ A @ ( heap_Time_tap @ A @ F3 ) @ H @ H5 @ R3 @ N )
     => ~ ( ( H5 = H )
         => ( ( R3
              = ( F3 @ H ) )
           => ( N
             != ( one_one @ nat ) ) ) ) ) ).

% effect_tapE
thf(fact_632_effect__tapI,axiom,
    ! [A: $tType,H5: heap_ext @ product_unit,H: heap_ext @ product_unit,R3: A,F3: ( heap_ext @ product_unit ) > A] :
      ( ( H5 = H )
     => ( ( R3
          = ( F3 @ H ) )
       => ( heap_Time_effect @ A @ ( heap_Time_tap @ A @ F3 ) @ H @ H5 @ R3 @ ( one_one @ nat ) ) ) ) ).

% effect_tapI
thf(fact_633_return__def,axiom,
    ! [A: $tType] :
      ( ( heap_Time_return @ A )
      = ( ^ [X4: A] :
            ( heap_Time_heap @ A
            @ ^ [H7: heap_ext @ product_unit] : ( product_Pair @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ X4 @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ H7 @ ( one_one @ nat ) ) ) ) ) ) ).

% return_def
thf(fact_634_fold__atLeastAtMost__nat_Opinduct,axiom,
    ! [A: $tType,A0: nat > A > A,A1: nat,A22: nat,A32: A,P2: ( nat > A > A ) > nat > nat > A > $o] :
      ( ( accp @ ( product_prod @ ( nat > A > A ) @ ( product_prod @ nat @ ( product_prod @ nat @ A ) ) ) @ ( set_fo1817059534552279752at_rel @ A ) @ ( product_Pair @ ( nat > A > A ) @ ( product_prod @ nat @ ( product_prod @ nat @ A ) ) @ A0 @ ( product_Pair @ nat @ ( product_prod @ nat @ A ) @ A1 @ ( product_Pair @ nat @ A @ A22 @ A32 ) ) ) )
     => ( ! [F: nat > A > A,A5: nat,B4: nat,Acc: A] :
            ( ( accp @ ( product_prod @ ( nat > A > A ) @ ( product_prod @ nat @ ( product_prod @ nat @ A ) ) ) @ ( set_fo1817059534552279752at_rel @ A ) @ ( product_Pair @ ( nat > A > A ) @ ( product_prod @ nat @ ( product_prod @ nat @ A ) ) @ F @ ( product_Pair @ nat @ ( product_prod @ nat @ A ) @ A5 @ ( product_Pair @ nat @ A @ B4 @ Acc ) ) ) )
           => ( ( ~ ( ord_less @ nat @ B4 @ A5 )
               => ( P2 @ F @ ( plus_plus @ nat @ A5 @ ( one_one @ nat ) ) @ B4 @ ( F @ A5 @ Acc ) ) )
             => ( P2 @ F @ A5 @ B4 @ Acc ) ) )
       => ( P2 @ A0 @ A1 @ A22 @ A32 ) ) ) ).

% fold_atLeastAtMost_nat.pinduct
thf(fact_635_bind__lift,axiom,
    ! [A: $tType,B: $tType,F3: heap_Time_Heap @ B,G3: B > A] :
      ( ( heap_Time_bind @ B @ A @ F3 @ ( heap_Time_lift @ B @ A @ G3 ) )
      = ( heap_Time_bind @ B @ A @ F3
        @ ^ [X4: B] : ( heap_Time_return @ A @ ( G3 @ X4 ) ) ) ) ).

% bind_lift
thf(fact_636_lift__collapse,axiom,
    ! [A: $tType,B: $tType] :
      ( ( heap_Time_lift @ B @ A )
      = ( ^ [F4: B > A,X4: B] : ( heap_Time_return @ A @ ( F4 @ X4 ) ) ) ) ).

% lift_collapse
thf(fact_637_execute__lookup,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [R3: ref @ A,H: heap_ext @ product_unit] :
          ( ( heap_Time_execute @ A @ ( ref_lookup @ A @ R3 ) @ H )
          = ( some @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( product_Pair @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ ( ref_get @ A @ H @ R3 ) @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ H @ ( one_one @ nat ) ) ) ) ) ) ).

% execute_lookup
thf(fact_638_execute__return,axiom,
    ! [A: $tType,X: A] :
      ( ( heap_Time_execute @ A @ ( heap_Time_return @ A @ X ) )
      = ( comp @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( option @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) @ ( heap_ext @ product_unit ) @ ( some @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) )
        @ ^ [H7: heap_ext @ product_unit] : ( product_Pair @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ X @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ H7 @ ( one_one @ nat ) ) ) ) ) ).

% execute_return
thf(fact_639_less__numeral__extra_I4_J,axiom,
    ! [A: $tType] :
      ( ( linord181362715937106298miring @ A )
     => ~ ( ord_less @ A @ ( one_one @ A ) @ ( one_one @ A ) ) ) ).

% less_numeral_extra(4)
thf(fact_640_le__numeral__extra_I4_J,axiom,
    ! [A: $tType] :
      ( ( linord181362715937106298miring @ A )
     => ( ord_less_eq @ A @ ( one_one @ A ) @ ( one_one @ A ) ) ) ).

% le_numeral_extra(4)
thf(fact_641_change__def,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ( ( ref_change @ A )
        = ( ^ [F4: A > A,R5: ref @ A] :
              ( heap_Time_bind @ A @ A @ ( ref_lookup @ A @ R5 )
              @ ^ [X4: A] :
                  ( heap_Time_bind @ product_unit @ A @ ( ref_update @ A @ R5 @ ( F4 @ X4 ) )
                  @ ^ [Uu2: product_unit] : ( heap_Time_return @ A @ ( F4 @ X4 ) ) ) ) ) ) ) ).

% change_def
thf(fact_642_map__to__set__empty,axiom,
    ! [B: $tType,A: $tType] :
      ( ( map_to_set @ A @ B
        @ ^ [X4: A] : ( none @ B ) )
      = ( bot_bot @ ( set @ ( product_prod @ A @ B ) ) ) ) ).

% map_to_set_empty
thf(fact_643_type__copy__map__cong0,axiom,
    ! [B: $tType,D: $tType,E: $tType,A: $tType,C: $tType,M6: B > A,G3: C > B,X: C,N7: D > A,H: C > D,F3: A > E] :
      ( ( ( M6 @ ( G3 @ X ) )
        = ( N7 @ ( H @ X ) ) )
     => ( ( comp @ B @ E @ C @ ( comp @ A @ E @ B @ F3 @ M6 ) @ G3 @ X )
        = ( comp @ D @ E @ C @ ( comp @ A @ E @ D @ F3 @ N7 ) @ H @ X ) ) ) ).

% type_copy_map_cong0
thf(fact_644_comp__cong__left,axiom,
    ! [B: $tType,A: $tType,C: $tType,X: A > B,Y: A > B,F3: C > A] :
      ( ( X = Y )
     => ( ( comp @ A @ B @ C @ X @ F3 )
        = ( comp @ A @ B @ C @ Y @ F3 ) ) ) ).

% comp_cong_left
thf(fact_645_comp__cong__right,axiom,
    ! [C: $tType,B: $tType,A: $tType,X: A > B,Y: A > B,F3: B > C] :
      ( ( X = Y )
     => ( ( comp @ B @ C @ A @ F3 @ X )
        = ( comp @ B @ C @ A @ F3 @ Y ) ) ) ).

% comp_cong_right
thf(fact_646_fun__comp__eq__conv,axiom,
    ! [B: $tType,C: $tType,A: $tType,F3: C > B,G3: A > C,Fg: A > B] :
      ( ( ( comp @ C @ B @ A @ F3 @ G3 )
        = Fg )
      = ( ! [X4: A] :
            ( ( F3 @ ( G3 @ X4 ) )
            = ( Fg @ X4 ) ) ) ) ).

% fun_comp_eq_conv
thf(fact_647_comp__cong,axiom,
    ! [C: $tType,B: $tType,D: $tType,A: $tType,E: $tType,F3: B > A,G3: C > B,X: C,F6: D > A,G5: E > D,X10: E] :
      ( ( ( F3 @ ( G3 @ X ) )
        = ( F6 @ ( G5 @ X10 ) ) )
     => ( ( comp @ B @ A @ C @ F3 @ G3 @ X )
        = ( comp @ D @ A @ E @ F6 @ G5 @ X10 ) ) ) ).

% comp_cong
thf(fact_648_execute__heap,axiom,
    ! [A: $tType,F3: ( heap_ext @ product_unit ) > ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) )] :
      ( ( heap_Time_execute @ A @ ( heap_Time_heap @ A @ F3 ) )
      = ( comp @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( option @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) @ ( heap_ext @ product_unit ) @ ( some @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) @ F3 ) ) ).

% execute_heap
thf(fact_649_heap__def,axiom,
    ! [A: $tType] :
      ( ( heap_Time_heap @ A )
      = ( ^ [F4: ( heap_ext @ product_unit ) > ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) )] : ( heap_Time_Heap2 @ A @ ( comp @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( option @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) @ ( heap_ext @ product_unit ) @ ( some @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) @ F4 ) ) ) ) ).

% heap_def
thf(fact_650_map__to__set__inverse,axiom,
    ! [B: $tType,A: $tType,M: A > ( option @ B )] :
      ( ( set_to_map @ A @ B @ ( map_to_set @ A @ B @ M ) )
      = M ) ).

% map_to_set_inverse
thf(fact_651_success__heapI,axiom,
    ! [A: $tType,F3: ( heap_ext @ product_unit ) > ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ),H: heap_ext @ product_unit] : ( heap_Time_success @ A @ ( heap_Time_heap @ A @ F3 ) @ H ) ).

% success_heapI
thf(fact_652_success__changeI,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [F3: A > A,R3: ref @ A,H: heap_ext @ product_unit] : ( heap_Time_success @ A @ ( ref_change @ A @ F3 @ R3 ) @ H ) ) ).

% success_changeI
thf(fact_653_is__num__normalize_I1_J,axiom,
    ! [A: $tType] :
      ( ( neg_numeral @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( plus_plus @ A @ ( plus_plus @ A @ A3 @ B2 ) @ C3 )
          = ( plus_plus @ A @ A3 @ ( plus_plus @ A @ B2 @ C3 ) ) ) ) ).

% is_num_normalize(1)
thf(fact_654_map__to__set__empty__iff_I2_J,axiom,
    ! [B: $tType,A: $tType,M: A > ( option @ B )] :
      ( ( ( bot_bot @ ( set @ ( product_prod @ A @ B ) ) )
        = ( map_to_set @ A @ B @ M ) )
      = ( M
        = ( ^ [X4: A] : ( none @ B ) ) ) ) ).

% map_to_set_empty_iff(2)
thf(fact_655_map__to__set__empty__iff_I1_J,axiom,
    ! [B: $tType,A: $tType,M: A > ( option @ B )] :
      ( ( ( map_to_set @ A @ B @ M )
        = ( bot_bot @ ( set @ ( product_prod @ A @ B ) ) ) )
      = ( M
        = ( ^ [X4: A] : ( none @ B ) ) ) ) ).

% map_to_set_empty_iff(1)
thf(fact_656_update__rule,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [P3: ref @ A,Y: A,X: A] :
          ( hoare_hoare_triple @ product_unit @ ( sngr_assn @ A @ P3 @ Y ) @ ( ref_update @ A @ P3 @ X )
          @ ^ [R5: product_unit] : ( sngr_assn @ A @ P3 @ X ) ) ) ).

% update_rule
thf(fact_657_lookup__def,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ( ( ref_lookup @ A )
        = ( ^ [R5: ref @ A] :
              ( heap_Time_tap @ A
              @ ^ [H7: heap_ext @ product_unit] : ( ref_get @ A @ H7 @ R5 ) ) ) ) ) ).

% lookup_def
thf(fact_658_effect__lookupE,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [R3: ref @ A,H: heap_ext @ product_unit,H5: heap_ext @ product_unit,X: A,N: nat] :
          ( ( heap_Time_effect @ A @ ( ref_lookup @ A @ R3 ) @ H @ H5 @ X @ N )
         => ~ ( ( H5 = H )
             => ( ( X
                  = ( ref_get @ A @ H @ R3 ) )
               => ( N
                 != ( one_one @ nat ) ) ) ) ) ) ).

% effect_lookupE
thf(fact_659_effect__lookupI,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [H5: heap_ext @ product_unit,H: heap_ext @ product_unit,X: A,R3: ref @ A,N: nat] :
          ( ( H5 = H )
         => ( ( X
              = ( ref_get @ A @ H @ R3 ) )
           => ( ( N
                = ( one_one @ nat ) )
             => ( heap_Time_effect @ A @ ( ref_lookup @ A @ R3 ) @ H @ H5 @ X @ N ) ) ) ) ) ).

% effect_lookupI
thf(fact_660_fold__atLeastAtMost__nat_Opsimps,axiom,
    ! [A: $tType,F3: nat > A > A,A3: nat,B2: nat,Acc2: A] :
      ( ( accp @ ( product_prod @ ( nat > A > A ) @ ( product_prod @ nat @ ( product_prod @ nat @ A ) ) ) @ ( set_fo1817059534552279752at_rel @ A ) @ ( product_Pair @ ( nat > A > A ) @ ( product_prod @ nat @ ( product_prod @ nat @ A ) ) @ F3 @ ( product_Pair @ nat @ ( product_prod @ nat @ A ) @ A3 @ ( product_Pair @ nat @ A @ B2 @ Acc2 ) ) ) )
     => ( ( ( ord_less @ nat @ B2 @ A3 )
         => ( ( set_fo6178422350223883121st_nat @ A @ F3 @ A3 @ B2 @ Acc2 )
            = Acc2 ) )
        & ( ~ ( ord_less @ nat @ B2 @ A3 )
         => ( ( set_fo6178422350223883121st_nat @ A @ F3 @ A3 @ B2 @ Acc2 )
            = ( set_fo6178422350223883121st_nat @ A @ F3 @ ( plus_plus @ nat @ A3 @ ( one_one @ nat ) ) @ B2 @ ( F3 @ A3 @ Acc2 ) ) ) ) ) ) ).

% fold_atLeastAtMost_nat.psimps
thf(fact_661_fold__atLeastAtMost__nat_Opelims,axiom,
    ! [A: $tType,X: nat > A > A,Xa: nat,Xb: nat,Xc: A,Y: A] :
      ( ( ( set_fo6178422350223883121st_nat @ A @ X @ Xa @ Xb @ Xc )
        = Y )
     => ( ( accp @ ( product_prod @ ( nat > A > A ) @ ( product_prod @ nat @ ( product_prod @ nat @ A ) ) ) @ ( set_fo1817059534552279752at_rel @ A ) @ ( product_Pair @ ( nat > A > A ) @ ( product_prod @ nat @ ( product_prod @ nat @ A ) ) @ X @ ( product_Pair @ nat @ ( product_prod @ nat @ A ) @ Xa @ ( product_Pair @ nat @ A @ Xb @ Xc ) ) ) )
       => ~ ( ( ( ( ord_less @ nat @ Xb @ Xa )
               => ( Y = Xc ) )
              & ( ~ ( ord_less @ nat @ Xb @ Xa )
               => ( Y
                  = ( set_fo6178422350223883121st_nat @ A @ X @ ( plus_plus @ nat @ Xa @ ( one_one @ nat ) ) @ Xb @ ( X @ Xa @ Xc ) ) ) ) )
           => ~ ( accp @ ( product_prod @ ( nat > A > A ) @ ( product_prod @ nat @ ( product_prod @ nat @ A ) ) ) @ ( set_fo1817059534552279752at_rel @ A ) @ ( product_Pair @ ( nat > A > A ) @ ( product_prod @ nat @ ( product_prod @ nat @ A ) ) @ X @ ( product_Pair @ nat @ ( product_prod @ nat @ A ) @ Xa @ ( product_Pair @ nat @ A @ Xb @ Xc ) ) ) ) ) ) ) ).

% fold_atLeastAtMost_nat.pelims
thf(fact_662_ref__rule,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [X: A] :
          ( hoare_hoare_triple @ ( ref @ A ) @ ( one_one @ assn ) @ ( ref_ref @ A @ X )
          @ ^ [R5: ref @ A] : ( sngr_assn @ A @ R5 @ X ) ) ) ).

% ref_rule
thf(fact_663_of__list__rule,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [Xs: list @ A] :
          ( hoare_hoare_triple @ ( array @ A ) @ ( one_one @ assn ) @ ( array_of_list @ A @ Xs )
          @ ^ [R5: array @ A] : ( snga_assn @ A @ R5 @ Xs ) ) ) ).

% of_list_rule
thf(fact_664_Set_Ois__empty__def,axiom,
    ! [A: $tType] :
      ( ( is_empty @ A )
      = ( ^ [A8: set @ A] :
            ( A8
            = ( bot_bot @ ( set @ A ) ) ) ) ) ).

% Set.is_empty_def
thf(fact_665_Heap__lub__empty,axiom,
    ! [A: $tType] :
      ( ( heap_Time_Heap_lub @ A @ ( bot_bot @ ( set @ ( heap_Time_Heap @ A ) ) ) )
      = ( heap_Time_Heap2 @ A
        @ ^ [X4: heap_ext @ product_unit] : ( none @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) ) ) ).

% Heap_lub_empty
thf(fact_666_fold__atLeastAtMost__nat_Osimps,axiom,
    ! [A: $tType] :
      ( ( set_fo6178422350223883121st_nat @ A )
      = ( ^ [F4: nat > A > A,A7: nat,B5: nat,Acc3: A] : ( if @ A @ ( ord_less @ nat @ B5 @ A7 ) @ Acc3 @ ( set_fo6178422350223883121st_nat @ A @ F4 @ ( plus_plus @ nat @ A7 @ ( one_one @ nat ) ) @ B5 @ ( F4 @ A7 @ Acc3 ) ) ) ) ) ).

% fold_atLeastAtMost_nat.simps
thf(fact_667_fold__atLeastAtMost__nat_Oelims,axiom,
    ! [A: $tType,X: nat > A > A,Xa: nat,Xb: nat,Xc: A,Y: A] :
      ( ( ( set_fo6178422350223883121st_nat @ A @ X @ Xa @ Xb @ Xc )
        = Y )
     => ( ( ( ord_less @ nat @ Xb @ Xa )
         => ( Y = Xc ) )
        & ( ~ ( ord_less @ nat @ Xb @ Xa )
         => ( Y
            = ( set_fo6178422350223883121st_nat @ A @ X @ ( plus_plus @ nat @ Xa @ ( one_one @ nat ) ) @ Xb @ ( X @ Xa @ Xc ) ) ) ) ) ) ).

% fold_atLeastAtMost_nat.elims
thf(fact_668_mod__h__bot__iff_I1_J,axiom,
    ! [B2: $o,H: heap_ext @ product_unit] :
      ( ( rep_assn @ ( pure_assn @ B2 ) @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ ( bot_bot @ ( set @ nat ) ) ) )
      = B2 ) ).

% mod_h_bot_iff(1)
thf(fact_669_fun_Omap__ident,axiom,
    ! [A: $tType,D: $tType,T5: D > A] :
      ( ( comp @ A @ A @ D
        @ ^ [X4: A] : X4
        @ T5 )
      = T5 ) ).

% fun.map_ident
thf(fact_670_pure__assn__eq__conv,axiom,
    ! [P2: $o,Q2: $o] :
      ( ( ( pure_assn @ P2 )
        = ( pure_assn @ Q2 ) )
      = ( P2 = Q2 ) ) ).

% pure_assn_eq_conv
thf(fact_671_merge__pure__or,axiom,
    ! [A3: $o,B2: $o] :
      ( ( sup_sup @ assn @ ( pure_assn @ A3 ) @ ( pure_assn @ B2 ) )
      = ( pure_assn
        @ ( A3
          | B2 ) ) ) ).

% merge_pure_or
thf(fact_672_pure__assn__eq__emp__iff,axiom,
    ! [P2: $o] :
      ( ( ( pure_assn @ P2 )
        = ( one_one @ assn ) )
      = P2 ) ).

% pure_assn_eq_emp_iff
thf(fact_673_pure__true,axiom,
    ( ( pure_assn @ $true )
    = ( one_one @ assn ) ) ).

% pure_true
thf(fact_674_pure__assn__eq__false__iff,axiom,
    ! [P2: $o] :
      ( ( ( pure_assn @ P2 )
        = ( bot_bot @ assn ) )
      = ~ P2 ) ).

% pure_assn_eq_false_iff
thf(fact_675_pure__false,axiom,
    ( ( pure_assn @ $false )
    = ( bot_bot @ assn ) ) ).

% pure_false
thf(fact_676_norm__pre__pure__iff__sng,axiom,
    ! [A: $tType,B2: $o,F3: heap_Time_Heap @ A,Q2: A > assn] :
      ( ( hoare_hoare_triple @ A @ ( pure_assn @ B2 ) @ F3 @ Q2 )
      = ( B2
       => ( hoare_hoare_triple @ A @ ( one_one @ assn ) @ F3 @ Q2 ) ) ) ).

% norm_pre_pure_iff_sng
thf(fact_677_norm__pre__pure__rule2,axiom,
    ! [A: $tType,B2: $o,F3: heap_Time_Heap @ A,Q2: A > assn] :
      ( ( B2
       => ( hoare_hoare_triple @ A @ ( one_one @ assn ) @ F3 @ Q2 ) )
     => ( hoare_hoare_triple @ A @ ( pure_assn @ B2 ) @ F3 @ Q2 ) ) ).

% norm_pre_pure_rule2
thf(fact_678_lift__def,axiom,
    ! [A: $tType,B: $tType] :
      ( ( heap_Time_lift @ A @ B )
      = ( comp @ B @ ( heap_Time_Heap @ B ) @ A @ ( heap_Time_return @ B ) ) ) ).

% lift_def
thf(fact_679_lookup__rule,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [P3: ref @ A,X: A] :
          ( hoare_hoare_triple @ A @ ( sngr_assn @ A @ P3 @ X ) @ ( ref_lookup @ A @ P3 )
          @ ^ [R5: A] : ( times_times @ assn @ ( sngr_assn @ A @ P3 @ X ) @ ( pure_assn @ ( R5 = X ) ) ) ) ) ).

% lookup_rule
thf(fact_680_K__record__comp,axiom,
    ! [C: $tType,B: $tType,A: $tType,C3: B,F3: A > C] :
      ( ( comp @ C @ B @ A
        @ ^ [X4: C] : C3
        @ F3 )
      = ( ^ [X4: A] : C3 ) ) ).

% K_record_comp
thf(fact_681_execute__ureturn,axiom,
    ! [A: $tType,X: A] :
      ( ( heap_Time_execute @ A @ ( heap_Time_ureturn @ A @ X ) )
      = ( comp @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( option @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) @ ( heap_ext @ product_unit ) @ ( some @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) )
        @ ^ [H7: heap_ext @ product_unit] : ( product_Pair @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ X @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ H7 @ ( zero_zero @ nat ) ) ) ) ) ).

% execute_ureturn
thf(fact_682_mlex__leq,axiom,
    ! [A: $tType,F3: A > nat,X: A,Y: A,R4: set @ ( product_prod @ A @ A )] :
      ( ( ord_less_eq @ nat @ ( F3 @ X ) @ ( F3 @ Y ) )
     => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ R4 )
       => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ ( mlex_prod @ A @ F3 @ R4 ) ) ) ) ).

% mlex_leq
thf(fact_683_mlex__iff,axiom,
    ! [A: $tType,X: A,Y: A,F3: A > nat,R4: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ ( mlex_prod @ A @ F3 @ R4 ) )
      = ( ( ord_less @ nat @ ( F3 @ X ) @ ( F3 @ Y ) )
        | ( ( ( F3 @ X )
            = ( F3 @ Y ) )
          & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ R4 ) ) ) ) ).

% mlex_iff
thf(fact_684_mlex__less,axiom,
    ! [A: $tType,F3: A > nat,X: A,Y: A,R4: set @ ( product_prod @ A @ A )] :
      ( ( ord_less @ nat @ ( F3 @ X ) @ ( F3 @ Y ) )
     => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ ( mlex_prod @ A @ F3 @ R4 ) ) ) ).

% mlex_less
thf(fact_685_ent__pure__post__iff__sng,axiom,
    ! [P2: assn,B2: $o] :
      ( ( entails @ P2 @ ( pure_assn @ B2 ) )
      = ( ! [H7: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
            ( ( rep_assn @ P2 @ H7 )
           => B2 )
        & ( entails @ P2 @ ( one_one @ assn ) ) ) ) ).

% ent_pure_post_iff_sng
thf(fact_686_pure__assn__raw_Osimps,axiom,
    ! [A: $tType,B: $tType,B2: $o,H: A,As: set @ B] :
      ( ( pure_assn_raw @ A @ B @ B2 @ ( product_Pair @ A @ ( set @ B ) @ H @ As ) )
      = ( ( As
          = ( bot_bot @ ( set @ B ) ) )
        & B2 ) ) ).

% pure_assn_raw.simps
thf(fact_687_pure__assn__raw_Oelims_I1_J,axiom,
    ! [A: $tType,B: $tType,X: $o,Xa: product_prod @ A @ ( set @ B ),Y: $o] :
      ( ( ( pure_assn_raw @ A @ B @ X @ Xa )
        = Y )
     => ~ ! [H2: A,As2: set @ B] :
            ( ( Xa
              = ( product_Pair @ A @ ( set @ B ) @ H2 @ As2 ) )
           => ( Y
              = ( ~ ( ( As2
                      = ( bot_bot @ ( set @ B ) ) )
                    & X ) ) ) ) ) ).

% pure_assn_raw.elims(1)
thf(fact_688_pure__assn__raw_Oelims_I2_J,axiom,
    ! [B: $tType,A: $tType,X: $o,Xa: product_prod @ A @ ( set @ B )] :
      ( ( pure_assn_raw @ A @ B @ X @ Xa )
     => ~ ! [H2: A,As2: set @ B] :
            ( ( Xa
              = ( product_Pair @ A @ ( set @ B ) @ H2 @ As2 ) )
           => ~ ( ( As2
                  = ( bot_bot @ ( set @ B ) ) )
                & X ) ) ) ).

% pure_assn_raw.elims(2)
thf(fact_689_le__zero__eq,axiom,
    ! [A: $tType] :
      ( ( canoni5634975068530333245id_add @ A )
     => ! [N: A] :
          ( ( ord_less_eq @ A @ N @ ( zero_zero @ A ) )
          = ( N
            = ( zero_zero @ A ) ) ) ) ).

% le_zero_eq
thf(fact_690_not__gr__zero,axiom,
    ! [A: $tType] :
      ( ( canoni5634975068530333245id_add @ A )
     => ! [N: A] :
          ( ( ~ ( ord_less @ A @ ( zero_zero @ A ) @ N ) )
          = ( N
            = ( zero_zero @ A ) ) ) ) ).

% not_gr_zero
thf(fact_691_add__0,axiom,
    ! [A: $tType] :
      ( ( monoid_add @ A )
     => ! [A3: A] :
          ( ( plus_plus @ A @ ( zero_zero @ A ) @ A3 )
          = A3 ) ) ).

% add_0
thf(fact_692_zero__eq__add__iff__both__eq__0,axiom,
    ! [A: $tType] :
      ( ( canoni5634975068530333245id_add @ A )
     => ! [X: A,Y: A] :
          ( ( ( zero_zero @ A )
            = ( plus_plus @ A @ X @ Y ) )
          = ( ( X
              = ( zero_zero @ A ) )
            & ( Y
              = ( zero_zero @ A ) ) ) ) ) ).

% zero_eq_add_iff_both_eq_0
thf(fact_693_add__eq__0__iff__both__eq__0,axiom,
    ! [A: $tType] :
      ( ( canoni5634975068530333245id_add @ A )
     => ! [X: A,Y: A] :
          ( ( ( plus_plus @ A @ X @ Y )
            = ( zero_zero @ A ) )
          = ( ( X
              = ( zero_zero @ A ) )
            & ( Y
              = ( zero_zero @ A ) ) ) ) ) ).

% add_eq_0_iff_both_eq_0
thf(fact_694_add__cancel__right__right,axiom,
    ! [A: $tType] :
      ( ( cancel1802427076303600483id_add @ A )
     => ! [A3: A,B2: A] :
          ( ( A3
            = ( plus_plus @ A @ A3 @ B2 ) )
          = ( B2
            = ( zero_zero @ A ) ) ) ) ).

% add_cancel_right_right
thf(fact_695_add__cancel__right__left,axiom,
    ! [A: $tType] :
      ( ( cancel1802427076303600483id_add @ A )
     => ! [A3: A,B2: A] :
          ( ( A3
            = ( plus_plus @ A @ B2 @ A3 ) )
          = ( B2
            = ( zero_zero @ A ) ) ) ) ).

% add_cancel_right_left
thf(fact_696_add__cancel__left__right,axiom,
    ! [A: $tType] :
      ( ( cancel1802427076303600483id_add @ A )
     => ! [A3: A,B2: A] :
          ( ( ( plus_plus @ A @ A3 @ B2 )
            = A3 )
          = ( B2
            = ( zero_zero @ A ) ) ) ) ).

% add_cancel_left_right
thf(fact_697_add__cancel__left__left,axiom,
    ! [A: $tType] :
      ( ( cancel1802427076303600483id_add @ A )
     => ! [B2: A,A3: A] :
          ( ( ( plus_plus @ A @ B2 @ A3 )
            = A3 )
          = ( B2
            = ( zero_zero @ A ) ) ) ) ).

% add_cancel_left_left
thf(fact_698_double__zero__sym,axiom,
    ! [A: $tType] :
      ( ( linord5086331880401160121up_add @ A )
     => ! [A3: A] :
          ( ( ( zero_zero @ A )
            = ( plus_plus @ A @ A3 @ A3 ) )
          = ( A3
            = ( zero_zero @ A ) ) ) ) ).

% double_zero_sym
thf(fact_699_add_Oright__neutral,axiom,
    ! [A: $tType] :
      ( ( monoid_add @ A )
     => ! [A3: A] :
          ( ( plus_plus @ A @ A3 @ ( zero_zero @ A ) )
          = A3 ) ) ).

% add.right_neutral
thf(fact_700_less__nat__zero__code,axiom,
    ! [N: nat] :
      ~ ( ord_less @ nat @ N @ ( zero_zero @ nat ) ) ).

% less_nat_zero_code
thf(fact_701_neq0__conv,axiom,
    ! [N: nat] :
      ( ( N
       != ( zero_zero @ nat ) )
      = ( ord_less @ nat @ ( zero_zero @ nat ) @ N ) ) ).

% neq0_conv
thf(fact_702_bot__nat__0_Onot__eq__extremum,axiom,
    ! [A3: nat] :
      ( ( A3
       != ( zero_zero @ nat ) )
      = ( ord_less @ nat @ ( zero_zero @ nat ) @ A3 ) ) ).

% bot_nat_0.not_eq_extremum
thf(fact_703_le0,axiom,
    ! [N: nat] : ( ord_less_eq @ nat @ ( zero_zero @ nat ) @ N ) ).

% le0
thf(fact_704_bot__nat__0_Oextremum,axiom,
    ! [A3: nat] : ( ord_less_eq @ nat @ ( zero_zero @ nat ) @ A3 ) ).

% bot_nat_0.extremum
thf(fact_705_add__is__0,axiom,
    ! [M: nat,N: nat] :
      ( ( ( plus_plus @ nat @ M @ N )
        = ( zero_zero @ nat ) )
      = ( ( M
          = ( zero_zero @ nat ) )
        & ( N
          = ( zero_zero @ nat ) ) ) ) ).

% add_is_0
thf(fact_706_Nat_Oadd__0__right,axiom,
    ! [M: nat] :
      ( ( plus_plus @ nat @ M @ ( zero_zero @ nat ) )
      = M ) ).

% Nat.add_0_right
thf(fact_707_merge__pure__star,axiom,
    ! [A3: $o,B2: $o] :
      ( ( times_times @ assn @ ( pure_assn @ A3 ) @ ( pure_assn @ B2 ) )
      = ( pure_assn
        @ ( A3
          & B2 ) ) ) ).

% merge_pure_star
thf(fact_708_timeFrame__zero,axiom,
    ! [A: $tType,H: option @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) )] :
      ( ( heap_Time_timeFrame @ A @ ( zero_zero @ nat ) @ H )
      = H ) ).

% timeFrame_zero
thf(fact_709_star__false__left,axiom,
    ! [P2: assn] :
      ( ( times_times @ assn @ ( bot_bot @ assn ) @ P2 )
      = ( bot_bot @ assn ) ) ).

% star_false_left
thf(fact_710_star__false__right,axiom,
    ! [P2: assn] :
      ( ( times_times @ assn @ P2 @ ( bot_bot @ assn ) )
      = ( bot_bot @ assn ) ) ).

% star_false_right
thf(fact_711_triv__exI,axiom,
    ! [A: $tType,Q2: A > assn,X: A] : ( entails @ ( Q2 @ X ) @ ( ex_assn @ A @ Q2 ) ) ).

% triv_exI
thf(fact_712_add__le__same__cancel1,axiom,
    ! [A: $tType] :
      ( ( ordere1937475149494474687imp_le @ A )
     => ! [B2: A,A3: A] :
          ( ( ord_less_eq @ A @ ( plus_plus @ A @ B2 @ A3 ) @ B2 )
          = ( ord_less_eq @ A @ A3 @ ( zero_zero @ A ) ) ) ) ).

% add_le_same_cancel1
thf(fact_713_add__le__same__cancel2,axiom,
    ! [A: $tType] :
      ( ( ordere1937475149494474687imp_le @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ ( plus_plus @ A @ A3 @ B2 ) @ B2 )
          = ( ord_less_eq @ A @ A3 @ ( zero_zero @ A ) ) ) ) ).

% add_le_same_cancel2
thf(fact_714_le__add__same__cancel1,axiom,
    ! [A: $tType] :
      ( ( ordere1937475149494474687imp_le @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ A3 @ ( plus_plus @ A @ A3 @ B2 ) )
          = ( ord_less_eq @ A @ ( zero_zero @ A ) @ B2 ) ) ) ).

% le_add_same_cancel1
thf(fact_715_le__add__same__cancel2,axiom,
    ! [A: $tType] :
      ( ( ordere1937475149494474687imp_le @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ A3 @ ( plus_plus @ A @ B2 @ A3 ) )
          = ( ord_less_eq @ A @ ( zero_zero @ A ) @ B2 ) ) ) ).

% le_add_same_cancel2
thf(fact_716_double__add__le__zero__iff__single__add__le__zero,axiom,
    ! [A: $tType] :
      ( ( linord5086331880401160121up_add @ A )
     => ! [A3: A] :
          ( ( ord_less_eq @ A @ ( plus_plus @ A @ A3 @ A3 ) @ ( zero_zero @ A ) )
          = ( ord_less_eq @ A @ A3 @ ( zero_zero @ A ) ) ) ) ).

% double_add_le_zero_iff_single_add_le_zero
thf(fact_717_zero__le__double__add__iff__zero__le__single__add,axiom,
    ! [A: $tType] :
      ( ( linord5086331880401160121up_add @ A )
     => ! [A3: A] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( plus_plus @ A @ A3 @ A3 ) )
          = ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 ) ) ) ).

% zero_le_double_add_iff_zero_le_single_add
thf(fact_718_zero__less__double__add__iff__zero__less__single__add,axiom,
    ! [A: $tType] :
      ( ( linord5086331880401160121up_add @ A )
     => ! [A3: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ ( plus_plus @ A @ A3 @ A3 ) )
          = ( ord_less @ A @ ( zero_zero @ A ) @ A3 ) ) ) ).

% zero_less_double_add_iff_zero_less_single_add
thf(fact_719_double__add__less__zero__iff__single__add__less__zero,axiom,
    ! [A: $tType] :
      ( ( linord5086331880401160121up_add @ A )
     => ! [A3: A] :
          ( ( ord_less @ A @ ( plus_plus @ A @ A3 @ A3 ) @ ( zero_zero @ A ) )
          = ( ord_less @ A @ A3 @ ( zero_zero @ A ) ) ) ) ).

% double_add_less_zero_iff_single_add_less_zero
thf(fact_720_less__add__same__cancel2,axiom,
    ! [A: $tType] :
      ( ( ordere1937475149494474687imp_le @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ A3 @ ( plus_plus @ A @ B2 @ A3 ) )
          = ( ord_less @ A @ ( zero_zero @ A ) @ B2 ) ) ) ).

% less_add_same_cancel2
thf(fact_721_less__add__same__cancel1,axiom,
    ! [A: $tType] :
      ( ( ordere1937475149494474687imp_le @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ A3 @ ( plus_plus @ A @ A3 @ B2 ) )
          = ( ord_less @ A @ ( zero_zero @ A ) @ B2 ) ) ) ).

% less_add_same_cancel1
thf(fact_722_add__less__same__cancel2,axiom,
    ! [A: $tType] :
      ( ( ordere1937475149494474687imp_le @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ ( plus_plus @ A @ A3 @ B2 ) @ B2 )
          = ( ord_less @ A @ A3 @ ( zero_zero @ A ) ) ) ) ).

% add_less_same_cancel2
thf(fact_723_add__less__same__cancel1,axiom,
    ! [A: $tType] :
      ( ( ordere1937475149494474687imp_le @ A )
     => ! [B2: A,A3: A] :
          ( ( ord_less @ A @ ( plus_plus @ A @ B2 @ A3 ) @ B2 )
          = ( ord_less @ A @ A3 @ ( zero_zero @ A ) ) ) ) ).

% add_less_same_cancel1
thf(fact_724_add__gr__0,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ ( plus_plus @ nat @ M @ N ) )
      = ( ( ord_less @ nat @ ( zero_zero @ nat ) @ M )
        | ( ord_less @ nat @ ( zero_zero @ nat ) @ N ) ) ) ).

% add_gr_0
thf(fact_725_less__one,axiom,
    ! [N: nat] :
      ( ( ord_less @ nat @ N @ ( one_one @ nat ) )
      = ( N
        = ( zero_zero @ nat ) ) ) ).

% less_one
thf(fact_726_mod__pure__star__dist,axiom,
    ! [P2: assn,B2: $o,H: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
      ( ( rep_assn @ ( times_times @ assn @ P2 @ ( pure_assn @ B2 ) ) @ H )
      = ( ( rep_assn @ P2 @ H )
        & B2 ) ) ).

% mod_pure_star_dist
thf(fact_727_ent__pure__pre__iff,axiom,
    ! [P2: assn,B2: $o,Q2: assn] :
      ( ( entails @ ( times_times @ assn @ P2 @ ( pure_assn @ B2 ) ) @ Q2 )
      = ( B2
       => ( entails @ P2 @ Q2 ) ) ) ).

% ent_pure_pre_iff
thf(fact_728_norm__pre__pure__iff,axiom,
    ! [A: $tType,P2: assn,B2: $o,F3: heap_Time_Heap @ A,Q2: A > assn] :
      ( ( hoare_hoare_triple @ A @ ( times_times @ assn @ P2 @ ( pure_assn @ B2 ) ) @ F3 @ Q2 )
      = ( B2
       => ( hoare_hoare_triple @ A @ P2 @ F3 @ Q2 ) ) ) ).

% norm_pre_pure_iff
thf(fact_729_ent__false__iff,axiom,
    ! [P2: assn] :
      ( ( entails @ P2 @ ( bot_bot @ assn ) )
      = ( ! [H7: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
            ~ ( rep_assn @ P2 @ H7 ) ) ) ).

% ent_false_iff
thf(fact_730_ent__pure__pre__iff__sng,axiom,
    ! [B2: $o,Q2: assn] :
      ( ( entails @ ( pure_assn @ B2 ) @ Q2 )
      = ( B2
       => ( entails @ ( one_one @ assn ) @ Q2 ) ) ) ).

% ent_pure_pre_iff_sng
thf(fact_731_snga__same__false,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [P3: array @ A,X: list @ A,Y: list @ A] :
          ( ( times_times @ assn @ ( snga_assn @ A @ P3 @ X ) @ ( snga_assn @ A @ P3 @ Y ) )
          = ( bot_bot @ assn ) ) ) ).

% snga_same_false
thf(fact_732_sngr__same__false,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [P3: ref @ A,X: A,Y: A] :
          ( ( times_times @ assn @ ( sngr_assn @ A @ P3 @ X ) @ ( sngr_assn @ A @ P3 @ Y ) )
          = ( bot_bot @ assn ) ) ) ).

% sngr_same_false
thf(fact_733_mod__h__bot__iff_I5_J,axiom,
    ! [P2: assn,Q2: assn,H: heap_ext @ product_unit] :
      ( ( rep_assn @ ( times_times @ assn @ P2 @ Q2 ) @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ ( bot_bot @ ( set @ nat ) ) ) )
      = ( ( rep_assn @ P2 @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ ( bot_bot @ ( set @ nat ) ) ) )
        & ( rep_assn @ Q2 @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ ( bot_bot @ ( set @ nat ) ) ) ) ) ) ).

% mod_h_bot_iff(5)
thf(fact_734_ent__pure__post__iff,axiom,
    ! [P2: assn,Q2: assn,B2: $o] :
      ( ( entails @ P2 @ ( times_times @ assn @ Q2 @ ( pure_assn @ B2 ) ) )
      = ( ! [H7: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
            ( ( rep_assn @ P2 @ H7 )
           => B2 )
        & ( entails @ P2 @ Q2 ) ) ) ).

% ent_pure_post_iff
thf(fact_735_bot__nat__def,axiom,
    ( ( bot_bot @ nat )
    = ( zero_zero @ nat ) ) ).

% bot_nat_def
thf(fact_736_lambda__zero,axiom,
    ! [A: $tType] :
      ( ( mult_zero @ A )
     => ( ( ^ [H7: A] : ( zero_zero @ A ) )
        = ( times_times @ A @ ( zero_zero @ A ) ) ) ) ).

% lambda_zero
thf(fact_737_mult__mono,axiom,
    ! [A: $tType] :
      ( ( ordered_semiring @ A )
     => ! [A3: A,B2: A,C3: A,D3: A] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ( ord_less_eq @ A @ C3 @ D3 )
           => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ B2 )
             => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ C3 )
               => ( ord_less_eq @ A @ ( times_times @ A @ A3 @ C3 ) @ ( times_times @ A @ B2 @ D3 ) ) ) ) ) ) ) ).

% mult_mono
thf(fact_738_mult__mono_H,axiom,
    ! [A: $tType] :
      ( ( ordered_semiring @ A )
     => ! [A3: A,B2: A,C3: A,D3: A] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ( ord_less_eq @ A @ C3 @ D3 )
           => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 )
             => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ C3 )
               => ( ord_less_eq @ A @ ( times_times @ A @ A3 @ C3 ) @ ( times_times @ A @ B2 @ D3 ) ) ) ) ) ) ) ).

% mult_mono'
thf(fact_739_zero__le__square,axiom,
    ! [A: $tType] :
      ( ( linordered_ring @ A )
     => ! [A3: A] : ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( times_times @ A @ A3 @ A3 ) ) ) ).

% zero_le_square
thf(fact_740_split__mult__pos__le,axiom,
    ! [A: $tType] :
      ( ( ordered_ring @ A )
     => ! [A3: A,B2: A] :
          ( ( ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 )
              & ( ord_less_eq @ A @ ( zero_zero @ A ) @ B2 ) )
            | ( ( ord_less_eq @ A @ A3 @ ( zero_zero @ A ) )
              & ( ord_less_eq @ A @ B2 @ ( zero_zero @ A ) ) ) )
         => ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( times_times @ A @ A3 @ B2 ) ) ) ) ).

% split_mult_pos_le
thf(fact_741_mult__left__mono__neg,axiom,
    ! [A: $tType] :
      ( ( ordered_ring @ A )
     => ! [B2: A,A3: A,C3: A] :
          ( ( ord_less_eq @ A @ B2 @ A3 )
         => ( ( ord_less_eq @ A @ C3 @ ( zero_zero @ A ) )
           => ( ord_less_eq @ A @ ( times_times @ A @ C3 @ A3 ) @ ( times_times @ A @ C3 @ B2 ) ) ) ) ) ).

% mult_left_mono_neg
thf(fact_742_mult__nonpos__nonpos,axiom,
    ! [A: $tType] :
      ( ( ordered_ring @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ A3 @ ( zero_zero @ A ) )
         => ( ( ord_less_eq @ A @ B2 @ ( zero_zero @ A ) )
           => ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( times_times @ A @ A3 @ B2 ) ) ) ) ) ).

% mult_nonpos_nonpos
thf(fact_743_mult__left__mono,axiom,
    ! [A: $tType] :
      ( ( ordered_semiring @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ C3 )
           => ( ord_less_eq @ A @ ( times_times @ A @ C3 @ A3 ) @ ( times_times @ A @ C3 @ B2 ) ) ) ) ) ).

% mult_left_mono
thf(fact_744_mult__right__mono__neg,axiom,
    ! [A: $tType] :
      ( ( ordered_ring @ A )
     => ! [B2: A,A3: A,C3: A] :
          ( ( ord_less_eq @ A @ B2 @ A3 )
         => ( ( ord_less_eq @ A @ C3 @ ( zero_zero @ A ) )
           => ( ord_less_eq @ A @ ( times_times @ A @ A3 @ C3 ) @ ( times_times @ A @ B2 @ C3 ) ) ) ) ) ).

% mult_right_mono_neg
thf(fact_745_mult__right__mono,axiom,
    ! [A: $tType] :
      ( ( ordered_semiring @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ C3 )
           => ( ord_less_eq @ A @ ( times_times @ A @ A3 @ C3 ) @ ( times_times @ A @ B2 @ C3 ) ) ) ) ) ).

% mult_right_mono
thf(fact_746_mult__le__0__iff,axiom,
    ! [A: $tType] :
      ( ( linord4710134922213307826strict @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ ( times_times @ A @ A3 @ B2 ) @ ( zero_zero @ A ) )
          = ( ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 )
              & ( ord_less_eq @ A @ B2 @ ( zero_zero @ A ) ) )
            | ( ( ord_less_eq @ A @ A3 @ ( zero_zero @ A ) )
              & ( ord_less_eq @ A @ ( zero_zero @ A ) @ B2 ) ) ) ) ) ).

% mult_le_0_iff
thf(fact_747_split__mult__neg__le,axiom,
    ! [A: $tType] :
      ( ( ordered_semiring_0 @ A )
     => ! [A3: A,B2: A] :
          ( ( ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 )
              & ( ord_less_eq @ A @ B2 @ ( zero_zero @ A ) ) )
            | ( ( ord_less_eq @ A @ A3 @ ( zero_zero @ A ) )
              & ( ord_less_eq @ A @ ( zero_zero @ A ) @ B2 ) ) )
         => ( ord_less_eq @ A @ ( times_times @ A @ A3 @ B2 ) @ ( zero_zero @ A ) ) ) ) ).

% split_mult_neg_le
thf(fact_748_mult__nonneg__nonneg,axiom,
    ! [A: $tType] :
      ( ( ordered_semiring_0 @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 )
         => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ B2 )
           => ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( times_times @ A @ A3 @ B2 ) ) ) ) ) ).

% mult_nonneg_nonneg
thf(fact_749_mult__nonneg__nonpos,axiom,
    ! [A: $tType] :
      ( ( ordered_semiring_0 @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 )
         => ( ( ord_less_eq @ A @ B2 @ ( zero_zero @ A ) )
           => ( ord_less_eq @ A @ ( times_times @ A @ A3 @ B2 ) @ ( zero_zero @ A ) ) ) ) ) ).

% mult_nonneg_nonpos
thf(fact_750_mult__nonpos__nonneg,axiom,
    ! [A: $tType] :
      ( ( ordered_semiring_0 @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ A3 @ ( zero_zero @ A ) )
         => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ B2 )
           => ( ord_less_eq @ A @ ( times_times @ A @ A3 @ B2 ) @ ( zero_zero @ A ) ) ) ) ) ).

% mult_nonpos_nonneg
thf(fact_751_mult__nonneg__nonpos2,axiom,
    ! [A: $tType] :
      ( ( ordered_semiring_0 @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 )
         => ( ( ord_less_eq @ A @ B2 @ ( zero_zero @ A ) )
           => ( ord_less_eq @ A @ ( times_times @ A @ B2 @ A3 ) @ ( zero_zero @ A ) ) ) ) ) ).

% mult_nonneg_nonpos2
thf(fact_752_zero__le__mult__iff,axiom,
    ! [A: $tType] :
      ( ( linord4710134922213307826strict @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( times_times @ A @ A3 @ B2 ) )
          = ( ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 )
              & ( ord_less_eq @ A @ ( zero_zero @ A ) @ B2 ) )
            | ( ( ord_less_eq @ A @ A3 @ ( zero_zero @ A ) )
              & ( ord_less_eq @ A @ B2 @ ( zero_zero @ A ) ) ) ) ) ) ).

% zero_le_mult_iff
thf(fact_753_ordered__comm__semiring__class_Ocomm__mult__left__mono,axiom,
    ! [A: $tType] :
      ( ( ordere2520102378445227354miring @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ C3 )
           => ( ord_less_eq @ A @ ( times_times @ A @ C3 @ A3 ) @ ( times_times @ A @ C3 @ B2 ) ) ) ) ) ).

% ordered_comm_semiring_class.comm_mult_left_mono
thf(fact_754_ent__iffI,axiom,
    ! [A6: assn,B6: assn] :
      ( ( entails @ A6 @ B6 )
     => ( ( entails @ B6 @ A6 )
       => ( A6 = B6 ) ) ) ).

% ent_iffI
thf(fact_755_ent__refl,axiom,
    ! [P2: assn] : ( entails @ P2 @ P2 ) ).

% ent_refl
thf(fact_756_ent__trans,axiom,
    ! [P2: assn,Q2: assn,R4: assn] :
      ( ( entails @ P2 @ Q2 )
     => ( ( entails @ Q2 @ R4 )
       => ( entails @ P2 @ R4 ) ) ) ).

% ent_trans
thf(fact_757_ent__star__mono,axiom,
    ! [P2: assn,P6: assn,Q2: assn,Q4: assn] :
      ( ( entails @ P2 @ P6 )
     => ( ( entails @ Q2 @ Q4 )
       => ( entails @ ( times_times @ assn @ P2 @ Q2 ) @ ( times_times @ assn @ P6 @ Q4 ) ) ) ) ).

% ent_star_mono
thf(fact_758_assn__times__comm,axiom,
    ( ( times_times @ assn )
    = ( ^ [P5: assn,Q3: assn] : ( times_times @ assn @ Q3 @ P5 ) ) ) ).

% assn_times_comm
thf(fact_759_assn__times__assoc,axiom,
    ! [P2: assn,Q2: assn,R4: assn] :
      ( ( times_times @ assn @ ( times_times @ assn @ P2 @ Q2 ) @ R4 )
      = ( times_times @ assn @ P2 @ ( times_times @ assn @ Q2 @ R4 ) ) ) ).

% assn_times_assoc
thf(fact_760_mult__neg__neg,axiom,
    ! [A: $tType] :
      ( ( linord4710134922213307826strict @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ A3 @ ( zero_zero @ A ) )
         => ( ( ord_less @ A @ B2 @ ( zero_zero @ A ) )
           => ( ord_less @ A @ ( zero_zero @ A ) @ ( times_times @ A @ A3 @ B2 ) ) ) ) ) ).

% mult_neg_neg
thf(fact_761_not__square__less__zero,axiom,
    ! [A: $tType] :
      ( ( linordered_ring @ A )
     => ! [A3: A] :
          ~ ( ord_less @ A @ ( times_times @ A @ A3 @ A3 ) @ ( zero_zero @ A ) ) ) ).

% not_square_less_zero
thf(fact_762_mult__less__0__iff,axiom,
    ! [A: $tType] :
      ( ( linord4710134922213307826strict @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ ( times_times @ A @ A3 @ B2 ) @ ( zero_zero @ A ) )
          = ( ( ( ord_less @ A @ ( zero_zero @ A ) @ A3 )
              & ( ord_less @ A @ B2 @ ( zero_zero @ A ) ) )
            | ( ( ord_less @ A @ A3 @ ( zero_zero @ A ) )
              & ( ord_less @ A @ ( zero_zero @ A ) @ B2 ) ) ) ) ) ).

% mult_less_0_iff
thf(fact_763_mult__neg__pos,axiom,
    ! [A: $tType] :
      ( ( linord8928482502909563296strict @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ A3 @ ( zero_zero @ A ) )
         => ( ( ord_less @ A @ ( zero_zero @ A ) @ B2 )
           => ( ord_less @ A @ ( times_times @ A @ A3 @ B2 ) @ ( zero_zero @ A ) ) ) ) ) ).

% mult_neg_pos
thf(fact_764_mult__pos__neg,axiom,
    ! [A: $tType] :
      ( ( linord8928482502909563296strict @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ A3 )
         => ( ( ord_less @ A @ B2 @ ( zero_zero @ A ) )
           => ( ord_less @ A @ ( times_times @ A @ A3 @ B2 ) @ ( zero_zero @ A ) ) ) ) ) ).

% mult_pos_neg
thf(fact_765_mult__pos__pos,axiom,
    ! [A: $tType] :
      ( ( linord8928482502909563296strict @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ A3 )
         => ( ( ord_less @ A @ ( zero_zero @ A ) @ B2 )
           => ( ord_less @ A @ ( zero_zero @ A ) @ ( times_times @ A @ A3 @ B2 ) ) ) ) ) ).

% mult_pos_pos
thf(fact_766_mult__pos__neg2,axiom,
    ! [A: $tType] :
      ( ( linord8928482502909563296strict @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ A3 )
         => ( ( ord_less @ A @ B2 @ ( zero_zero @ A ) )
           => ( ord_less @ A @ ( times_times @ A @ B2 @ A3 ) @ ( zero_zero @ A ) ) ) ) ) ).

% mult_pos_neg2
thf(fact_767_zero__less__mult__iff,axiom,
    ! [A: $tType] :
      ( ( linord4710134922213307826strict @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ ( times_times @ A @ A3 @ B2 ) )
          = ( ( ( ord_less @ A @ ( zero_zero @ A ) @ A3 )
              & ( ord_less @ A @ ( zero_zero @ A ) @ B2 ) )
            | ( ( ord_less @ A @ A3 @ ( zero_zero @ A ) )
              & ( ord_less @ A @ B2 @ ( zero_zero @ A ) ) ) ) ) ) ).

% zero_less_mult_iff
thf(fact_768_zero__less__mult__pos,axiom,
    ! [A: $tType] :
      ( ( linord8928482502909563296strict @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ ( times_times @ A @ A3 @ B2 ) )
         => ( ( ord_less @ A @ ( zero_zero @ A ) @ A3 )
           => ( ord_less @ A @ ( zero_zero @ A ) @ B2 ) ) ) ) ).

% zero_less_mult_pos
thf(fact_769_zero__less__mult__pos2,axiom,
    ! [A: $tType] :
      ( ( linord8928482502909563296strict @ A )
     => ! [B2: A,A3: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ ( times_times @ A @ B2 @ A3 ) )
         => ( ( ord_less @ A @ ( zero_zero @ A ) @ A3 )
           => ( ord_less @ A @ ( zero_zero @ A ) @ B2 ) ) ) ) ).

% zero_less_mult_pos2
thf(fact_770_mult__less__cancel__left__neg,axiom,
    ! [A: $tType] :
      ( ( linord4710134922213307826strict @ A )
     => ! [C3: A,A3: A,B2: A] :
          ( ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
         => ( ( ord_less @ A @ ( times_times @ A @ C3 @ A3 ) @ ( times_times @ A @ C3 @ B2 ) )
            = ( ord_less @ A @ B2 @ A3 ) ) ) ) ).

% mult_less_cancel_left_neg
thf(fact_771_mult__less__cancel__left__pos,axiom,
    ! [A: $tType] :
      ( ( linord4710134922213307826strict @ A )
     => ! [C3: A,A3: A,B2: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
         => ( ( ord_less @ A @ ( times_times @ A @ C3 @ A3 ) @ ( times_times @ A @ C3 @ B2 ) )
            = ( ord_less @ A @ A3 @ B2 ) ) ) ) ).

% mult_less_cancel_left_pos
thf(fact_772_mult__strict__left__mono__neg,axiom,
    ! [A: $tType] :
      ( ( linord4710134922213307826strict @ A )
     => ! [B2: A,A3: A,C3: A] :
          ( ( ord_less @ A @ B2 @ A3 )
         => ( ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
           => ( ord_less @ A @ ( times_times @ A @ C3 @ A3 ) @ ( times_times @ A @ C3 @ B2 ) ) ) ) ) ).

% mult_strict_left_mono_neg
thf(fact_773_mult__strict__left__mono,axiom,
    ! [A: $tType] :
      ( ( linord8928482502909563296strict @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
           => ( ord_less @ A @ ( times_times @ A @ C3 @ A3 ) @ ( times_times @ A @ C3 @ B2 ) ) ) ) ) ).

% mult_strict_left_mono
thf(fact_774_mult__less__cancel__left__disj,axiom,
    ! [A: $tType] :
      ( ( linord4710134922213307826strict @ A )
     => ! [C3: A,A3: A,B2: A] :
          ( ( ord_less @ A @ ( times_times @ A @ C3 @ A3 ) @ ( times_times @ A @ C3 @ B2 ) )
          = ( ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
              & ( ord_less @ A @ A3 @ B2 ) )
            | ( ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
              & ( ord_less @ A @ B2 @ A3 ) ) ) ) ) ).

% mult_less_cancel_left_disj
thf(fact_775_mult__strict__right__mono__neg,axiom,
    ! [A: $tType] :
      ( ( linord4710134922213307826strict @ A )
     => ! [B2: A,A3: A,C3: A] :
          ( ( ord_less @ A @ B2 @ A3 )
         => ( ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
           => ( ord_less @ A @ ( times_times @ A @ A3 @ C3 ) @ ( times_times @ A @ B2 @ C3 ) ) ) ) ) ).

% mult_strict_right_mono_neg
thf(fact_776_mult__strict__right__mono,axiom,
    ! [A: $tType] :
      ( ( linord8928482502909563296strict @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
           => ( ord_less @ A @ ( times_times @ A @ A3 @ C3 ) @ ( times_times @ A @ B2 @ C3 ) ) ) ) ) ).

% mult_strict_right_mono
thf(fact_777_mult__less__cancel__right__disj,axiom,
    ! [A: $tType] :
      ( ( linord4710134922213307826strict @ A )
     => ! [A3: A,C3: A,B2: A] :
          ( ( ord_less @ A @ ( times_times @ A @ A3 @ C3 ) @ ( times_times @ A @ B2 @ C3 ) )
          = ( ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
              & ( ord_less @ A @ A3 @ B2 ) )
            | ( ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
              & ( ord_less @ A @ B2 @ A3 ) ) ) ) ) ).

% mult_less_cancel_right_disj
thf(fact_778_linordered__comm__semiring__strict__class_Ocomm__mult__strict__left__mono,axiom,
    ! [A: $tType] :
      ( ( linord2810124833399127020strict @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
           => ( ord_less @ A @ ( times_times @ A @ C3 @ A3 ) @ ( times_times @ A @ C3 @ B2 ) ) ) ) ) ).

% linordered_comm_semiring_strict_class.comm_mult_strict_left_mono
thf(fact_779_fun__cong__unused__0,axiom,
    ! [A: $tType,B: $tType,C: $tType] :
      ( ( zero @ B )
     => ! [F3: ( A > B ) > C,G3: C] :
          ( ( F3
            = ( ^ [X4: A > B] : G3 ) )
         => ( ( F3
              @ ^ [X4: A] : ( zero_zero @ B ) )
            = G3 ) ) ) ).

% fun_cong_unused_0
thf(fact_780_effect__ureturnI,axiom,
    ! [A: $tType,H: heap_ext @ product_unit,H5: heap_ext @ product_unit,X: A] :
      ( ( H = H5 )
     => ( heap_Time_effect @ A @ ( heap_Time_ureturn @ A @ X ) @ H @ H5 @ X @ ( zero_zero @ nat ) ) ) ).

% effect_ureturnI
thf(fact_781_effect__ureturnE,axiom,
    ! [A: $tType,X: A,H: heap_ext @ product_unit,H5: heap_ext @ product_unit,R3: A,N: nat] :
      ( ( heap_Time_effect @ A @ ( heap_Time_ureturn @ A @ X ) @ H @ H5 @ R3 @ N )
     => ~ ( ( R3 = X )
         => ( ( H5 = H )
           => ( N
             != ( zero_zero @ nat ) ) ) ) ) ).

% effect_ureturnE
thf(fact_782_mult__le__cancel__left,axiom,
    ! [A: $tType] :
      ( ( linord4710134922213307826strict @ A )
     => ! [C3: A,A3: A,B2: A] :
          ( ( ord_less_eq @ A @ ( times_times @ A @ C3 @ A3 ) @ ( times_times @ A @ C3 @ B2 ) )
          = ( ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
             => ( ord_less_eq @ A @ A3 @ B2 ) )
            & ( ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
             => ( ord_less_eq @ A @ B2 @ A3 ) ) ) ) ) ).

% mult_le_cancel_left
thf(fact_783_mult__le__cancel__right,axiom,
    ! [A: $tType] :
      ( ( linord4710134922213307826strict @ A )
     => ! [A3: A,C3: A,B2: A] :
          ( ( ord_less_eq @ A @ ( times_times @ A @ A3 @ C3 ) @ ( times_times @ A @ B2 @ C3 ) )
          = ( ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
             => ( ord_less_eq @ A @ A3 @ B2 ) )
            & ( ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
             => ( ord_less_eq @ A @ B2 @ A3 ) ) ) ) ) ).

% mult_le_cancel_right
thf(fact_784_mult__left__less__imp__less,axiom,
    ! [A: $tType] :
      ( ( linordered_semiring @ A )
     => ! [C3: A,A3: A,B2: A] :
          ( ( ord_less @ A @ ( times_times @ A @ C3 @ A3 ) @ ( times_times @ A @ C3 @ B2 ) )
         => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ C3 )
           => ( ord_less @ A @ A3 @ B2 ) ) ) ) ).

% mult_left_less_imp_less
thf(fact_785_mult__strict__mono,axiom,
    ! [A: $tType] :
      ( ( linord8928482502909563296strict @ A )
     => ! [A3: A,B2: A,C3: A,D3: A] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ( ( ord_less @ A @ C3 @ D3 )
           => ( ( ord_less @ A @ ( zero_zero @ A ) @ B2 )
             => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ C3 )
               => ( ord_less @ A @ ( times_times @ A @ A3 @ C3 ) @ ( times_times @ A @ B2 @ D3 ) ) ) ) ) ) ) ).

% mult_strict_mono
thf(fact_786_mult__less__cancel__left,axiom,
    ! [A: $tType] :
      ( ( linord4710134922213307826strict @ A )
     => ! [C3: A,A3: A,B2: A] :
          ( ( ord_less @ A @ ( times_times @ A @ C3 @ A3 ) @ ( times_times @ A @ C3 @ B2 ) )
          = ( ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ C3 )
             => ( ord_less @ A @ A3 @ B2 ) )
            & ( ( ord_less_eq @ A @ C3 @ ( zero_zero @ A ) )
             => ( ord_less @ A @ B2 @ A3 ) ) ) ) ) ).

% mult_less_cancel_left
thf(fact_787_mult__right__less__imp__less,axiom,
    ! [A: $tType] :
      ( ( linordered_semiring @ A )
     => ! [A3: A,C3: A,B2: A] :
          ( ( ord_less @ A @ ( times_times @ A @ A3 @ C3 ) @ ( times_times @ A @ B2 @ C3 ) )
         => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ C3 )
           => ( ord_less @ A @ A3 @ B2 ) ) ) ) ).

% mult_right_less_imp_less
thf(fact_788_mult__strict__mono_H,axiom,
    ! [A: $tType] :
      ( ( linord8928482502909563296strict @ A )
     => ! [A3: A,B2: A,C3: A,D3: A] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ( ( ord_less @ A @ C3 @ D3 )
           => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 )
             => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ C3 )
               => ( ord_less @ A @ ( times_times @ A @ A3 @ C3 ) @ ( times_times @ A @ B2 @ D3 ) ) ) ) ) ) ) ).

% mult_strict_mono'
thf(fact_789_mult__less__cancel__right,axiom,
    ! [A: $tType] :
      ( ( linord4710134922213307826strict @ A )
     => ! [A3: A,C3: A,B2: A] :
          ( ( ord_less @ A @ ( times_times @ A @ A3 @ C3 ) @ ( times_times @ A @ B2 @ C3 ) )
          = ( ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ C3 )
             => ( ord_less @ A @ A3 @ B2 ) )
            & ( ( ord_less_eq @ A @ C3 @ ( zero_zero @ A ) )
             => ( ord_less @ A @ B2 @ A3 ) ) ) ) ) ).

% mult_less_cancel_right
thf(fact_790_mult__le__cancel__left__neg,axiom,
    ! [A: $tType] :
      ( ( linord4710134922213307826strict @ A )
     => ! [C3: A,A3: A,B2: A] :
          ( ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
         => ( ( ord_less_eq @ A @ ( times_times @ A @ C3 @ A3 ) @ ( times_times @ A @ C3 @ B2 ) )
            = ( ord_less_eq @ A @ B2 @ A3 ) ) ) ) ).

% mult_le_cancel_left_neg
thf(fact_791_mult__le__cancel__left__pos,axiom,
    ! [A: $tType] :
      ( ( linord4710134922213307826strict @ A )
     => ! [C3: A,A3: A,B2: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
         => ( ( ord_less_eq @ A @ ( times_times @ A @ C3 @ A3 ) @ ( times_times @ A @ C3 @ B2 ) )
            = ( ord_less_eq @ A @ A3 @ B2 ) ) ) ) ).

% mult_le_cancel_left_pos
thf(fact_792_mult__left__le__imp__le,axiom,
    ! [A: $tType] :
      ( ( linord8928482502909563296strict @ A )
     => ! [C3: A,A3: A,B2: A] :
          ( ( ord_less_eq @ A @ ( times_times @ A @ C3 @ A3 ) @ ( times_times @ A @ C3 @ B2 ) )
         => ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
           => ( ord_less_eq @ A @ A3 @ B2 ) ) ) ) ).

% mult_left_le_imp_le
thf(fact_793_mult__right__le__imp__le,axiom,
    ! [A: $tType] :
      ( ( linord8928482502909563296strict @ A )
     => ! [A3: A,C3: A,B2: A] :
          ( ( ord_less_eq @ A @ ( times_times @ A @ A3 @ C3 ) @ ( times_times @ A @ B2 @ C3 ) )
         => ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
           => ( ord_less_eq @ A @ A3 @ B2 ) ) ) ) ).

% mult_right_le_imp_le
thf(fact_794_mult__le__less__imp__less,axiom,
    ! [A: $tType] :
      ( ( linord8928482502909563296strict @ A )
     => ! [A3: A,B2: A,C3: A,D3: A] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ( ord_less @ A @ C3 @ D3 )
           => ( ( ord_less @ A @ ( zero_zero @ A ) @ A3 )
             => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ C3 )
               => ( ord_less @ A @ ( times_times @ A @ A3 @ C3 ) @ ( times_times @ A @ B2 @ D3 ) ) ) ) ) ) ) ).

% mult_le_less_imp_less
thf(fact_795_mult__less__le__imp__less,axiom,
    ! [A: $tType] :
      ( ( linord8928482502909563296strict @ A )
     => ! [A3: A,B2: A,C3: A,D3: A] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ( ( ord_less_eq @ A @ C3 @ D3 )
           => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 )
             => ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
               => ( ord_less @ A @ ( times_times @ A @ A3 @ C3 ) @ ( times_times @ A @ B2 @ D3 ) ) ) ) ) ) ) ).

% mult_less_le_imp_less
thf(fact_796_sum__squares__ge__zero,axiom,
    ! [A: $tType] :
      ( ( linordered_ring @ A )
     => ! [X: A,Y: A] : ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( plus_plus @ A @ ( times_times @ A @ X @ X ) @ ( times_times @ A @ Y @ Y ) ) ) ) ).

% sum_squares_ge_zero
thf(fact_797_mult__left__le,axiom,
    ! [A: $tType] :
      ( ( linord181362715937106298miring @ A )
     => ! [C3: A,A3: A] :
          ( ( ord_less_eq @ A @ C3 @ ( one_one @ A ) )
         => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 )
           => ( ord_less_eq @ A @ ( times_times @ A @ A3 @ C3 ) @ A3 ) ) ) ) ).

% mult_left_le
thf(fact_798_mult__le__one,axiom,
    ! [A: $tType] :
      ( ( linord181362715937106298miring @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ A3 @ ( one_one @ A ) )
         => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ B2 )
           => ( ( ord_less_eq @ A @ B2 @ ( one_one @ A ) )
             => ( ord_less_eq @ A @ ( times_times @ A @ A3 @ B2 ) @ ( one_one @ A ) ) ) ) ) ) ).

% mult_le_one
thf(fact_799_mult__right__le__one__le,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ X )
         => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ Y )
           => ( ( ord_less_eq @ A @ Y @ ( one_one @ A ) )
             => ( ord_less_eq @ A @ ( times_times @ A @ X @ Y ) @ X ) ) ) ) ) ).

% mult_right_le_one_le
thf(fact_800_mult__left__le__one__le,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ X )
         => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ Y )
           => ( ( ord_less_eq @ A @ Y @ ( one_one @ A ) )
             => ( ord_less_eq @ A @ ( times_times @ A @ Y @ X ) @ X ) ) ) ) ) ).

% mult_left_le_one_le
thf(fact_801_not__sum__squares__lt__zero,axiom,
    ! [A: $tType] :
      ( ( linordered_ring @ A )
     => ! [X: A,Y: A] :
          ~ ( ord_less @ A @ ( plus_plus @ A @ ( times_times @ A @ X @ X ) @ ( times_times @ A @ Y @ Y ) ) @ ( zero_zero @ A ) ) ) ).

% not_sum_squares_lt_zero
thf(fact_802_combine__common__factor,axiom,
    ! [A: $tType] :
      ( ( semiring @ A )
     => ! [A3: A,E3: A,B2: A,C3: A] :
          ( ( plus_plus @ A @ ( times_times @ A @ A3 @ E3 ) @ ( plus_plus @ A @ ( times_times @ A @ B2 @ E3 ) @ C3 ) )
          = ( plus_plus @ A @ ( times_times @ A @ ( plus_plus @ A @ A3 @ B2 ) @ E3 ) @ C3 ) ) ) ).

% combine_common_factor
thf(fact_803_distrib__right,axiom,
    ! [A: $tType] :
      ( ( semiring @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( times_times @ A @ ( plus_plus @ A @ A3 @ B2 ) @ C3 )
          = ( plus_plus @ A @ ( times_times @ A @ A3 @ C3 ) @ ( times_times @ A @ B2 @ C3 ) ) ) ) ).

% distrib_right
thf(fact_804_distrib__left,axiom,
    ! [A: $tType] :
      ( ( semiring @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( times_times @ A @ A3 @ ( plus_plus @ A @ B2 @ C3 ) )
          = ( plus_plus @ A @ ( times_times @ A @ A3 @ B2 ) @ ( times_times @ A @ A3 @ C3 ) ) ) ) ).

% distrib_left
thf(fact_805_comm__semiring__class_Odistrib,axiom,
    ! [A: $tType] :
      ( ( comm_semiring @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( times_times @ A @ ( plus_plus @ A @ A3 @ B2 ) @ C3 )
          = ( plus_plus @ A @ ( times_times @ A @ A3 @ C3 ) @ ( times_times @ A @ B2 @ C3 ) ) ) ) ).

% comm_semiring_class.distrib
thf(fact_806_ring__class_Oring__distribs_I1_J,axiom,
    ! [A: $tType] :
      ( ( ring @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( times_times @ A @ A3 @ ( plus_plus @ A @ B2 @ C3 ) )
          = ( plus_plus @ A @ ( times_times @ A @ A3 @ B2 ) @ ( times_times @ A @ A3 @ C3 ) ) ) ) ).

% ring_class.ring_distribs(1)
thf(fact_807_ring__class_Oring__distribs_I2_J,axiom,
    ! [A: $tType] :
      ( ( ring @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( times_times @ A @ ( plus_plus @ A @ A3 @ B2 ) @ C3 )
          = ( plus_plus @ A @ ( times_times @ A @ A3 @ C3 ) @ ( times_times @ A @ B2 @ C3 ) ) ) ) ).

% ring_class.ring_distribs(2)
thf(fact_808_le__numeral__extra_I3_J,axiom,
    ! [A: $tType] :
      ( ( linord181362715937106298miring @ A )
     => ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( zero_zero @ A ) ) ) ).

% le_numeral_extra(3)
thf(fact_809_zero__le,axiom,
    ! [A: $tType] :
      ( ( canoni5634975068530333245id_add @ A )
     => ! [X: A] : ( ord_less_eq @ A @ ( zero_zero @ A ) @ X ) ) ).

% zero_le
thf(fact_810_less__numeral__extra_I3_J,axiom,
    ! [A: $tType] :
      ( ( linord181362715937106298miring @ A )
     => ~ ( ord_less @ A @ ( zero_zero @ A ) @ ( zero_zero @ A ) ) ) ).

% less_numeral_extra(3)
thf(fact_811_zero__less__iff__neq__zero,axiom,
    ! [A: $tType] :
      ( ( canoni5634975068530333245id_add @ A )
     => ! [N: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ N )
          = ( N
           != ( zero_zero @ A ) ) ) ) ).

% zero_less_iff_neq_zero
thf(fact_812_gr__implies__not__zero,axiom,
    ! [A: $tType] :
      ( ( canoni5634975068530333245id_add @ A )
     => ! [M: A,N: A] :
          ( ( ord_less @ A @ M @ N )
         => ( N
           != ( zero_zero @ A ) ) ) ) ).

% gr_implies_not_zero
thf(fact_813_not__less__zero,axiom,
    ! [A: $tType] :
      ( ( canoni5634975068530333245id_add @ A )
     => ! [N: A] :
          ~ ( ord_less @ A @ N @ ( zero_zero @ A ) ) ) ).

% not_less_zero
thf(fact_814_gr__zeroI,axiom,
    ! [A: $tType] :
      ( ( canoni5634975068530333245id_add @ A )
     => ! [N: A] :
          ( ( N
           != ( zero_zero @ A ) )
         => ( ord_less @ A @ ( zero_zero @ A ) @ N ) ) ) ).

% gr_zeroI
thf(fact_815_add_Ogroup__left__neutral,axiom,
    ! [A: $tType] :
      ( ( group_add @ A )
     => ! [A3: A] :
          ( ( plus_plus @ A @ ( zero_zero @ A ) @ A3 )
          = A3 ) ) ).

% add.group_left_neutral
thf(fact_816_add_Ocomm__neutral,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [A3: A] :
          ( ( plus_plus @ A @ A3 @ ( zero_zero @ A ) )
          = A3 ) ) ).

% add.comm_neutral
thf(fact_817_comm__monoid__add__class_Oadd__0,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [A3: A] :
          ( ( plus_plus @ A @ ( zero_zero @ A ) @ A3 )
          = A3 ) ) ).

% comm_monoid_add_class.add_0
thf(fact_818_verit__sum__simplify,axiom,
    ! [A: $tType] :
      ( ( cancel1802427076303600483id_add @ A )
     => ! [A3: A] :
          ( ( plus_plus @ A @ A3 @ ( zero_zero @ A ) )
          = A3 ) ) ).

% verit_sum_simplify
thf(fact_819_ent__fwd,axiom,
    ! [P2: assn,H: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ),Q2: assn] :
      ( ( rep_assn @ P2 @ H )
     => ( ( entails @ P2 @ Q2 )
       => ( rep_assn @ Q2 @ H ) ) ) ).

% ent_fwd
thf(fact_820_entailsD,axiom,
    ! [P2: assn,Q2: assn,H: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
      ( ( entails @ P2 @ Q2 )
     => ( ( rep_assn @ P2 @ H )
       => ( rep_assn @ Q2 @ H ) ) ) ).

% entailsD
thf(fact_821_entailsI,axiom,
    ! [P2: assn,Q2: assn] :
      ( ! [H2: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
          ( ( rep_assn @ P2 @ H2 )
         => ( rep_assn @ Q2 @ H2 ) )
     => ( entails @ P2 @ Q2 ) ) ).

% entailsI
thf(fact_822_entails__def,axiom,
    ( entails
    = ( ^ [P5: assn,Q3: assn] :
        ! [H7: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
          ( ( rep_assn @ P5 @ H7 )
         => ( rep_assn @ Q3 @ H7 ) ) ) ) ).

% entails_def
thf(fact_823_mod__starD,axiom,
    ! [A6: assn,B6: assn,H: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
      ( ( rep_assn @ ( times_times @ assn @ A6 @ B6 ) @ H )
     => ? [H12: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ),H23: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
          ( ( rep_assn @ A6 @ H12 )
          & ( rep_assn @ B6 @ H23 ) ) ) ).

% mod_starD
thf(fact_824_mod__starE,axiom,
    ! [A3: assn,B2: assn,H: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
      ( ( rep_assn @ ( times_times @ assn @ A3 @ B2 ) @ H )
     => ~ ( ? [X_1: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] : ( rep_assn @ A3 @ X_1 )
         => ! [H_2: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
              ~ ( rep_assn @ B2 @ H_2 ) ) ) ).

% mod_starE
thf(fact_825_infinite__descent0__measure,axiom,
    ! [A: $tType,V: A > nat,P2: A > $o,X: A] :
      ( ! [X3: A] :
          ( ( ( V @ X3 )
            = ( zero_zero @ nat ) )
         => ( P2 @ X3 ) )
     => ( ! [X3: A] :
            ( ( ord_less @ nat @ ( zero_zero @ nat ) @ ( V @ X3 ) )
           => ( ~ ( P2 @ X3 )
             => ? [Y5: A] :
                  ( ( ord_less @ nat @ ( V @ Y5 ) @ ( V @ X3 ) )
                  & ~ ( P2 @ Y5 ) ) ) )
       => ( P2 @ X ) ) ) ).

% infinite_descent0_measure
thf(fact_826_infinite__descent0,axiom,
    ! [P2: nat > $o,N: nat] :
      ( ( P2 @ ( zero_zero @ nat ) )
     => ( ! [N4: nat] :
            ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N4 )
           => ( ~ ( P2 @ N4 )
             => ? [M4: nat] :
                  ( ( ord_less @ nat @ M4 @ N4 )
                  & ~ ( P2 @ M4 ) ) ) )
       => ( P2 @ N ) ) ) ).

% infinite_descent0
thf(fact_827_gr__implies__not0,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less @ nat @ M @ N )
     => ( N
       != ( zero_zero @ nat ) ) ) ).

% gr_implies_not0
thf(fact_828_less__zeroE,axiom,
    ! [N: nat] :
      ~ ( ord_less @ nat @ N @ ( zero_zero @ nat ) ) ).

% less_zeroE
thf(fact_829_not__less0,axiom,
    ! [N: nat] :
      ~ ( ord_less @ nat @ N @ ( zero_zero @ nat ) ) ).

% not_less0
thf(fact_830_not__gr0,axiom,
    ! [N: nat] :
      ( ( ~ ( ord_less @ nat @ ( zero_zero @ nat ) @ N ) )
      = ( N
        = ( zero_zero @ nat ) ) ) ).

% not_gr0
thf(fact_831_gr0I,axiom,
    ! [N: nat] :
      ( ( N
       != ( zero_zero @ nat ) )
     => ( ord_less @ nat @ ( zero_zero @ nat ) @ N ) ) ).

% gr0I
thf(fact_832_bot__nat__0_Oextremum__strict,axiom,
    ! [A3: nat] :
      ~ ( ord_less @ nat @ A3 @ ( zero_zero @ nat ) ) ).

% bot_nat_0.extremum_strict
thf(fact_833_le__0__eq,axiom,
    ! [N: nat] :
      ( ( ord_less_eq @ nat @ N @ ( zero_zero @ nat ) )
      = ( N
        = ( zero_zero @ nat ) ) ) ).

% le_0_eq
thf(fact_834_bot__nat__0_Oextremum__uniqueI,axiom,
    ! [A3: nat] :
      ( ( ord_less_eq @ nat @ A3 @ ( zero_zero @ nat ) )
     => ( A3
        = ( zero_zero @ nat ) ) ) ).

% bot_nat_0.extremum_uniqueI
thf(fact_835_bot__nat__0_Oextremum__unique,axiom,
    ! [A3: nat] :
      ( ( ord_less_eq @ nat @ A3 @ ( zero_zero @ nat ) )
      = ( A3
        = ( zero_zero @ nat ) ) ) ).

% bot_nat_0.extremum_unique
thf(fact_836_less__eq__nat_Osimps_I1_J,axiom,
    ! [N: nat] : ( ord_less_eq @ nat @ ( zero_zero @ nat ) @ N ) ).

% less_eq_nat.simps(1)
thf(fact_837_plus__nat_Oadd__0,axiom,
    ! [N: nat] :
      ( ( plus_plus @ nat @ ( zero_zero @ nat ) @ N )
      = N ) ).

% plus_nat.add_0
thf(fact_838_add__eq__self__zero,axiom,
    ! [M: nat,N: nat] :
      ( ( ( plus_plus @ nat @ M @ N )
        = M )
     => ( N
        = ( zero_zero @ nat ) ) ) ).

% add_eq_self_zero
thf(fact_839_cons__post__rule,axiom,
    ! [A: $tType,P2: assn,C3: heap_Time_Heap @ A,Q2: A > assn,Q4: A > assn] :
      ( ( hoare_hoare_triple @ A @ P2 @ C3 @ Q2 )
     => ( ! [X3: A] : ( entails @ ( Q2 @ X3 ) @ ( Q4 @ X3 ) )
       => ( hoare_hoare_triple @ A @ P2 @ C3 @ Q4 ) ) ) ).

% cons_post_rule
thf(fact_840_cons__rule,axiom,
    ! [A: $tType,P2: assn,P6: assn,Q2: A > assn,Q4: A > assn,C3: heap_Time_Heap @ A] :
      ( ( entails @ P2 @ P6 )
     => ( ! [X3: A] : ( entails @ ( Q2 @ X3 ) @ ( Q4 @ X3 ) )
       => ( ( hoare_hoare_triple @ A @ P6 @ C3 @ Q2 )
         => ( hoare_hoare_triple @ A @ P2 @ C3 @ Q4 ) ) ) ) ).

% cons_rule
thf(fact_841_ent__disjE,axiom,
    ! [A6: assn,C5: assn,B6: assn] :
      ( ( entails @ A6 @ C5 )
     => ( ( entails @ B6 @ C5 )
       => ( entails @ ( sup_sup @ assn @ A6 @ B6 ) @ C5 ) ) ) ).

% ent_disjE
thf(fact_842_ent__disjI1,axiom,
    ! [P2: assn,Q2: assn,R4: assn] :
      ( ( entails @ ( sup_sup @ assn @ P2 @ Q2 ) @ R4 )
     => ( entails @ P2 @ R4 ) ) ).

% ent_disjI1
thf(fact_843_ent__disjI2,axiom,
    ! [P2: assn,Q2: assn,R4: assn] :
      ( ( entails @ ( sup_sup @ assn @ P2 @ Q2 ) @ R4 )
     => ( entails @ Q2 @ R4 ) ) ).

% ent_disjI2
thf(fact_844_ent__disjI1_H,axiom,
    ! [A6: assn,B6: assn,C5: assn] :
      ( ( entails @ A6 @ B6 )
     => ( entails @ A6 @ ( sup_sup @ assn @ B6 @ C5 ) ) ) ).

% ent_disjI1'
thf(fact_845_ent__disjI2_H,axiom,
    ! [A6: assn,C5: assn,B6: assn] :
      ( ( entails @ A6 @ C5 )
     => ( entails @ A6 @ ( sup_sup @ assn @ B6 @ C5 ) ) ) ).

% ent_disjI2'
thf(fact_846_ent__disjI1__direct,axiom,
    ! [A6: assn,B6: assn] : ( entails @ A6 @ ( sup_sup @ assn @ A6 @ B6 ) ) ).

% ent_disjI1_direct
thf(fact_847_ent__disjI2__direct,axiom,
    ! [B6: assn,A6: assn] : ( entails @ B6 @ ( sup_sup @ assn @ A6 @ B6 ) ) ).

% ent_disjI2_direct
thf(fact_848_star__or__dist1,axiom,
    ! [A6: assn,B6: assn,C5: assn] :
      ( ( times_times @ assn @ ( sup_sup @ assn @ A6 @ B6 ) @ C5 )
      = ( sup_sup @ assn @ ( times_times @ assn @ A6 @ C5 ) @ ( times_times @ assn @ B6 @ C5 ) ) ) ).

% star_or_dist1
thf(fact_849_star__or__dist2,axiom,
    ! [C5: assn,A6: assn,B6: assn] :
      ( ( times_times @ assn @ C5 @ ( sup_sup @ assn @ A6 @ B6 ) )
      = ( sup_sup @ assn @ ( times_times @ assn @ C5 @ A6 ) @ ( times_times @ assn @ C5 @ B6 ) ) ) ).

% star_or_dist2
thf(fact_850_assn__one__left,axiom,
    ! [P2: assn] :
      ( ( times_times @ assn @ ( one_one @ assn ) @ P2 )
      = P2 ) ).

% assn_one_left
thf(fact_851_ent__false,axiom,
    ! [P2: assn] : ( entails @ ( bot_bot @ assn ) @ P2 ) ).

% ent_false
thf(fact_852_mult__le__cancel__left1,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [C3: A,B2: A] :
          ( ( ord_less_eq @ A @ C3 @ ( times_times @ A @ C3 @ B2 ) )
          = ( ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
             => ( ord_less_eq @ A @ ( one_one @ A ) @ B2 ) )
            & ( ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
             => ( ord_less_eq @ A @ B2 @ ( one_one @ A ) ) ) ) ) ) ).

% mult_le_cancel_left1
thf(fact_853_mult__le__cancel__left2,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [C3: A,A3: A] :
          ( ( ord_less_eq @ A @ ( times_times @ A @ C3 @ A3 ) @ C3 )
          = ( ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
             => ( ord_less_eq @ A @ A3 @ ( one_one @ A ) ) )
            & ( ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
             => ( ord_less_eq @ A @ ( one_one @ A ) @ A3 ) ) ) ) ) ).

% mult_le_cancel_left2
thf(fact_854_mult__le__cancel__right1,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [C3: A,B2: A] :
          ( ( ord_less_eq @ A @ C3 @ ( times_times @ A @ B2 @ C3 ) )
          = ( ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
             => ( ord_less_eq @ A @ ( one_one @ A ) @ B2 ) )
            & ( ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
             => ( ord_less_eq @ A @ B2 @ ( one_one @ A ) ) ) ) ) ) ).

% mult_le_cancel_right1
thf(fact_855_mult__le__cancel__right2,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [A3: A,C3: A] :
          ( ( ord_less_eq @ A @ ( times_times @ A @ A3 @ C3 ) @ C3 )
          = ( ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
             => ( ord_less_eq @ A @ A3 @ ( one_one @ A ) ) )
            & ( ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
             => ( ord_less_eq @ A @ ( one_one @ A ) @ A3 ) ) ) ) ) ).

% mult_le_cancel_right2
thf(fact_856_mult__less__cancel__left1,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [C3: A,B2: A] :
          ( ( ord_less @ A @ C3 @ ( times_times @ A @ C3 @ B2 ) )
          = ( ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ C3 )
             => ( ord_less @ A @ ( one_one @ A ) @ B2 ) )
            & ( ( ord_less_eq @ A @ C3 @ ( zero_zero @ A ) )
             => ( ord_less @ A @ B2 @ ( one_one @ A ) ) ) ) ) ) ).

% mult_less_cancel_left1
thf(fact_857_mult__less__cancel__left2,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [C3: A,A3: A] :
          ( ( ord_less @ A @ ( times_times @ A @ C3 @ A3 ) @ C3 )
          = ( ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ C3 )
             => ( ord_less @ A @ A3 @ ( one_one @ A ) ) )
            & ( ( ord_less_eq @ A @ C3 @ ( zero_zero @ A ) )
             => ( ord_less @ A @ ( one_one @ A ) @ A3 ) ) ) ) ) ).

% mult_less_cancel_left2
thf(fact_858_mult__less__cancel__right1,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [C3: A,B2: A] :
          ( ( ord_less @ A @ C3 @ ( times_times @ A @ B2 @ C3 ) )
          = ( ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ C3 )
             => ( ord_less @ A @ ( one_one @ A ) @ B2 ) )
            & ( ( ord_less_eq @ A @ C3 @ ( zero_zero @ A ) )
             => ( ord_less @ A @ B2 @ ( one_one @ A ) ) ) ) ) ) ).

% mult_less_cancel_right1
thf(fact_859_mult__less__cancel__right2,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [A3: A,C3: A] :
          ( ( ord_less @ A @ ( times_times @ A @ A3 @ C3 ) @ C3 )
          = ( ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ C3 )
             => ( ord_less @ A @ A3 @ ( one_one @ A ) ) )
            & ( ( ord_less_eq @ A @ C3 @ ( zero_zero @ A ) )
             => ( ord_less @ A @ ( one_one @ A ) @ A3 ) ) ) ) ) ).

% mult_less_cancel_right2
thf(fact_860_convex__bound__le,axiom,
    ! [A: $tType] :
      ( ( linord6961819062388156250ring_1 @ A )
     => ! [X: A,A3: A,Y: A,U: A,V2: A] :
          ( ( ord_less_eq @ A @ X @ A3 )
         => ( ( ord_less_eq @ A @ Y @ A3 )
           => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ U )
             => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ V2 )
               => ( ( ( plus_plus @ A @ U @ V2 )
                    = ( one_one @ A ) )
                 => ( ord_less_eq @ A @ ( plus_plus @ A @ ( times_times @ A @ U @ X ) @ ( times_times @ A @ V2 @ Y ) ) @ A3 ) ) ) ) ) ) ) ).

% convex_bound_le
thf(fact_861_lambda__one,axiom,
    ! [A: $tType] :
      ( ( monoid_mult @ A )
     => ( ( ^ [X4: A] : X4 )
        = ( times_times @ A @ ( one_one @ A ) ) ) ) ).

% lambda_one
thf(fact_862_cons__pre__rule,axiom,
    ! [A: $tType,P2: assn,P6: assn,C3: heap_Time_Heap @ A,Q2: A > assn] :
      ( ( entails @ P2 @ P6 )
     => ( ( hoare_hoare_triple @ A @ P6 @ C3 @ Q2 )
       => ( hoare_hoare_triple @ A @ P2 @ C3 @ Q2 ) ) ) ).

% cons_pre_rule
thf(fact_863_frame__rule,axiom,
    ! [A: $tType,P2: assn,C3: heap_Time_Heap @ A,Q2: A > assn,R4: assn] :
      ( ( hoare_hoare_triple @ A @ P2 @ C3 @ Q2 )
     => ( hoare_hoare_triple @ A @ ( times_times @ assn @ P2 @ R4 ) @ C3
        @ ^ [X4: A] : ( times_times @ assn @ ( Q2 @ X4 ) @ R4 ) ) ) ).

% frame_rule
thf(fact_864_ent__ex__postI,axiom,
    ! [A: $tType,P2: assn,Q2: A > assn,X: A] :
      ( ( entails @ P2 @ ( Q2 @ X ) )
     => ( entails @ P2 @ ( ex_assn @ A @ Q2 ) ) ) ).

% ent_ex_postI
thf(fact_865_ent__ex__preI,axiom,
    ! [A: $tType,P2: A > assn,Q2: assn] :
      ( ! [X3: A] : ( entails @ ( P2 @ X3 ) @ Q2 )
     => ( entails @ ( ex_assn @ A @ P2 ) @ Q2 ) ) ).

% ent_ex_preI
thf(fact_866_ex__distrib__star,axiom,
    ! [A: $tType,P2: A > assn,Q2: assn] :
      ( ( ex_assn @ A
        @ ^ [X4: A] : ( times_times @ assn @ ( P2 @ X4 ) @ Q2 ) )
      = ( times_times @ assn @ ( ex_assn @ A @ P2 ) @ Q2 ) ) ).

% ex_distrib_star
thf(fact_867_convex__bound__lt,axiom,
    ! [A: $tType] :
      ( ( linord715952674999750819strict @ A )
     => ! [X: A,A3: A,Y: A,U: A,V2: A] :
          ( ( ord_less @ A @ X @ A3 )
         => ( ( ord_less @ A @ Y @ A3 )
           => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ U )
             => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ V2 )
               => ( ( ( plus_plus @ A @ U @ V2 )
                    = ( one_one @ A ) )
                 => ( ord_less @ A @ ( plus_plus @ A @ ( times_times @ A @ U @ X ) @ ( times_times @ A @ V2 @ Y ) ) @ A3 ) ) ) ) ) ) ) ).

% convex_bound_lt
thf(fact_868_less__1__mult,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [M: A,N: A] :
          ( ( ord_less @ A @ ( one_one @ A ) @ M )
         => ( ( ord_less @ A @ ( one_one @ A ) @ N )
           => ( ord_less @ A @ ( one_one @ A ) @ ( times_times @ A @ M @ N ) ) ) ) ) ).

% less_1_mult
thf(fact_869_add__decreasing,axiom,
    ! [A: $tType] :
      ( ( ordere6911136660526730532id_add @ A )
     => ! [A3: A,C3: A,B2: A] :
          ( ( ord_less_eq @ A @ A3 @ ( zero_zero @ A ) )
         => ( ( ord_less_eq @ A @ C3 @ B2 )
           => ( ord_less_eq @ A @ ( plus_plus @ A @ A3 @ C3 ) @ B2 ) ) ) ) ).

% add_decreasing
thf(fact_870_add__increasing,axiom,
    ! [A: $tType] :
      ( ( ordere6911136660526730532id_add @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 )
         => ( ( ord_less_eq @ A @ B2 @ C3 )
           => ( ord_less_eq @ A @ B2 @ ( plus_plus @ A @ A3 @ C3 ) ) ) ) ) ).

% add_increasing
thf(fact_871_add__decreasing2,axiom,
    ! [A: $tType] :
      ( ( ordere6911136660526730532id_add @ A )
     => ! [C3: A,A3: A,B2: A] :
          ( ( ord_less_eq @ A @ C3 @ ( zero_zero @ A ) )
         => ( ( ord_less_eq @ A @ A3 @ B2 )
           => ( ord_less_eq @ A @ ( plus_plus @ A @ A3 @ C3 ) @ B2 ) ) ) ) ).

% add_decreasing2
thf(fact_872_add__increasing2,axiom,
    ! [A: $tType] :
      ( ( ordere6911136660526730532id_add @ A )
     => ! [C3: A,B2: A,A3: A] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ C3 )
         => ( ( ord_less_eq @ A @ B2 @ A3 )
           => ( ord_less_eq @ A @ B2 @ ( plus_plus @ A @ A3 @ C3 ) ) ) ) ) ).

% add_increasing2
thf(fact_873_add__nonneg__nonneg,axiom,
    ! [A: $tType] :
      ( ( ordere6911136660526730532id_add @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 )
         => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ B2 )
           => ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( plus_plus @ A @ A3 @ B2 ) ) ) ) ) ).

% add_nonneg_nonneg
thf(fact_874_add__nonpos__nonpos,axiom,
    ! [A: $tType] :
      ( ( ordere6911136660526730532id_add @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ A3 @ ( zero_zero @ A ) )
         => ( ( ord_less_eq @ A @ B2 @ ( zero_zero @ A ) )
           => ( ord_less_eq @ A @ ( plus_plus @ A @ A3 @ B2 ) @ ( zero_zero @ A ) ) ) ) ) ).

% add_nonpos_nonpos
thf(fact_875_add__nonneg__eq__0__iff,axiom,
    ! [A: $tType] :
      ( ( ordere6911136660526730532id_add @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ X )
         => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ Y )
           => ( ( ( plus_plus @ A @ X @ Y )
                = ( zero_zero @ A ) )
              = ( ( X
                  = ( zero_zero @ A ) )
                & ( Y
                  = ( zero_zero @ A ) ) ) ) ) ) ) ).

% add_nonneg_eq_0_iff
thf(fact_876_add__nonpos__eq__0__iff,axiom,
    ! [A: $tType] :
      ( ( ordere6911136660526730532id_add @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less_eq @ A @ X @ ( zero_zero @ A ) )
         => ( ( ord_less_eq @ A @ Y @ ( zero_zero @ A ) )
           => ( ( ( plus_plus @ A @ X @ Y )
                = ( zero_zero @ A ) )
              = ( ( X
                  = ( zero_zero @ A ) )
                & ( Y
                  = ( zero_zero @ A ) ) ) ) ) ) ) ).

% add_nonpos_eq_0_iff
thf(fact_877_not__one__le__zero,axiom,
    ! [A: $tType] :
      ( ( linord181362715937106298miring @ A )
     => ~ ( ord_less_eq @ A @ ( one_one @ A ) @ ( zero_zero @ A ) ) ) ).

% not_one_le_zero
thf(fact_878_linordered__nonzero__semiring__class_Ozero__le__one,axiom,
    ! [A: $tType] :
      ( ( linord181362715937106298miring @ A )
     => ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( one_one @ A ) ) ) ).

% linordered_nonzero_semiring_class.zero_le_one
thf(fact_879_zero__less__one__class_Ozero__le__one,axiom,
    ! [A: $tType] :
      ( ( zero_less_one @ A )
     => ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( one_one @ A ) ) ) ).

% zero_less_one_class.zero_le_one
thf(fact_880_pos__add__strict,axiom,
    ! [A: $tType] :
      ( ( strict7427464778891057005id_add @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ A3 )
         => ( ( ord_less @ A @ B2 @ C3 )
           => ( ord_less @ A @ B2 @ ( plus_plus @ A @ A3 @ C3 ) ) ) ) ) ).

% pos_add_strict
thf(fact_881_canonically__ordered__monoid__add__class_OlessE,axiom,
    ! [A: $tType] :
      ( ( canoni5634975068530333245id_add @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ~ ! [C2: A] :
                ( ( B2
                  = ( plus_plus @ A @ A3 @ C2 ) )
               => ( C2
                  = ( zero_zero @ A ) ) ) ) ) ).

% canonically_ordered_monoid_add_class.lessE
thf(fact_882_add__pos__pos,axiom,
    ! [A: $tType] :
      ( ( ordere6911136660526730532id_add @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ A3 )
         => ( ( ord_less @ A @ ( zero_zero @ A ) @ B2 )
           => ( ord_less @ A @ ( zero_zero @ A ) @ ( plus_plus @ A @ A3 @ B2 ) ) ) ) ) ).

% add_pos_pos
thf(fact_883_add__neg__neg,axiom,
    ! [A: $tType] :
      ( ( ordere6911136660526730532id_add @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ A3 @ ( zero_zero @ A ) )
         => ( ( ord_less @ A @ B2 @ ( zero_zero @ A ) )
           => ( ord_less @ A @ ( plus_plus @ A @ A3 @ B2 ) @ ( zero_zero @ A ) ) ) ) ) ).

% add_neg_neg
thf(fact_884_add__less__zeroD,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less @ A @ ( plus_plus @ A @ X @ Y ) @ ( zero_zero @ A ) )
         => ( ( ord_less @ A @ X @ ( zero_zero @ A ) )
            | ( ord_less @ A @ Y @ ( zero_zero @ A ) ) ) ) ) ).

% add_less_zeroD
thf(fact_885_less__numeral__extra_I1_J,axiom,
    ! [A: $tType] :
      ( ( linord181362715937106298miring @ A )
     => ( ord_less @ A @ ( zero_zero @ A ) @ ( one_one @ A ) ) ) ).

% less_numeral_extra(1)
thf(fact_886_not__one__less__zero,axiom,
    ! [A: $tType] :
      ( ( linord181362715937106298miring @ A )
     => ~ ( ord_less @ A @ ( one_one @ A ) @ ( zero_zero @ A ) ) ) ).

% not_one_less_zero
thf(fact_887_zero__less__one,axiom,
    ! [A: $tType] :
      ( ( zero_less_one @ A )
     => ( ord_less @ A @ ( zero_zero @ A ) @ ( one_one @ A ) ) ) ).

% zero_less_one
thf(fact_888_ex__least__nat__le,axiom,
    ! [P2: nat > $o,N: nat] :
      ( ( P2 @ N )
     => ( ~ ( P2 @ ( zero_zero @ nat ) )
       => ? [K: nat] :
            ( ( ord_less_eq @ nat @ K @ N )
            & ! [I4: nat] :
                ( ( ord_less @ nat @ I4 @ K )
               => ~ ( P2 @ I4 ) )
            & ( P2 @ K ) ) ) ) ).

% ex_least_nat_le
thf(fact_889_less__imp__add__positive,axiom,
    ! [I2: nat,J2: nat] :
      ( ( ord_less @ nat @ I2 @ J2 )
     => ? [K: nat] :
          ( ( ord_less @ nat @ ( zero_zero @ nat ) @ K )
          & ( ( plus_plus @ nat @ I2 @ K )
            = J2 ) ) ) ).

% less_imp_add_positive
thf(fact_890_nat__geq__1__eq__neqz,axiom,
    ! [X: nat] :
      ( ( ord_less_eq @ nat @ ( one_one @ nat ) @ X )
      = ( X
       != ( zero_zero @ nat ) ) ) ).

% nat_geq_1_eq_neqz
thf(fact_891_norm__pre__pure__rule1,axiom,
    ! [A: $tType,B2: $o,P2: assn,F3: heap_Time_Heap @ A,Q2: A > assn] :
      ( ( B2
       => ( hoare_hoare_triple @ A @ P2 @ F3 @ Q2 ) )
     => ( hoare_hoare_triple @ A @ ( times_times @ assn @ P2 @ ( pure_assn @ B2 ) ) @ F3 @ Q2 ) ) ).

% norm_pre_pure_rule1
thf(fact_892_bind__ureturn,axiom,
    ! [A: $tType,F3: heap_Time_Heap @ A] :
      ( ( heap_Time_bind @ A @ A @ F3 @ ( heap_Time_ureturn @ A ) )
      = F3 ) ).

% bind_ureturn
thf(fact_893_ureturn__bind,axiom,
    ! [A: $tType,B: $tType,X: B,F3: B > ( heap_Time_Heap @ A )] :
      ( ( heap_Time_bind @ B @ A @ ( heap_Time_ureturn @ B @ X ) @ F3 )
      = ( F3 @ X ) ) ).

% ureturn_bind
thf(fact_894_success__ureturnI,axiom,
    ! [A: $tType,X: A,H: heap_ext @ product_unit] : ( heap_Time_success @ A @ ( heap_Time_ureturn @ A @ X ) @ H ) ).

% success_ureturnI
thf(fact_895_bot__nat__0_Oordering__top__axioms,axiom,
    ( ordering_top @ nat
    @ ^ [X4: nat,Y4: nat] : ( ord_less_eq @ nat @ Y4 @ X4 )
    @ ^ [X4: nat,Y4: nat] : ( ord_less @ nat @ Y4 @ X4 )
    @ ( zero_zero @ nat ) ) ).

% bot_nat_0.ordering_top_axioms
thf(fact_896_ureturn__def,axiom,
    ! [A: $tType] :
      ( ( heap_Time_ureturn @ A )
      = ( ^ [X4: A] :
            ( heap_Time_heap @ A
            @ ^ [H7: heap_ext @ product_unit] : ( product_Pair @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ X4 @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ H7 @ ( zero_zero @ nat ) ) ) ) ) ) ).

% ureturn_def
thf(fact_897_add__neg__nonpos,axiom,
    ! [A: $tType] :
      ( ( ordere6911136660526730532id_add @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ A3 @ ( zero_zero @ A ) )
         => ( ( ord_less_eq @ A @ B2 @ ( zero_zero @ A ) )
           => ( ord_less @ A @ ( plus_plus @ A @ A3 @ B2 ) @ ( zero_zero @ A ) ) ) ) ) ).

% add_neg_nonpos
thf(fact_898_add__nonneg__pos,axiom,
    ! [A: $tType] :
      ( ( ordere6911136660526730532id_add @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 )
         => ( ( ord_less @ A @ ( zero_zero @ A ) @ B2 )
           => ( ord_less @ A @ ( zero_zero @ A ) @ ( plus_plus @ A @ A3 @ B2 ) ) ) ) ) ).

% add_nonneg_pos
thf(fact_899_add__nonpos__neg,axiom,
    ! [A: $tType] :
      ( ( ordere6911136660526730532id_add @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ A3 @ ( zero_zero @ A ) )
         => ( ( ord_less @ A @ B2 @ ( zero_zero @ A ) )
           => ( ord_less @ A @ ( plus_plus @ A @ A3 @ B2 ) @ ( zero_zero @ A ) ) ) ) ) ).

% add_nonpos_neg
thf(fact_900_add__pos__nonneg,axiom,
    ! [A: $tType] :
      ( ( ordere6911136660526730532id_add @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ A3 )
         => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ B2 )
           => ( ord_less @ A @ ( zero_zero @ A ) @ ( plus_plus @ A @ A3 @ B2 ) ) ) ) ) ).

% add_pos_nonneg
thf(fact_901_add__strict__increasing,axiom,
    ! [A: $tType] :
      ( ( ordere8940638589300402666id_add @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ A3 )
         => ( ( ord_less_eq @ A @ B2 @ C3 )
           => ( ord_less @ A @ B2 @ ( plus_plus @ A @ A3 @ C3 ) ) ) ) ) ).

% add_strict_increasing
thf(fact_902_add__strict__increasing2,axiom,
    ! [A: $tType] :
      ( ( ordere8940638589300402666id_add @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 )
         => ( ( ord_less @ A @ B2 @ C3 )
           => ( ord_less @ A @ B2 @ ( plus_plus @ A @ A3 @ C3 ) ) ) ) ) ).

% add_strict_increasing2
thf(fact_903_zero__less__two,axiom,
    ! [A: $tType] :
      ( ( linord181362715937106298miring @ A )
     => ( ord_less @ A @ ( zero_zero @ A ) @ ( plus_plus @ A @ ( one_one @ A ) @ ( one_one @ A ) ) ) ) ).

% zero_less_two
thf(fact_904_return__sp__rule,axiom,
    ! [A: $tType,P2: assn,X: A] :
      ( hoare_hoare_triple @ A @ P2 @ ( heap_Time_return @ A @ X )
      @ ^ [R5: A] : ( times_times @ assn @ P2 @ ( pure_assn @ ( R5 = X ) ) ) ) ).

% return_sp_rule
thf(fact_905_pure__assn__raw_Oelims_I3_J,axiom,
    ! [B: $tType,A: $tType,X: $o,Xa: product_prod @ A @ ( set @ B )] :
      ( ~ ( pure_assn_raw @ A @ B @ X @ Xa )
     => ~ ! [H2: A,As2: set @ B] :
            ( ( Xa
              = ( product_Pair @ A @ ( set @ B ) @ H2 @ As2 ) )
           => ( ( As2
                = ( bot_bot @ ( set @ B ) ) )
              & X ) ) ) ).

% pure_assn_raw.elims(3)
thf(fact_906_field__le__mult__one__interval,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [X: A,Y: A] :
          ( ! [Z3: A] :
              ( ( ord_less @ A @ ( zero_zero @ A ) @ Z3 )
             => ( ( ord_less @ A @ Z3 @ ( one_one @ A ) )
               => ( ord_less_eq @ A @ ( times_times @ A @ Z3 @ X ) @ Y ) ) )
         => ( ord_less_eq @ A @ X @ Y ) ) ) ).

% field_le_mult_one_interval
thf(fact_907_double__eq__0__iff,axiom,
    ! [A: $tType] :
      ( ( linord5086331880401160121up_add @ A )
     => ! [A3: A] :
          ( ( ( plus_plus @ A @ A3 @ A3 )
            = ( zero_zero @ A ) )
          = ( A3
            = ( zero_zero @ A ) ) ) ) ).

% double_eq_0_iff
thf(fact_908_sum__squares__gt__zero__iff,axiom,
    ! [A: $tType] :
      ( ( linord4710134922213307826strict @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ ( plus_plus @ A @ ( times_times @ A @ X @ X ) @ ( times_times @ A @ Y @ Y ) ) )
          = ( ( X
             != ( zero_zero @ A ) )
            | ( Y
             != ( zero_zero @ A ) ) ) ) ) ).

% sum_squares_gt_zero_iff
thf(fact_909_sum__squares__le__zero__iff,axiom,
    ! [A: $tType] :
      ( ( linord4710134922213307826strict @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less_eq @ A @ ( plus_plus @ A @ ( times_times @ A @ X @ X ) @ ( times_times @ A @ Y @ Y ) ) @ ( zero_zero @ A ) )
          = ( ( X
              = ( zero_zero @ A ) )
            & ( Y
              = ( zero_zero @ A ) ) ) ) ) ).

% sum_squares_le_zero_iff
thf(fact_910_mult__le__cancel__iff1,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [Z4: A,X: A,Y: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ Z4 )
         => ( ( ord_less_eq @ A @ ( times_times @ A @ X @ Z4 ) @ ( times_times @ A @ Y @ Z4 ) )
            = ( ord_less_eq @ A @ X @ Y ) ) ) ) ).

% mult_le_cancel_iff1
thf(fact_911_mult__le__cancel__iff2,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [Z4: A,X: A,Y: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ Z4 )
         => ( ( ord_less_eq @ A @ ( times_times @ A @ Z4 @ X ) @ ( times_times @ A @ Z4 @ Y ) )
            = ( ord_less_eq @ A @ X @ Y ) ) ) ) ).

% mult_le_cancel_iff2
thf(fact_912_field__le__epsilon,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [X: A,Y: A] :
          ( ! [E2: A] :
              ( ( ord_less @ A @ ( zero_zero @ A ) @ E2 )
             => ( ord_less_eq @ A @ X @ ( plus_plus @ A @ Y @ E2 ) ) )
         => ( ord_less_eq @ A @ X @ Y ) ) ) ).

% field_le_epsilon
thf(fact_913_divides__aux__eq,axiom,
    ! [A: $tType] :
      ( ( unique1627219031080169319umeral @ A )
     => ! [Q6: A,R3: A] :
          ( ( unique5940410009612947441es_aux @ A @ ( product_Pair @ A @ A @ Q6 @ R3 ) )
          = ( R3
            = ( zero_zero @ A ) ) ) ) ).

% divides_aux_eq
thf(fact_914_pure__assn__raw_Opelims_I3_J,axiom,
    ! [B: $tType,A: $tType,X: $o,Xa: product_prod @ A @ ( set @ B )] :
      ( ~ ( pure_assn_raw @ A @ B @ X @ Xa )
     => ( ( accp @ ( product_prod @ $o @ ( product_prod @ A @ ( set @ B ) ) ) @ ( pure_assn_raw_rel @ A @ B ) @ ( product_Pair @ $o @ ( product_prod @ A @ ( set @ B ) ) @ X @ Xa ) )
       => ~ ! [H2: A,As2: set @ B] :
              ( ( Xa
                = ( product_Pair @ A @ ( set @ B ) @ H2 @ As2 ) )
             => ( ( accp @ ( product_prod @ $o @ ( product_prod @ A @ ( set @ B ) ) ) @ ( pure_assn_raw_rel @ A @ B ) @ ( product_Pair @ $o @ ( product_prod @ A @ ( set @ B ) ) @ X @ ( product_Pair @ A @ ( set @ B ) @ H2 @ As2 ) ) )
               => ( ( As2
                    = ( bot_bot @ ( set @ B ) ) )
                  & X ) ) ) ) ) ).

% pure_assn_raw.pelims(3)
thf(fact_915_pure__assn__raw_Opelims_I2_J,axiom,
    ! [B: $tType,A: $tType,X: $o,Xa: product_prod @ A @ ( set @ B )] :
      ( ( pure_assn_raw @ A @ B @ X @ Xa )
     => ( ( accp @ ( product_prod @ $o @ ( product_prod @ A @ ( set @ B ) ) ) @ ( pure_assn_raw_rel @ A @ B ) @ ( product_Pair @ $o @ ( product_prod @ A @ ( set @ B ) ) @ X @ Xa ) )
       => ~ ! [H2: A,As2: set @ B] :
              ( ( Xa
                = ( product_Pair @ A @ ( set @ B ) @ H2 @ As2 ) )
             => ( ( accp @ ( product_prod @ $o @ ( product_prod @ A @ ( set @ B ) ) ) @ ( pure_assn_raw_rel @ A @ B ) @ ( product_Pair @ $o @ ( product_prod @ A @ ( set @ B ) ) @ X @ ( product_Pair @ A @ ( set @ B ) @ H2 @ As2 ) ) )
               => ~ ( ( As2
                      = ( bot_bot @ ( set @ B ) ) )
                    & X ) ) ) ) ) ).

% pure_assn_raw.pelims(2)
thf(fact_916_mult__cancel2,axiom,
    ! [M: nat,K2: nat,N: nat] :
      ( ( ( times_times @ nat @ M @ K2 )
        = ( times_times @ nat @ N @ K2 ) )
      = ( ( M = N )
        | ( K2
          = ( zero_zero @ nat ) ) ) ) ).

% mult_cancel2
thf(fact_917_mult__cancel1,axiom,
    ! [K2: nat,M: nat,N: nat] :
      ( ( ( times_times @ nat @ K2 @ M )
        = ( times_times @ nat @ K2 @ N ) )
      = ( ( M = N )
        | ( K2
          = ( zero_zero @ nat ) ) ) ) ).

% mult_cancel1
thf(fact_918_mult__0__right,axiom,
    ! [M: nat] :
      ( ( times_times @ nat @ M @ ( zero_zero @ nat ) )
      = ( zero_zero @ nat ) ) ).

% mult_0_right
thf(fact_919_mult__is__0,axiom,
    ! [M: nat,N: nat] :
      ( ( ( times_times @ nat @ M @ N )
        = ( zero_zero @ nat ) )
      = ( ( M
          = ( zero_zero @ nat ) )
        | ( N
          = ( zero_zero @ nat ) ) ) ) ).

% mult_is_0
thf(fact_920_nat__mult__eq__1__iff,axiom,
    ! [M: nat,N: nat] :
      ( ( ( times_times @ nat @ M @ N )
        = ( one_one @ nat ) )
      = ( ( M
          = ( one_one @ nat ) )
        & ( N
          = ( one_one @ nat ) ) ) ) ).

% nat_mult_eq_1_iff
thf(fact_921_nat__1__eq__mult__iff,axiom,
    ! [M: nat,N: nat] :
      ( ( ( one_one @ nat )
        = ( times_times @ nat @ M @ N ) )
      = ( ( M
          = ( one_one @ nat ) )
        & ( N
          = ( one_one @ nat ) ) ) ) ).

% nat_1_eq_mult_iff
thf(fact_922_nat__0__less__mult__iff,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ ( times_times @ nat @ M @ N ) )
      = ( ( ord_less @ nat @ ( zero_zero @ nat ) @ M )
        & ( ord_less @ nat @ ( zero_zero @ nat ) @ N ) ) ) ).

% nat_0_less_mult_iff
thf(fact_923_mult__less__cancel2,axiom,
    ! [M: nat,K2: nat,N: nat] :
      ( ( ord_less @ nat @ ( times_times @ nat @ M @ K2 ) @ ( times_times @ nat @ N @ K2 ) )
      = ( ( ord_less @ nat @ ( zero_zero @ nat ) @ K2 )
        & ( ord_less @ nat @ M @ N ) ) ) ).

% mult_less_cancel2
thf(fact_924_mult__le__cancel2,axiom,
    ! [M: nat,K2: nat,N: nat] :
      ( ( ord_less_eq @ nat @ ( times_times @ nat @ M @ K2 ) @ ( times_times @ nat @ N @ K2 ) )
      = ( ( ord_less @ nat @ ( zero_zero @ nat ) @ K2 )
       => ( ord_less_eq @ nat @ M @ N ) ) ) ).

% mult_le_cancel2
thf(fact_925_mult__0,axiom,
    ! [N: nat] :
      ( ( times_times @ nat @ ( zero_zero @ nat ) @ N )
      = ( zero_zero @ nat ) ) ).

% mult_0
thf(fact_926_le__cube,axiom,
    ! [M: nat] : ( ord_less_eq @ nat @ M @ ( times_times @ nat @ M @ ( times_times @ nat @ M @ M ) ) ) ).

% le_cube
thf(fact_927_le__square,axiom,
    ! [M: nat] : ( ord_less_eq @ nat @ M @ ( times_times @ nat @ M @ M ) ) ).

% le_square
thf(fact_928_mult__le__mono,axiom,
    ! [I2: nat,J2: nat,K2: nat,L: nat] :
      ( ( ord_less_eq @ nat @ I2 @ J2 )
     => ( ( ord_less_eq @ nat @ K2 @ L )
       => ( ord_less_eq @ nat @ ( times_times @ nat @ I2 @ K2 ) @ ( times_times @ nat @ J2 @ L ) ) ) ) ).

% mult_le_mono
thf(fact_929_mult__le__mono1,axiom,
    ! [I2: nat,J2: nat,K2: nat] :
      ( ( ord_less_eq @ nat @ I2 @ J2 )
     => ( ord_less_eq @ nat @ ( times_times @ nat @ I2 @ K2 ) @ ( times_times @ nat @ J2 @ K2 ) ) ) ).

% mult_le_mono1
thf(fact_930_mult__le__mono2,axiom,
    ! [I2: nat,J2: nat,K2: nat] :
      ( ( ord_less_eq @ nat @ I2 @ J2 )
     => ( ord_less_eq @ nat @ ( times_times @ nat @ K2 @ I2 ) @ ( times_times @ nat @ K2 @ J2 ) ) ) ).

% mult_le_mono2
thf(fact_931_add__mult__distrib2,axiom,
    ! [K2: nat,M: nat,N: nat] :
      ( ( times_times @ nat @ K2 @ ( plus_plus @ nat @ M @ N ) )
      = ( plus_plus @ nat @ ( times_times @ nat @ K2 @ M ) @ ( times_times @ nat @ K2 @ N ) ) ) ).

% add_mult_distrib2
thf(fact_932_add__mult__distrib,axiom,
    ! [M: nat,N: nat,K2: nat] :
      ( ( times_times @ nat @ ( plus_plus @ nat @ M @ N ) @ K2 )
      = ( plus_plus @ nat @ ( times_times @ nat @ M @ K2 ) @ ( times_times @ nat @ N @ K2 ) ) ) ).

% add_mult_distrib
thf(fact_933_nat__mult__1__right,axiom,
    ! [N: nat] :
      ( ( times_times @ nat @ N @ ( one_one @ nat ) )
      = N ) ).

% nat_mult_1_right
thf(fact_934_nat__mult__1,axiom,
    ! [N: nat] :
      ( ( times_times @ nat @ ( one_one @ nat ) @ N )
      = N ) ).

% nat_mult_1
thf(fact_935_mult__less__mono2,axiom,
    ! [I2: nat,J2: nat,K2: nat] :
      ( ( ord_less @ nat @ I2 @ J2 )
     => ( ( ord_less @ nat @ ( zero_zero @ nat ) @ K2 )
       => ( ord_less @ nat @ ( times_times @ nat @ K2 @ I2 ) @ ( times_times @ nat @ K2 @ J2 ) ) ) ) ).

% mult_less_mono2
thf(fact_936_mult__less__mono1,axiom,
    ! [I2: nat,J2: nat,K2: nat] :
      ( ( ord_less @ nat @ I2 @ J2 )
     => ( ( ord_less @ nat @ ( zero_zero @ nat ) @ K2 )
       => ( ord_less @ nat @ ( times_times @ nat @ I2 @ K2 ) @ ( times_times @ nat @ J2 @ K2 ) ) ) ) ).

% mult_less_mono1
thf(fact_937_mlex__snd__decrI,axiom,
    ! [A3: nat,A4: nat,B2: nat,B3: nat,N7: nat] :
      ( ( A3 = A4 )
     => ( ( ord_less @ nat @ B2 @ B3 )
       => ( ord_less @ nat @ ( plus_plus @ nat @ ( times_times @ nat @ A3 @ N7 ) @ B2 ) @ ( plus_plus @ nat @ ( times_times @ nat @ A4 @ N7 ) @ B3 ) ) ) ) ).

% mlex_snd_decrI
thf(fact_938_mlex__fst__decrI,axiom,
    ! [A3: nat,A4: nat,B2: nat,N7: nat,B3: nat] :
      ( ( ord_less @ nat @ A3 @ A4 )
     => ( ( ord_less @ nat @ B2 @ N7 )
       => ( ( ord_less @ nat @ B3 @ N7 )
         => ( ord_less @ nat @ ( plus_plus @ nat @ ( times_times @ nat @ A3 @ N7 ) @ B2 ) @ ( plus_plus @ nat @ ( times_times @ nat @ A4 @ N7 ) @ B3 ) ) ) ) ) ).

% mlex_fst_decrI
thf(fact_939_mlex__bound,axiom,
    ! [A3: nat,A6: nat,B2: nat,N7: nat] :
      ( ( ord_less @ nat @ A3 @ A6 )
     => ( ( ord_less @ nat @ B2 @ N7 )
       => ( ord_less @ nat @ ( plus_plus @ nat @ ( times_times @ nat @ A3 @ N7 ) @ B2 ) @ ( times_times @ nat @ A6 @ N7 ) ) ) ) ).

% mlex_bound
thf(fact_940_mlex__leI,axiom,
    ! [A3: nat,A4: nat,B2: nat,B3: nat,N7: nat] :
      ( ( ord_less_eq @ nat @ A3 @ A4 )
     => ( ( ord_less_eq @ nat @ B2 @ B3 )
       => ( ord_less_eq @ nat @ ( plus_plus @ nat @ ( times_times @ nat @ A3 @ N7 ) @ B2 ) @ ( plus_plus @ nat @ ( times_times @ nat @ A4 @ N7 ) @ B3 ) ) ) ) ).

% mlex_leI
thf(fact_941_mult__eq__self__implies__10,axiom,
    ! [M: nat,N: nat] :
      ( ( M
        = ( times_times @ nat @ M @ N ) )
     => ( ( N
          = ( one_one @ nat ) )
        | ( M
          = ( zero_zero @ nat ) ) ) ) ).

% mult_eq_self_implies_10
thf(fact_942_linordered__field__no__lb,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [X6: A] :
        ? [Y3: A] : ( ord_less @ A @ Y3 @ X6 ) ) ).

% linordered_field_no_lb
thf(fact_943_linordered__field__no__ub,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [X6: A] :
        ? [X_1: A] : ( ord_less @ A @ X6 @ X_1 ) ) ).

% linordered_field_no_ub
thf(fact_944_mult__less__iff1,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [Z4: A,X: A,Y: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ Z4 )
         => ( ( ord_less @ A @ ( times_times @ A @ X @ Z4 ) @ ( times_times @ A @ Y @ Z4 ) )
            = ( ord_less @ A @ X @ Y ) ) ) ) ).

% mult_less_iff1
thf(fact_945_sum__squares__eq__zero__iff,axiom,
    ! [A: $tType] :
      ( ( linord4710134922213307826strict @ A )
     => ! [X: A,Y: A] :
          ( ( ( plus_plus @ A @ ( times_times @ A @ X @ X ) @ ( times_times @ A @ Y @ Y ) )
            = ( zero_zero @ A ) )
          = ( ( X
              = ( zero_zero @ A ) )
            & ( Y
              = ( zero_zero @ A ) ) ) ) ) ).

% sum_squares_eq_zero_iff
thf(fact_946_pure__assn__raw_Opelims_I1_J,axiom,
    ! [A: $tType,B: $tType,X: $o,Xa: product_prod @ A @ ( set @ B ),Y: $o] :
      ( ( ( pure_assn_raw @ A @ B @ X @ Xa )
        = Y )
     => ( ( accp @ ( product_prod @ $o @ ( product_prod @ A @ ( set @ B ) ) ) @ ( pure_assn_raw_rel @ A @ B ) @ ( product_Pair @ $o @ ( product_prod @ A @ ( set @ B ) ) @ X @ Xa ) )
       => ~ ! [H2: A,As2: set @ B] :
              ( ( Xa
                = ( product_Pair @ A @ ( set @ B ) @ H2 @ As2 ) )
             => ( ( Y
                  = ( ( As2
                      = ( bot_bot @ ( set @ B ) ) )
                    & X ) )
               => ~ ( accp @ ( product_prod @ $o @ ( product_prod @ A @ ( set @ B ) ) ) @ ( pure_assn_raw_rel @ A @ B ) @ ( product_Pair @ $o @ ( product_prod @ A @ ( set @ B ) ) @ X @ ( product_Pair @ A @ ( set @ B ) @ H2 @ As2 ) ) ) ) ) ) ) ).

% pure_assn_raw.pelims(1)
thf(fact_947_nat__mult__le__cancel__disj,axiom,
    ! [K2: nat,M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ ( times_times @ nat @ K2 @ M ) @ ( times_times @ nat @ K2 @ N ) )
      = ( ( ord_less @ nat @ ( zero_zero @ nat ) @ K2 )
       => ( ord_less_eq @ nat @ M @ N ) ) ) ).

% nat_mult_le_cancel_disj
thf(fact_948_nat__mult__less__cancel__disj,axiom,
    ! [K2: nat,M: nat,N: nat] :
      ( ( ord_less @ nat @ ( times_times @ nat @ K2 @ M ) @ ( times_times @ nat @ K2 @ N ) )
      = ( ( ord_less @ nat @ ( zero_zero @ nat ) @ K2 )
        & ( ord_less @ nat @ M @ N ) ) ) ).

% nat_mult_less_cancel_disj
thf(fact_949_nat__mult__le__cancel1,axiom,
    ! [K2: nat,M: nat,N: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ K2 )
     => ( ( ord_less_eq @ nat @ ( times_times @ nat @ K2 @ M ) @ ( times_times @ nat @ K2 @ N ) )
        = ( ord_less_eq @ nat @ M @ N ) ) ) ).

% nat_mult_le_cancel1
thf(fact_950_add__scale__eq__noteq,axiom,
    ! [A: $tType] :
      ( ( semiri1453513574482234551roduct @ A )
     => ! [R3: A,A3: A,B2: A,C3: A,D3: A] :
          ( ( R3
           != ( zero_zero @ A ) )
         => ( ( ( A3 = B2 )
              & ( C3 != D3 ) )
           => ( ( plus_plus @ A @ A3 @ ( times_times @ A @ R3 @ C3 ) )
             != ( plus_plus @ A @ B2 @ ( times_times @ A @ R3 @ D3 ) ) ) ) ) ) ).

% add_scale_eq_noteq
thf(fact_951_freeze__rule,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [A3: array @ A,Xs: list @ A] :
          ( hoare_hoare_triple @ ( list @ A ) @ ( snga_assn @ A @ A3 @ Xs ) @ ( array_freeze @ A @ A3 )
          @ ^ [R5: list @ A] : ( times_times @ assn @ ( snga_assn @ A @ A3 @ Xs ) @ ( pure_assn @ ( R5 = Xs ) ) ) ) ) ).

% freeze_rule
thf(fact_952_precise__extr__pure_I2_J,axiom,
    ! [B: $tType,A: $tType,R4: A > B > assn,P2: $o] :
      ( ( precise @ A @ B
        @ ^ [X4: A,Y4: B] : ( times_times @ assn @ ( R4 @ X4 @ Y4 ) @ ( pure_assn @ P2 ) ) )
      = ( P2
       => ( precise @ A @ B @ R4 ) ) ) ).

% precise_extr_pure(2)
thf(fact_953_precise__extr__pure_I1_J,axiom,
    ! [B: $tType,A: $tType,P2: $o,R4: A > B > assn] :
      ( ( precise @ A @ B
        @ ^ [X4: A,Y4: B] : ( times_times @ assn @ ( pure_assn @ P2 ) @ ( R4 @ X4 @ Y4 ) ) )
      = ( P2
       => ( precise @ A @ B @ R4 ) ) ) ).

% precise_extr_pure(1)
thf(fact_954_Euclid__induct,axiom,
    ! [P2: nat > nat > $o,A3: nat,B2: nat] :
      ( ! [A5: nat,B4: nat] :
          ( ( P2 @ A5 @ B4 )
          = ( P2 @ B4 @ A5 ) )
     => ( ! [A5: nat] : ( P2 @ A5 @ ( zero_zero @ nat ) )
       => ( ! [A5: nat,B4: nat] :
              ( ( P2 @ A5 @ B4 )
             => ( P2 @ A5 @ ( plus_plus @ nat @ A5 @ B4 ) ) )
         => ( P2 @ A3 @ B2 ) ) ) ) ).

% Euclid_induct
thf(fact_955_nat__mult__eq__cancel1,axiom,
    ! [K2: nat,M: nat,N: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ K2 )
     => ( ( ( times_times @ nat @ K2 @ M )
          = ( times_times @ nat @ K2 @ N ) )
        = ( M = N ) ) ) ).

% nat_mult_eq_cancel1
thf(fact_956_snga__prec,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ( precise @ ( list @ A ) @ ( array @ A )
        @ ^ [X4: list @ A,P7: array @ A] : ( snga_assn @ A @ P7 @ X4 ) ) ) ).

% snga_prec
thf(fact_957_left__add__mult__distrib,axiom,
    ! [I2: nat,U: nat,J2: nat,K2: nat] :
      ( ( plus_plus @ nat @ ( times_times @ nat @ I2 @ U ) @ ( plus_plus @ nat @ ( times_times @ nat @ J2 @ U ) @ K2 ) )
      = ( plus_plus @ nat @ ( times_times @ nat @ ( plus_plus @ nat @ I2 @ J2 ) @ U ) @ K2 ) ) ).

% left_add_mult_distrib
thf(fact_958_sngr__prec,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ( precise @ A @ ( ref @ A )
        @ ^ [X4: A,P7: ref @ A] : ( sngr_assn @ A @ P7 @ X4 ) ) ) ).

% sngr_prec
thf(fact_959_preciseD_H,axiom,
    ! [B: $tType,A: $tType,R4: A > B > assn,A3: A,P3: B,F5: assn,H: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ),A4: A,F7: assn] :
      ( ( precise @ A @ B @ R4 )
     => ( ( rep_assn @ ( times_times @ assn @ ( R4 @ A3 @ P3 ) @ F5 ) @ H )
       => ( ( rep_assn @ ( times_times @ assn @ ( R4 @ A4 @ P3 ) @ F7 ) @ H )
         => ( A3 = A4 ) ) ) ) ).

% preciseD'
thf(fact_960_add__0__iff,axiom,
    ! [A: $tType] :
      ( ( semiri1453513574482234551roduct @ A )
     => ! [B2: A,A3: A] :
          ( ( B2
            = ( plus_plus @ A @ B2 @ A3 ) )
          = ( A3
            = ( zero_zero @ A ) ) ) ) ).

% add_0_iff
thf(fact_961_crossproduct__noteq,axiom,
    ! [A: $tType] :
      ( ( semiri1453513574482234551roduct @ A )
     => ! [A3: A,B2: A,C3: A,D3: A] :
          ( ( ( A3 != B2 )
            & ( C3 != D3 ) )
          = ( ( plus_plus @ A @ ( times_times @ A @ A3 @ C3 ) @ ( times_times @ A @ B2 @ D3 ) )
           != ( plus_plus @ A @ ( times_times @ A @ A3 @ D3 ) @ ( times_times @ A @ B2 @ C3 ) ) ) ) ) ).

% crossproduct_noteq
thf(fact_962_crossproduct__eq,axiom,
    ! [A: $tType] :
      ( ( semiri1453513574482234551roduct @ A )
     => ! [W2: A,Y: A,X: A,Z4: A] :
          ( ( ( plus_plus @ A @ ( times_times @ A @ W2 @ Y ) @ ( times_times @ A @ X @ Z4 ) )
            = ( plus_plus @ A @ ( times_times @ A @ W2 @ Z4 ) @ ( times_times @ A @ X @ Y ) ) )
          = ( ( W2 = X )
            | ( Y = Z4 ) ) ) ) ).

% crossproduct_eq
thf(fact_963_nat__mult__less__cancel1,axiom,
    ! [K2: nat,M: nat,N: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ K2 )
     => ( ( ord_less @ nat @ ( times_times @ nat @ K2 @ M ) @ ( times_times @ nat @ K2 @ N ) )
        = ( ord_less @ nat @ M @ N ) ) ) ).

% nat_mult_less_cancel1
thf(fact_964_ent__mp,axiom,
    ! [P2: assn,Q2: assn] : ( entails @ ( times_times @ assn @ P2 @ ( wand_assn @ P2 @ Q2 ) ) @ Q2 ) ).

% ent_mp
thf(fact_965_ent__wandI,axiom,
    ! [Q2: assn,P2: assn,R4: assn] :
      ( ( entails @ ( times_times @ assn @ Q2 @ P2 ) @ R4 )
     => ( entails @ P2 @ ( wand_assn @ Q2 @ R4 ) ) ) ).

% ent_wandI
thf(fact_966_power__decreasing__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [B2: A,M: nat,N: nat] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ B2 )
         => ( ( ord_less @ A @ B2 @ ( one_one @ A ) )
           => ( ( ord_less_eq @ A @ ( power_power @ A @ B2 @ M ) @ ( power_power @ A @ B2 @ N ) )
              = ( ord_less_eq @ nat @ N @ M ) ) ) ) ) ).

% power_decreasing_iff
thf(fact_967_mod__star__conv,axiom,
    ! [A6: assn,B6: assn,H: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
      ( ( rep_assn @ ( times_times @ assn @ A6 @ B6 ) @ H )
      = ( ? [Hr: heap_ext @ product_unit,As1: set @ nat,As22: set @ nat] :
            ( ( H
              = ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ Hr @ ( sup_sup @ ( set @ nat ) @ As1 @ As22 ) ) )
            & ( ( inf_inf @ ( set @ nat ) @ As1 @ As22 )
              = ( bot_bot @ ( set @ nat ) ) )
            & ( rep_assn @ A6 @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ Hr @ As1 ) )
            & ( rep_assn @ B6 @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ Hr @ As22 ) ) ) ) ) ).

% mod_star_conv
thf(fact_968_star__assnI,axiom,
    ! [P2: assn,H: heap_ext @ product_unit,As: set @ nat,Q2: assn,As5: set @ nat] :
      ( ( rep_assn @ P2 @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ As ) )
     => ( ( rep_assn @ Q2 @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ As5 ) )
       => ( ( ( inf_inf @ ( set @ nat ) @ As @ As5 )
            = ( bot_bot @ ( set @ nat ) ) )
         => ( rep_assn @ ( times_times @ assn @ P2 @ Q2 ) @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ ( sup_sup @ ( set @ nat ) @ As @ As5 ) ) ) ) ) ) ).

% star_assnI
thf(fact_969_power__strict__mono,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [A3: A,B2: A,N: nat] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 )
           => ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
             => ( ord_less @ A @ ( power_power @ A @ A3 @ N ) @ ( power_power @ A @ B2 @ N ) ) ) ) ) ) ).

% power_strict_mono
thf(fact_970_power__increasing__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [B2: A,X: nat,Y: nat] :
          ( ( ord_less @ A @ ( one_one @ A ) @ B2 )
         => ( ( ord_less_eq @ A @ ( power_power @ A @ B2 @ X ) @ ( power_power @ A @ B2 @ Y ) )
            = ( ord_less_eq @ nat @ X @ Y ) ) ) ) ).

% power_increasing_iff
thf(fact_971_divide__le__eq__1__neg,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ A3 @ ( zero_zero @ A ) )
         => ( ( ord_less_eq @ A @ ( divide_divide @ A @ B2 @ A3 ) @ ( one_one @ A ) )
            = ( ord_less_eq @ A @ A3 @ B2 ) ) ) ) ).

% divide_le_eq_1_neg
thf(fact_972_divide__le__eq__1__pos,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ A3 )
         => ( ( ord_less_eq @ A @ ( divide_divide @ A @ B2 @ A3 ) @ ( one_one @ A ) )
            = ( ord_less_eq @ A @ B2 @ A3 ) ) ) ) ).

% divide_le_eq_1_pos
thf(fact_973_Int__iff,axiom,
    ! [A: $tType,C3: A,A6: set @ A,B6: set @ A] :
      ( ( member @ A @ C3 @ ( inf_inf @ ( set @ A ) @ A6 @ B6 ) )
      = ( ( member @ A @ C3 @ A6 )
        & ( member @ A @ C3 @ B6 ) ) ) ).

% Int_iff
thf(fact_974_IntI,axiom,
    ! [A: $tType,C3: A,A6: set @ A,B6: set @ A] :
      ( ( member @ A @ C3 @ A6 )
     => ( ( member @ A @ C3 @ B6 )
       => ( member @ A @ C3 @ ( inf_inf @ ( set @ A ) @ A6 @ B6 ) ) ) ) ).

% IntI
thf(fact_975_le__inf__iff,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [X: A,Y: A,Z4: A] :
          ( ( ord_less_eq @ A @ X @ ( inf_inf @ A @ Y @ Z4 ) )
          = ( ( ord_less_eq @ A @ X @ Y )
            & ( ord_less_eq @ A @ X @ Z4 ) ) ) ) ).

% le_inf_iff
thf(fact_976_inf_Obounded__iff,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less_eq @ A @ A3 @ ( inf_inf @ A @ B2 @ C3 ) )
          = ( ( ord_less_eq @ A @ A3 @ B2 )
            & ( ord_less_eq @ A @ A3 @ C3 ) ) ) ) ).

% inf.bounded_iff
thf(fact_977_nat__zero__less__power__iff,axiom,
    ! [X: nat,N: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ ( power_power @ nat @ X @ N ) )
      = ( ( ord_less @ nat @ ( zero_zero @ nat ) @ X )
        | ( N
          = ( zero_zero @ nat ) ) ) ) ).

% nat_zero_less_power_iff
thf(fact_978_inf__sup__absorb,axiom,
    ! [A: $tType] :
      ( ( lattice @ A )
     => ! [X: A,Y: A] :
          ( ( inf_inf @ A @ X @ ( sup_sup @ A @ X @ Y ) )
          = X ) ) ).

% inf_sup_absorb
thf(fact_979_sup__inf__absorb,axiom,
    ! [A: $tType] :
      ( ( lattice @ A )
     => ! [X: A,Y: A] :
          ( ( sup_sup @ A @ X @ ( inf_inf @ A @ X @ Y ) )
          = X ) ) ).

% sup_inf_absorb
thf(fact_980_Int__subset__iff,axiom,
    ! [A: $tType,C5: set @ A,A6: set @ A,B6: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ C5 @ ( inf_inf @ ( set @ A ) @ A6 @ B6 ) )
      = ( ( ord_less_eq @ ( set @ A ) @ C5 @ A6 )
        & ( ord_less_eq @ ( set @ A ) @ C5 @ B6 ) ) ) ).

% Int_subset_iff
thf(fact_981_inf__Some,axiom,
    ! [A: $tType] :
      ( ( inf @ A )
     => ! [X: A,Y: A] :
          ( ( inf_inf @ ( option @ A ) @ ( some @ A @ X ) @ ( some @ A @ Y ) )
          = ( some @ A @ ( inf_inf @ A @ X @ Y ) ) ) ) ).

% inf_Some
thf(fact_982_Int__Un__eq_I4_J,axiom,
    ! [A: $tType,T8: set @ A,S: set @ A] :
      ( ( sup_sup @ ( set @ A ) @ T8 @ ( inf_inf @ ( set @ A ) @ S @ T8 ) )
      = T8 ) ).

% Int_Un_eq(4)
thf(fact_983_Int__Un__eq_I3_J,axiom,
    ! [A: $tType,S: set @ A,T8: set @ A] :
      ( ( sup_sup @ ( set @ A ) @ S @ ( inf_inf @ ( set @ A ) @ S @ T8 ) )
      = S ) ).

% Int_Un_eq(3)
thf(fact_984_Int__Un__eq_I2_J,axiom,
    ! [A: $tType,S: set @ A,T8: set @ A] :
      ( ( sup_sup @ ( set @ A ) @ ( inf_inf @ ( set @ A ) @ S @ T8 ) @ T8 )
      = T8 ) ).

% Int_Un_eq(2)
thf(fact_985_Int__Un__eq_I1_J,axiom,
    ! [A: $tType,S: set @ A,T8: set @ A] :
      ( ( sup_sup @ ( set @ A ) @ ( inf_inf @ ( set @ A ) @ S @ T8 ) @ S )
      = S ) ).

% Int_Un_eq(1)
thf(fact_986_Un__Int__eq_I4_J,axiom,
    ! [A: $tType,T8: set @ A,S: set @ A] :
      ( ( inf_inf @ ( set @ A ) @ T8 @ ( sup_sup @ ( set @ A ) @ S @ T8 ) )
      = T8 ) ).

% Un_Int_eq(4)
thf(fact_987_Un__Int__eq_I3_J,axiom,
    ! [A: $tType,S: set @ A,T8: set @ A] :
      ( ( inf_inf @ ( set @ A ) @ S @ ( sup_sup @ ( set @ A ) @ S @ T8 ) )
      = S ) ).

% Un_Int_eq(3)
thf(fact_988_Un__Int__eq_I2_J,axiom,
    ! [A: $tType,S: set @ A,T8: set @ A] :
      ( ( inf_inf @ ( set @ A ) @ ( sup_sup @ ( set @ A ) @ S @ T8 ) @ T8 )
      = T8 ) ).

% Un_Int_eq(2)
thf(fact_989_Un__Int__eq_I1_J,axiom,
    ! [A: $tType,S: set @ A,T8: set @ A] :
      ( ( inf_inf @ ( set @ A ) @ ( sup_sup @ ( set @ A ) @ S @ T8 ) @ S )
      = S ) ).

% Un_Int_eq(1)
thf(fact_990_power__inject__exp,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [A3: A,M: nat,N: nat] :
          ( ( ord_less @ A @ ( one_one @ A ) @ A3 )
         => ( ( ( power_power @ A @ A3 @ M )
              = ( power_power @ A @ A3 @ N ) )
            = ( M = N ) ) ) ) ).

% power_inject_exp
thf(fact_991_divide__le__0__1__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A] :
          ( ( ord_less_eq @ A @ ( divide_divide @ A @ ( one_one @ A ) @ A3 ) @ ( zero_zero @ A ) )
          = ( ord_less_eq @ A @ A3 @ ( zero_zero @ A ) ) ) ) ).

% divide_le_0_1_iff
thf(fact_992_zero__le__divide__1__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( divide_divide @ A @ ( one_one @ A ) @ A3 ) )
          = ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 ) ) ) ).

% zero_le_divide_1_iff
thf(fact_993_divide__less__0__1__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A] :
          ( ( ord_less @ A @ ( divide_divide @ A @ ( one_one @ A ) @ A3 ) @ ( zero_zero @ A ) )
          = ( ord_less @ A @ A3 @ ( zero_zero @ A ) ) ) ) ).

% divide_less_0_1_iff
thf(fact_994_divide__less__eq__1__neg,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ A3 @ ( zero_zero @ A ) )
         => ( ( ord_less @ A @ ( divide_divide @ A @ B2 @ A3 ) @ ( one_one @ A ) )
            = ( ord_less @ A @ A3 @ B2 ) ) ) ) ).

% divide_less_eq_1_neg
thf(fact_995_divide__less__eq__1__pos,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ A3 )
         => ( ( ord_less @ A @ ( divide_divide @ A @ B2 @ A3 ) @ ( one_one @ A ) )
            = ( ord_less @ A @ B2 @ A3 ) ) ) ) ).

% divide_less_eq_1_pos
thf(fact_996_less__divide__eq__1__neg,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ A3 @ ( zero_zero @ A ) )
         => ( ( ord_less @ A @ ( one_one @ A ) @ ( divide_divide @ A @ B2 @ A3 ) )
            = ( ord_less @ A @ B2 @ A3 ) ) ) ) ).

% less_divide_eq_1_neg
thf(fact_997_less__divide__eq__1__pos,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ A3 )
         => ( ( ord_less @ A @ ( one_one @ A ) @ ( divide_divide @ A @ B2 @ A3 ) )
            = ( ord_less @ A @ A3 @ B2 ) ) ) ) ).

% less_divide_eq_1_pos
thf(fact_998_zero__less__divide__1__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ ( divide_divide @ A @ ( one_one @ A ) @ A3 ) )
          = ( ord_less @ A @ ( zero_zero @ A ) @ A3 ) ) ) ).

% zero_less_divide_1_iff
thf(fact_999_power__strict__increasing__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [B2: A,X: nat,Y: nat] :
          ( ( ord_less @ A @ ( one_one @ A ) @ B2 )
         => ( ( ord_less @ A @ ( power_power @ A @ B2 @ X ) @ ( power_power @ A @ B2 @ Y ) )
            = ( ord_less @ nat @ X @ Y ) ) ) ) ).

% power_strict_increasing_iff
thf(fact_1000_power__eq__0__iff,axiom,
    ! [A: $tType] :
      ( ( semiri2026040879449505780visors @ A )
     => ! [A3: A,N: nat] :
          ( ( ( power_power @ A @ A3 @ N )
            = ( zero_zero @ A ) )
          = ( ( A3
              = ( zero_zero @ A ) )
            & ( ord_less @ nat @ ( zero_zero @ nat ) @ N ) ) ) ) ).

% power_eq_0_iff
thf(fact_1001_le__divide__eq__1__pos,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ A3 )
         => ( ( ord_less_eq @ A @ ( one_one @ A ) @ ( divide_divide @ A @ B2 @ A3 ) )
            = ( ord_less_eq @ A @ A3 @ B2 ) ) ) ) ).

% le_divide_eq_1_pos
thf(fact_1002_le__divide__eq__1__neg,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ A3 @ ( zero_zero @ A ) )
         => ( ( ord_less_eq @ A @ ( one_one @ A ) @ ( divide_divide @ A @ B2 @ A3 ) )
            = ( ord_less_eq @ A @ B2 @ A3 ) ) ) ) ).

% le_divide_eq_1_neg
thf(fact_1003_power__strict__decreasing__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [B2: A,M: nat,N: nat] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ B2 )
         => ( ( ord_less @ A @ B2 @ ( one_one @ A ) )
           => ( ( ord_less @ A @ ( power_power @ A @ B2 @ M ) @ ( power_power @ A @ B2 @ N ) )
              = ( ord_less @ nat @ N @ M ) ) ) ) ) ).

% power_strict_decreasing_iff
thf(fact_1004_power__mono__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [A3: A,B2: A,N: nat] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 )
         => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ B2 )
           => ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
             => ( ( ord_less_eq @ A @ ( power_power @ A @ A3 @ N ) @ ( power_power @ A @ B2 @ N ) )
                = ( ord_less_eq @ A @ A3 @ B2 ) ) ) ) ) ) ).

% power_mono_iff
thf(fact_1005_Int__left__commute,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A,C5: set @ A] :
      ( ( inf_inf @ ( set @ A ) @ A6 @ ( inf_inf @ ( set @ A ) @ B6 @ C5 ) )
      = ( inf_inf @ ( set @ A ) @ B6 @ ( inf_inf @ ( set @ A ) @ A6 @ C5 ) ) ) ).

% Int_left_commute
thf(fact_1006_Int__left__absorb,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( inf_inf @ ( set @ A ) @ A6 @ ( inf_inf @ ( set @ A ) @ A6 @ B6 ) )
      = ( inf_inf @ ( set @ A ) @ A6 @ B6 ) ) ).

% Int_left_absorb
thf(fact_1007_Int__commute,axiom,
    ! [A: $tType] :
      ( ( inf_inf @ ( set @ A ) )
      = ( ^ [A8: set @ A,B7: set @ A] : ( inf_inf @ ( set @ A ) @ B7 @ A8 ) ) ) ).

% Int_commute
thf(fact_1008_Int__absorb,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ( inf_inf @ ( set @ A ) @ A6 @ A6 )
      = A6 ) ).

% Int_absorb
thf(fact_1009_Int__assoc,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A,C5: set @ A] :
      ( ( inf_inf @ ( set @ A ) @ ( inf_inf @ ( set @ A ) @ A6 @ B6 ) @ C5 )
      = ( inf_inf @ ( set @ A ) @ A6 @ ( inf_inf @ ( set @ A ) @ B6 @ C5 ) ) ) ).

% Int_assoc
thf(fact_1010_IntD2,axiom,
    ! [A: $tType,C3: A,A6: set @ A,B6: set @ A] :
      ( ( member @ A @ C3 @ ( inf_inf @ ( set @ A ) @ A6 @ B6 ) )
     => ( member @ A @ C3 @ B6 ) ) ).

% IntD2
thf(fact_1011_IntD1,axiom,
    ! [A: $tType,C3: A,A6: set @ A,B6: set @ A] :
      ( ( member @ A @ C3 @ ( inf_inf @ ( set @ A ) @ A6 @ B6 ) )
     => ( member @ A @ C3 @ A6 ) ) ).

% IntD1
thf(fact_1012_IntE,axiom,
    ! [A: $tType,C3: A,A6: set @ A,B6: set @ A] :
      ( ( member @ A @ C3 @ ( inf_inf @ ( set @ A ) @ A6 @ B6 ) )
     => ~ ( ( member @ A @ C3 @ A6 )
         => ~ ( member @ A @ C3 @ B6 ) ) ) ).

% IntE
thf(fact_1013_Int__def,axiom,
    ! [A: $tType] :
      ( ( inf_inf @ ( set @ A ) )
      = ( ^ [A8: set @ A,B7: set @ A] :
            ( collect @ A
            @ ^ [X4: A] :
                ( ( member @ A @ X4 @ A8 )
                & ( member @ A @ X4 @ B7 ) ) ) ) ) ).

% Int_def
thf(fact_1014_Int__Collect,axiom,
    ! [A: $tType,X: A,A6: set @ A,P2: A > $o] :
      ( ( member @ A @ X @ ( inf_inf @ ( set @ A ) @ A6 @ ( collect @ A @ P2 ) ) )
      = ( ( member @ A @ X @ A6 )
        & ( P2 @ X ) ) ) ).

% Int_Collect
thf(fact_1015_Collect__conj__eq,axiom,
    ! [A: $tType,P2: A > $o,Q2: A > $o] :
      ( ( collect @ A
        @ ^ [X4: A] :
            ( ( P2 @ X4 )
            & ( Q2 @ X4 ) ) )
      = ( inf_inf @ ( set @ A ) @ ( collect @ A @ P2 ) @ ( collect @ A @ Q2 ) ) ) ).

% Collect_conj_eq
thf(fact_1016_inf__sup__ord_I2_J,axiom,
    ! [A: $tType] :
      ( ( lattice @ A )
     => ! [X: A,Y: A] : ( ord_less_eq @ A @ ( inf_inf @ A @ X @ Y ) @ Y ) ) ).

% inf_sup_ord(2)
thf(fact_1017_inf__sup__ord_I1_J,axiom,
    ! [A: $tType] :
      ( ( lattice @ A )
     => ! [X: A,Y: A] : ( ord_less_eq @ A @ ( inf_inf @ A @ X @ Y ) @ X ) ) ).

% inf_sup_ord(1)
thf(fact_1018_inf__le1,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [X: A,Y: A] : ( ord_less_eq @ A @ ( inf_inf @ A @ X @ Y ) @ X ) ) ).

% inf_le1
thf(fact_1019_inf__le2,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [X: A,Y: A] : ( ord_less_eq @ A @ ( inf_inf @ A @ X @ Y ) @ Y ) ) ).

% inf_le2
thf(fact_1020_le__infE,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [X: A,A3: A,B2: A] :
          ( ( ord_less_eq @ A @ X @ ( inf_inf @ A @ A3 @ B2 ) )
         => ~ ( ( ord_less_eq @ A @ X @ A3 )
             => ~ ( ord_less_eq @ A @ X @ B2 ) ) ) ) ).

% le_infE
thf(fact_1021_le__infI,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [X: A,A3: A,B2: A] :
          ( ( ord_less_eq @ A @ X @ A3 )
         => ( ( ord_less_eq @ A @ X @ B2 )
           => ( ord_less_eq @ A @ X @ ( inf_inf @ A @ A3 @ B2 ) ) ) ) ) ).

% le_infI
thf(fact_1022_inf__mono,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [A3: A,C3: A,B2: A,D3: A] :
          ( ( ord_less_eq @ A @ A3 @ C3 )
         => ( ( ord_less_eq @ A @ B2 @ D3 )
           => ( ord_less_eq @ A @ ( inf_inf @ A @ A3 @ B2 ) @ ( inf_inf @ A @ C3 @ D3 ) ) ) ) ) ).

% inf_mono
thf(fact_1023_le__infI1,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [A3: A,X: A,B2: A] :
          ( ( ord_less_eq @ A @ A3 @ X )
         => ( ord_less_eq @ A @ ( inf_inf @ A @ A3 @ B2 ) @ X ) ) ) ).

% le_infI1
thf(fact_1024_le__infI2,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [B2: A,X: A,A3: A] :
          ( ( ord_less_eq @ A @ B2 @ X )
         => ( ord_less_eq @ A @ ( inf_inf @ A @ A3 @ B2 ) @ X ) ) ) ).

% le_infI2
thf(fact_1025_inf_OorderE,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( A3
            = ( inf_inf @ A @ A3 @ B2 ) ) ) ) ).

% inf.orderE
thf(fact_1026_inf_OorderI,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [A3: A,B2: A] :
          ( ( A3
            = ( inf_inf @ A @ A3 @ B2 ) )
         => ( ord_less_eq @ A @ A3 @ B2 ) ) ) ).

% inf.orderI
thf(fact_1027_inf__unique,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [F3: A > A > A,X: A,Y: A] :
          ( ! [X3: A,Y3: A] : ( ord_less_eq @ A @ ( F3 @ X3 @ Y3 ) @ X3 )
         => ( ! [X3: A,Y3: A] : ( ord_less_eq @ A @ ( F3 @ X3 @ Y3 ) @ Y3 )
           => ( ! [X3: A,Y3: A,Z3: A] :
                  ( ( ord_less_eq @ A @ X3 @ Y3 )
                 => ( ( ord_less_eq @ A @ X3 @ Z3 )
                   => ( ord_less_eq @ A @ X3 @ ( F3 @ Y3 @ Z3 ) ) ) )
             => ( ( inf_inf @ A @ X @ Y )
                = ( F3 @ X @ Y ) ) ) ) ) ) ).

% inf_unique
thf(fact_1028_le__iff__inf,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ( ( ord_less_eq @ A )
        = ( ^ [X4: A,Y4: A] :
              ( ( inf_inf @ A @ X4 @ Y4 )
              = X4 ) ) ) ) ).

% le_iff_inf
thf(fact_1029_inf_Oabsorb1,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ( inf_inf @ A @ A3 @ B2 )
            = A3 ) ) ) ).

% inf.absorb1
thf(fact_1030_inf_Oabsorb2,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [B2: A,A3: A] :
          ( ( ord_less_eq @ A @ B2 @ A3 )
         => ( ( inf_inf @ A @ A3 @ B2 )
            = B2 ) ) ) ).

% inf.absorb2
thf(fact_1031_inf__absorb1,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less_eq @ A @ X @ Y )
         => ( ( inf_inf @ A @ X @ Y )
            = X ) ) ) ).

% inf_absorb1
thf(fact_1032_inf__absorb2,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [Y: A,X: A] :
          ( ( ord_less_eq @ A @ Y @ X )
         => ( ( inf_inf @ A @ X @ Y )
            = Y ) ) ) ).

% inf_absorb2
thf(fact_1033_inf_OboundedE,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less_eq @ A @ A3 @ ( inf_inf @ A @ B2 @ C3 ) )
         => ~ ( ( ord_less_eq @ A @ A3 @ B2 )
             => ~ ( ord_less_eq @ A @ A3 @ C3 ) ) ) ) ).

% inf.boundedE
thf(fact_1034_inf_OboundedI,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ( ord_less_eq @ A @ A3 @ C3 )
           => ( ord_less_eq @ A @ A3 @ ( inf_inf @ A @ B2 @ C3 ) ) ) ) ) ).

% inf.boundedI
thf(fact_1035_inf__greatest,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [X: A,Y: A,Z4: A] :
          ( ( ord_less_eq @ A @ X @ Y )
         => ( ( ord_less_eq @ A @ X @ Z4 )
           => ( ord_less_eq @ A @ X @ ( inf_inf @ A @ Y @ Z4 ) ) ) ) ) ).

% inf_greatest
thf(fact_1036_inf_Oorder__iff,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ( ( ord_less_eq @ A )
        = ( ^ [A7: A,B5: A] :
              ( A7
              = ( inf_inf @ A @ A7 @ B5 ) ) ) ) ) ).

% inf.order_iff
thf(fact_1037_inf_Ocobounded1,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [A3: A,B2: A] : ( ord_less_eq @ A @ ( inf_inf @ A @ A3 @ B2 ) @ A3 ) ) ).

% inf.cobounded1
thf(fact_1038_inf_Ocobounded2,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [A3: A,B2: A] : ( ord_less_eq @ A @ ( inf_inf @ A @ A3 @ B2 ) @ B2 ) ) ).

% inf.cobounded2
thf(fact_1039_inf_Oabsorb__iff1,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ( ( ord_less_eq @ A )
        = ( ^ [A7: A,B5: A] :
              ( ( inf_inf @ A @ A7 @ B5 )
              = A7 ) ) ) ) ).

% inf.absorb_iff1
thf(fact_1040_inf_Oabsorb__iff2,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ( ( ord_less_eq @ A )
        = ( ^ [B5: A,A7: A] :
              ( ( inf_inf @ A @ A7 @ B5 )
              = B5 ) ) ) ) ).

% inf.absorb_iff2
thf(fact_1041_inf_OcoboundedI1,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [A3: A,C3: A,B2: A] :
          ( ( ord_less_eq @ A @ A3 @ C3 )
         => ( ord_less_eq @ A @ ( inf_inf @ A @ A3 @ B2 ) @ C3 ) ) ) ).

% inf.coboundedI1
thf(fact_1042_inf_OcoboundedI2,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [B2: A,C3: A,A3: A] :
          ( ( ord_less_eq @ A @ B2 @ C3 )
         => ( ord_less_eq @ A @ ( inf_inf @ A @ A3 @ B2 ) @ C3 ) ) ) ).

% inf.coboundedI2
thf(fact_1043_less__infI1,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [A3: A,X: A,B2: A] :
          ( ( ord_less @ A @ A3 @ X )
         => ( ord_less @ A @ ( inf_inf @ A @ A3 @ B2 ) @ X ) ) ) ).

% less_infI1
thf(fact_1044_less__infI2,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [B2: A,X: A,A3: A] :
          ( ( ord_less @ A @ B2 @ X )
         => ( ord_less @ A @ ( inf_inf @ A @ A3 @ B2 ) @ X ) ) ) ).

% less_infI2
thf(fact_1045_inf_Oabsorb3,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ( ( inf_inf @ A @ A3 @ B2 )
            = A3 ) ) ) ).

% inf.absorb3
thf(fact_1046_inf_Oabsorb4,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [B2: A,A3: A] :
          ( ( ord_less @ A @ B2 @ A3 )
         => ( ( inf_inf @ A @ A3 @ B2 )
            = B2 ) ) ) ).

% inf.absorb4
thf(fact_1047_inf_Ostrict__boundedE,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less @ A @ A3 @ ( inf_inf @ A @ B2 @ C3 ) )
         => ~ ( ( ord_less @ A @ A3 @ B2 )
             => ~ ( ord_less @ A @ A3 @ C3 ) ) ) ) ).

% inf.strict_boundedE
thf(fact_1048_inf_Ostrict__order__iff,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ( ( ord_less @ A )
        = ( ^ [A7: A,B5: A] :
              ( ( A7
                = ( inf_inf @ A @ A7 @ B5 ) )
              & ( A7 != B5 ) ) ) ) ) ).

% inf.strict_order_iff
thf(fact_1049_inf_Ostrict__coboundedI1,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [A3: A,C3: A,B2: A] :
          ( ( ord_less @ A @ A3 @ C3 )
         => ( ord_less @ A @ ( inf_inf @ A @ A3 @ B2 ) @ C3 ) ) ) ).

% inf.strict_coboundedI1
thf(fact_1050_inf_Ostrict__coboundedI2,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [B2: A,C3: A,A3: A] :
          ( ( ord_less @ A @ B2 @ C3 )
         => ( ord_less @ A @ ( inf_inf @ A @ A3 @ B2 ) @ C3 ) ) ) ).

% inf.strict_coboundedI2
thf(fact_1051_distrib__imp1,axiom,
    ! [A: $tType] :
      ( ( lattice @ A )
     => ! [X: A,Y: A,Z4: A] :
          ( ! [X3: A,Y3: A,Z3: A] :
              ( ( inf_inf @ A @ X3 @ ( sup_sup @ A @ Y3 @ Z3 ) )
              = ( sup_sup @ A @ ( inf_inf @ A @ X3 @ Y3 ) @ ( inf_inf @ A @ X3 @ Z3 ) ) )
         => ( ( sup_sup @ A @ X @ ( inf_inf @ A @ Y @ Z4 ) )
            = ( inf_inf @ A @ ( sup_sup @ A @ X @ Y ) @ ( sup_sup @ A @ X @ Z4 ) ) ) ) ) ).

% distrib_imp1
thf(fact_1052_distrib__imp2,axiom,
    ! [A: $tType] :
      ( ( lattice @ A )
     => ! [X: A,Y: A,Z4: A] :
          ( ! [X3: A,Y3: A,Z3: A] :
              ( ( sup_sup @ A @ X3 @ ( inf_inf @ A @ Y3 @ Z3 ) )
              = ( inf_inf @ A @ ( sup_sup @ A @ X3 @ Y3 ) @ ( sup_sup @ A @ X3 @ Z3 ) ) )
         => ( ( inf_inf @ A @ X @ ( sup_sup @ A @ Y @ Z4 ) )
            = ( sup_sup @ A @ ( inf_inf @ A @ X @ Y ) @ ( inf_inf @ A @ X @ Z4 ) ) ) ) ) ).

% distrib_imp2
thf(fact_1053_inf__sup__distrib1,axiom,
    ! [A: $tType] :
      ( ( distrib_lattice @ A )
     => ! [X: A,Y: A,Z4: A] :
          ( ( inf_inf @ A @ X @ ( sup_sup @ A @ Y @ Z4 ) )
          = ( sup_sup @ A @ ( inf_inf @ A @ X @ Y ) @ ( inf_inf @ A @ X @ Z4 ) ) ) ) ).

% inf_sup_distrib1
thf(fact_1054_inf__sup__distrib2,axiom,
    ! [A: $tType] :
      ( ( distrib_lattice @ A )
     => ! [Y: A,Z4: A,X: A] :
          ( ( inf_inf @ A @ ( sup_sup @ A @ Y @ Z4 ) @ X )
          = ( sup_sup @ A @ ( inf_inf @ A @ Y @ X ) @ ( inf_inf @ A @ Z4 @ X ) ) ) ) ).

% inf_sup_distrib2
thf(fact_1055_sup__inf__distrib1,axiom,
    ! [A: $tType] :
      ( ( distrib_lattice @ A )
     => ! [X: A,Y: A,Z4: A] :
          ( ( sup_sup @ A @ X @ ( inf_inf @ A @ Y @ Z4 ) )
          = ( inf_inf @ A @ ( sup_sup @ A @ X @ Y ) @ ( sup_sup @ A @ X @ Z4 ) ) ) ) ).

% sup_inf_distrib1
thf(fact_1056_sup__inf__distrib2,axiom,
    ! [A: $tType] :
      ( ( distrib_lattice @ A )
     => ! [Y: A,Z4: A,X: A] :
          ( ( sup_sup @ A @ ( inf_inf @ A @ Y @ Z4 ) @ X )
          = ( inf_inf @ A @ ( sup_sup @ A @ Y @ X ) @ ( sup_sup @ A @ Z4 @ X ) ) ) ) ).

% sup_inf_distrib2
thf(fact_1057_boolean__algebra_Oconj__disj__distrib,axiom,
    ! [A: $tType] :
      ( ( boolea8198339166811842893lgebra @ A )
     => ! [X: A,Y: A,Z4: A] :
          ( ( inf_inf @ A @ X @ ( sup_sup @ A @ Y @ Z4 ) )
          = ( sup_sup @ A @ ( inf_inf @ A @ X @ Y ) @ ( inf_inf @ A @ X @ Z4 ) ) ) ) ).

% boolean_algebra.conj_disj_distrib
thf(fact_1058_boolean__algebra_Odisj__conj__distrib,axiom,
    ! [A: $tType] :
      ( ( boolea8198339166811842893lgebra @ A )
     => ! [X: A,Y: A,Z4: A] :
          ( ( sup_sup @ A @ X @ ( inf_inf @ A @ Y @ Z4 ) )
          = ( inf_inf @ A @ ( sup_sup @ A @ X @ Y ) @ ( sup_sup @ A @ X @ Z4 ) ) ) ) ).

% boolean_algebra.disj_conj_distrib
thf(fact_1059_boolean__algebra_Oconj__disj__distrib2,axiom,
    ! [A: $tType] :
      ( ( boolea8198339166811842893lgebra @ A )
     => ! [Y: A,Z4: A,X: A] :
          ( ( inf_inf @ A @ ( sup_sup @ A @ Y @ Z4 ) @ X )
          = ( sup_sup @ A @ ( inf_inf @ A @ Y @ X ) @ ( inf_inf @ A @ Z4 @ X ) ) ) ) ).

% boolean_algebra.conj_disj_distrib2
thf(fact_1060_boolean__algebra_Odisj__conj__distrib2,axiom,
    ! [A: $tType] :
      ( ( boolea8198339166811842893lgebra @ A )
     => ! [Y: A,Z4: A,X: A] :
          ( ( sup_sup @ A @ ( inf_inf @ A @ Y @ Z4 ) @ X )
          = ( inf_inf @ A @ ( sup_sup @ A @ Y @ X ) @ ( sup_sup @ A @ Z4 @ X ) ) ) ) ).

% boolean_algebra.disj_conj_distrib2
thf(fact_1061_add__divide__distrib,axiom,
    ! [A: $tType] :
      ( ( division_ring @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( divide_divide @ A @ ( plus_plus @ A @ A3 @ B2 ) @ C3 )
          = ( plus_plus @ A @ ( divide_divide @ A @ A3 @ C3 ) @ ( divide_divide @ A @ B2 @ C3 ) ) ) ) ).

% add_divide_distrib
thf(fact_1062_disjointI,axiom,
    ! [A: $tType,A3: set @ A,B2: set @ A] :
      ( ! [X3: A] :
          ( ( member @ A @ X3 @ A3 )
         => ~ ( member @ A @ X3 @ B2 ) )
     => ( ( inf_inf @ ( set @ A ) @ A3 @ B2 )
        = ( bot_bot @ ( set @ A ) ) ) ) ).

% disjointI
thf(fact_1063_disjoint__iff__not__equal,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( ( inf_inf @ ( set @ A ) @ A6 @ B6 )
        = ( bot_bot @ ( set @ A ) ) )
      = ( ! [X4: A] :
            ( ( member @ A @ X4 @ A6 )
           => ! [Y4: A] :
                ( ( member @ A @ Y4 @ B6 )
               => ( X4 != Y4 ) ) ) ) ) ).

% disjoint_iff_not_equal
thf(fact_1064_Int__empty__right,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ( inf_inf @ ( set @ A ) @ A6 @ ( bot_bot @ ( set @ A ) ) )
      = ( bot_bot @ ( set @ A ) ) ) ).

% Int_empty_right
thf(fact_1065_Int__empty__left,axiom,
    ! [A: $tType,B6: set @ A] :
      ( ( inf_inf @ ( set @ A ) @ ( bot_bot @ ( set @ A ) ) @ B6 )
      = ( bot_bot @ ( set @ A ) ) ) ).

% Int_empty_left
thf(fact_1066_disjoint__iff,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( ( inf_inf @ ( set @ A ) @ A6 @ B6 )
        = ( bot_bot @ ( set @ A ) ) )
      = ( ! [X4: A] :
            ( ( member @ A @ X4 @ A6 )
           => ~ ( member @ A @ X4 @ B6 ) ) ) ) ).

% disjoint_iff
thf(fact_1067_Int__emptyI,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ! [X3: A] :
          ( ( member @ A @ X3 @ A6 )
         => ~ ( member @ A @ X3 @ B6 ) )
     => ( ( inf_inf @ ( set @ A ) @ A6 @ B6 )
        = ( bot_bot @ ( set @ A ) ) ) ) ).

% Int_emptyI
thf(fact_1068_Int__mono,axiom,
    ! [A: $tType,A6: set @ A,C5: set @ A,B6: set @ A,D5: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ A6 @ C5 )
     => ( ( ord_less_eq @ ( set @ A ) @ B6 @ D5 )
       => ( ord_less_eq @ ( set @ A ) @ ( inf_inf @ ( set @ A ) @ A6 @ B6 ) @ ( inf_inf @ ( set @ A ) @ C5 @ D5 ) ) ) ) ).

% Int_mono
thf(fact_1069_Int__lower1,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] : ( ord_less_eq @ ( set @ A ) @ ( inf_inf @ ( set @ A ) @ A6 @ B6 ) @ A6 ) ).

% Int_lower1
thf(fact_1070_Int__lower2,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] : ( ord_less_eq @ ( set @ A ) @ ( inf_inf @ ( set @ A ) @ A6 @ B6 ) @ B6 ) ).

% Int_lower2
thf(fact_1071_Int__absorb1,axiom,
    ! [A: $tType,B6: set @ A,A6: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ B6 @ A6 )
     => ( ( inf_inf @ ( set @ A ) @ A6 @ B6 )
        = B6 ) ) ).

% Int_absorb1
thf(fact_1072_Int__absorb2,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
     => ( ( inf_inf @ ( set @ A ) @ A6 @ B6 )
        = A6 ) ) ).

% Int_absorb2
thf(fact_1073_Int__greatest,axiom,
    ! [A: $tType,C5: set @ A,A6: set @ A,B6: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ C5 @ A6 )
     => ( ( ord_less_eq @ ( set @ A ) @ C5 @ B6 )
       => ( ord_less_eq @ ( set @ A ) @ C5 @ ( inf_inf @ ( set @ A ) @ A6 @ B6 ) ) ) ) ).

% Int_greatest
thf(fact_1074_Int__Collect__mono,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A,P2: A > $o,Q2: A > $o] :
      ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
     => ( ! [X3: A] :
            ( ( member @ A @ X3 @ A6 )
           => ( ( P2 @ X3 )
             => ( Q2 @ X3 ) ) )
       => ( ord_less_eq @ ( set @ A ) @ ( inf_inf @ ( set @ A ) @ A6 @ ( collect @ A @ P2 ) ) @ ( inf_inf @ ( set @ A ) @ B6 @ ( collect @ A @ Q2 ) ) ) ) ) ).

% Int_Collect_mono
thf(fact_1075_inter__eq__subsetI,axiom,
    ! [A: $tType,S: set @ A,S6: set @ A,A6: set @ A,B6: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ S @ S6 )
     => ( ( ( inf_inf @ ( set @ A ) @ A6 @ S6 )
          = ( inf_inf @ ( set @ A ) @ B6 @ S6 ) )
       => ( ( inf_inf @ ( set @ A ) @ A6 @ S )
          = ( inf_inf @ ( set @ A ) @ B6 @ S ) ) ) ) ).

% inter_eq_subsetI
thf(fact_1076_Un__Int__crazy,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A,C5: set @ A] :
      ( ( sup_sup @ ( set @ A ) @ ( sup_sup @ ( set @ A ) @ ( inf_inf @ ( set @ A ) @ A6 @ B6 ) @ ( inf_inf @ ( set @ A ) @ B6 @ C5 ) ) @ ( inf_inf @ ( set @ A ) @ C5 @ A6 ) )
      = ( inf_inf @ ( set @ A ) @ ( inf_inf @ ( set @ A ) @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) @ ( sup_sup @ ( set @ A ) @ B6 @ C5 ) ) @ ( sup_sup @ ( set @ A ) @ C5 @ A6 ) ) ) ).

% Un_Int_crazy
thf(fact_1077_Int__Un__distrib,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A,C5: set @ A] :
      ( ( inf_inf @ ( set @ A ) @ A6 @ ( sup_sup @ ( set @ A ) @ B6 @ C5 ) )
      = ( sup_sup @ ( set @ A ) @ ( inf_inf @ ( set @ A ) @ A6 @ B6 ) @ ( inf_inf @ ( set @ A ) @ A6 @ C5 ) ) ) ).

% Int_Un_distrib
thf(fact_1078_Un__Int__distrib,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A,C5: set @ A] :
      ( ( sup_sup @ ( set @ A ) @ A6 @ ( inf_inf @ ( set @ A ) @ B6 @ C5 ) )
      = ( inf_inf @ ( set @ A ) @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) @ ( sup_sup @ ( set @ A ) @ A6 @ C5 ) ) ) ).

% Un_Int_distrib
thf(fact_1079_Int__Un__distrib2,axiom,
    ! [A: $tType,B6: set @ A,C5: set @ A,A6: set @ A] :
      ( ( inf_inf @ ( set @ A ) @ ( sup_sup @ ( set @ A ) @ B6 @ C5 ) @ A6 )
      = ( sup_sup @ ( set @ A ) @ ( inf_inf @ ( set @ A ) @ B6 @ A6 ) @ ( inf_inf @ ( set @ A ) @ C5 @ A6 ) ) ) ).

% Int_Un_distrib2
thf(fact_1080_Un__Int__distrib2,axiom,
    ! [A: $tType,B6: set @ A,C5: set @ A,A6: set @ A] :
      ( ( sup_sup @ ( set @ A ) @ ( inf_inf @ ( set @ A ) @ B6 @ C5 ) @ A6 )
      = ( inf_inf @ ( set @ A ) @ ( sup_sup @ ( set @ A ) @ B6 @ A6 ) @ ( sup_sup @ ( set @ A ) @ C5 @ A6 ) ) ) ).

% Un_Int_distrib2
thf(fact_1081_inf__option__def,axiom,
    ! [A: $tType] :
      ( ( inf @ A )
     => ( ( inf_inf @ ( option @ A ) )
        = ( ^ [X4: option @ A,Y4: option @ A] :
              ( case_option @ ( option @ A ) @ A @ ( none @ A )
              @ ^ [Z2: A] :
                  ( case_option @ ( option @ A ) @ A @ ( none @ A )
                  @ ^ [Aa2: A] : ( some @ A @ ( inf_inf @ A @ Z2 @ Aa2 ) )
                  @ Y4 )
              @ X4 ) ) ) ) ).

% inf_option_def
thf(fact_1082_distrib__sup__le,axiom,
    ! [A: $tType] :
      ( ( lattice @ A )
     => ! [X: A,Y: A,Z4: A] : ( ord_less_eq @ A @ ( sup_sup @ A @ X @ ( inf_inf @ A @ Y @ Z4 ) ) @ ( inf_inf @ A @ ( sup_sup @ A @ X @ Y ) @ ( sup_sup @ A @ X @ Z4 ) ) ) ) ).

% distrib_sup_le
thf(fact_1083_distrib__inf__le,axiom,
    ! [A: $tType] :
      ( ( lattice @ A )
     => ! [X: A,Y: A,Z4: A] : ( ord_less_eq @ A @ ( sup_sup @ A @ ( inf_inf @ A @ X @ Y ) @ ( inf_inf @ A @ X @ Z4 ) ) @ ( inf_inf @ A @ X @ ( sup_sup @ A @ Y @ Z4 ) ) ) ) ).

% distrib_inf_le
thf(fact_1084_power__mono,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [A3: A,B2: A,N: nat] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 )
           => ( ord_less_eq @ A @ ( power_power @ A @ A3 @ N ) @ ( power_power @ A @ B2 @ N ) ) ) ) ) ).

% power_mono
thf(fact_1085_zero__le__power,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [A3: A,N: nat] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 )
         => ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( power_power @ A @ A3 @ N ) ) ) ) ).

% zero_le_power
thf(fact_1086_zero__less__power,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [A3: A,N: nat] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ A3 )
         => ( ord_less @ A @ ( zero_zero @ A ) @ ( power_power @ A @ A3 @ N ) ) ) ) ).

% zero_less_power
thf(fact_1087_one__le__power,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [A3: A,N: nat] :
          ( ( ord_less_eq @ A @ ( one_one @ A ) @ A3 )
         => ( ord_less_eq @ A @ ( one_one @ A ) @ ( power_power @ A @ A3 @ N ) ) ) ) ).

% one_le_power
thf(fact_1088_divide__le__0__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ ( divide_divide @ A @ A3 @ B2 ) @ ( zero_zero @ A ) )
          = ( ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 )
              & ( ord_less_eq @ A @ B2 @ ( zero_zero @ A ) ) )
            | ( ( ord_less_eq @ A @ A3 @ ( zero_zero @ A ) )
              & ( ord_less_eq @ A @ ( zero_zero @ A ) @ B2 ) ) ) ) ) ).

% divide_le_0_iff
thf(fact_1089_divide__right__mono,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ C3 )
           => ( ord_less_eq @ A @ ( divide_divide @ A @ A3 @ C3 ) @ ( divide_divide @ A @ B2 @ C3 ) ) ) ) ) ).

% divide_right_mono
thf(fact_1090_zero__le__divide__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( divide_divide @ A @ A3 @ B2 ) )
          = ( ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 )
              & ( ord_less_eq @ A @ ( zero_zero @ A ) @ B2 ) )
            | ( ( ord_less_eq @ A @ A3 @ ( zero_zero @ A ) )
              & ( ord_less_eq @ A @ B2 @ ( zero_zero @ A ) ) ) ) ) ) ).

% zero_le_divide_iff
thf(fact_1091_divide__nonneg__nonneg,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ X )
         => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ Y )
           => ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( divide_divide @ A @ X @ Y ) ) ) ) ) ).

% divide_nonneg_nonneg
thf(fact_1092_divide__nonneg__nonpos,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ X )
         => ( ( ord_less_eq @ A @ Y @ ( zero_zero @ A ) )
           => ( ord_less_eq @ A @ ( divide_divide @ A @ X @ Y ) @ ( zero_zero @ A ) ) ) ) ) ).

% divide_nonneg_nonpos
thf(fact_1093_divide__nonpos__nonneg,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less_eq @ A @ X @ ( zero_zero @ A ) )
         => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ Y )
           => ( ord_less_eq @ A @ ( divide_divide @ A @ X @ Y ) @ ( zero_zero @ A ) ) ) ) ) ).

% divide_nonpos_nonneg
thf(fact_1094_divide__nonpos__nonpos,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less_eq @ A @ X @ ( zero_zero @ A ) )
         => ( ( ord_less_eq @ A @ Y @ ( zero_zero @ A ) )
           => ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( divide_divide @ A @ X @ Y ) ) ) ) ) ).

% divide_nonpos_nonpos
thf(fact_1095_divide__right__mono__neg,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ( ord_less_eq @ A @ C3 @ ( zero_zero @ A ) )
           => ( ord_less_eq @ A @ ( divide_divide @ A @ B2 @ C3 ) @ ( divide_divide @ A @ A3 @ C3 ) ) ) ) ) ).

% divide_right_mono_neg
thf(fact_1096_divide__neg__neg,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less @ A @ X @ ( zero_zero @ A ) )
         => ( ( ord_less @ A @ Y @ ( zero_zero @ A ) )
           => ( ord_less @ A @ ( zero_zero @ A ) @ ( divide_divide @ A @ X @ Y ) ) ) ) ) ).

% divide_neg_neg
thf(fact_1097_divide__neg__pos,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less @ A @ X @ ( zero_zero @ A ) )
         => ( ( ord_less @ A @ ( zero_zero @ A ) @ Y )
           => ( ord_less @ A @ ( divide_divide @ A @ X @ Y ) @ ( zero_zero @ A ) ) ) ) ) ).

% divide_neg_pos
thf(fact_1098_divide__pos__neg,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ X )
         => ( ( ord_less @ A @ Y @ ( zero_zero @ A ) )
           => ( ord_less @ A @ ( divide_divide @ A @ X @ Y ) @ ( zero_zero @ A ) ) ) ) ) ).

% divide_pos_neg
thf(fact_1099_divide__pos__pos,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ X )
         => ( ( ord_less @ A @ ( zero_zero @ A ) @ Y )
           => ( ord_less @ A @ ( zero_zero @ A ) @ ( divide_divide @ A @ X @ Y ) ) ) ) ) ).

% divide_pos_pos
thf(fact_1100_divide__less__0__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ ( divide_divide @ A @ A3 @ B2 ) @ ( zero_zero @ A ) )
          = ( ( ( ord_less @ A @ ( zero_zero @ A ) @ A3 )
              & ( ord_less @ A @ B2 @ ( zero_zero @ A ) ) )
            | ( ( ord_less @ A @ A3 @ ( zero_zero @ A ) )
              & ( ord_less @ A @ ( zero_zero @ A ) @ B2 ) ) ) ) ) ).

% divide_less_0_iff
thf(fact_1101_divide__less__cancel,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,C3: A,B2: A] :
          ( ( ord_less @ A @ ( divide_divide @ A @ A3 @ C3 ) @ ( divide_divide @ A @ B2 @ C3 ) )
          = ( ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
             => ( ord_less @ A @ A3 @ B2 ) )
            & ( ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
             => ( ord_less @ A @ B2 @ A3 ) )
            & ( C3
             != ( zero_zero @ A ) ) ) ) ) ).

% divide_less_cancel
thf(fact_1102_zero__less__divide__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ ( divide_divide @ A @ A3 @ B2 ) )
          = ( ( ( ord_less @ A @ ( zero_zero @ A ) @ A3 )
              & ( ord_less @ A @ ( zero_zero @ A ) @ B2 ) )
            | ( ( ord_less @ A @ A3 @ ( zero_zero @ A ) )
              & ( ord_less @ A @ B2 @ ( zero_zero @ A ) ) ) ) ) ) ).

% zero_less_divide_iff
thf(fact_1103_divide__strict__right__mono,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
           => ( ord_less @ A @ ( divide_divide @ A @ A3 @ C3 ) @ ( divide_divide @ A @ B2 @ C3 ) ) ) ) ) ).

% divide_strict_right_mono
thf(fact_1104_divide__strict__right__mono__neg,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [B2: A,A3: A,C3: A] :
          ( ( ord_less @ A @ B2 @ A3 )
         => ( ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
           => ( ord_less @ A @ ( divide_divide @ A @ A3 @ C3 ) @ ( divide_divide @ A @ B2 @ C3 ) ) ) ) ) ).

% divide_strict_right_mono_neg
thf(fact_1105_power__add,axiom,
    ! [A: $tType] :
      ( ( monoid_mult @ A )
     => ! [A3: A,M: nat,N: nat] :
          ( ( power_power @ A @ A3 @ ( plus_plus @ nat @ M @ N ) )
          = ( times_times @ A @ ( power_power @ A @ A3 @ M ) @ ( power_power @ A @ A3 @ N ) ) ) ) ).

% power_add
thf(fact_1106_nat__power__less__imp__less,axiom,
    ! [I2: nat,M: nat,N: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ I2 )
     => ( ( ord_less @ nat @ ( power_power @ nat @ I2 @ M ) @ ( power_power @ nat @ I2 @ N ) )
       => ( ord_less @ nat @ M @ N ) ) ) ).

% nat_power_less_imp_less
thf(fact_1107_disjoint__mono,axiom,
    ! [A: $tType,A3: set @ A,A4: set @ A,B2: set @ A,B3: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ A3 @ A4 )
     => ( ( ord_less_eq @ ( set @ A ) @ B2 @ B3 )
       => ( ( ( inf_inf @ ( set @ A ) @ A4 @ B3 )
            = ( bot_bot @ ( set @ A ) ) )
         => ( ( inf_inf @ ( set @ A ) @ A3 @ B2 )
            = ( bot_bot @ ( set @ A ) ) ) ) ) ) ).

% disjoint_mono
thf(fact_1108_Un__Int__assoc__eq,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A,C5: set @ A] :
      ( ( ( sup_sup @ ( set @ A ) @ ( inf_inf @ ( set @ A ) @ A6 @ B6 ) @ C5 )
        = ( inf_inf @ ( set @ A ) @ A6 @ ( sup_sup @ ( set @ A ) @ B6 @ C5 ) ) )
      = ( ord_less_eq @ ( set @ A ) @ C5 @ A6 ) ) ).

% Un_Int_assoc_eq
thf(fact_1109_power__less__imp__less__base,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [A3: A,N: nat,B2: A] :
          ( ( ord_less @ A @ ( power_power @ A @ A3 @ N ) @ ( power_power @ A @ B2 @ N ) )
         => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ B2 )
           => ( ord_less @ A @ A3 @ B2 ) ) ) ) ).

% power_less_imp_less_base
thf(fact_1110_power__le__one,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [A3: A,N: nat] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 )
         => ( ( ord_less_eq @ A @ A3 @ ( one_one @ A ) )
           => ( ord_less_eq @ A @ ( power_power @ A @ A3 @ N ) @ ( one_one @ A ) ) ) ) ) ).

% power_le_one
thf(fact_1111_divide__nonpos__pos,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less_eq @ A @ X @ ( zero_zero @ A ) )
         => ( ( ord_less @ A @ ( zero_zero @ A ) @ Y )
           => ( ord_less_eq @ A @ ( divide_divide @ A @ X @ Y ) @ ( zero_zero @ A ) ) ) ) ) ).

% divide_nonpos_pos
thf(fact_1112_divide__nonpos__neg,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less_eq @ A @ X @ ( zero_zero @ A ) )
         => ( ( ord_less @ A @ Y @ ( zero_zero @ A ) )
           => ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( divide_divide @ A @ X @ Y ) ) ) ) ) ).

% divide_nonpos_neg
thf(fact_1113_divide__nonneg__pos,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ X )
         => ( ( ord_less @ A @ ( zero_zero @ A ) @ Y )
           => ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( divide_divide @ A @ X @ Y ) ) ) ) ) ).

% divide_nonneg_pos
thf(fact_1114_divide__nonneg__neg,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ X )
         => ( ( ord_less @ A @ Y @ ( zero_zero @ A ) )
           => ( ord_less_eq @ A @ ( divide_divide @ A @ X @ Y ) @ ( zero_zero @ A ) ) ) ) ) ).

% divide_nonneg_neg
thf(fact_1115_divide__le__cancel,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,C3: A,B2: A] :
          ( ( ord_less_eq @ A @ ( divide_divide @ A @ A3 @ C3 ) @ ( divide_divide @ A @ B2 @ C3 ) )
          = ( ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
             => ( ord_less_eq @ A @ A3 @ B2 ) )
            & ( ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
             => ( ord_less_eq @ A @ B2 @ A3 ) ) ) ) ) ).

% divide_le_cancel
thf(fact_1116_frac__less2,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [X: A,Y: A,W2: A,Z4: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ X )
         => ( ( ord_less_eq @ A @ X @ Y )
           => ( ( ord_less @ A @ ( zero_zero @ A ) @ W2 )
             => ( ( ord_less @ A @ W2 @ Z4 )
               => ( ord_less @ A @ ( divide_divide @ A @ X @ Z4 ) @ ( divide_divide @ A @ Y @ W2 ) ) ) ) ) ) ) ).

% frac_less2
thf(fact_1117_frac__less,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [X: A,Y: A,W2: A,Z4: A] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ X )
         => ( ( ord_less @ A @ X @ Y )
           => ( ( ord_less @ A @ ( zero_zero @ A ) @ W2 )
             => ( ( ord_less_eq @ A @ W2 @ Z4 )
               => ( ord_less @ A @ ( divide_divide @ A @ X @ Z4 ) @ ( divide_divide @ A @ Y @ W2 ) ) ) ) ) ) ) ).

% frac_less
thf(fact_1118_frac__le,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [Y: A,X: A,W2: A,Z4: A] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ Y )
         => ( ( ord_less_eq @ A @ X @ Y )
           => ( ( ord_less @ A @ ( zero_zero @ A ) @ W2 )
             => ( ( ord_less_eq @ A @ W2 @ Z4 )
               => ( ord_less_eq @ A @ ( divide_divide @ A @ X @ Z4 ) @ ( divide_divide @ A @ Y @ W2 ) ) ) ) ) ) ) ).

% frac_le
thf(fact_1119_div__positive,axiom,
    ! [A: $tType] :
      ( ( unique1627219031080169319umeral @ A )
     => ! [B2: A,A3: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ B2 )
         => ( ( ord_less_eq @ A @ B2 @ A3 )
           => ( ord_less @ A @ ( zero_zero @ A ) @ ( divide_divide @ A @ A3 @ B2 ) ) ) ) ) ).

% div_positive
thf(fact_1120_unique__euclidean__semiring__numeral__class_Odiv__less,axiom,
    ! [A: $tType] :
      ( ( unique1627219031080169319umeral @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 )
         => ( ( ord_less @ A @ A3 @ B2 )
           => ( ( divide_divide @ A @ A3 @ B2 )
              = ( zero_zero @ A ) ) ) ) ) ).

% unique_euclidean_semiring_numeral_class.div_less
thf(fact_1121_power__gt1__lemma,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [A3: A,N: nat] :
          ( ( ord_less @ A @ ( one_one @ A ) @ A3 )
         => ( ord_less @ A @ ( one_one @ A ) @ ( times_times @ A @ A3 @ ( power_power @ A @ A3 @ N ) ) ) ) ) ).

% power_gt1_lemma
thf(fact_1122_power__less__power__Suc,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [A3: A,N: nat] :
          ( ( ord_less @ A @ ( one_one @ A ) @ A3 )
         => ( ord_less @ A @ ( power_power @ A @ A3 @ N ) @ ( times_times @ A @ A3 @ ( power_power @ A @ A3 @ N ) ) ) ) ) ).

% power_less_power_Suc
thf(fact_1123_unique__euclidean__semiring__numeral__class_Odiv__mult2__eq,axiom,
    ! [A: $tType] :
      ( ( unique1627219031080169319umeral @ A )
     => ! [C3: A,A3: A,B2: A] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ C3 )
         => ( ( divide_divide @ A @ A3 @ ( times_times @ A @ B2 @ C3 ) )
            = ( divide_divide @ A @ ( divide_divide @ A @ A3 @ B2 ) @ C3 ) ) ) ) ).

% unique_euclidean_semiring_numeral_class.div_mult2_eq
thf(fact_1124_divide__less__eq,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [B2: A,C3: A,A3: A] :
          ( ( ord_less @ A @ ( divide_divide @ A @ B2 @ C3 ) @ A3 )
          = ( ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
             => ( ord_less @ A @ B2 @ ( times_times @ A @ A3 @ C3 ) ) )
            & ( ~ ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
             => ( ( ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
                 => ( ord_less @ A @ ( times_times @ A @ A3 @ C3 ) @ B2 ) )
                & ( ~ ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
                 => ( ord_less @ A @ ( zero_zero @ A ) @ A3 ) ) ) ) ) ) ) ).

% divide_less_eq
thf(fact_1125_less__divide__eq,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less @ A @ A3 @ ( divide_divide @ A @ B2 @ C3 ) )
          = ( ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
             => ( ord_less @ A @ ( times_times @ A @ A3 @ C3 ) @ B2 ) )
            & ( ~ ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
             => ( ( ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
                 => ( ord_less @ A @ B2 @ ( times_times @ A @ A3 @ C3 ) ) )
                & ( ~ ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
                 => ( ord_less @ A @ A3 @ ( zero_zero @ A ) ) ) ) ) ) ) ) ).

% less_divide_eq
thf(fact_1126_neg__divide__less__eq,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [C3: A,B2: A,A3: A] :
          ( ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
         => ( ( ord_less @ A @ ( divide_divide @ A @ B2 @ C3 ) @ A3 )
            = ( ord_less @ A @ ( times_times @ A @ A3 @ C3 ) @ B2 ) ) ) ) ).

% neg_divide_less_eq
thf(fact_1127_neg__less__divide__eq,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [C3: A,A3: A,B2: A] :
          ( ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
         => ( ( ord_less @ A @ A3 @ ( divide_divide @ A @ B2 @ C3 ) )
            = ( ord_less @ A @ B2 @ ( times_times @ A @ A3 @ C3 ) ) ) ) ) ).

% neg_less_divide_eq
thf(fact_1128_pos__divide__less__eq,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [C3: A,B2: A,A3: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
         => ( ( ord_less @ A @ ( divide_divide @ A @ B2 @ C3 ) @ A3 )
            = ( ord_less @ A @ B2 @ ( times_times @ A @ A3 @ C3 ) ) ) ) ) ).

% pos_divide_less_eq
thf(fact_1129_pos__less__divide__eq,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [C3: A,A3: A,B2: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
         => ( ( ord_less @ A @ A3 @ ( divide_divide @ A @ B2 @ C3 ) )
            = ( ord_less @ A @ ( times_times @ A @ A3 @ C3 ) @ B2 ) ) ) ) ).

% pos_less_divide_eq
thf(fact_1130_mult__imp__div__pos__less,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [Y: A,X: A,Z4: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ Y )
         => ( ( ord_less @ A @ X @ ( times_times @ A @ Z4 @ Y ) )
           => ( ord_less @ A @ ( divide_divide @ A @ X @ Y ) @ Z4 ) ) ) ) ).

% mult_imp_div_pos_less
thf(fact_1131_mult__imp__less__div__pos,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [Y: A,Z4: A,X: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ Y )
         => ( ( ord_less @ A @ ( times_times @ A @ Z4 @ Y ) @ X )
           => ( ord_less @ A @ Z4 @ ( divide_divide @ A @ X @ Y ) ) ) ) ) ).

% mult_imp_less_div_pos
thf(fact_1132_divide__strict__left__mono,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [B2: A,A3: A,C3: A] :
          ( ( ord_less @ A @ B2 @ A3 )
         => ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
           => ( ( ord_less @ A @ ( zero_zero @ A ) @ ( times_times @ A @ A3 @ B2 ) )
             => ( ord_less @ A @ ( divide_divide @ A @ C3 @ A3 ) @ ( divide_divide @ A @ C3 @ B2 ) ) ) ) ) ) ).

% divide_strict_left_mono
thf(fact_1133_divide__strict__left__mono__neg,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ( ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
           => ( ( ord_less @ A @ ( zero_zero @ A ) @ ( times_times @ A @ A3 @ B2 ) )
             => ( ord_less @ A @ ( divide_divide @ A @ C3 @ A3 ) @ ( divide_divide @ A @ C3 @ B2 ) ) ) ) ) ) ).

% divide_strict_left_mono_neg
thf(fact_1134_divide__less__eq__1,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [B2: A,A3: A] :
          ( ( ord_less @ A @ ( divide_divide @ A @ B2 @ A3 ) @ ( one_one @ A ) )
          = ( ( ( ord_less @ A @ ( zero_zero @ A ) @ A3 )
              & ( ord_less @ A @ B2 @ A3 ) )
            | ( ( ord_less @ A @ A3 @ ( zero_zero @ A ) )
              & ( ord_less @ A @ A3 @ B2 ) )
            | ( A3
              = ( zero_zero @ A ) ) ) ) ) ).

% divide_less_eq_1
thf(fact_1135_less__divide__eq__1,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [B2: A,A3: A] :
          ( ( ord_less @ A @ ( one_one @ A ) @ ( divide_divide @ A @ B2 @ A3 ) )
          = ( ( ( ord_less @ A @ ( zero_zero @ A ) @ A3 )
              & ( ord_less @ A @ A3 @ B2 ) )
            | ( ( ord_less @ A @ A3 @ ( zero_zero @ A ) )
              & ( ord_less @ A @ B2 @ A3 ) ) ) ) ) ).

% less_divide_eq_1
thf(fact_1136_add__divide__eq__if__simps_I2_J,axiom,
    ! [A: $tType] :
      ( ( division_ring @ A )
     => ! [Z4: A,A3: A,B2: A] :
          ( ( ( Z4
              = ( zero_zero @ A ) )
           => ( ( plus_plus @ A @ ( divide_divide @ A @ A3 @ Z4 ) @ B2 )
              = B2 ) )
          & ( ( Z4
             != ( zero_zero @ A ) )
           => ( ( plus_plus @ A @ ( divide_divide @ A @ A3 @ Z4 ) @ B2 )
              = ( divide_divide @ A @ ( plus_plus @ A @ A3 @ ( times_times @ A @ B2 @ Z4 ) ) @ Z4 ) ) ) ) ) ).

% add_divide_eq_if_simps(2)
thf(fact_1137_add__divide__eq__if__simps_I1_J,axiom,
    ! [A: $tType] :
      ( ( division_ring @ A )
     => ! [Z4: A,A3: A,B2: A] :
          ( ( ( Z4
              = ( zero_zero @ A ) )
           => ( ( plus_plus @ A @ A3 @ ( divide_divide @ A @ B2 @ Z4 ) )
              = A3 ) )
          & ( ( Z4
             != ( zero_zero @ A ) )
           => ( ( plus_plus @ A @ A3 @ ( divide_divide @ A @ B2 @ Z4 ) )
              = ( divide_divide @ A @ ( plus_plus @ A @ ( times_times @ A @ A3 @ Z4 ) @ B2 ) @ Z4 ) ) ) ) ) ).

% add_divide_eq_if_simps(1)
thf(fact_1138_add__frac__eq,axiom,
    ! [A: $tType] :
      ( ( field @ A )
     => ! [Y: A,Z4: A,X: A,W2: A] :
          ( ( Y
           != ( zero_zero @ A ) )
         => ( ( Z4
             != ( zero_zero @ A ) )
           => ( ( plus_plus @ A @ ( divide_divide @ A @ X @ Y ) @ ( divide_divide @ A @ W2 @ Z4 ) )
              = ( divide_divide @ A @ ( plus_plus @ A @ ( times_times @ A @ X @ Z4 ) @ ( times_times @ A @ W2 @ Y ) ) @ ( times_times @ A @ Y @ Z4 ) ) ) ) ) ) ).

% add_frac_eq
thf(fact_1139_add__frac__num,axiom,
    ! [A: $tType] :
      ( ( field @ A )
     => ! [Y: A,X: A,Z4: A] :
          ( ( Y
           != ( zero_zero @ A ) )
         => ( ( plus_plus @ A @ ( divide_divide @ A @ X @ Y ) @ Z4 )
            = ( divide_divide @ A @ ( plus_plus @ A @ X @ ( times_times @ A @ Z4 @ Y ) ) @ Y ) ) ) ) ).

% add_frac_num
thf(fact_1140_add__num__frac,axiom,
    ! [A: $tType] :
      ( ( field @ A )
     => ! [Y: A,Z4: A,X: A] :
          ( ( Y
           != ( zero_zero @ A ) )
         => ( ( plus_plus @ A @ Z4 @ ( divide_divide @ A @ X @ Y ) )
            = ( divide_divide @ A @ ( plus_plus @ A @ X @ ( times_times @ A @ Z4 @ Y ) ) @ Y ) ) ) ) ).

% add_num_frac
thf(fact_1141_add__divide__eq__iff,axiom,
    ! [A: $tType] :
      ( ( division_ring @ A )
     => ! [Z4: A,X: A,Y: A] :
          ( ( Z4
           != ( zero_zero @ A ) )
         => ( ( plus_plus @ A @ X @ ( divide_divide @ A @ Y @ Z4 ) )
            = ( divide_divide @ A @ ( plus_plus @ A @ ( times_times @ A @ X @ Z4 ) @ Y ) @ Z4 ) ) ) ) ).

% add_divide_eq_iff
thf(fact_1142_divide__add__eq__iff,axiom,
    ! [A: $tType] :
      ( ( division_ring @ A )
     => ! [Z4: A,X: A,Y: A] :
          ( ( Z4
           != ( zero_zero @ A ) )
         => ( ( plus_plus @ A @ ( divide_divide @ A @ X @ Z4 ) @ Y )
            = ( divide_divide @ A @ ( plus_plus @ A @ X @ ( times_times @ A @ Y @ Z4 ) ) @ Z4 ) ) ) ) ).

% divide_add_eq_iff
thf(fact_1143_power__less__imp__less__exp,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [A3: A,M: nat,N: nat] :
          ( ( ord_less @ A @ ( one_one @ A ) @ A3 )
         => ( ( ord_less @ A @ ( power_power @ A @ A3 @ M ) @ ( power_power @ A @ A3 @ N ) )
           => ( ord_less @ nat @ M @ N ) ) ) ) ).

% power_less_imp_less_exp
thf(fact_1144_power__strict__increasing,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [N: nat,N7: nat,A3: A] :
          ( ( ord_less @ nat @ N @ N7 )
         => ( ( ord_less @ A @ ( one_one @ A ) @ A3 )
           => ( ord_less @ A @ ( power_power @ A @ A3 @ N ) @ ( power_power @ A @ A3 @ N7 ) ) ) ) ) ).

% power_strict_increasing
thf(fact_1145_power__increasing,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [N: nat,N7: nat,A3: A] :
          ( ( ord_less_eq @ nat @ N @ N7 )
         => ( ( ord_less_eq @ A @ ( one_one @ A ) @ A3 )
           => ( ord_less_eq @ A @ ( power_power @ A @ A3 @ N ) @ ( power_power @ A @ A3 @ N7 ) ) ) ) ) ).

% power_increasing
thf(fact_1146_zero__power,axiom,
    ! [A: $tType] :
      ( ( semiring_1 @ A )
     => ! [N: nat] :
          ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
         => ( ( power_power @ A @ ( zero_zero @ A ) @ N )
            = ( zero_zero @ A ) ) ) ) ).

% zero_power
thf(fact_1147_gt__half__sum,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ( ord_less @ A @ ( divide_divide @ A @ ( plus_plus @ A @ A3 @ B2 ) @ ( plus_plus @ A @ ( one_one @ A ) @ ( one_one @ A ) ) ) @ B2 ) ) ) ).

% gt_half_sum
thf(fact_1148_less__half__sum,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ( ord_less @ A @ A3 @ ( divide_divide @ A @ ( plus_plus @ A @ A3 @ B2 ) @ ( plus_plus @ A @ ( one_one @ A ) @ ( one_one @ A ) ) ) ) ) ) ).

% less_half_sum
thf(fact_1149_nat__mult__div__cancel1,axiom,
    ! [K2: nat,M: nat,N: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ K2 )
     => ( ( divide_divide @ nat @ ( times_times @ nat @ K2 @ M ) @ ( times_times @ nat @ K2 @ N ) )
        = ( divide_divide @ nat @ M @ N ) ) ) ).

% nat_mult_div_cancel1
thf(fact_1150_Inf__fin_Osemilattice__order__set__axioms,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ( lattic4895041142388067077er_set @ A @ ( inf_inf @ A ) @ ( ord_less_eq @ A ) @ ( ord_less @ A ) ) ) ).

% Inf_fin.semilattice_order_set_axioms
thf(fact_1151_power__Suc__less,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [A3: A,N: nat] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ A3 )
         => ( ( ord_less @ A @ A3 @ ( one_one @ A ) )
           => ( ord_less @ A @ ( times_times @ A @ A3 @ ( power_power @ A @ A3 @ N ) ) @ ( power_power @ A @ A3 @ N ) ) ) ) ) ).

% power_Suc_less
thf(fact_1152_divide__left__mono__neg,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ( ord_less_eq @ A @ C3 @ ( zero_zero @ A ) )
           => ( ( ord_less @ A @ ( zero_zero @ A ) @ ( times_times @ A @ A3 @ B2 ) )
             => ( ord_less_eq @ A @ ( divide_divide @ A @ C3 @ A3 ) @ ( divide_divide @ A @ C3 @ B2 ) ) ) ) ) ) ).

% divide_left_mono_neg
thf(fact_1153_mult__imp__le__div__pos,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [Y: A,Z4: A,X: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ Y )
         => ( ( ord_less_eq @ A @ ( times_times @ A @ Z4 @ Y ) @ X )
           => ( ord_less_eq @ A @ Z4 @ ( divide_divide @ A @ X @ Y ) ) ) ) ) ).

% mult_imp_le_div_pos
thf(fact_1154_mult__imp__div__pos__le,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [Y: A,X: A,Z4: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ Y )
         => ( ( ord_less_eq @ A @ X @ ( times_times @ A @ Z4 @ Y ) )
           => ( ord_less_eq @ A @ ( divide_divide @ A @ X @ Y ) @ Z4 ) ) ) ) ).

% mult_imp_div_pos_le
thf(fact_1155_pos__le__divide__eq,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [C3: A,A3: A,B2: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
         => ( ( ord_less_eq @ A @ A3 @ ( divide_divide @ A @ B2 @ C3 ) )
            = ( ord_less_eq @ A @ ( times_times @ A @ A3 @ C3 ) @ B2 ) ) ) ) ).

% pos_le_divide_eq
thf(fact_1156_pos__divide__le__eq,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [C3: A,B2: A,A3: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
         => ( ( ord_less_eq @ A @ ( divide_divide @ A @ B2 @ C3 ) @ A3 )
            = ( ord_less_eq @ A @ B2 @ ( times_times @ A @ A3 @ C3 ) ) ) ) ) ).

% pos_divide_le_eq
thf(fact_1157_neg__le__divide__eq,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [C3: A,A3: A,B2: A] :
          ( ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
         => ( ( ord_less_eq @ A @ A3 @ ( divide_divide @ A @ B2 @ C3 ) )
            = ( ord_less_eq @ A @ B2 @ ( times_times @ A @ A3 @ C3 ) ) ) ) ) ).

% neg_le_divide_eq
thf(fact_1158_neg__divide__le__eq,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [C3: A,B2: A,A3: A] :
          ( ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
         => ( ( ord_less_eq @ A @ ( divide_divide @ A @ B2 @ C3 ) @ A3 )
            = ( ord_less_eq @ A @ ( times_times @ A @ A3 @ C3 ) @ B2 ) ) ) ) ).

% neg_divide_le_eq
thf(fact_1159_divide__left__mono,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [B2: A,A3: A,C3: A] :
          ( ( ord_less_eq @ A @ B2 @ A3 )
         => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ C3 )
           => ( ( ord_less @ A @ ( zero_zero @ A ) @ ( times_times @ A @ A3 @ B2 ) )
             => ( ord_less_eq @ A @ ( divide_divide @ A @ C3 @ A3 ) @ ( divide_divide @ A @ C3 @ B2 ) ) ) ) ) ) ).

% divide_left_mono
thf(fact_1160_le__divide__eq,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less_eq @ A @ A3 @ ( divide_divide @ A @ B2 @ C3 ) )
          = ( ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
             => ( ord_less_eq @ A @ ( times_times @ A @ A3 @ C3 ) @ B2 ) )
            & ( ~ ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
             => ( ( ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
                 => ( ord_less_eq @ A @ B2 @ ( times_times @ A @ A3 @ C3 ) ) )
                & ( ~ ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
                 => ( ord_less_eq @ A @ A3 @ ( zero_zero @ A ) ) ) ) ) ) ) ) ).

% le_divide_eq
thf(fact_1161_divide__le__eq,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [B2: A,C3: A,A3: A] :
          ( ( ord_less_eq @ A @ ( divide_divide @ A @ B2 @ C3 ) @ A3 )
          = ( ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
             => ( ord_less_eq @ A @ B2 @ ( times_times @ A @ A3 @ C3 ) ) )
            & ( ~ ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
             => ( ( ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
                 => ( ord_less_eq @ A @ ( times_times @ A @ A3 @ C3 ) @ B2 ) )
                & ( ~ ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
                 => ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 ) ) ) ) ) ) ) ).

% divide_le_eq
thf(fact_1162_le__divide__eq__1,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [B2: A,A3: A] :
          ( ( ord_less_eq @ A @ ( one_one @ A ) @ ( divide_divide @ A @ B2 @ A3 ) )
          = ( ( ( ord_less @ A @ ( zero_zero @ A ) @ A3 )
              & ( ord_less_eq @ A @ A3 @ B2 ) )
            | ( ( ord_less @ A @ A3 @ ( zero_zero @ A ) )
              & ( ord_less_eq @ A @ B2 @ A3 ) ) ) ) ) ).

% le_divide_eq_1
thf(fact_1163_divide__le__eq__1,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [B2: A,A3: A] :
          ( ( ord_less_eq @ A @ ( divide_divide @ A @ B2 @ A3 ) @ ( one_one @ A ) )
          = ( ( ( ord_less @ A @ ( zero_zero @ A ) @ A3 )
              & ( ord_less_eq @ A @ B2 @ A3 ) )
            | ( ( ord_less @ A @ A3 @ ( zero_zero @ A ) )
              & ( ord_less_eq @ A @ A3 @ B2 ) )
            | ( A3
              = ( zero_zero @ A ) ) ) ) ) ).

% divide_le_eq_1
thf(fact_1164_power__strict__decreasing,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [N: nat,N7: nat,A3: A] :
          ( ( ord_less @ nat @ N @ N7 )
         => ( ( ord_less @ A @ ( zero_zero @ A ) @ A3 )
           => ( ( ord_less @ A @ A3 @ ( one_one @ A ) )
             => ( ord_less @ A @ ( power_power @ A @ A3 @ N7 ) @ ( power_power @ A @ A3 @ N ) ) ) ) ) ) ).

% power_strict_decreasing
thf(fact_1165_power__decreasing,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [N: nat,N7: nat,A3: A] :
          ( ( ord_less_eq @ nat @ N @ N7 )
         => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 )
           => ( ( ord_less_eq @ A @ A3 @ ( one_one @ A ) )
             => ( ord_less_eq @ A @ ( power_power @ A @ A3 @ N7 ) @ ( power_power @ A @ A3 @ N ) ) ) ) ) ) ).

% power_decreasing
thf(fact_1166_power__eq__iff__eq__base,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [N: nat,A3: A,B2: A] :
          ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
         => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 )
           => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ B2 )
             => ( ( ( power_power @ A @ A3 @ N )
                  = ( power_power @ A @ B2 @ N ) )
                = ( A3 = B2 ) ) ) ) ) ) ).

% power_eq_iff_eq_base
thf(fact_1167_power__eq__imp__eq__base,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [A3: A,N: nat,B2: A] :
          ( ( ( power_power @ A @ A3 @ N )
            = ( power_power @ A @ B2 @ N ) )
         => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 )
           => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ B2 )
             => ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
               => ( A3 = B2 ) ) ) ) ) ) ).

% power_eq_imp_eq_base
thf(fact_1168_power__le__imp__le__exp,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [A3: A,M: nat,N: nat] :
          ( ( ord_less @ A @ ( one_one @ A ) @ A3 )
         => ( ( ord_less_eq @ A @ ( power_power @ A @ A3 @ M ) @ ( power_power @ A @ A3 @ N ) )
           => ( ord_less_eq @ nat @ M @ N ) ) ) ) ).

% power_le_imp_le_exp
thf(fact_1169_self__le__power,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [A3: A,N: nat] :
          ( ( ord_less_eq @ A @ ( one_one @ A ) @ A3 )
         => ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
           => ( ord_less_eq @ A @ A3 @ ( power_power @ A @ A3 @ N ) ) ) ) ) ).

% self_le_power
thf(fact_1170_one__less__power,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [A3: A,N: nat] :
          ( ( ord_less @ A @ ( one_one @ A ) @ A3 )
         => ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
           => ( ord_less @ A @ ( one_one @ A ) @ ( power_power @ A @ A3 @ N ) ) ) ) ) ).

% one_less_power
thf(fact_1171_div__mult__self1,axiom,
    ! [A: $tType] :
      ( ( euclid4440199948858584721cancel @ A )
     => ! [B2: A,A3: A,C3: A] :
          ( ( B2
           != ( zero_zero @ A ) )
         => ( ( divide_divide @ A @ ( plus_plus @ A @ A3 @ ( times_times @ A @ C3 @ B2 ) ) @ B2 )
            = ( plus_plus @ A @ C3 @ ( divide_divide @ A @ A3 @ B2 ) ) ) ) ) ).

% div_mult_self1
thf(fact_1172_div__mult__self2,axiom,
    ! [A: $tType] :
      ( ( euclid4440199948858584721cancel @ A )
     => ! [B2: A,A3: A,C3: A] :
          ( ( B2
           != ( zero_zero @ A ) )
         => ( ( divide_divide @ A @ ( plus_plus @ A @ A3 @ ( times_times @ A @ B2 @ C3 ) ) @ B2 )
            = ( plus_plus @ A @ C3 @ ( divide_divide @ A @ A3 @ B2 ) ) ) ) ) ).

% div_mult_self2
thf(fact_1173_div__mult__self3,axiom,
    ! [A: $tType] :
      ( ( euclid4440199948858584721cancel @ A )
     => ! [B2: A,C3: A,A3: A] :
          ( ( B2
           != ( zero_zero @ A ) )
         => ( ( divide_divide @ A @ ( plus_plus @ A @ ( times_times @ A @ C3 @ B2 ) @ A3 ) @ B2 )
            = ( plus_plus @ A @ C3 @ ( divide_divide @ A @ A3 @ B2 ) ) ) ) ) ).

% div_mult_self3
thf(fact_1174_div__mult__self4,axiom,
    ! [A: $tType] :
      ( ( euclid4440199948858584721cancel @ A )
     => ! [B2: A,C3: A,A3: A] :
          ( ( B2
           != ( zero_zero @ A ) )
         => ( ( divide_divide @ A @ ( plus_plus @ A @ ( times_times @ A @ B2 @ C3 ) @ A3 ) @ B2 )
            = ( plus_plus @ A @ C3 @ ( divide_divide @ A @ A3 @ B2 ) ) ) ) ) ).

% div_mult_self4
thf(fact_1175_div__mult__self__is__m,axiom,
    ! [N: nat,M: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
     => ( ( divide_divide @ nat @ ( times_times @ nat @ M @ N ) @ N )
        = M ) ) ).

% div_mult_self_is_m
thf(fact_1176_div__mult__self1__is__m,axiom,
    ! [N: nat,M: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
     => ( ( divide_divide @ nat @ ( times_times @ nat @ N @ M ) @ N )
        = M ) ) ).

% div_mult_self1_is_m
thf(fact_1177_div__less,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less @ nat @ M @ N )
     => ( ( divide_divide @ nat @ M @ N )
        = ( zero_zero @ nat ) ) ) ).

% div_less
thf(fact_1178_dividend__less__times__div,axiom,
    ! [N: nat,M: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
     => ( ord_less @ nat @ M @ ( plus_plus @ nat @ N @ ( times_times @ nat @ N @ ( divide_divide @ nat @ M @ N ) ) ) ) ) ).

% dividend_less_times_div
thf(fact_1179_dividend__less__div__times,axiom,
    ! [N: nat,M: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
     => ( ord_less @ nat @ M @ ( plus_plus @ nat @ N @ ( times_times @ nat @ ( divide_divide @ nat @ M @ N ) @ N ) ) ) ) ).

% dividend_less_div_times
thf(fact_1180_merge__pure__and,axiom,
    ! [A3: $o,B2: $o] :
      ( ( inf_inf @ assn @ ( pure_assn @ A3 ) @ ( pure_assn @ B2 ) )
      = ( pure_assn
        @ ( A3
          & B2 ) ) ) ).

% merge_pure_and
thf(fact_1181_inf__None__1,axiom,
    ! [A: $tType] :
      ( ( inf @ A )
     => ! [Y: option @ A] :
          ( ( inf_inf @ ( option @ A ) @ ( none @ A ) @ Y )
          = ( none @ A ) ) ) ).

% inf_None_1
thf(fact_1182_inf__None__2,axiom,
    ! [A: $tType] :
      ( ( inf @ A )
     => ! [X: option @ A] :
          ( ( inf_inf @ ( option @ A ) @ X @ ( none @ A ) )
          = ( none @ A ) ) ) ).

% inf_None_2
thf(fact_1183_mod__h__bot__iff_I6_J,axiom,
    ! [P2: assn,Q2: assn,H: heap_ext @ product_unit] :
      ( ( rep_assn @ ( inf_inf @ assn @ P2 @ Q2 ) @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ ( bot_bot @ ( set @ nat ) ) ) )
      = ( ( rep_assn @ P2 @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ ( bot_bot @ ( set @ nat ) ) ) )
        & ( rep_assn @ Q2 @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ ( bot_bot @ ( set @ nat ) ) ) ) ) ) ).

% mod_h_bot_iff(6)
thf(fact_1184_inf__Int__eq2,axiom,
    ! [B: $tType,A: $tType,R4: set @ ( product_prod @ A @ B ),S: set @ ( product_prod @ A @ B )] :
      ( ( inf_inf @ ( A > B > $o )
        @ ^ [X4: A,Y4: B] : ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X4 @ Y4 ) @ R4 )
        @ ^ [X4: A,Y4: B] : ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X4 @ Y4 ) @ S ) )
      = ( ^ [X4: A,Y4: B] : ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X4 @ Y4 ) @ ( inf_inf @ ( set @ ( product_prod @ A @ B ) ) @ R4 @ S ) ) ) ) ).

% inf_Int_eq2
thf(fact_1185_mod__and__dist,axiom,
    ! [P2: assn,Q2: assn,H: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
      ( ( rep_assn @ ( inf_inf @ assn @ P2 @ Q2 ) @ H )
      = ( ( rep_assn @ P2 @ H )
        & ( rep_assn @ Q2 @ H ) ) ) ).

% mod_and_dist
thf(fact_1186_ent__conjI,axiom,
    ! [A6: assn,B6: assn,C5: assn] :
      ( ( entails @ A6 @ B6 )
     => ( ( entails @ A6 @ C5 )
       => ( entails @ A6 @ ( inf_inf @ assn @ B6 @ C5 ) ) ) ) ).

% ent_conjI
thf(fact_1187_ent__conjE1,axiom,
    ! [A6: assn,C5: assn,B6: assn] :
      ( ( entails @ A6 @ C5 )
     => ( entails @ ( inf_inf @ assn @ A6 @ B6 ) @ C5 ) ) ).

% ent_conjE1
thf(fact_1188_ent__conjE2,axiom,
    ! [B6: assn,C5: assn,A6: assn] :
      ( ( entails @ B6 @ C5 )
     => ( entails @ ( inf_inf @ assn @ A6 @ B6 ) @ C5 ) ) ).

% ent_conjE2
thf(fact_1189_inf__Int__eq,axiom,
    ! [A: $tType,R4: set @ A,S: set @ A] :
      ( ( inf_inf @ ( A > $o )
        @ ^ [X4: A] : ( member @ A @ X4 @ R4 )
        @ ^ [X4: A] : ( member @ A @ X4 @ S ) )
      = ( ^ [X4: A] : ( member @ A @ X4 @ ( inf_inf @ ( set @ A ) @ R4 @ S ) ) ) ) ).

% inf_Int_eq
thf(fact_1190_inf__set__def,axiom,
    ! [A: $tType] :
      ( ( inf_inf @ ( set @ A ) )
      = ( ^ [A8: set @ A,B7: set @ A] :
            ( collect @ A
            @ ( inf_inf @ ( A > $o )
              @ ^ [X4: A] : ( member @ A @ X4 @ A8 )
              @ ^ [X4: A] : ( member @ A @ X4 @ B7 ) ) ) ) ) ).

% inf_set_def
thf(fact_1191_ex__distrib__and,axiom,
    ! [A: $tType,P2: A > assn,Q2: assn] :
      ( ( ex_assn @ A
        @ ^ [X4: A] : ( inf_inf @ assn @ ( P2 @ X4 ) @ Q2 ) )
      = ( inf_inf @ assn @ ( ex_assn @ A @ P2 ) @ Q2 ) ) ).

% ex_distrib_and
thf(fact_1192_div__le__dividend,axiom,
    ! [M: nat,N: nat] : ( ord_less_eq @ nat @ ( divide_divide @ nat @ M @ N ) @ M ) ).

% div_le_dividend
thf(fact_1193_div__le__mono,axiom,
    ! [M: nat,N: nat,K2: nat] :
      ( ( ord_less_eq @ nat @ M @ N )
     => ( ord_less_eq @ nat @ ( divide_divide @ nat @ M @ K2 ) @ ( divide_divide @ nat @ N @ K2 ) ) ) ).

% div_le_mono
thf(fact_1194_preciseD,axiom,
    ! [B: $tType,A: $tType,R4: A > B > assn,A3: A,P3: B,F5: assn,A4: A,F7: assn,H: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
      ( ( precise @ A @ B @ R4 )
     => ( ( rep_assn @ ( inf_inf @ assn @ ( times_times @ assn @ ( R4 @ A3 @ P3 ) @ F5 ) @ ( times_times @ assn @ ( R4 @ A4 @ P3 ) @ F7 ) ) @ H )
       => ( A3 = A4 ) ) ) ).

% preciseD
thf(fact_1195_preciseI,axiom,
    ! [B: $tType,A: $tType,R4: A > B > assn] :
      ( ! [A5: A,A10: A,H2: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ),P8: B,F8: assn,F9: assn] :
          ( ( rep_assn @ ( inf_inf @ assn @ ( times_times @ assn @ ( R4 @ A5 @ P8 ) @ F8 ) @ ( times_times @ assn @ ( R4 @ A10 @ P8 ) @ F9 ) ) @ H2 )
         => ( A5 = A10 ) )
     => ( precise @ A @ B @ R4 ) ) ).

% preciseI
thf(fact_1196_precise__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( precise @ A @ B )
      = ( ^ [R2: A > B > assn] :
          ! [A7: A,A11: A,H7: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ),P7: B,F10: assn,F11: assn] :
            ( ( rep_assn @ ( inf_inf @ assn @ ( times_times @ assn @ ( R2 @ A7 @ P7 ) @ F10 ) @ ( times_times @ assn @ ( R2 @ A11 @ P7 ) @ F11 ) ) @ H7 )
           => ( A7 = A11 ) ) ) ) ).

% precise_def
thf(fact_1197_Euclidean__Division_Odiv__eq__0__iff,axiom,
    ! [M: nat,N: nat] :
      ( ( ( divide_divide @ nat @ M @ N )
        = ( zero_zero @ nat ) )
      = ( ( ord_less @ nat @ M @ N )
        | ( N
          = ( zero_zero @ nat ) ) ) ) ).

% Euclidean_Division.div_eq_0_iff
thf(fact_1198_less__mult__imp__div__less,axiom,
    ! [M: nat,I2: nat,N: nat] :
      ( ( ord_less @ nat @ M @ ( times_times @ nat @ I2 @ N ) )
     => ( ord_less @ nat @ ( divide_divide @ nat @ M @ N ) @ I2 ) ) ).

% less_mult_imp_div_less
thf(fact_1199_div__times__less__eq__dividend,axiom,
    ! [M: nat,N: nat] : ( ord_less_eq @ nat @ ( times_times @ nat @ ( divide_divide @ nat @ M @ N ) @ N ) @ M ) ).

% div_times_less_eq_dividend
thf(fact_1200_times__div__less__eq__dividend,axiom,
    ! [N: nat,M: nat] : ( ord_less_eq @ nat @ ( times_times @ nat @ N @ ( divide_divide @ nat @ M @ N ) ) @ M ) ).

% times_div_less_eq_dividend
thf(fact_1201_div__le__mono2,axiom,
    ! [M: nat,N: nat,K2: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ M )
     => ( ( ord_less_eq @ nat @ M @ N )
       => ( ord_less_eq @ nat @ ( divide_divide @ nat @ K2 @ N ) @ ( divide_divide @ nat @ K2 @ M ) ) ) ) ).

% div_le_mono2
thf(fact_1202_div__greater__zero__iff,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ ( divide_divide @ nat @ M @ N ) )
      = ( ( ord_less_eq @ nat @ N @ M )
        & ( ord_less @ nat @ ( zero_zero @ nat ) @ N ) ) ) ).

% div_greater_zero_iff
thf(fact_1203_div__less__iff__less__mult,axiom,
    ! [Q6: nat,M: nat,N: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ Q6 )
     => ( ( ord_less @ nat @ ( divide_divide @ nat @ M @ Q6 ) @ N )
        = ( ord_less @ nat @ M @ ( times_times @ nat @ N @ Q6 ) ) ) ) ).

% div_less_iff_less_mult
thf(fact_1204_div__eq__dividend__iff,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ M )
     => ( ( ( divide_divide @ nat @ M @ N )
          = M )
        = ( N
          = ( one_one @ nat ) ) ) ) ).

% div_eq_dividend_iff
thf(fact_1205_div__less__dividend,axiom,
    ! [N: nat,M: nat] :
      ( ( ord_less @ nat @ ( one_one @ nat ) @ N )
     => ( ( ord_less @ nat @ ( zero_zero @ nat ) @ M )
       => ( ord_less @ nat @ ( divide_divide @ nat @ M @ N ) @ M ) ) ) ).

% div_less_dividend
thf(fact_1206_div__add__self2,axiom,
    ! [A: $tType] :
      ( ( euclid4440199948858584721cancel @ A )
     => ! [B2: A,A3: A] :
          ( ( B2
           != ( zero_zero @ A ) )
         => ( ( divide_divide @ A @ ( plus_plus @ A @ A3 @ B2 ) @ B2 )
            = ( plus_plus @ A @ ( divide_divide @ A @ A3 @ B2 ) @ ( one_one @ A ) ) ) ) ) ).

% div_add_self2
thf(fact_1207_div__add__self1,axiom,
    ! [A: $tType] :
      ( ( euclid4440199948858584721cancel @ A )
     => ! [B2: A,A3: A] :
          ( ( B2
           != ( zero_zero @ A ) )
         => ( ( divide_divide @ A @ ( plus_plus @ A @ B2 @ A3 ) @ B2 )
            = ( plus_plus @ A @ ( divide_divide @ A @ A3 @ B2 ) @ ( one_one @ A ) ) ) ) ) ).

% div_add_self1
thf(fact_1208_less__eq__div__iff__mult__less__eq,axiom,
    ! [Q6: nat,M: nat,N: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ Q6 )
     => ( ( ord_less_eq @ nat @ M @ ( divide_divide @ nat @ N @ Q6 ) )
        = ( ord_less_eq @ nat @ ( times_times @ nat @ M @ Q6 ) @ N ) ) ) ).

% less_eq_div_iff_mult_less_eq
thf(fact_1209_split__div,axiom,
    ! [P2: nat > $o,M: nat,N: nat] :
      ( ( P2 @ ( divide_divide @ nat @ M @ N ) )
      = ( ( ( N
            = ( zero_zero @ nat ) )
         => ( P2 @ ( zero_zero @ nat ) ) )
        & ( ( N
           != ( zero_zero @ nat ) )
         => ! [I: nat,J: nat] :
              ( ( ord_less @ nat @ J @ N )
             => ( ( M
                  = ( plus_plus @ nat @ ( times_times @ nat @ N @ I ) @ J ) )
               => ( P2 @ I ) ) ) ) ) ) ).

% split_div
thf(fact_1210_wand__assnI,axiom,
    ! [H: heap_ext @ product_unit,As: set @ nat,Q2: assn,R4: assn] :
      ( ( in_range @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ As ) )
     => ( ! [H4: heap_ext @ product_unit,As6: set @ nat] :
            ( ( ( inf_inf @ ( set @ nat ) @ As @ As6 )
              = ( bot_bot @ ( set @ nat ) ) )
           => ( ( relH @ As @ H @ H4 )
             => ( ( in_range @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H4 @ As ) )
               => ( ( rep_assn @ Q2 @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H4 @ As6 ) )
                 => ( rep_assn @ R4 @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H4 @ ( sup_sup @ ( set @ nat ) @ As @ As6 ) ) ) ) ) ) )
       => ( rep_assn @ ( wand_assn @ Q2 @ R4 ) @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ As ) ) ) ) ).

% wand_assnI
thf(fact_1211_times__assn__raw_Oelims_I3_J,axiom,
    ! [X: ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o,Xa: ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o,Xb: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
      ( ~ ( times_assn_raw @ X @ Xa @ Xb )
     => ~ ! [H2: heap_ext @ product_unit,As2: set @ nat] :
            ( ( Xb
              = ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
           => ? [As12: set @ nat,As23: set @ nat] :
                ( ( As2
                  = ( sup_sup @ ( set @ nat ) @ As12 @ As23 ) )
                & ( ( inf_inf @ ( set @ nat ) @ As12 @ As23 )
                  = ( bot_bot @ ( set @ nat ) ) )
                & ( X @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As12 ) )
                & ( Xa @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As23 ) ) ) ) ) ).

% times_assn_raw.elims(3)
thf(fact_1212_times__assn__raw_Oelims_I2_J,axiom,
    ! [X: ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o,Xa: ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o,Xb: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
      ( ( times_assn_raw @ X @ Xa @ Xb )
     => ~ ! [H2: heap_ext @ product_unit,As2: set @ nat] :
            ( ( Xb
              = ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
           => ~ ? [As13: set @ nat,As24: set @ nat] :
                  ( ( As2
                    = ( sup_sup @ ( set @ nat ) @ As13 @ As24 ) )
                  & ( ( inf_inf @ ( set @ nat ) @ As13 @ As24 )
                    = ( bot_bot @ ( set @ nat ) ) )
                  & ( X @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As13 ) )
                  & ( Xa @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As24 ) ) ) ) ) ).

% times_assn_raw.elims(2)
thf(fact_1213_times__assn__raw_Oelims_I1_J,axiom,
    ! [X: ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o,Xa: ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o,Xb: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ),Y: $o] :
      ( ( ( times_assn_raw @ X @ Xa @ Xb )
        = Y )
     => ~ ! [H2: heap_ext @ product_unit,As2: set @ nat] :
            ( ( Xb
              = ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
           => ( Y
              = ( ~ ? [As1: set @ nat,As22: set @ nat] :
                      ( ( As2
                        = ( sup_sup @ ( set @ nat ) @ As1 @ As22 ) )
                      & ( ( inf_inf @ ( set @ nat ) @ As1 @ As22 )
                        = ( bot_bot @ ( set @ nat ) ) )
                      & ( X @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As1 ) )
                      & ( Xa @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As22 ) ) ) ) ) ) ) ).

% times_assn_raw.elims(1)
thf(fact_1214_times__assn__raw_Osimps,axiom,
    ! [P2: ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o,Q2: ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o,H: heap_ext @ product_unit,As: set @ nat] :
      ( ( times_assn_raw @ P2 @ Q2 @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ As ) )
      = ( ? [As1: set @ nat,As22: set @ nat] :
            ( ( As
              = ( sup_sup @ ( set @ nat ) @ As1 @ As22 ) )
            & ( ( inf_inf @ ( set @ nat ) @ As1 @ As22 )
              = ( bot_bot @ ( set @ nat ) ) )
            & ( P2 @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ As1 ) )
            & ( Q2 @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ As22 ) ) ) ) ) ).

% times_assn_raw.simps
thf(fact_1215_update__wp__rule,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [R3: ref @ A,Y: A,X: A,Q2: product_unit > assn] : ( hoare_hoare_triple @ product_unit @ ( times_times @ assn @ ( sngr_assn @ A @ R3 @ Y ) @ ( wand_assn @ ( sngr_assn @ A @ R3 @ X ) @ ( Q2 @ product_Unity ) ) ) @ ( ref_update @ A @ R3 @ X ) @ Q2 ) ) ).

% update_wp_rule
thf(fact_1216_times__assn__raw_Opelims_I3_J,axiom,
    ! [X: ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o,Xa: ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o,Xb: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
      ( ~ ( times_assn_raw @ X @ Xa @ Xb )
     => ( ( accp @ ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) ) @ times_assn_raw_rel @ ( product_Pair @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) @ X @ ( product_Pair @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) @ Xa @ Xb ) ) )
       => ~ ! [H2: heap_ext @ product_unit,As2: set @ nat] :
              ( ( Xb
                = ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
             => ( ( accp @ ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) ) @ times_assn_raw_rel @ ( product_Pair @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) @ X @ ( product_Pair @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) @ Xa @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) ) ) )
               => ? [As12: set @ nat,As23: set @ nat] :
                    ( ( As2
                      = ( sup_sup @ ( set @ nat ) @ As12 @ As23 ) )
                    & ( ( inf_inf @ ( set @ nat ) @ As12 @ As23 )
                      = ( bot_bot @ ( set @ nat ) ) )
                    & ( X @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As12 ) )
                    & ( Xa @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As23 ) ) ) ) ) ) ) ).

% times_assn_raw.pelims(3)
thf(fact_1217_times__assn__raw_Opelims_I2_J,axiom,
    ! [X: ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o,Xa: ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o,Xb: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
      ( ( times_assn_raw @ X @ Xa @ Xb )
     => ( ( accp @ ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) ) @ times_assn_raw_rel @ ( product_Pair @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) @ X @ ( product_Pair @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) @ Xa @ Xb ) ) )
       => ~ ! [H2: heap_ext @ product_unit,As2: set @ nat] :
              ( ( Xb
                = ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
             => ( ( accp @ ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) ) @ times_assn_raw_rel @ ( product_Pair @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) @ X @ ( product_Pair @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) @ Xa @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) ) ) )
               => ~ ? [As13: set @ nat,As24: set @ nat] :
                      ( ( As2
                        = ( sup_sup @ ( set @ nat ) @ As13 @ As24 ) )
                      & ( ( inf_inf @ ( set @ nat ) @ As13 @ As24 )
                        = ( bot_bot @ ( set @ nat ) ) )
                      & ( X @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As13 ) )
                      & ( Xa @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As24 ) ) ) ) ) ) ) ).

% times_assn_raw.pelims(2)
thf(fact_1218_times__assn__raw_Opelims_I1_J,axiom,
    ! [X: ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o,Xa: ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o,Xb: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ),Y: $o] :
      ( ( ( times_assn_raw @ X @ Xa @ Xb )
        = Y )
     => ( ( accp @ ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) ) @ times_assn_raw_rel @ ( product_Pair @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) @ X @ ( product_Pair @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) @ Xa @ Xb ) ) )
       => ~ ! [H2: heap_ext @ product_unit,As2: set @ nat] :
              ( ( Xb
                = ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
             => ( ( Y
                  = ( ? [As1: set @ nat,As22: set @ nat] :
                        ( ( As2
                          = ( sup_sup @ ( set @ nat ) @ As1 @ As22 ) )
                        & ( ( inf_inf @ ( set @ nat ) @ As1 @ As22 )
                          = ( bot_bot @ ( set @ nat ) ) )
                        & ( X @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As1 ) )
                        & ( Xa @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As22 ) ) ) ) )
               => ~ ( accp @ ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) ) @ times_assn_raw_rel @ ( product_Pair @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) @ X @ ( product_Pair @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) @ Xa @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) ) ) ) ) ) ) ) ).

% times_assn_raw.pelims(1)
thf(fact_1219_unit__abs__eta__conv,axiom,
    ! [A: $tType,F3: product_unit > A] :
      ( ( ^ [U2: product_unit] : ( F3 @ product_Unity ) )
      = F3 ) ).

% unit_abs_eta_conv
thf(fact_1220_in__range__empty,axiom,
    ! [H: heap_ext @ product_unit] : ( in_range @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ ( bot_bot @ ( set @ nat ) ) ) ) ).

% in_range_empty
thf(fact_1221_in__range__dist__union,axiom,
    ! [H: heap_ext @ product_unit,As: set @ nat,As5: set @ nat] :
      ( ( in_range @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ ( sup_sup @ ( set @ nat ) @ As @ As5 ) ) )
      = ( ( in_range @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ As ) )
        & ( in_range @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ As5 ) ) ) ) ).

% in_range_dist_union
thf(fact_1222_inf__unit__def,axiom,
    ( ( inf_inf @ product_unit )
    = ( ^ [Uu3: product_unit,Uv: product_unit] : product_Unity ) ) ).

% inf_unit_def
thf(fact_1223_less__eq__assn__def,axiom,
    ( ( ord_less_eq @ assn )
    = ( ^ [A7: assn,B5: assn] :
          ( A7
          = ( inf_inf @ assn @ A7 @ B5 ) ) ) ) ).

% less_eq_assn_def
thf(fact_1224_old_Ounit_Oexhaust,axiom,
    ! [Y: product_unit] : Y = product_Unity ).

% old.unit.exhaust
thf(fact_1225_sup__unit__def,axiom,
    ( ( sup_sup @ product_unit )
    = ( ^ [Uu3: product_unit,Uv: product_unit] : product_Unity ) ) ).

% sup_unit_def
thf(fact_1226_bot__unit__def,axiom,
    ( ( bot_bot @ product_unit )
    = product_Unity ) ).

% bot_unit_def
thf(fact_1227_models__in__range,axiom,
    ! [P2: assn,H: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
      ( ( rep_assn @ P2 @ H )
     => ( in_range @ H ) ) ).

% models_in_range
thf(fact_1228_relH__in__rangeI_I2_J,axiom,
    ! [As: set @ nat,H: heap_ext @ product_unit,H5: heap_ext @ product_unit] :
      ( ( relH @ As @ H @ H5 )
     => ( in_range @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H5 @ As ) ) ) ).

% relH_in_rangeI(2)
thf(fact_1229_relH__in__rangeI_I1_J,axiom,
    ! [As: set @ nat,H: heap_ext @ product_unit,H5: heap_ext @ product_unit] :
      ( ( relH @ As @ H @ H5 )
     => ( in_range @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ As ) ) ) ).

% relH_in_rangeI(1)
thf(fact_1230_relH__refl,axiom,
    ! [H: heap_ext @ product_unit,As: set @ nat] :
      ( ( in_range @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ As ) )
     => ( relH @ As @ H @ H ) ) ).

% relH_refl
thf(fact_1231_in__range__subset,axiom,
    ! [As: set @ nat,As5: set @ nat,H: heap_ext @ product_unit] :
      ( ( ord_less_eq @ ( set @ nat ) @ As @ As5 )
     => ( ( in_range @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ As5 ) )
       => ( in_range @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ As ) ) ) ) ).

% in_range_subset
thf(fact_1232_wait__def,axiom,
    ( heap_Time_wait
    = ( ^ [N3: nat] :
          ( heap_Time_Heap2 @ product_unit
          @ ^ [H7: heap_ext @ product_unit] : ( some @ ( product_prod @ product_unit @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( product_Pair @ product_unit @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ product_Unity @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ H7 @ N3 ) ) ) ) ) ) ).

% wait_def
thf(fact_1233_in__range_Osimps,axiom,
    ! [H: heap_ext @ product_unit,As: set @ nat] :
      ( ( in_range @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ As ) )
      = ( ! [X4: nat] :
            ( ( member @ nat @ X4 @ As )
           => ( ord_less @ nat @ X4 @ ( lim @ product_unit @ H ) ) ) ) ) ).

% in_range.simps
thf(fact_1234_in__range_Oelims_I1_J,axiom,
    ! [X: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ),Y: $o] :
      ( ( ( in_range @ X )
        = Y )
     => ~ ! [H2: heap_ext @ product_unit,As2: set @ nat] :
            ( ( X
              = ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
           => ( Y
              = ( ~ ! [X4: nat] :
                      ( ( member @ nat @ X4 @ As2 )
                     => ( ord_less @ nat @ X4 @ ( lim @ product_unit @ H2 ) ) ) ) ) ) ) ).

% in_range.elims(1)
thf(fact_1235_in__range_Oelims_I2_J,axiom,
    ! [X: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
      ( ( in_range @ X )
     => ~ ! [H2: heap_ext @ product_unit,As2: set @ nat] :
            ( ( X
              = ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
           => ~ ! [X6: nat] :
                  ( ( member @ nat @ X6 @ As2 )
                 => ( ord_less @ nat @ X6 @ ( lim @ product_unit @ H2 ) ) ) ) ) ).

% in_range.elims(2)
thf(fact_1236_in__range_Oelims_I3_J,axiom,
    ! [X: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
      ( ~ ( in_range @ X )
     => ~ ! [H2: heap_ext @ product_unit,As2: set @ nat] :
            ( ( X
              = ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
           => ! [X3: nat] :
                ( ( member @ nat @ X3 @ As2 )
               => ( ord_less @ nat @ X3 @ ( lim @ product_unit @ H2 ) ) ) ) ) ).

% in_range.elims(3)
thf(fact_1237_old_Ounit_Orec,axiom,
    ! [T: $tType,F1: T] :
      ( ( product_rec_unit @ T @ F1 @ product_Unity )
      = F1 ) ).

% old.unit.rec
thf(fact_1238_wand__raw_Osimps,axiom,
    ! [P2: ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o,Q2: ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o,H: heap_ext @ product_unit,As: set @ nat] :
      ( ( wand_raw @ P2 @ Q2 @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ As ) )
      = ( ( in_range @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ As ) )
        & ! [H8: heap_ext @ product_unit,As7: set @ nat] :
            ( ( ( ( inf_inf @ ( set @ nat ) @ As @ As7 )
                = ( bot_bot @ ( set @ nat ) ) )
              & ( relH @ As @ H @ H8 )
              & ( in_range @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H8 @ As ) )
              & ( P2 @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H8 @ As7 ) ) )
           => ( Q2 @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H8 @ ( sup_sup @ ( set @ nat ) @ As @ As7 ) ) ) ) ) ) ).

% wand_raw.simps
thf(fact_1239_wand__raw_Oelims_I1_J,axiom,
    ! [X: ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o,Xa: ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o,Xb: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ),Y: $o] :
      ( ( ( wand_raw @ X @ Xa @ Xb )
        = Y )
     => ~ ! [H2: heap_ext @ product_unit,As2: set @ nat] :
            ( ( Xb
              = ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
           => ( Y
              = ( ~ ( ( in_range @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
                    & ! [H8: heap_ext @ product_unit,As7: set @ nat] :
                        ( ( ( ( inf_inf @ ( set @ nat ) @ As2 @ As7 )
                            = ( bot_bot @ ( set @ nat ) ) )
                          & ( relH @ As2 @ H2 @ H8 )
                          & ( in_range @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H8 @ As2 ) )
                          & ( X @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H8 @ As7 ) ) )
                       => ( Xa @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H8 @ ( sup_sup @ ( set @ nat ) @ As2 @ As7 ) ) ) ) ) ) ) ) ) ).

% wand_raw.elims(1)
thf(fact_1240_wand__raw_Oelims_I2_J,axiom,
    ! [X: ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o,Xa: ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o,Xb: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
      ( ( wand_raw @ X @ Xa @ Xb )
     => ~ ! [H2: heap_ext @ product_unit,As2: set @ nat] :
            ( ( Xb
              = ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
           => ~ ( ( in_range @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
                & ! [H9: heap_ext @ product_unit,As8: set @ nat] :
                    ( ( ( ( inf_inf @ ( set @ nat ) @ As2 @ As8 )
                        = ( bot_bot @ ( set @ nat ) ) )
                      & ( relH @ As2 @ H2 @ H9 )
                      & ( in_range @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H9 @ As2 ) )
                      & ( X @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H9 @ As8 ) ) )
                   => ( Xa @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H9 @ ( sup_sup @ ( set @ nat ) @ As2 @ As8 ) ) ) ) ) ) ) ).

% wand_raw.elims(2)
thf(fact_1241_wand__raw_Oelims_I3_J,axiom,
    ! [X: ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o,Xa: ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o,Xb: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
      ( ~ ( wand_raw @ X @ Xa @ Xb )
     => ~ ! [H2: heap_ext @ product_unit,As2: set @ nat] :
            ( ( Xb
              = ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
           => ( ( in_range @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
              & ! [H4: heap_ext @ product_unit,As6: set @ nat] :
                  ( ( ( ( inf_inf @ ( set @ nat ) @ As2 @ As6 )
                      = ( bot_bot @ ( set @ nat ) ) )
                    & ( relH @ As2 @ H2 @ H4 )
                    & ( in_range @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H4 @ As2 ) )
                    & ( X @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H4 @ As6 ) ) )
                 => ( Xa @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H4 @ ( sup_sup @ ( set @ nat ) @ As2 @ As6 ) ) ) ) ) ) ) ).

% wand_raw.elims(3)
thf(fact_1242_wand__raw_Opelims_I1_J,axiom,
    ! [X: ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o,Xa: ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o,Xb: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ),Y: $o] :
      ( ( ( wand_raw @ X @ Xa @ Xb )
        = Y )
     => ( ( accp @ ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) ) @ wand_raw_rel @ ( product_Pair @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) @ X @ ( product_Pair @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) @ Xa @ Xb ) ) )
       => ~ ! [H2: heap_ext @ product_unit,As2: set @ nat] :
              ( ( Xb
                = ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
             => ( ( Y
                  = ( ( in_range @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
                    & ! [H8: heap_ext @ product_unit,As7: set @ nat] :
                        ( ( ( ( inf_inf @ ( set @ nat ) @ As2 @ As7 )
                            = ( bot_bot @ ( set @ nat ) ) )
                          & ( relH @ As2 @ H2 @ H8 )
                          & ( in_range @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H8 @ As2 ) )
                          & ( X @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H8 @ As7 ) ) )
                       => ( Xa @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H8 @ ( sup_sup @ ( set @ nat ) @ As2 @ As7 ) ) ) ) ) )
               => ~ ( accp @ ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) ) @ wand_raw_rel @ ( product_Pair @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) @ X @ ( product_Pair @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) @ Xa @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) ) ) ) ) ) ) ) ).

% wand_raw.pelims(1)
thf(fact_1243_wand__raw_Opelims_I2_J,axiom,
    ! [X: ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o,Xa: ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o,Xb: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
      ( ( wand_raw @ X @ Xa @ Xb )
     => ( ( accp @ ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) ) @ wand_raw_rel @ ( product_Pair @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) @ X @ ( product_Pair @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) @ Xa @ Xb ) ) )
       => ~ ! [H2: heap_ext @ product_unit,As2: set @ nat] :
              ( ( Xb
                = ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
             => ( ( accp @ ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) ) @ wand_raw_rel @ ( product_Pair @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) @ X @ ( product_Pair @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) @ Xa @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) ) ) )
               => ~ ( ( in_range @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
                    & ! [H9: heap_ext @ product_unit,As8: set @ nat] :
                        ( ( ( ( inf_inf @ ( set @ nat ) @ As2 @ As8 )
                            = ( bot_bot @ ( set @ nat ) ) )
                          & ( relH @ As2 @ H2 @ H9 )
                          & ( in_range @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H9 @ As2 ) )
                          & ( X @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H9 @ As8 ) ) )
                       => ( Xa @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H9 @ ( sup_sup @ ( set @ nat ) @ As2 @ As8 ) ) ) ) ) ) ) ) ) ).

% wand_raw.pelims(2)
thf(fact_1244_wand__raw_Opelims_I3_J,axiom,
    ! [X: ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o,Xa: ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o,Xb: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
      ( ~ ( wand_raw @ X @ Xa @ Xb )
     => ( ( accp @ ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) ) @ wand_raw_rel @ ( product_Pair @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) @ X @ ( product_Pair @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) @ Xa @ Xb ) ) )
       => ~ ! [H2: heap_ext @ product_unit,As2: set @ nat] :
              ( ( Xb
                = ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
             => ( ( accp @ ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) ) @ wand_raw_rel @ ( product_Pair @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) @ X @ ( product_Pair @ ( ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) @ Xa @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) ) ) )
               => ( ( in_range @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
                  & ! [H4: heap_ext @ product_unit,As6: set @ nat] :
                      ( ( ( ( inf_inf @ ( set @ nat ) @ As2 @ As6 )
                          = ( bot_bot @ ( set @ nat ) ) )
                        & ( relH @ As2 @ H2 @ H4 )
                        & ( in_range @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H4 @ As2 ) )
                        & ( X @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H4 @ As6 ) ) )
                     => ( Xa @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H4 @ ( sup_sup @ ( set @ nat ) @ As2 @ As6 ) ) ) ) ) ) ) ) ) ).

% wand_raw.pelims(3)
thf(fact_1245_in__range_Opelims_I1_J,axiom,
    ! [X: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ),Y: $o] :
      ( ( ( in_range @ X )
        = Y )
     => ( ( accp @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) @ in_range_rel @ X )
       => ~ ! [H2: heap_ext @ product_unit,As2: set @ nat] :
              ( ( X
                = ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
             => ( ( Y
                  = ( ! [X4: nat] :
                        ( ( member @ nat @ X4 @ As2 )
                       => ( ord_less @ nat @ X4 @ ( lim @ product_unit @ H2 ) ) ) ) )
               => ~ ( accp @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) @ in_range_rel @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) ) ) ) ) ) ).

% in_range.pelims(1)
thf(fact_1246_less__assn__def,axiom,
    ( ( ord_less @ assn )
    = ( ^ [A7: assn,B5: assn] :
          ( ( ord_less_eq @ assn @ A7 @ B5 )
          & ( A7 != B5 ) ) ) ) ).

% less_assn_def
thf(fact_1247_in__range_Opelims_I3_J,axiom,
    ! [X: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
      ( ~ ( in_range @ X )
     => ( ( accp @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) @ in_range_rel @ X )
       => ~ ! [H2: heap_ext @ product_unit,As2: set @ nat] :
              ( ( X
                = ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
             => ( ( accp @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) @ in_range_rel @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
               => ! [X3: nat] :
                    ( ( member @ nat @ X3 @ As2 )
                   => ( ord_less @ nat @ X3 @ ( lim @ product_unit @ H2 ) ) ) ) ) ) ) ).

% in_range.pelims(3)
thf(fact_1248_in__range_Opelims_I2_J,axiom,
    ! [X: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
      ( ( in_range @ X )
     => ( ( accp @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) @ in_range_rel @ X )
       => ~ ! [H2: heap_ext @ product_unit,As2: set @ nat] :
              ( ( X
                = ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
             => ( ( accp @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) @ in_range_rel @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
               => ~ ! [X6: nat] :
                      ( ( member @ nat @ X6 @ As2 )
                     => ( ord_less @ nat @ X6 @ ( lim @ product_unit @ H2 ) ) ) ) ) ) ) ).

% in_range.pelims(2)
thf(fact_1249_execute__update,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [R3: ref @ A,V2: A,H: heap_ext @ product_unit] :
          ( ( heap_Time_execute @ product_unit @ ( ref_update @ A @ R3 @ V2 ) @ H )
          = ( some @ ( product_prod @ product_unit @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( product_Pair @ product_unit @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ product_Unity @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ ( ref_set @ A @ R3 @ V2 @ H ) @ ( one_one @ nat ) ) ) ) ) ) ).

% execute_update
thf(fact_1250_default__unit__def,axiom,
    ( ( default_default @ product_unit )
    = product_Unity ) ).

% default_unit_def
thf(fact_1251_Ref__Time_Oupdate__def,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ( ( ref_update @ A )
        = ( ^ [R5: ref @ A,V3: A] :
              ( heap_Time_heap @ product_unit
              @ ^ [H7: heap_ext @ product_unit] : ( product_Pair @ product_unit @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ product_Unity @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ ( ref_set @ A @ R5 @ V3 @ H7 ) @ ( one_one @ nat ) ) ) ) ) ) ) ).

% Ref_Time.update_def
thf(fact_1252_CODE__ABORT__def,axiom,
    ! [A: $tType] :
      ( ( cODE_ABORT @ A )
      = ( ^ [F4: product_unit > A] : ( F4 @ product_Unity ) ) ) ).

% CODE_ABORT_def
thf(fact_1253_verit__le__mono__div,axiom,
    ! [A6: nat,B6: nat,N: nat] :
      ( ( ord_less @ nat @ A6 @ B6 )
     => ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
       => ( ord_less_eq @ nat
          @ ( plus_plus @ nat @ ( divide_divide @ nat @ A6 @ N )
            @ ( if @ nat
              @ ( ( modulo_modulo @ nat @ B6 @ N )
                = ( zero_zero @ nat ) )
              @ ( one_one @ nat )
              @ ( zero_zero @ nat ) ) )
          @ ( divide_divide @ nat @ B6 @ N ) ) ) ) ).

% verit_le_mono_div
thf(fact_1254_of__nat__zero__less__power__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [X: nat,N: nat] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ ( power_power @ A @ ( semiring_1_of_nat @ A @ X ) @ N ) )
          = ( ( ord_less @ nat @ ( zero_zero @ nat ) @ X )
            | ( N
              = ( zero_zero @ nat ) ) ) ) ) ).

% of_nat_zero_less_power_iff
thf(fact_1255_wand__assn__def,axiom,
    ( wand_assn
    = ( ^ [P5: assn,Q3: assn] : ( abs_assn @ ( wand_raw @ ( rep_assn @ P5 ) @ ( rep_assn @ Q3 ) ) ) ) ) ).

% wand_assn_def
thf(fact_1256_distrib__left__NO__MATCH,axiom,
    ! [B: $tType,A: $tType] :
      ( ( semiring @ A )
     => ! [X: B,Y: B,A3: A,B2: A,C3: A] :
          ( ( nO_MATCH @ B @ A @ ( divide_divide @ B @ X @ Y ) @ A3 )
         => ( ( times_times @ A @ A3 @ ( plus_plus @ A @ B2 @ C3 ) )
            = ( plus_plus @ A @ ( times_times @ A @ A3 @ B2 ) @ ( times_times @ A @ A3 @ C3 ) ) ) ) ) ).

% distrib_left_NO_MATCH
thf(fact_1257_of__nat__eq__iff,axiom,
    ! [A: $tType] :
      ( ( semiring_char_0 @ A )
     => ! [M: nat,N: nat] :
          ( ( ( semiring_1_of_nat @ A @ M )
            = ( semiring_1_of_nat @ A @ N ) )
          = ( M = N ) ) ) ).

% of_nat_eq_iff
thf(fact_1258_mod__add__self1,axiom,
    ! [A: $tType] :
      ( ( euclid4440199948858584721cancel @ A )
     => ! [B2: A,A3: A] :
          ( ( modulo_modulo @ A @ ( plus_plus @ A @ B2 @ A3 ) @ B2 )
          = ( modulo_modulo @ A @ A3 @ B2 ) ) ) ).

% mod_add_self1
thf(fact_1259_mod__add__self2,axiom,
    ! [A: $tType] :
      ( ( euclid4440199948858584721cancel @ A )
     => ! [A3: A,B2: A] :
          ( ( modulo_modulo @ A @ ( plus_plus @ A @ A3 @ B2 ) @ B2 )
          = ( modulo_modulo @ A @ A3 @ B2 ) ) ) ).

% mod_add_self2
thf(fact_1260_mod__less,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less @ nat @ M @ N )
     => ( ( modulo_modulo @ nat @ M @ N )
        = M ) ) ).

% mod_less
thf(fact_1261_Rep__assn__inverse,axiom,
    ! [X: assn] :
      ( ( abs_assn @ ( rep_assn @ X ) )
      = X ) ).

% Rep_assn_inverse
thf(fact_1262_lim__set,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [R3: ref @ A,V2: A,H: heap_ext @ product_unit] :
          ( ( lim @ product_unit @ ( ref_set @ A @ R3 @ V2 @ H ) )
          = ( lim @ product_unit @ H ) ) ) ).

% lim_set
thf(fact_1263_of__nat__0,axiom,
    ! [A: $tType] :
      ( ( semiring_1 @ A )
     => ( ( semiring_1_of_nat @ A @ ( zero_zero @ nat ) )
        = ( zero_zero @ A ) ) ) ).

% of_nat_0
thf(fact_1264_of__nat__eq__0__iff,axiom,
    ! [A: $tType] :
      ( ( semiring_char_0 @ A )
     => ! [M: nat] :
          ( ( ( semiring_1_of_nat @ A @ M )
            = ( zero_zero @ A ) )
          = ( M
            = ( zero_zero @ nat ) ) ) ) ).

% of_nat_eq_0_iff
thf(fact_1265_of__nat__0__eq__iff,axiom,
    ! [A: $tType] :
      ( ( semiring_char_0 @ A )
     => ! [N: nat] :
          ( ( ( zero_zero @ A )
            = ( semiring_1_of_nat @ A @ N ) )
          = ( ( zero_zero @ nat )
            = N ) ) ) ).

% of_nat_0_eq_iff
thf(fact_1266_mod__mult__self1,axiom,
    ! [A: $tType] :
      ( ( euclid4440199948858584721cancel @ A )
     => ! [A3: A,C3: A,B2: A] :
          ( ( modulo_modulo @ A @ ( plus_plus @ A @ A3 @ ( times_times @ A @ C3 @ B2 ) ) @ B2 )
          = ( modulo_modulo @ A @ A3 @ B2 ) ) ) ).

% mod_mult_self1
thf(fact_1267_mod__mult__self2,axiom,
    ! [A: $tType] :
      ( ( euclid4440199948858584721cancel @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( modulo_modulo @ A @ ( plus_plus @ A @ A3 @ ( times_times @ A @ B2 @ C3 ) ) @ B2 )
          = ( modulo_modulo @ A @ A3 @ B2 ) ) ) ).

% mod_mult_self2
thf(fact_1268_mod__mult__self3,axiom,
    ! [A: $tType] :
      ( ( euclid4440199948858584721cancel @ A )
     => ! [C3: A,B2: A,A3: A] :
          ( ( modulo_modulo @ A @ ( plus_plus @ A @ ( times_times @ A @ C3 @ B2 ) @ A3 ) @ B2 )
          = ( modulo_modulo @ A @ A3 @ B2 ) ) ) ).

% mod_mult_self3
thf(fact_1269_mod__mult__self4,axiom,
    ! [A: $tType] :
      ( ( euclid4440199948858584721cancel @ A )
     => ! [B2: A,C3: A,A3: A] :
          ( ( modulo_modulo @ A @ ( plus_plus @ A @ ( times_times @ A @ B2 @ C3 ) @ A3 ) @ B2 )
          = ( modulo_modulo @ A @ A3 @ B2 ) ) ) ).

% mod_mult_self4
thf(fact_1270_of__nat__less__iff,axiom,
    ! [A: $tType] :
      ( ( linord181362715937106298miring @ A )
     => ! [M: nat,N: nat] :
          ( ( ord_less @ A @ ( semiring_1_of_nat @ A @ M ) @ ( semiring_1_of_nat @ A @ N ) )
          = ( ord_less @ nat @ M @ N ) ) ) ).

% of_nat_less_iff
thf(fact_1271_of__nat__le__iff,axiom,
    ! [A: $tType] :
      ( ( linord181362715937106298miring @ A )
     => ! [M: nat,N: nat] :
          ( ( ord_less_eq @ A @ ( semiring_1_of_nat @ A @ M ) @ ( semiring_1_of_nat @ A @ N ) )
          = ( ord_less_eq @ nat @ M @ N ) ) ) ).

% of_nat_le_iff
thf(fact_1272_of__nat__add,axiom,
    ! [A: $tType] :
      ( ( semiring_1 @ A )
     => ! [M: nat,N: nat] :
          ( ( semiring_1_of_nat @ A @ ( plus_plus @ nat @ M @ N ) )
          = ( plus_plus @ A @ ( semiring_1_of_nat @ A @ M ) @ ( semiring_1_of_nat @ A @ N ) ) ) ) ).

% of_nat_add
thf(fact_1273_of__nat__mult,axiom,
    ! [A: $tType] :
      ( ( semiring_1 @ A )
     => ! [M: nat,N: nat] :
          ( ( semiring_1_of_nat @ A @ ( times_times @ nat @ M @ N ) )
          = ( times_times @ A @ ( semiring_1_of_nat @ A @ M ) @ ( semiring_1_of_nat @ A @ N ) ) ) ) ).

% of_nat_mult
thf(fact_1274_of__nat__eq__1__iff,axiom,
    ! [A: $tType] :
      ( ( semiring_char_0 @ A )
     => ! [N: nat] :
          ( ( ( semiring_1_of_nat @ A @ N )
            = ( one_one @ A ) )
          = ( N
            = ( one_one @ nat ) ) ) ) ).

% of_nat_eq_1_iff
thf(fact_1275_of__nat__1__eq__iff,axiom,
    ! [A: $tType] :
      ( ( semiring_char_0 @ A )
     => ! [N: nat] :
          ( ( ( one_one @ A )
            = ( semiring_1_of_nat @ A @ N ) )
          = ( N
            = ( one_one @ nat ) ) ) ) ).

% of_nat_1_eq_iff
thf(fact_1276_of__nat__1,axiom,
    ! [A: $tType] :
      ( ( semiring_1 @ A )
     => ( ( semiring_1_of_nat @ A @ ( one_one @ nat ) )
        = ( one_one @ A ) ) ) ).

% of_nat_1
thf(fact_1277_of__nat__le__0__iff,axiom,
    ! [A: $tType] :
      ( ( linord181362715937106298miring @ A )
     => ! [M: nat] :
          ( ( ord_less_eq @ A @ ( semiring_1_of_nat @ A @ M ) @ ( zero_zero @ A ) )
          = ( M
            = ( zero_zero @ nat ) ) ) ) ).

% of_nat_le_0_iff
thf(fact_1278_of__nat__0__less__iff,axiom,
    ! [A: $tType] :
      ( ( linord181362715937106298miring @ A )
     => ! [N: nat] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ ( semiring_1_of_nat @ A @ N ) )
          = ( ord_less @ nat @ ( zero_zero @ nat ) @ N ) ) ) ).

% of_nat_0_less_iff
thf(fact_1279_of__nat__less__of__nat__power__cancel__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [B2: nat,W2: nat,X: nat] :
          ( ( ord_less @ A @ ( power_power @ A @ ( semiring_1_of_nat @ A @ B2 ) @ W2 ) @ ( semiring_1_of_nat @ A @ X ) )
          = ( ord_less @ nat @ ( power_power @ nat @ B2 @ W2 ) @ X ) ) ) ).

% of_nat_less_of_nat_power_cancel_iff
thf(fact_1280_of__nat__power__less__of__nat__cancel__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [X: nat,B2: nat,W2: nat] :
          ( ( ord_less @ A @ ( semiring_1_of_nat @ A @ X ) @ ( power_power @ A @ ( semiring_1_of_nat @ A @ B2 ) @ W2 ) )
          = ( ord_less @ nat @ X @ ( power_power @ nat @ B2 @ W2 ) ) ) ) ).

% of_nat_power_less_of_nat_cancel_iff
thf(fact_1281_of__nat__power__le__of__nat__cancel__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [X: nat,B2: nat,W2: nat] :
          ( ( ord_less_eq @ A @ ( semiring_1_of_nat @ A @ X ) @ ( power_power @ A @ ( semiring_1_of_nat @ A @ B2 ) @ W2 ) )
          = ( ord_less_eq @ nat @ X @ ( power_power @ nat @ B2 @ W2 ) ) ) ) ).

% of_nat_power_le_of_nat_cancel_iff
thf(fact_1282_of__nat__le__of__nat__power__cancel__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [B2: nat,W2: nat,X: nat] :
          ( ( ord_less_eq @ A @ ( power_power @ A @ ( semiring_1_of_nat @ A @ B2 ) @ W2 ) @ ( semiring_1_of_nat @ A @ X ) )
          = ( ord_less_eq @ nat @ ( power_power @ nat @ B2 @ W2 ) @ X ) ) ) ).

% of_nat_le_of_nat_power_cancel_iff
thf(fact_1283_mod__add__right__eq,axiom,
    ! [A: $tType] :
      ( ( euclid4440199948858584721cancel @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( modulo_modulo @ A @ ( plus_plus @ A @ A3 @ ( modulo_modulo @ A @ B2 @ C3 ) ) @ C3 )
          = ( modulo_modulo @ A @ ( plus_plus @ A @ A3 @ B2 ) @ C3 ) ) ) ).

% mod_add_right_eq
thf(fact_1284_mod__add__left__eq,axiom,
    ! [A: $tType] :
      ( ( euclid4440199948858584721cancel @ A )
     => ! [A3: A,C3: A,B2: A] :
          ( ( modulo_modulo @ A @ ( plus_plus @ A @ ( modulo_modulo @ A @ A3 @ C3 ) @ B2 ) @ C3 )
          = ( modulo_modulo @ A @ ( plus_plus @ A @ A3 @ B2 ) @ C3 ) ) ) ).

% mod_add_left_eq
thf(fact_1285_mod__add__cong,axiom,
    ! [A: $tType] :
      ( ( euclid4440199948858584721cancel @ A )
     => ! [A3: A,C3: A,A4: A,B2: A,B3: A] :
          ( ( ( modulo_modulo @ A @ A3 @ C3 )
            = ( modulo_modulo @ A @ A4 @ C3 ) )
         => ( ( ( modulo_modulo @ A @ B2 @ C3 )
              = ( modulo_modulo @ A @ B3 @ C3 ) )
           => ( ( modulo_modulo @ A @ ( plus_plus @ A @ A3 @ B2 ) @ C3 )
              = ( modulo_modulo @ A @ ( plus_plus @ A @ A4 @ B3 ) @ C3 ) ) ) ) ) ).

% mod_add_cong
thf(fact_1286_mod__add__eq,axiom,
    ! [A: $tType] :
      ( ( euclid4440199948858584721cancel @ A )
     => ! [A3: A,C3: A,B2: A] :
          ( ( modulo_modulo @ A @ ( plus_plus @ A @ ( modulo_modulo @ A @ A3 @ C3 ) @ ( modulo_modulo @ A @ B2 @ C3 ) ) @ C3 )
          = ( modulo_modulo @ A @ ( plus_plus @ A @ A3 @ B2 ) @ C3 ) ) ) ).

% mod_add_eq
thf(fact_1287_mult__of__nat__commute,axiom,
    ! [A: $tType] :
      ( ( semiring_1 @ A )
     => ! [X: nat,Y: A] :
          ( ( times_times @ A @ ( semiring_1_of_nat @ A @ X ) @ Y )
          = ( times_times @ A @ Y @ ( semiring_1_of_nat @ A @ X ) ) ) ) ).

% mult_of_nat_commute
thf(fact_1288_mod__less__eq__dividend,axiom,
    ! [M: nat,N: nat] : ( ord_less_eq @ nat @ ( modulo_modulo @ nat @ M @ N ) @ M ) ).

% mod_less_eq_dividend
thf(fact_1289_int__ops_I1_J,axiom,
    ( ( semiring_1_of_nat @ int @ ( zero_zero @ nat ) )
    = ( zero_zero @ int ) ) ).

% int_ops(1)
thf(fact_1290_nat__int__comparison_I2_J,axiom,
    ( ( ord_less @ nat )
    = ( ^ [A7: nat,B5: nat] : ( ord_less @ int @ ( semiring_1_of_nat @ int @ A7 ) @ ( semiring_1_of_nat @ int @ B5 ) ) ) ) ).

% nat_int_comparison(2)
thf(fact_1291_zle__int,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less_eq @ int @ ( semiring_1_of_nat @ int @ M ) @ ( semiring_1_of_nat @ int @ N ) )
      = ( ord_less_eq @ nat @ M @ N ) ) ).

% zle_int
thf(fact_1292_nat__int__comparison_I3_J,axiom,
    ( ( ord_less_eq @ nat )
    = ( ^ [A7: nat,B5: nat] : ( ord_less_eq @ int @ ( semiring_1_of_nat @ int @ A7 ) @ ( semiring_1_of_nat @ int @ B5 ) ) ) ) ).

% nat_int_comparison(3)
thf(fact_1293_zadd__int__left,axiom,
    ! [M: nat,N: nat,Z4: int] :
      ( ( plus_plus @ int @ ( semiring_1_of_nat @ int @ M ) @ ( plus_plus @ int @ ( semiring_1_of_nat @ int @ N ) @ Z4 ) )
      = ( plus_plus @ int @ ( semiring_1_of_nat @ int @ ( plus_plus @ nat @ M @ N ) ) @ Z4 ) ) ).

% zadd_int_left
thf(fact_1294_int__ops_I5_J,axiom,
    ! [A3: nat,B2: nat] :
      ( ( semiring_1_of_nat @ int @ ( plus_plus @ nat @ A3 @ B2 ) )
      = ( plus_plus @ int @ ( semiring_1_of_nat @ int @ A3 ) @ ( semiring_1_of_nat @ int @ B2 ) ) ) ).

% int_ops(5)
thf(fact_1295_int__plus,axiom,
    ! [N: nat,M: nat] :
      ( ( semiring_1_of_nat @ int @ ( plus_plus @ nat @ N @ M ) )
      = ( plus_plus @ int @ ( semiring_1_of_nat @ int @ N ) @ ( semiring_1_of_nat @ int @ M ) ) ) ).

% int_plus
thf(fact_1296_int__ops_I7_J,axiom,
    ! [A3: nat,B2: nat] :
      ( ( semiring_1_of_nat @ int @ ( times_times @ nat @ A3 @ B2 ) )
      = ( times_times @ int @ ( semiring_1_of_nat @ int @ A3 ) @ ( semiring_1_of_nat @ int @ B2 ) ) ) ).

% int_ops(7)
thf(fact_1297_int__ops_I2_J,axiom,
    ( ( semiring_1_of_nat @ int @ ( one_one @ nat ) )
    = ( one_one @ int ) ) ).

% int_ops(2)
thf(fact_1298_mod__mult2__eq_H,axiom,
    ! [A: $tType] :
      ( ( euclid5411537665997757685th_nat @ A )
     => ! [A3: A,M: nat,N: nat] :
          ( ( modulo_modulo @ A @ A3 @ ( times_times @ A @ ( semiring_1_of_nat @ A @ M ) @ ( semiring_1_of_nat @ A @ N ) ) )
          = ( plus_plus @ A @ ( times_times @ A @ ( semiring_1_of_nat @ A @ M ) @ ( modulo_modulo @ A @ ( divide_divide @ A @ A3 @ ( semiring_1_of_nat @ A @ M ) ) @ ( semiring_1_of_nat @ A @ N ) ) ) @ ( modulo_modulo @ A @ A3 @ ( semiring_1_of_nat @ A @ M ) ) ) ) ) ).

% mod_mult2_eq'
thf(fact_1299_nat__less__as__int,axiom,
    ( ( ord_less @ nat )
    = ( ^ [A7: nat,B5: nat] : ( ord_less @ int @ ( semiring_1_of_nat @ int @ A7 ) @ ( semiring_1_of_nat @ int @ B5 ) ) ) ) ).

% nat_less_as_int
thf(fact_1300_nat__leq__as__int,axiom,
    ( ( ord_less_eq @ nat )
    = ( ^ [A7: nat,B5: nat] : ( ord_less_eq @ int @ ( semiring_1_of_nat @ int @ A7 ) @ ( semiring_1_of_nat @ int @ B5 ) ) ) ) ).

% nat_leq_as_int
thf(fact_1301_Abs__assn__eqI_I1_J,axiom,
    ! [P2: ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o,Pr: assn] :
      ( ! [H2: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
          ( ( P2 @ H2 )
          = ( rep_assn @ Pr @ H2 ) )
     => ( ( abs_assn @ P2 )
        = Pr ) ) ).

% Abs_assn_eqI(1)
thf(fact_1302_Abs__assn__eqI_I2_J,axiom,
    ! [P2: ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) > $o,Pr: assn] :
      ( ! [H2: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
          ( ( P2 @ H2 )
          = ( rep_assn @ Pr @ H2 ) )
     => ( Pr
        = ( abs_assn @ P2 ) ) ) ).

% Abs_assn_eqI(2)
thf(fact_1303_pure__assn__def,axiom,
    ( pure_assn
    = ( ^ [B5: $o] : ( abs_assn @ ( pure_assn_raw @ ( heap_ext @ product_unit ) @ nat @ B5 ) ) ) ) ).

% pure_assn_def
thf(fact_1304_unique__euclidean__semiring__numeral__class_Omod__less__eq__dividend,axiom,
    ! [A: $tType] :
      ( ( unique1627219031080169319umeral @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 )
         => ( ord_less_eq @ A @ ( modulo_modulo @ A @ A3 @ B2 ) @ A3 ) ) ) ).

% unique_euclidean_semiring_numeral_class.mod_less_eq_dividend
thf(fact_1305_unique__euclidean__semiring__numeral__class_Opos__mod__bound,axiom,
    ! [A: $tType] :
      ( ( unique1627219031080169319umeral @ A )
     => ! [B2: A,A3: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ B2 )
         => ( ord_less @ A @ ( modulo_modulo @ A @ A3 @ B2 ) @ B2 ) ) ) ).

% unique_euclidean_semiring_numeral_class.pos_mod_bound
thf(fact_1306_of__nat__0__le__iff,axiom,
    ! [A: $tType] :
      ( ( linord181362715937106298miring @ A )
     => ! [N: nat] : ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( semiring_1_of_nat @ A @ N ) ) ) ).

% of_nat_0_le_iff
thf(fact_1307_of__nat__less__0__iff,axiom,
    ! [A: $tType] :
      ( ( linord181362715937106298miring @ A )
     => ! [M: nat] :
          ~ ( ord_less @ A @ ( semiring_1_of_nat @ A @ M ) @ ( zero_zero @ A ) ) ) ).

% of_nat_less_0_iff
thf(fact_1308_mod__eqE,axiom,
    ! [A: $tType] :
      ( ( euclid8851590272496341667cancel @ A )
     => ! [A3: A,C3: A,B2: A] :
          ( ( ( modulo_modulo @ A @ A3 @ C3 )
            = ( modulo_modulo @ A @ B2 @ C3 ) )
         => ~ ! [D2: A] :
                ( B2
               != ( plus_plus @ A @ A3 @ ( times_times @ A @ C3 @ D2 ) ) ) ) ) ).

% mod_eqE
thf(fact_1309_div__add1__eq,axiom,
    ! [A: $tType] :
      ( ( euclid3128863361964157862miring @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( divide_divide @ A @ ( plus_plus @ A @ A3 @ B2 ) @ C3 )
          = ( plus_plus @ A @ ( plus_plus @ A @ ( divide_divide @ A @ A3 @ C3 ) @ ( divide_divide @ A @ B2 @ C3 ) ) @ ( divide_divide @ A @ ( plus_plus @ A @ ( modulo_modulo @ A @ A3 @ C3 ) @ ( modulo_modulo @ A @ B2 @ C3 ) ) @ C3 ) ) ) ) ).

% div_add1_eq
thf(fact_1310_less__imp__of__nat__less,axiom,
    ! [A: $tType] :
      ( ( linord181362715937106298miring @ A )
     => ! [M: nat,N: nat] :
          ( ( ord_less @ nat @ M @ N )
         => ( ord_less @ A @ ( semiring_1_of_nat @ A @ M ) @ ( semiring_1_of_nat @ A @ N ) ) ) ) ).

% less_imp_of_nat_less
thf(fact_1311_of__nat__less__imp__less,axiom,
    ! [A: $tType] :
      ( ( linord181362715937106298miring @ A )
     => ! [M: nat,N: nat] :
          ( ( ord_less @ A @ ( semiring_1_of_nat @ A @ M ) @ ( semiring_1_of_nat @ A @ N ) )
         => ( ord_less @ nat @ M @ N ) ) ) ).

% of_nat_less_imp_less
thf(fact_1312_of__nat__mono,axiom,
    ! [A: $tType] :
      ( ( linord181362715937106298miring @ A )
     => ! [I2: nat,J2: nat] :
          ( ( ord_less_eq @ nat @ I2 @ J2 )
         => ( ord_less_eq @ A @ ( semiring_1_of_nat @ A @ I2 ) @ ( semiring_1_of_nat @ A @ J2 ) ) ) ) ).

% of_nat_mono
thf(fact_1313_gcd__nat__induct,axiom,
    ! [P2: nat > nat > $o,M: nat,N: nat] :
      ( ! [M5: nat] : ( P2 @ M5 @ ( zero_zero @ nat ) )
     => ( ! [M5: nat,N4: nat] :
            ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N4 )
           => ( ( P2 @ N4 @ ( modulo_modulo @ nat @ M5 @ N4 ) )
             => ( P2 @ M5 @ N4 ) ) )
       => ( P2 @ M @ N ) ) ) ).

% gcd_nat_induct
thf(fact_1314_mod__less__divisor,axiom,
    ! [N: nat,M: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
     => ( ord_less @ nat @ ( modulo_modulo @ nat @ M @ N ) @ N ) ) ).

% mod_less_divisor
thf(fact_1315_zmult__zless__mono2__lemma,axiom,
    ! [I2: int,J2: int,K2: nat] :
      ( ( ord_less @ int @ I2 @ J2 )
     => ( ( ord_less @ nat @ ( zero_zero @ nat ) @ K2 )
       => ( ord_less @ int @ ( times_times @ int @ ( semiring_1_of_nat @ int @ K2 ) @ I2 ) @ ( times_times @ int @ ( semiring_1_of_nat @ int @ K2 ) @ J2 ) ) ) ) ).

% zmult_zless_mono2_lemma
thf(fact_1316_pos__int__cases,axiom,
    ! [K2: int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ K2 )
     => ~ ! [N4: nat] :
            ( ( K2
              = ( semiring_1_of_nat @ int @ N4 ) )
           => ~ ( ord_less @ nat @ ( zero_zero @ nat ) @ N4 ) ) ) ).

% pos_int_cases
thf(fact_1317_zero__less__imp__eq__int,axiom,
    ! [K2: int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ K2 )
     => ? [N4: nat] :
          ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N4 )
          & ( K2
            = ( semiring_1_of_nat @ int @ N4 ) ) ) ) ).

% zero_less_imp_eq_int
thf(fact_1318_nat__mod__eq__iff,axiom,
    ! [X: nat,N: nat,Y: nat] :
      ( ( ( modulo_modulo @ nat @ X @ N )
        = ( modulo_modulo @ nat @ Y @ N ) )
      = ( ? [Q1: nat,Q22: nat] :
            ( ( plus_plus @ nat @ X @ ( times_times @ nat @ N @ Q1 ) )
            = ( plus_plus @ nat @ Y @ ( times_times @ nat @ N @ Q22 ) ) ) ) ) ).

% nat_mod_eq_iff
thf(fact_1319_bot__assn__def,axiom,
    ( ( bot_bot @ assn )
    = ( abs_assn
      @ ^ [Uu2: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] : $false ) ) ).

% bot_assn_def
thf(fact_1320_unique__euclidean__semiring__numeral__class_Opos__mod__sign,axiom,
    ! [A: $tType] :
      ( ( unique1627219031080169319umeral @ A )
     => ! [B2: A,A3: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ B2 )
         => ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( modulo_modulo @ A @ A3 @ B2 ) ) ) ) ).

% unique_euclidean_semiring_numeral_class.pos_mod_sign
thf(fact_1321_unique__euclidean__semiring__numeral__class_Omod__less,axiom,
    ! [A: $tType] :
      ( ( unique1627219031080169319umeral @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 )
         => ( ( ord_less @ A @ A3 @ B2 )
           => ( ( modulo_modulo @ A @ A3 @ B2 )
              = A3 ) ) ) ) ).

% unique_euclidean_semiring_numeral_class.mod_less
thf(fact_1322_mult__div__mod__eq,axiom,
    ! [A: $tType] :
      ( ( semiring_modulo @ A )
     => ! [B2: A,A3: A] :
          ( ( plus_plus @ A @ ( times_times @ A @ B2 @ ( divide_divide @ A @ A3 @ B2 ) ) @ ( modulo_modulo @ A @ A3 @ B2 ) )
          = A3 ) ) ).

% mult_div_mod_eq
thf(fact_1323_mod__mult__div__eq,axiom,
    ! [A: $tType] :
      ( ( semiring_modulo @ A )
     => ! [A3: A,B2: A] :
          ( ( plus_plus @ A @ ( modulo_modulo @ A @ A3 @ B2 ) @ ( times_times @ A @ B2 @ ( divide_divide @ A @ A3 @ B2 ) ) )
          = A3 ) ) ).

% mod_mult_div_eq
thf(fact_1324_mod__div__mult__eq,axiom,
    ! [A: $tType] :
      ( ( semiring_modulo @ A )
     => ! [A3: A,B2: A] :
          ( ( plus_plus @ A @ ( modulo_modulo @ A @ A3 @ B2 ) @ ( times_times @ A @ ( divide_divide @ A @ A3 @ B2 ) @ B2 ) )
          = A3 ) ) ).

% mod_div_mult_eq
thf(fact_1325_div__mult__mod__eq,axiom,
    ! [A: $tType] :
      ( ( semiring_modulo @ A )
     => ! [A3: A,B2: A] :
          ( ( plus_plus @ A @ ( times_times @ A @ ( divide_divide @ A @ A3 @ B2 ) @ B2 ) @ ( modulo_modulo @ A @ A3 @ B2 ) )
          = A3 ) ) ).

% div_mult_mod_eq
thf(fact_1326_mod__div__decomp,axiom,
    ! [A: $tType] :
      ( ( semiring_modulo @ A )
     => ! [A3: A,B2: A] :
          ( A3
          = ( plus_plus @ A @ ( times_times @ A @ ( divide_divide @ A @ A3 @ B2 ) @ B2 ) @ ( modulo_modulo @ A @ A3 @ B2 ) ) ) ) ).

% mod_div_decomp
thf(fact_1327_cancel__div__mod__rules_I1_J,axiom,
    ! [A: $tType] :
      ( ( semidom_modulo @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( plus_plus @ A @ ( plus_plus @ A @ ( times_times @ A @ ( divide_divide @ A @ A3 @ B2 ) @ B2 ) @ ( modulo_modulo @ A @ A3 @ B2 ) ) @ C3 )
          = ( plus_plus @ A @ A3 @ C3 ) ) ) ).

% cancel_div_mod_rules(1)
thf(fact_1328_cancel__div__mod__rules_I2_J,axiom,
    ! [A: $tType] :
      ( ( semidom_modulo @ A )
     => ! [B2: A,A3: A,C3: A] :
          ( ( plus_plus @ A @ ( plus_plus @ A @ ( times_times @ A @ B2 @ ( divide_divide @ A @ A3 @ B2 ) ) @ ( modulo_modulo @ A @ A3 @ B2 ) ) @ C3 )
          = ( plus_plus @ A @ A3 @ C3 ) ) ) ).

% cancel_div_mod_rules(2)
thf(fact_1329_div__mult1__eq,axiom,
    ! [A: $tType] :
      ( ( euclid3128863361964157862miring @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( divide_divide @ A @ ( times_times @ A @ A3 @ B2 ) @ C3 )
          = ( plus_plus @ A @ ( times_times @ A @ A3 @ ( divide_divide @ A @ B2 @ C3 ) ) @ ( divide_divide @ A @ ( times_times @ A @ A3 @ ( modulo_modulo @ A @ B2 @ C3 ) ) @ C3 ) ) ) ) ).

% div_mult1_eq
thf(fact_1330_mod__le__divisor,axiom,
    ! [N: nat,M: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
     => ( ord_less_eq @ nat @ ( modulo_modulo @ nat @ M @ N ) @ N ) ) ).

% mod_le_divisor
thf(fact_1331_nat__mod__eq__lemma,axiom,
    ! [X: nat,N: nat,Y: nat] :
      ( ( ( modulo_modulo @ nat @ X @ N )
        = ( modulo_modulo @ nat @ Y @ N ) )
     => ( ( ord_less_eq @ nat @ Y @ X )
       => ? [Q5: nat] :
            ( X
            = ( plus_plus @ nat @ Y @ ( times_times @ nat @ N @ Q5 ) ) ) ) ) ).

% nat_mod_eq_lemma
thf(fact_1332_mod__eq__nat2E,axiom,
    ! [M: nat,Q6: nat,N: nat] :
      ( ( ( modulo_modulo @ nat @ M @ Q6 )
        = ( modulo_modulo @ nat @ N @ Q6 ) )
     => ( ( ord_less_eq @ nat @ M @ N )
       => ~ ! [S7: nat] :
              ( N
             != ( plus_plus @ nat @ M @ ( times_times @ nat @ Q6 @ S7 ) ) ) ) ) ).

% mod_eq_nat2E
thf(fact_1333_mod__eq__nat1E,axiom,
    ! [M: nat,Q6: nat,N: nat] :
      ( ( ( modulo_modulo @ nat @ M @ Q6 )
        = ( modulo_modulo @ nat @ N @ Q6 ) )
     => ( ( ord_less_eq @ nat @ N @ M )
       => ~ ! [S7: nat] :
              ( M
             != ( plus_plus @ nat @ N @ ( times_times @ nat @ Q6 @ S7 ) ) ) ) ) ).

% mod_eq_nat1E
thf(fact_1334_div__less__mono,axiom,
    ! [A6: nat,B6: nat,N: nat] :
      ( ( ord_less @ nat @ A6 @ B6 )
     => ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
       => ( ( ( modulo_modulo @ nat @ A6 @ N )
            = ( zero_zero @ nat ) )
         => ( ( ( modulo_modulo @ nat @ B6 @ N )
              = ( zero_zero @ nat ) )
           => ( ord_less @ nat @ ( divide_divide @ nat @ A6 @ N ) @ ( divide_divide @ nat @ B6 @ N ) ) ) ) ) ) ).

% div_less_mono
thf(fact_1335_div__mod__decomp,axiom,
    ! [A6: nat,N: nat] :
      ( A6
      = ( plus_plus @ nat @ ( times_times @ nat @ ( divide_divide @ nat @ A6 @ N ) @ N ) @ ( modulo_modulo @ nat @ A6 @ N ) ) ) ).

% div_mod_decomp
thf(fact_1336_mod__mult2__eq,axiom,
    ! [M: nat,N: nat,Q6: nat] :
      ( ( modulo_modulo @ nat @ M @ ( times_times @ nat @ N @ Q6 ) )
      = ( plus_plus @ nat @ ( times_times @ nat @ N @ ( modulo_modulo @ nat @ ( divide_divide @ nat @ M @ N ) @ Q6 ) ) @ ( modulo_modulo @ nat @ M @ N ) ) ) ).

% mod_mult2_eq
thf(fact_1337_sup__assn__def,axiom,
    ( ( sup_sup @ assn )
    = ( ^ [P5: assn,Q3: assn] :
          ( abs_assn
          @ ^ [H7: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
              ( ( rep_assn @ P5 @ H7 )
              | ( rep_assn @ Q3 @ H7 ) ) ) ) ) ).

% sup_assn_def
thf(fact_1338_inf__assn__def,axiom,
    ( ( inf_inf @ assn )
    = ( ^ [P5: assn,Q3: assn] :
          ( abs_assn
          @ ^ [H7: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
              ( ( rep_assn @ P5 @ H7 )
              & ( rep_assn @ Q3 @ H7 ) ) ) ) ) ).

% inf_assn_def
thf(fact_1339_split__mod,axiom,
    ! [P2: nat > $o,M: nat,N: nat] :
      ( ( P2 @ ( modulo_modulo @ nat @ M @ N ) )
      = ( ( ( N
            = ( zero_zero @ nat ) )
         => ( P2 @ M ) )
        & ( ( N
           != ( zero_zero @ nat ) )
         => ! [I: nat,J: nat] :
              ( ( ord_less @ nat @ J @ N )
             => ( ( M
                  = ( plus_plus @ nat @ ( times_times @ nat @ N @ I ) @ J ) )
               => ( P2 @ J ) ) ) ) ) ) ).

% split_mod
thf(fact_1340_unique__euclidean__semiring__numeral__class_Omod__mult2__eq,axiom,
    ! [A: $tType] :
      ( ( unique1627219031080169319umeral @ A )
     => ! [C3: A,A3: A,B2: A] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ C3 )
         => ( ( modulo_modulo @ A @ A3 @ ( times_times @ A @ B2 @ C3 ) )
            = ( plus_plus @ A @ ( times_times @ A @ B2 @ ( modulo_modulo @ A @ ( divide_divide @ A @ A3 @ B2 ) @ C3 ) ) @ ( modulo_modulo @ A @ A3 @ B2 ) ) ) ) ) ).

% unique_euclidean_semiring_numeral_class.mod_mult2_eq
thf(fact_1341_times__assn__def,axiom,
    ( ( times_times @ assn )
    = ( ^ [P5: assn,Q3: assn] : ( abs_assn @ ( times_assn_raw @ ( rep_assn @ P5 ) @ ( rep_assn @ Q3 ) ) ) ) ) ).

% times_assn_def
thf(fact_1342_distrib__right__NO__MATCH,axiom,
    ! [B: $tType,A: $tType] :
      ( ( semiring @ A )
     => ! [X: B,Y: B,C3: A,A3: A,B2: A] :
          ( ( nO_MATCH @ B @ A @ ( divide_divide @ B @ X @ Y ) @ C3 )
         => ( ( times_times @ A @ ( plus_plus @ A @ A3 @ B2 ) @ C3 )
            = ( plus_plus @ A @ ( times_times @ A @ A3 @ C3 ) @ ( times_times @ A @ B2 @ C3 ) ) ) ) ) ).

% distrib_right_NO_MATCH
thf(fact_1343_div__add__self1__no__field,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ( euclid4440199948858584721cancel @ A )
        & ( field @ B ) )
     => ! [X: B,B2: A,A3: A] :
          ( ( nO_MATCH @ B @ A @ X @ B2 )
         => ( ( B2
             != ( zero_zero @ A ) )
           => ( ( divide_divide @ A @ ( plus_plus @ A @ B2 @ A3 ) @ B2 )
              = ( plus_plus @ A @ ( divide_divide @ A @ A3 @ B2 ) @ ( one_one @ A ) ) ) ) ) ) ).

% div_add_self1_no_field
thf(fact_1344_div__add__self2__no__field,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ( euclid4440199948858584721cancel @ A )
        & ( field @ B ) )
     => ! [X: B,B2: A,A3: A] :
          ( ( nO_MATCH @ B @ A @ X @ B2 )
         => ( ( B2
             != ( zero_zero @ A ) )
           => ( ( divide_divide @ A @ ( plus_plus @ A @ A3 @ B2 ) @ B2 )
              = ( plus_plus @ A @ ( divide_divide @ A @ A3 @ B2 ) @ ( one_one @ A ) ) ) ) ) ) ).

% div_add_self2_no_field
thf(fact_1345_ex__less__of__nat__mult,axiom,
    ! [A: $tType] :
      ( ( archim462609752435547400_field @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ X )
         => ? [N4: nat] : ( ord_less @ A @ Y @ ( times_times @ A @ ( semiring_1_of_nat @ A @ N4 ) @ X ) ) ) ) ).

% ex_less_of_nat_mult
thf(fact_1346_of__nat__code,axiom,
    ! [A: $tType] :
      ( ( semiring_1 @ A )
     => ( ( semiring_1_of_nat @ A )
        = ( ^ [N3: nat] :
              ( semiri8178284476397505188at_aux @ A
              @ ^ [I: A] : ( plus_plus @ A @ I @ ( one_one @ A ) )
              @ N3
              @ ( zero_zero @ A ) ) ) ) ) ).

% of_nat_code
thf(fact_1347_reals__Archimedean2,axiom,
    ! [A: $tType] :
      ( ( archim462609752435547400_field @ A )
     => ! [X: A] :
        ? [N4: nat] : ( ord_less @ A @ X @ ( semiring_1_of_nat @ A @ N4 ) ) ) ).

% reals_Archimedean2
thf(fact_1348_real__arch__simple,axiom,
    ! [A: $tType] :
      ( ( archim462609752435547400_field @ A )
     => ! [X: A] :
        ? [N4: nat] : ( ord_less_eq @ A @ X @ ( semiring_1_of_nat @ A @ N4 ) ) ) ).

% real_arch_simple
thf(fact_1349_relH__set__ref,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [R3: ref @ A,As: set @ nat,H: heap_ext @ product_unit,X: A] :
          ( ~ ( member @ nat @ ( addr_of_ref @ A @ R3 ) @ As )
         => ( ( in_range @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ As ) )
           => ( relH @ As @ H @ ( ref_set @ A @ R3 @ X @ H ) ) ) ) ) ).

% relH_set_ref
thf(fact_1350_Suc__times__mod__eq,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less @ nat @ ( suc @ ( zero_zero @ nat ) ) @ M )
     => ( ( modulo_modulo @ nat @ ( suc @ ( times_times @ nat @ M @ N ) ) @ M )
        = ( one_one @ nat ) ) ) ).

% Suc_times_mod_eq
thf(fact_1351_nat_Oinject,axiom,
    ! [X2: nat,Y2: nat] :
      ( ( ( suc @ X2 )
        = ( suc @ Y2 ) )
      = ( X2 = Y2 ) ) ).

% nat.inject
thf(fact_1352_old_Onat_Oinject,axiom,
    ! [Nat: nat,Nat2: nat] :
      ( ( ( suc @ Nat )
        = ( suc @ Nat2 ) )
      = ( Nat = Nat2 ) ) ).

% old.nat.inject
thf(fact_1353_Suc__less__eq,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less @ nat @ ( suc @ M ) @ ( suc @ N ) )
      = ( ord_less @ nat @ M @ N ) ) ).

% Suc_less_eq
thf(fact_1354_Suc__mono,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less @ nat @ M @ N )
     => ( ord_less @ nat @ ( suc @ M ) @ ( suc @ N ) ) ) ).

% Suc_mono
thf(fact_1355_lessI,axiom,
    ! [N: nat] : ( ord_less @ nat @ N @ ( suc @ N ) ) ).

% lessI
thf(fact_1356_Suc__le__mono,axiom,
    ! [N: nat,M: nat] :
      ( ( ord_less_eq @ nat @ ( suc @ N ) @ ( suc @ M ) )
      = ( ord_less_eq @ nat @ N @ M ) ) ).

% Suc_le_mono
thf(fact_1357_add__Suc__right,axiom,
    ! [M: nat,N: nat] :
      ( ( plus_plus @ nat @ M @ ( suc @ N ) )
      = ( suc @ ( plus_plus @ nat @ M @ N ) ) ) ).

% add_Suc_right
thf(fact_1358_less__Suc0,axiom,
    ! [N: nat] :
      ( ( ord_less @ nat @ N @ ( suc @ ( zero_zero @ nat ) ) )
      = ( N
        = ( zero_zero @ nat ) ) ) ).

% less_Suc0
thf(fact_1359_zero__less__Suc,axiom,
    ! [N: nat] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( suc @ N ) ) ).

% zero_less_Suc
thf(fact_1360_mult__eq__1__iff,axiom,
    ! [M: nat,N: nat] :
      ( ( ( times_times @ nat @ M @ N )
        = ( suc @ ( zero_zero @ nat ) ) )
      = ( ( M
          = ( suc @ ( zero_zero @ nat ) ) )
        & ( N
          = ( suc @ ( zero_zero @ nat ) ) ) ) ) ).

% mult_eq_1_iff
thf(fact_1361_one__eq__mult__iff,axiom,
    ! [M: nat,N: nat] :
      ( ( ( suc @ ( zero_zero @ nat ) )
        = ( times_times @ nat @ M @ N ) )
      = ( ( M
          = ( suc @ ( zero_zero @ nat ) ) )
        & ( N
          = ( suc @ ( zero_zero @ nat ) ) ) ) ) ).

% one_eq_mult_iff
thf(fact_1362_mult__Suc__right,axiom,
    ! [M: nat,N: nat] :
      ( ( times_times @ nat @ M @ ( suc @ N ) )
      = ( plus_plus @ nat @ M @ ( times_times @ nat @ M @ N ) ) ) ).

% mult_Suc_right
thf(fact_1363_mod__neg__neg__trivial,axiom,
    ! [K2: int,L: int] :
      ( ( ord_less_eq @ int @ K2 @ ( zero_zero @ int ) )
     => ( ( ord_less @ int @ L @ K2 )
       => ( ( modulo_modulo @ int @ K2 @ L )
          = K2 ) ) ) ).

% mod_neg_neg_trivial
thf(fact_1364_mod__pos__pos__trivial,axiom,
    ! [K2: int,L: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ K2 )
     => ( ( ord_less @ int @ K2 @ L )
       => ( ( modulo_modulo @ int @ K2 @ L )
          = K2 ) ) ) ).

% mod_pos_pos_trivial
thf(fact_1365_div__pos__pos__trivial,axiom,
    ! [K2: int,L: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ K2 )
     => ( ( ord_less @ int @ K2 @ L )
       => ( ( divide_divide @ int @ K2 @ L )
          = ( zero_zero @ int ) ) ) ) ).

% div_pos_pos_trivial
thf(fact_1366_div__neg__neg__trivial,axiom,
    ! [K2: int,L: int] :
      ( ( ord_less_eq @ int @ K2 @ ( zero_zero @ int ) )
     => ( ( ord_less @ int @ L @ K2 )
       => ( ( divide_divide @ int @ K2 @ L )
          = ( zero_zero @ int ) ) ) ) ).

% div_neg_neg_trivial
thf(fact_1367_of__nat__Suc,axiom,
    ! [A: $tType] :
      ( ( semiring_1 @ A )
     => ! [M: nat] :
          ( ( semiring_1_of_nat @ A @ ( suc @ M ) )
          = ( plus_plus @ A @ ( one_one @ A ) @ ( semiring_1_of_nat @ A @ M ) ) ) ) ).

% of_nat_Suc
thf(fact_1368_one__le__mult__iff,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ ( suc @ ( zero_zero @ nat ) ) @ ( times_times @ nat @ M @ N ) )
      = ( ( ord_less_eq @ nat @ ( suc @ ( zero_zero @ nat ) ) @ M )
        & ( ord_less_eq @ nat @ ( suc @ ( zero_zero @ nat ) ) @ N ) ) ) ).

% one_le_mult_iff
thf(fact_1369_Suc__mod__mult__self4,axiom,
    ! [N: nat,K2: nat,M: nat] :
      ( ( modulo_modulo @ nat @ ( suc @ ( plus_plus @ nat @ ( times_times @ nat @ N @ K2 ) @ M ) ) @ N )
      = ( modulo_modulo @ nat @ ( suc @ M ) @ N ) ) ).

% Suc_mod_mult_self4
thf(fact_1370_Suc__mod__mult__self3,axiom,
    ! [K2: nat,N: nat,M: nat] :
      ( ( modulo_modulo @ nat @ ( suc @ ( plus_plus @ nat @ ( times_times @ nat @ K2 @ N ) @ M ) ) @ N )
      = ( modulo_modulo @ nat @ ( suc @ M ) @ N ) ) ).

% Suc_mod_mult_self3
thf(fact_1371_Suc__mod__mult__self2,axiom,
    ! [M: nat,N: nat,K2: nat] :
      ( ( modulo_modulo @ nat @ ( suc @ ( plus_plus @ nat @ M @ ( times_times @ nat @ N @ K2 ) ) ) @ N )
      = ( modulo_modulo @ nat @ ( suc @ M ) @ N ) ) ).

% Suc_mod_mult_self2
thf(fact_1372_Suc__mod__mult__self1,axiom,
    ! [M: nat,K2: nat,N: nat] :
      ( ( modulo_modulo @ nat @ ( suc @ ( plus_plus @ nat @ M @ ( times_times @ nat @ K2 @ N ) ) ) @ N )
      = ( modulo_modulo @ nat @ ( suc @ M ) @ N ) ) ).

% Suc_mod_mult_self1
thf(fact_1373_zle__add1__eq__le,axiom,
    ! [W2: int,Z4: int] :
      ( ( ord_less @ int @ W2 @ ( plus_plus @ int @ Z4 @ ( one_one @ int ) ) )
      = ( ord_less_eq @ int @ W2 @ Z4 ) ) ).

% zle_add1_eq_le
thf(fact_1374_neg__mod__conj,axiom,
    ! [B2: int,A3: int] :
      ( ( ord_less @ int @ B2 @ ( zero_zero @ int ) )
     => ( ( ord_less_eq @ int @ ( modulo_modulo @ int @ A3 @ B2 ) @ ( zero_zero @ int ) )
        & ( ord_less @ int @ B2 @ ( modulo_modulo @ int @ A3 @ B2 ) ) ) ) ).

% neg_mod_conj
thf(fact_1375_pos__mod__conj,axiom,
    ! [B2: int,A3: int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ B2 )
     => ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ ( modulo_modulo @ int @ A3 @ B2 ) )
        & ( ord_less @ int @ ( modulo_modulo @ int @ A3 @ B2 ) @ B2 ) ) ) ).

% pos_mod_conj
thf(fact_1376_zmod__trivial__iff,axiom,
    ! [I2: int,K2: int] :
      ( ( ( modulo_modulo @ int @ I2 @ K2 )
        = I2 )
      = ( ( K2
          = ( zero_zero @ int ) )
        | ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ I2 )
          & ( ord_less @ int @ I2 @ K2 ) )
        | ( ( ord_less_eq @ int @ I2 @ ( zero_zero @ int ) )
          & ( ord_less @ int @ K2 @ I2 ) ) ) ) ).

% zmod_trivial_iff
thf(fact_1377_zmod__le__nonneg__dividend,axiom,
    ! [M: int,K2: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ M )
     => ( ord_less_eq @ int @ ( modulo_modulo @ int @ M @ K2 ) @ M ) ) ).

% zmod_le_nonneg_dividend
thf(fact_1378_zero__le__imp__eq__int,axiom,
    ! [K2: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ K2 )
     => ? [N4: nat] :
          ( K2
          = ( semiring_1_of_nat @ int @ N4 ) ) ) ).

% zero_le_imp_eq_int
thf(fact_1379_nonneg__int__cases,axiom,
    ! [K2: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ K2 )
     => ~ ! [N4: nat] :
            ( K2
           != ( semiring_1_of_nat @ int @ N4 ) ) ) ).

% nonneg_int_cases
thf(fact_1380_le__imp__0__less,axiom,
    ! [Z4: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ Z4 )
     => ( ord_less @ int @ ( zero_zero @ int ) @ ( plus_plus @ int @ ( one_one @ int ) @ Z4 ) ) ) ).

% le_imp_0_less
thf(fact_1381_int__one__le__iff__zero__less,axiom,
    ! [Z4: int] :
      ( ( ord_less_eq @ int @ ( one_one @ int ) @ Z4 )
      = ( ord_less @ int @ ( zero_zero @ int ) @ Z4 ) ) ).

% int_one_le_iff_zero_less
thf(fact_1382_zless__imp__add1__zle,axiom,
    ! [W2: int,Z4: int] :
      ( ( ord_less @ int @ W2 @ Z4 )
     => ( ord_less_eq @ int @ ( plus_plus @ int @ W2 @ ( one_one @ int ) ) @ Z4 ) ) ).

% zless_imp_add1_zle
thf(fact_1383_add1__zle__eq,axiom,
    ! [W2: int,Z4: int] :
      ( ( ord_less_eq @ int @ ( plus_plus @ int @ W2 @ ( one_one @ int ) ) @ Z4 )
      = ( ord_less @ int @ W2 @ Z4 ) ) ).

% add1_zle_eq
thf(fact_1384_zle__iff__zadd,axiom,
    ( ( ord_less_eq @ int )
    = ( ^ [W3: int,Z2: int] :
        ? [N3: nat] :
          ( Z2
          = ( plus_plus @ int @ W3 @ ( semiring_1_of_nat @ int @ N3 ) ) ) ) ) ).

% zle_iff_zadd
thf(fact_1385_incr__mult__lemma,axiom,
    ! [D3: int,P2: int > $o,K2: int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ D3 )
     => ( ! [X3: int] :
            ( ( P2 @ X3 )
           => ( P2 @ ( plus_plus @ int @ X3 @ D3 ) ) )
       => ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ K2 )
         => ! [X6: int] :
              ( ( P2 @ X6 )
             => ( P2 @ ( plus_plus @ int @ X6 @ ( times_times @ int @ K2 @ D3 ) ) ) ) ) ) ) ).

% incr_mult_lemma
thf(fact_1386_unique__quotient__lemma__neg,axiom,
    ! [B2: int,Q7: int,R7: int,Q6: int,R3: int] :
      ( ( ord_less_eq @ int @ ( plus_plus @ int @ ( times_times @ int @ B2 @ Q7 ) @ R7 ) @ ( plus_plus @ int @ ( times_times @ int @ B2 @ Q6 ) @ R3 ) )
     => ( ( ord_less_eq @ int @ R3 @ ( zero_zero @ int ) )
       => ( ( ord_less @ int @ B2 @ R3 )
         => ( ( ord_less @ int @ B2 @ R7 )
           => ( ord_less_eq @ int @ Q6 @ Q7 ) ) ) ) ) ).

% unique_quotient_lemma_neg
thf(fact_1387_unique__quotient__lemma,axiom,
    ! [B2: int,Q7: int,R7: int,Q6: int,R3: int] :
      ( ( ord_less_eq @ int @ ( plus_plus @ int @ ( times_times @ int @ B2 @ Q7 ) @ R7 ) @ ( plus_plus @ int @ ( times_times @ int @ B2 @ Q6 ) @ R3 ) )
     => ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ R7 )
       => ( ( ord_less @ int @ R7 @ B2 )
         => ( ( ord_less @ int @ R3 @ B2 )
           => ( ord_less_eq @ int @ Q7 @ Q6 ) ) ) ) ) ).

% unique_quotient_lemma
thf(fact_1388_zdiv__mono2__neg__lemma,axiom,
    ! [B2: int,Q6: int,R3: int,B3: int,Q7: int,R7: int] :
      ( ( ( plus_plus @ int @ ( times_times @ int @ B2 @ Q6 ) @ R3 )
        = ( plus_plus @ int @ ( times_times @ int @ B3 @ Q7 ) @ R7 ) )
     => ( ( ord_less @ int @ ( plus_plus @ int @ ( times_times @ int @ B3 @ Q7 ) @ R7 ) @ ( zero_zero @ int ) )
       => ( ( ord_less @ int @ R3 @ B2 )
         => ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ R7 )
           => ( ( ord_less @ int @ ( zero_zero @ int ) @ B3 )
             => ( ( ord_less_eq @ int @ B3 @ B2 )
               => ( ord_less_eq @ int @ Q7 @ Q6 ) ) ) ) ) ) ) ).

% zdiv_mono2_neg_lemma
thf(fact_1389_zdiv__mono2__lemma,axiom,
    ! [B2: int,Q6: int,R3: int,B3: int,Q7: int,R7: int] :
      ( ( ( plus_plus @ int @ ( times_times @ int @ B2 @ Q6 ) @ R3 )
        = ( plus_plus @ int @ ( times_times @ int @ B3 @ Q7 ) @ R7 ) )
     => ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ ( plus_plus @ int @ ( times_times @ int @ B3 @ Q7 ) @ R7 ) )
       => ( ( ord_less @ int @ R7 @ B3 )
         => ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ R3 )
           => ( ( ord_less @ int @ ( zero_zero @ int ) @ B3 )
             => ( ( ord_less_eq @ int @ B3 @ B2 )
               => ( ord_less_eq @ int @ Q6 @ Q7 ) ) ) ) ) ) ) ).

% zdiv_mono2_lemma
thf(fact_1390_int__mod__pos__eq,axiom,
    ! [A3: int,B2: int,Q6: int,R3: int] :
      ( ( A3
        = ( plus_plus @ int @ ( times_times @ int @ B2 @ Q6 ) @ R3 ) )
     => ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ R3 )
       => ( ( ord_less @ int @ R3 @ B2 )
         => ( ( modulo_modulo @ int @ A3 @ B2 )
            = R3 ) ) ) ) ).

% int_mod_pos_eq
thf(fact_1391_int__mod__neg__eq,axiom,
    ! [A3: int,B2: int,Q6: int,R3: int] :
      ( ( A3
        = ( plus_plus @ int @ ( times_times @ int @ B2 @ Q6 ) @ R3 ) )
     => ( ( ord_less_eq @ int @ R3 @ ( zero_zero @ int ) )
       => ( ( ord_less @ int @ B2 @ R3 )
         => ( ( modulo_modulo @ int @ A3 @ B2 )
            = R3 ) ) ) ) ).

% int_mod_neg_eq
thf(fact_1392_q__pos__lemma,axiom,
    ! [B3: int,Q7: int,R7: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ ( plus_plus @ int @ ( times_times @ int @ B3 @ Q7 ) @ R7 ) )
     => ( ( ord_less @ int @ R7 @ B3 )
       => ( ( ord_less @ int @ ( zero_zero @ int ) @ B3 )
         => ( ord_less_eq @ int @ ( zero_zero @ int ) @ Q7 ) ) ) ) ).

% q_pos_lemma
thf(fact_1393_split__zmod,axiom,
    ! [P2: int > $o,N: int,K2: int] :
      ( ( P2 @ ( modulo_modulo @ int @ N @ K2 ) )
      = ( ( ( K2
            = ( zero_zero @ int ) )
         => ( P2 @ N ) )
        & ( ( ord_less @ int @ ( zero_zero @ int ) @ K2 )
         => ! [I: int,J: int] :
              ( ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ J )
                & ( ord_less @ int @ J @ K2 )
                & ( N
                  = ( plus_plus @ int @ ( times_times @ int @ K2 @ I ) @ J ) ) )
             => ( P2 @ J ) ) )
        & ( ( ord_less @ int @ K2 @ ( zero_zero @ int ) )
         => ! [I: int,J: int] :
              ( ( ( ord_less @ int @ K2 @ J )
                & ( ord_less_eq @ int @ J @ ( zero_zero @ int ) )
                & ( N
                  = ( plus_plus @ int @ ( times_times @ int @ K2 @ I ) @ J ) ) )
             => ( P2 @ J ) ) ) ) ) ).

% split_zmod
thf(fact_1394_neg__mod__sign,axiom,
    ! [L: int,K2: int] :
      ( ( ord_less @ int @ L @ ( zero_zero @ int ) )
     => ( ord_less_eq @ int @ ( modulo_modulo @ int @ K2 @ L ) @ ( zero_zero @ int ) ) ) ).

% neg_mod_sign
thf(fact_1395_Euclidean__Division_Opos__mod__sign,axiom,
    ! [L: int,K2: int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ L )
     => ( ord_less_eq @ int @ ( zero_zero @ int ) @ ( modulo_modulo @ int @ K2 @ L ) ) ) ).

% Euclidean_Division.pos_mod_sign
thf(fact_1396_mod__pos__neg__trivial,axiom,
    ! [K2: int,L: int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ K2 )
     => ( ( ord_less_eq @ int @ ( plus_plus @ int @ K2 @ L ) @ ( zero_zero @ int ) )
       => ( ( modulo_modulo @ int @ K2 @ L )
          = ( plus_plus @ int @ K2 @ L ) ) ) ) ).

% mod_pos_neg_trivial
thf(fact_1397_zdiv__mono1,axiom,
    ! [A3: int,A4: int,B2: int] :
      ( ( ord_less_eq @ int @ A3 @ A4 )
     => ( ( ord_less @ int @ ( zero_zero @ int ) @ B2 )
       => ( ord_less_eq @ int @ ( divide_divide @ int @ A3 @ B2 ) @ ( divide_divide @ int @ A4 @ B2 ) ) ) ) ).

% zdiv_mono1
thf(fact_1398_zdiv__mono2,axiom,
    ! [A3: int,B3: int,B2: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ A3 )
     => ( ( ord_less @ int @ ( zero_zero @ int ) @ B3 )
       => ( ( ord_less_eq @ int @ B3 @ B2 )
         => ( ord_less_eq @ int @ ( divide_divide @ int @ A3 @ B2 ) @ ( divide_divide @ int @ A3 @ B3 ) ) ) ) ) ).

% zdiv_mono2
thf(fact_1399_zdiv__eq__0__iff,axiom,
    ! [I2: int,K2: int] :
      ( ( ( divide_divide @ int @ I2 @ K2 )
        = ( zero_zero @ int ) )
      = ( ( K2
          = ( zero_zero @ int ) )
        | ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ I2 )
          & ( ord_less @ int @ I2 @ K2 ) )
        | ( ( ord_less_eq @ int @ I2 @ ( zero_zero @ int ) )
          & ( ord_less @ int @ K2 @ I2 ) ) ) ) ).

% zdiv_eq_0_iff
thf(fact_1400_zdiv__mono1__neg,axiom,
    ! [A3: int,A4: int,B2: int] :
      ( ( ord_less_eq @ int @ A3 @ A4 )
     => ( ( ord_less @ int @ B2 @ ( zero_zero @ int ) )
       => ( ord_less_eq @ int @ ( divide_divide @ int @ A4 @ B2 ) @ ( divide_divide @ int @ A3 @ B2 ) ) ) ) ).

% zdiv_mono1_neg
thf(fact_1401_zdiv__mono2__neg,axiom,
    ! [A3: int,B3: int,B2: int] :
      ( ( ord_less @ int @ A3 @ ( zero_zero @ int ) )
     => ( ( ord_less @ int @ ( zero_zero @ int ) @ B3 )
       => ( ( ord_less_eq @ int @ B3 @ B2 )
         => ( ord_less_eq @ int @ ( divide_divide @ int @ A3 @ B3 ) @ ( divide_divide @ int @ A3 @ B2 ) ) ) ) ) ).

% zdiv_mono2_neg
thf(fact_1402_div__int__pos__iff,axiom,
    ! [K2: int,L: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ ( divide_divide @ int @ K2 @ L ) )
      = ( ( K2
          = ( zero_zero @ int ) )
        | ( L
          = ( zero_zero @ int ) )
        | ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ K2 )
          & ( ord_less_eq @ int @ ( zero_zero @ int ) @ L ) )
        | ( ( ord_less @ int @ K2 @ ( zero_zero @ int ) )
          & ( ord_less @ int @ L @ ( zero_zero @ int ) ) ) ) ) ).

% div_int_pos_iff
thf(fact_1403_div__positive__int,axiom,
    ! [L: int,K2: int] :
      ( ( ord_less_eq @ int @ L @ K2 )
     => ( ( ord_less @ int @ ( zero_zero @ int ) @ L )
       => ( ord_less @ int @ ( zero_zero @ int ) @ ( divide_divide @ int @ K2 @ L ) ) ) ) ).

% div_positive_int
thf(fact_1404_div__nonneg__neg__le0,axiom,
    ! [A3: int,B2: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ A3 )
     => ( ( ord_less @ int @ B2 @ ( zero_zero @ int ) )
       => ( ord_less_eq @ int @ ( divide_divide @ int @ A3 @ B2 ) @ ( zero_zero @ int ) ) ) ) ).

% div_nonneg_neg_le0
thf(fact_1405_div__nonpos__pos__le0,axiom,
    ! [A3: int,B2: int] :
      ( ( ord_less_eq @ int @ A3 @ ( zero_zero @ int ) )
     => ( ( ord_less @ int @ ( zero_zero @ int ) @ B2 )
       => ( ord_less_eq @ int @ ( divide_divide @ int @ A3 @ B2 ) @ ( zero_zero @ int ) ) ) ) ).

% div_nonpos_pos_le0
thf(fact_1406_pos__imp__zdiv__pos__iff,axiom,
    ! [K2: int,I2: int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ K2 )
     => ( ( ord_less @ int @ ( zero_zero @ int ) @ ( divide_divide @ int @ I2 @ K2 ) )
        = ( ord_less_eq @ int @ K2 @ I2 ) ) ) ).

% pos_imp_zdiv_pos_iff
thf(fact_1407_neg__imp__zdiv__nonneg__iff,axiom,
    ! [B2: int,A3: int] :
      ( ( ord_less @ int @ B2 @ ( zero_zero @ int ) )
     => ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ ( divide_divide @ int @ A3 @ B2 ) )
        = ( ord_less_eq @ int @ A3 @ ( zero_zero @ int ) ) ) ) ).

% neg_imp_zdiv_nonneg_iff
thf(fact_1408_pos__imp__zdiv__nonneg__iff,axiom,
    ! [B2: int,A3: int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ B2 )
     => ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ ( divide_divide @ int @ A3 @ B2 ) )
        = ( ord_less_eq @ int @ ( zero_zero @ int ) @ A3 ) ) ) ).

% pos_imp_zdiv_nonneg_iff
thf(fact_1409_nonneg1__imp__zdiv__pos__iff,axiom,
    ! [A3: int,B2: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ A3 )
     => ( ( ord_less @ int @ ( zero_zero @ int ) @ ( divide_divide @ int @ A3 @ B2 ) )
        = ( ( ord_less_eq @ int @ B2 @ A3 )
          & ( ord_less @ int @ ( zero_zero @ int ) @ B2 ) ) ) ) ).

% nonneg1_imp_zdiv_pos_iff
thf(fact_1410_verit__le__mono__div__int,axiom,
    ! [A6: int,B6: int,N: int] :
      ( ( ord_less @ int @ A6 @ B6 )
     => ( ( ord_less @ int @ ( zero_zero @ int ) @ N )
       => ( ord_less_eq @ int
          @ ( plus_plus @ int @ ( divide_divide @ int @ A6 @ N )
            @ ( if @ int
              @ ( ( modulo_modulo @ int @ B6 @ N )
                = ( zero_zero @ int ) )
              @ ( one_one @ int )
              @ ( zero_zero @ int ) ) )
          @ ( divide_divide @ int @ B6 @ N ) ) ) ) ).

% verit_le_mono_div_int
thf(fact_1411_zmod__zmult2__eq,axiom,
    ! [C3: int,A3: int,B2: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ C3 )
     => ( ( modulo_modulo @ int @ A3 @ ( times_times @ int @ B2 @ C3 ) )
        = ( plus_plus @ int @ ( times_times @ int @ B2 @ ( modulo_modulo @ int @ ( divide_divide @ int @ A3 @ B2 ) @ C3 ) ) @ ( modulo_modulo @ int @ A3 @ B2 ) ) ) ) ).

% zmod_zmult2_eq
thf(fact_1412_split__pos__lemma,axiom,
    ! [K2: int,P2: int > int > $o,N: int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ K2 )
     => ( ( P2 @ ( divide_divide @ int @ N @ K2 ) @ ( modulo_modulo @ int @ N @ K2 ) )
        = ( ! [I: int,J: int] :
              ( ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ J )
                & ( ord_less @ int @ J @ K2 )
                & ( N
                  = ( plus_plus @ int @ ( times_times @ int @ K2 @ I ) @ J ) ) )
             => ( P2 @ I @ J ) ) ) ) ) ).

% split_pos_lemma
thf(fact_1413_split__neg__lemma,axiom,
    ! [K2: int,P2: int > int > $o,N: int] :
      ( ( ord_less @ int @ K2 @ ( zero_zero @ int ) )
     => ( ( P2 @ ( divide_divide @ int @ N @ K2 ) @ ( modulo_modulo @ int @ N @ K2 ) )
        = ( ! [I: int,J: int] :
              ( ( ( ord_less @ int @ K2 @ J )
                & ( ord_less_eq @ int @ J @ ( zero_zero @ int ) )
                & ( N
                  = ( plus_plus @ int @ ( times_times @ int @ K2 @ I ) @ J ) ) )
             => ( P2 @ I @ J ) ) ) ) ) ).

% split_neg_lemma
thf(fact_1414_int__div__pos__eq,axiom,
    ! [A3: int,B2: int,Q6: int,R3: int] :
      ( ( A3
        = ( plus_plus @ int @ ( times_times @ int @ B2 @ Q6 ) @ R3 ) )
     => ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ R3 )
       => ( ( ord_less @ int @ R3 @ B2 )
         => ( ( divide_divide @ int @ A3 @ B2 )
            = Q6 ) ) ) ) ).

% int_div_pos_eq
thf(fact_1415_int__div__neg__eq,axiom,
    ! [A3: int,B2: int,Q6: int,R3: int] :
      ( ( A3
        = ( plus_plus @ int @ ( times_times @ int @ B2 @ Q6 ) @ R3 ) )
     => ( ( ord_less_eq @ int @ R3 @ ( zero_zero @ int ) )
       => ( ( ord_less @ int @ B2 @ R3 )
         => ( ( divide_divide @ int @ A3 @ B2 )
            = Q6 ) ) ) ) ).

% int_div_neg_eq
thf(fact_1416_split__zdiv,axiom,
    ! [P2: int > $o,N: int,K2: int] :
      ( ( P2 @ ( divide_divide @ int @ N @ K2 ) )
      = ( ( ( K2
            = ( zero_zero @ int ) )
         => ( P2 @ ( zero_zero @ int ) ) )
        & ( ( ord_less @ int @ ( zero_zero @ int ) @ K2 )
         => ! [I: int,J: int] :
              ( ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ J )
                & ( ord_less @ int @ J @ K2 )
                & ( N
                  = ( plus_plus @ int @ ( times_times @ int @ K2 @ I ) @ J ) ) )
             => ( P2 @ I ) ) )
        & ( ( ord_less @ int @ K2 @ ( zero_zero @ int ) )
         => ! [I: int,J: int] :
              ( ( ( ord_less @ int @ K2 @ J )
                & ( ord_less_eq @ int @ J @ ( zero_zero @ int ) )
                & ( N
                  = ( plus_plus @ int @ ( times_times @ int @ K2 @ I ) @ J ) ) )
             => ( P2 @ I ) ) ) ) ) ).

% split_zdiv
thf(fact_1417_div__mod__decomp__int,axiom,
    ! [A6: int,N: int] :
      ( A6
      = ( plus_plus @ int @ ( times_times @ int @ ( divide_divide @ int @ A6 @ N ) @ N ) @ ( modulo_modulo @ int @ A6 @ N ) ) ) ).

% div_mod_decomp_int
thf(fact_1418_int__div__less__self,axiom,
    ! [X: int,K2: int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ X )
     => ( ( ord_less @ int @ ( one_one @ int ) @ K2 )
       => ( ord_less @ int @ ( divide_divide @ int @ X @ K2 ) @ X ) ) ) ).

% int_div_less_self
thf(fact_1419_zdiv__mono__strict,axiom,
    ! [A6: int,B6: int,N: int] :
      ( ( ord_less @ int @ A6 @ B6 )
     => ( ( ord_less @ int @ ( zero_zero @ int ) @ N )
       => ( ( ( modulo_modulo @ int @ A6 @ N )
            = ( zero_zero @ int ) )
         => ( ( ( modulo_modulo @ int @ B6 @ N )
              = ( zero_zero @ int ) )
           => ( ord_less @ int @ ( divide_divide @ int @ A6 @ N ) @ ( divide_divide @ int @ B6 @ N ) ) ) ) ) ) ).

% zdiv_mono_strict
thf(fact_1420_pos__imp__zdiv__neg__iff,axiom,
    ! [B2: int,A3: int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ B2 )
     => ( ( ord_less @ int @ ( divide_divide @ int @ A3 @ B2 ) @ ( zero_zero @ int ) )
        = ( ord_less @ int @ A3 @ ( zero_zero @ int ) ) ) ) ).

% pos_imp_zdiv_neg_iff
thf(fact_1421_neg__imp__zdiv__neg__iff,axiom,
    ! [B2: int,A3: int] :
      ( ( ord_less @ int @ B2 @ ( zero_zero @ int ) )
     => ( ( ord_less @ int @ ( divide_divide @ int @ A3 @ B2 ) @ ( zero_zero @ int ) )
        = ( ord_less @ int @ ( zero_zero @ int ) @ A3 ) ) ) ).

% neg_imp_zdiv_neg_iff
thf(fact_1422_div__neg__pos__less0,axiom,
    ! [A3: int,B2: int] :
      ( ( ord_less @ int @ A3 @ ( zero_zero @ int ) )
     => ( ( ord_less @ int @ ( zero_zero @ int ) @ B2 )
       => ( ord_less @ int @ ( divide_divide @ int @ A3 @ B2 ) @ ( zero_zero @ int ) ) ) ) ).

% div_neg_pos_less0
thf(fact_1423_Euclidean__Division_Opos__mod__bound,axiom,
    ! [L: int,K2: int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ L )
     => ( ord_less @ int @ ( modulo_modulo @ int @ K2 @ L ) @ L ) ) ).

% Euclidean_Division.pos_mod_bound
thf(fact_1424_neg__mod__bound,axiom,
    ! [L: int,K2: int] :
      ( ( ord_less @ int @ L @ ( zero_zero @ int ) )
     => ( ord_less @ int @ L @ ( modulo_modulo @ int @ K2 @ L ) ) ) ).

% neg_mod_bound
thf(fact_1425_zmult__zless__mono2,axiom,
    ! [I2: int,J2: int,K2: int] :
      ( ( ord_less @ int @ I2 @ J2 )
     => ( ( ord_less @ int @ ( zero_zero @ int ) @ K2 )
       => ( ord_less @ int @ ( times_times @ int @ K2 @ I2 ) @ ( times_times @ int @ K2 @ J2 ) ) ) ) ).

% zmult_zless_mono2
thf(fact_1426_pos__zmult__eq__1__iff,axiom,
    ! [M: int,N: int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ M )
     => ( ( ( times_times @ int @ M @ N )
          = ( one_one @ int ) )
        = ( ( M
            = ( one_one @ int ) )
          & ( N
            = ( one_one @ int ) ) ) ) ) ).

% pos_zmult_eq_1_iff
thf(fact_1427_int__Suc,axiom,
    ! [N: nat] :
      ( ( semiring_1_of_nat @ int @ ( suc @ N ) )
      = ( plus_plus @ int @ ( semiring_1_of_nat @ int @ N ) @ ( one_one @ int ) ) ) ).

% int_Suc
thf(fact_1428_int__ops_I4_J,axiom,
    ! [A3: nat] :
      ( ( semiring_1_of_nat @ int @ ( suc @ A3 ) )
      = ( plus_plus @ int @ ( semiring_1_of_nat @ int @ A3 ) @ ( one_one @ int ) ) ) ).

% int_ops(4)
thf(fact_1429_int__if,axiom,
    ! [P2: $o,A3: nat,B2: nat] :
      ( ( P2
       => ( ( semiring_1_of_nat @ int @ ( if @ nat @ P2 @ A3 @ B2 ) )
          = ( semiring_1_of_nat @ int @ A3 ) ) )
      & ( ~ P2
       => ( ( semiring_1_of_nat @ int @ ( if @ nat @ P2 @ A3 @ B2 ) )
          = ( semiring_1_of_nat @ int @ B2 ) ) ) ) ).

% int_if
thf(fact_1430_nat__int__comparison_I1_J,axiom,
    ( ( ^ [Y6: nat,Z5: nat] : Y6 = Z5 )
    = ( ^ [A7: nat,B5: nat] :
          ( ( semiring_1_of_nat @ int @ A7 )
          = ( semiring_1_of_nat @ int @ B5 ) ) ) ) ).

% nat_int_comparison(1)
thf(fact_1431_zless__iff__Suc__zadd,axiom,
    ( ( ord_less @ int )
    = ( ^ [W3: int,Z2: int] :
        ? [N3: nat] :
          ( Z2
          = ( plus_plus @ int @ W3 @ ( semiring_1_of_nat @ int @ ( suc @ N3 ) ) ) ) ) ) ).

% zless_iff_Suc_zadd
thf(fact_1432_int__gr__induct,axiom,
    ! [K2: int,I2: int,P2: int > $o] :
      ( ( ord_less @ int @ K2 @ I2 )
     => ( ( P2 @ ( plus_plus @ int @ K2 @ ( one_one @ int ) ) )
       => ( ! [I3: int] :
              ( ( ord_less @ int @ K2 @ I3 )
             => ( ( P2 @ I3 )
               => ( P2 @ ( plus_plus @ int @ I3 @ ( one_one @ int ) ) ) ) )
         => ( P2 @ I2 ) ) ) ) ).

% int_gr_induct
thf(fact_1433_zless__add1__eq,axiom,
    ! [W2: int,Z4: int] :
      ( ( ord_less @ int @ W2 @ ( plus_plus @ int @ Z4 @ ( one_one @ int ) ) )
      = ( ( ord_less @ int @ W2 @ Z4 )
        | ( W2 = Z4 ) ) ) ).

% zless_add1_eq
thf(fact_1434_odd__less__0__iff,axiom,
    ! [Z4: int] :
      ( ( ord_less @ int @ ( plus_plus @ int @ ( plus_plus @ int @ ( one_one @ int ) @ Z4 ) @ Z4 ) @ ( zero_zero @ int ) )
      = ( ord_less @ int @ Z4 @ ( zero_zero @ int ) ) ) ).

% odd_less_0_iff
thf(fact_1435_less__int__code_I1_J,axiom,
    ~ ( ord_less @ int @ ( zero_zero @ int ) @ ( zero_zero @ int ) ) ).

% less_int_code(1)
thf(fact_1436_plus__int__code_I1_J,axiom,
    ! [K2: int] :
      ( ( plus_plus @ int @ K2 @ ( zero_zero @ int ) )
      = K2 ) ).

% plus_int_code(1)
thf(fact_1437_plus__int__code_I2_J,axiom,
    ! [L: int] :
      ( ( plus_plus @ int @ ( zero_zero @ int ) @ L )
      = L ) ).

% plus_int_code(2)
thf(fact_1438_odd__nonzero,axiom,
    ! [Z4: int] :
      ( ( plus_plus @ int @ ( plus_plus @ int @ ( one_one @ int ) @ Z4 ) @ Z4 )
     != ( zero_zero @ int ) ) ).

% odd_nonzero
thf(fact_1439_of__nat__aux_Osimps_I2_J,axiom,
    ! [A: $tType] :
      ( ( semiring_1 @ A )
     => ! [Inc: A > A,N: nat,I2: A] :
          ( ( semiri8178284476397505188at_aux @ A @ Inc @ ( suc @ N ) @ I2 )
          = ( semiri8178284476397505188at_aux @ A @ Inc @ N @ ( Inc @ I2 ) ) ) ) ).

% of_nat_aux.simps(2)
thf(fact_1440_Suc__inject,axiom,
    ! [X: nat,Y: nat] :
      ( ( ( suc @ X )
        = ( suc @ Y ) )
     => ( X = Y ) ) ).

% Suc_inject
thf(fact_1441_n__not__Suc__n,axiom,
    ! [N: nat] :
      ( N
     != ( suc @ N ) ) ).

% n_not_Suc_n
thf(fact_1442_int__distrib_I2_J,axiom,
    ! [W2: int,Z1: int,Z22: int] :
      ( ( times_times @ int @ W2 @ ( plus_plus @ int @ Z1 @ Z22 ) )
      = ( plus_plus @ int @ ( times_times @ int @ W2 @ Z1 ) @ ( times_times @ int @ W2 @ Z22 ) ) ) ).

% int_distrib(2)
thf(fact_1443_int__distrib_I1_J,axiom,
    ! [Z1: int,Z22: int,W2: int] :
      ( ( times_times @ int @ ( plus_plus @ int @ Z1 @ Z22 ) @ W2 )
      = ( plus_plus @ int @ ( times_times @ int @ Z1 @ W2 ) @ ( times_times @ int @ Z22 @ W2 ) ) ) ).

% int_distrib(1)
thf(fact_1444_zdiv__zmult2__eq,axiom,
    ! [C3: int,A3: int,B2: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ C3 )
     => ( ( divide_divide @ int @ A3 @ ( times_times @ int @ B2 @ C3 ) )
        = ( divide_divide @ int @ ( divide_divide @ int @ A3 @ B2 ) @ C3 ) ) ) ).

% zdiv_zmult2_eq
thf(fact_1445_verit__la__generic,axiom,
    ! [A3: int,X: int] :
      ( ( ord_less_eq @ int @ A3 @ X )
      | ( A3 = X )
      | ( ord_less_eq @ int @ X @ A3 ) ) ).

% verit_la_generic
thf(fact_1446_int__ge__induct,axiom,
    ! [K2: int,I2: int,P2: int > $o] :
      ( ( ord_less_eq @ int @ K2 @ I2 )
     => ( ( P2 @ K2 )
       => ( ! [I3: int] :
              ( ( ord_less_eq @ int @ K2 @ I3 )
             => ( ( P2 @ I3 )
               => ( P2 @ ( plus_plus @ int @ I3 @ ( one_one @ int ) ) ) ) )
         => ( P2 @ I2 ) ) ) ) ).

% int_ge_induct
thf(fact_1447_less__eq__int__code_I1_J,axiom,
    ord_less_eq @ int @ ( zero_zero @ int ) @ ( zero_zero @ int ) ).

% less_eq_int_code(1)
thf(fact_1448_imp__le__cong,axiom,
    ! [X: int,X10: int,P2: $o,P6: $o] :
      ( ( X = X10 )
     => ( ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ X10 )
         => ( P2 = P6 ) )
       => ( ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ X )
           => P2 )
          = ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ X10 )
           => P6 ) ) ) ) ).

% imp_le_cong
thf(fact_1449_conj__le__cong,axiom,
    ! [X: int,X10: int,P2: $o,P6: $o] :
      ( ( X = X10 )
     => ( ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ X10 )
         => ( P2 = P6 ) )
       => ( ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ X )
            & P2 )
          = ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ X10 )
            & P6 ) ) ) ) ).

% conj_le_cong
thf(fact_1450_nat_Odistinct_I1_J,axiom,
    ! [X2: nat] :
      ( ( zero_zero @ nat )
     != ( suc @ X2 ) ) ).

% nat.distinct(1)
thf(fact_1451_old_Onat_Odistinct_I2_J,axiom,
    ! [Nat3: nat] :
      ( ( suc @ Nat3 )
     != ( zero_zero @ nat ) ) ).

% old.nat.distinct(2)
thf(fact_1452_old_Onat_Odistinct_I1_J,axiom,
    ! [Nat2: nat] :
      ( ( zero_zero @ nat )
     != ( suc @ Nat2 ) ) ).

% old.nat.distinct(1)
thf(fact_1453_nat_OdiscI,axiom,
    ! [Nat: nat,X2: nat] :
      ( ( Nat
        = ( suc @ X2 ) )
     => ( Nat
       != ( zero_zero @ nat ) ) ) ).

% nat.discI
thf(fact_1454_old_Onat_Oexhaust,axiom,
    ! [Y: nat] :
      ( ( Y
       != ( zero_zero @ nat ) )
     => ~ ! [Nat4: nat] :
            ( Y
           != ( suc @ Nat4 ) ) ) ).

% old.nat.exhaust
thf(fact_1455_nat__induct,axiom,
    ! [P2: nat > $o,N: nat] :
      ( ( P2 @ ( zero_zero @ nat ) )
     => ( ! [N4: nat] :
            ( ( P2 @ N4 )
           => ( P2 @ ( suc @ N4 ) ) )
       => ( P2 @ N ) ) ) ).

% nat_induct
thf(fact_1456_diff__induct,axiom,
    ! [P2: nat > nat > $o,M: nat,N: nat] :
      ( ! [X3: nat] : ( P2 @ X3 @ ( zero_zero @ nat ) )
     => ( ! [Y3: nat] : ( P2 @ ( zero_zero @ nat ) @ ( suc @ Y3 ) )
       => ( ! [X3: nat,Y3: nat] :
              ( ( P2 @ X3 @ Y3 )
             => ( P2 @ ( suc @ X3 ) @ ( suc @ Y3 ) ) )
         => ( P2 @ M @ N ) ) ) ) ).

% diff_induct
thf(fact_1457_zero__induct,axiom,
    ! [P2: nat > $o,K2: nat] :
      ( ( P2 @ K2 )
     => ( ! [N4: nat] :
            ( ( P2 @ ( suc @ N4 ) )
           => ( P2 @ N4 ) )
       => ( P2 @ ( zero_zero @ nat ) ) ) ) ).

% zero_induct
thf(fact_1458_Suc__neq__Zero,axiom,
    ! [M: nat] :
      ( ( suc @ M )
     != ( zero_zero @ nat ) ) ).

% Suc_neq_Zero
thf(fact_1459_Zero__neq__Suc,axiom,
    ! [M: nat] :
      ( ( zero_zero @ nat )
     != ( suc @ M ) ) ).

% Zero_neq_Suc
thf(fact_1460_Zero__not__Suc,axiom,
    ! [M: nat] :
      ( ( zero_zero @ nat )
     != ( suc @ M ) ) ).

% Zero_not_Suc
thf(fact_1461_not0__implies__Suc,axiom,
    ! [N: nat] :
      ( ( N
       != ( zero_zero @ nat ) )
     => ? [M5: nat] :
          ( N
          = ( suc @ M5 ) ) ) ).

% not0_implies_Suc
thf(fact_1462_not__less__less__Suc__eq,axiom,
    ! [N: nat,M: nat] :
      ( ~ ( ord_less @ nat @ N @ M )
     => ( ( ord_less @ nat @ N @ ( suc @ M ) )
        = ( N = M ) ) ) ).

% not_less_less_Suc_eq
thf(fact_1463_strict__inc__induct,axiom,
    ! [I2: nat,J2: nat,P2: nat > $o] :
      ( ( ord_less @ nat @ I2 @ J2 )
     => ( ! [I3: nat] :
            ( ( J2
              = ( suc @ I3 ) )
           => ( P2 @ I3 ) )
       => ( ! [I3: nat] :
              ( ( ord_less @ nat @ I3 @ J2 )
             => ( ( P2 @ ( suc @ I3 ) )
               => ( P2 @ I3 ) ) )
         => ( P2 @ I2 ) ) ) ) ).

% strict_inc_induct
thf(fact_1464_less__Suc__induct,axiom,
    ! [I2: nat,J2: nat,P2: nat > nat > $o] :
      ( ( ord_less @ nat @ I2 @ J2 )
     => ( ! [I3: nat] : ( P2 @ I3 @ ( suc @ I3 ) )
       => ( ! [I3: nat,J3: nat,K: nat] :
              ( ( ord_less @ nat @ I3 @ J3 )
             => ( ( ord_less @ nat @ J3 @ K )
               => ( ( P2 @ I3 @ J3 )
                 => ( ( P2 @ J3 @ K )
                   => ( P2 @ I3 @ K ) ) ) ) )
         => ( P2 @ I2 @ J2 ) ) ) ) ).

% less_Suc_induct
thf(fact_1465_less__trans__Suc,axiom,
    ! [I2: nat,J2: nat,K2: nat] :
      ( ( ord_less @ nat @ I2 @ J2 )
     => ( ( ord_less @ nat @ J2 @ K2 )
       => ( ord_less @ nat @ ( suc @ I2 ) @ K2 ) ) ) ).

% less_trans_Suc
thf(fact_1466_Suc__less__SucD,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less @ nat @ ( suc @ M ) @ ( suc @ N ) )
     => ( ord_less @ nat @ M @ N ) ) ).

% Suc_less_SucD
thf(fact_1467_less__antisym,axiom,
    ! [N: nat,M: nat] :
      ( ~ ( ord_less @ nat @ N @ M )
     => ( ( ord_less @ nat @ N @ ( suc @ M ) )
       => ( M = N ) ) ) ).

% less_antisym
thf(fact_1468_Suc__less__eq2,axiom,
    ! [N: nat,M: nat] :
      ( ( ord_less @ nat @ ( suc @ N ) @ M )
      = ( ? [M7: nat] :
            ( ( M
              = ( suc @ M7 ) )
            & ( ord_less @ nat @ N @ M7 ) ) ) ) ).

% Suc_less_eq2
thf(fact_1469_All__less__Suc,axiom,
    ! [N: nat,P2: nat > $o] :
      ( ( ! [I: nat] :
            ( ( ord_less @ nat @ I @ ( suc @ N ) )
           => ( P2 @ I ) ) )
      = ( ( P2 @ N )
        & ! [I: nat] :
            ( ( ord_less @ nat @ I @ N )
           => ( P2 @ I ) ) ) ) ).

% All_less_Suc
thf(fact_1470_not__less__eq,axiom,
    ! [M: nat,N: nat] :
      ( ( ~ ( ord_less @ nat @ M @ N ) )
      = ( ord_less @ nat @ N @ ( suc @ M ) ) ) ).

% not_less_eq
thf(fact_1471_less__Suc__eq,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less @ nat @ M @ ( suc @ N ) )
      = ( ( ord_less @ nat @ M @ N )
        | ( M = N ) ) ) ).

% less_Suc_eq
thf(fact_1472_Ex__less__Suc,axiom,
    ! [N: nat,P2: nat > $o] :
      ( ( ? [I: nat] :
            ( ( ord_less @ nat @ I @ ( suc @ N ) )
            & ( P2 @ I ) ) )
      = ( ( P2 @ N )
        | ? [I: nat] :
            ( ( ord_less @ nat @ I @ N )
            & ( P2 @ I ) ) ) ) ).

% Ex_less_Suc
thf(fact_1473_less__SucI,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less @ nat @ M @ N )
     => ( ord_less @ nat @ M @ ( suc @ N ) ) ) ).

% less_SucI
thf(fact_1474_less__SucE,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less @ nat @ M @ ( suc @ N ) )
     => ( ~ ( ord_less @ nat @ M @ N )
       => ( M = N ) ) ) ).

% less_SucE
thf(fact_1475_Suc__lessI,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less @ nat @ M @ N )
     => ( ( ( suc @ M )
         != N )
       => ( ord_less @ nat @ ( suc @ M ) @ N ) ) ) ).

% Suc_lessI
thf(fact_1476_Suc__lessE,axiom,
    ! [I2: nat,K2: nat] :
      ( ( ord_less @ nat @ ( suc @ I2 ) @ K2 )
     => ~ ! [J3: nat] :
            ( ( ord_less @ nat @ I2 @ J3 )
           => ( K2
             != ( suc @ J3 ) ) ) ) ).

% Suc_lessE
thf(fact_1477_Suc__lessD,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less @ nat @ ( suc @ M ) @ N )
     => ( ord_less @ nat @ M @ N ) ) ).

% Suc_lessD
thf(fact_1478_Nat_OlessE,axiom,
    ! [I2: nat,K2: nat] :
      ( ( ord_less @ nat @ I2 @ K2 )
     => ( ( K2
         != ( suc @ I2 ) )
       => ~ ! [J3: nat] :
              ( ( ord_less @ nat @ I2 @ J3 )
             => ( K2
               != ( suc @ J3 ) ) ) ) ) ).

% Nat.lessE
thf(fact_1479_transitive__stepwise__le,axiom,
    ! [M: nat,N: nat,R4: nat > nat > $o] :
      ( ( ord_less_eq @ nat @ M @ N )
     => ( ! [X3: nat] : ( R4 @ X3 @ X3 )
       => ( ! [X3: nat,Y3: nat,Z3: nat] :
              ( ( R4 @ X3 @ Y3 )
             => ( ( R4 @ Y3 @ Z3 )
               => ( R4 @ X3 @ Z3 ) ) )
         => ( ! [N4: nat] : ( R4 @ N4 @ ( suc @ N4 ) )
           => ( R4 @ M @ N ) ) ) ) ) ).

% transitive_stepwise_le
thf(fact_1480_nat__induct__at__least,axiom,
    ! [M: nat,N: nat,P2: nat > $o] :
      ( ( ord_less_eq @ nat @ M @ N )
     => ( ( P2 @ M )
       => ( ! [N4: nat] :
              ( ( ord_less_eq @ nat @ M @ N4 )
             => ( ( P2 @ N4 )
               => ( P2 @ ( suc @ N4 ) ) ) )
         => ( P2 @ N ) ) ) ) ).

% nat_induct_at_least
thf(fact_1481_full__nat__induct,axiom,
    ! [P2: nat > $o,N: nat] :
      ( ! [N4: nat] :
          ( ! [M4: nat] :
              ( ( ord_less_eq @ nat @ ( suc @ M4 ) @ N4 )
             => ( P2 @ M4 ) )
         => ( P2 @ N4 ) )
     => ( P2 @ N ) ) ).

% full_nat_induct
thf(fact_1482_not__less__eq__eq,axiom,
    ! [M: nat,N: nat] :
      ( ( ~ ( ord_less_eq @ nat @ M @ N ) )
      = ( ord_less_eq @ nat @ ( suc @ N ) @ M ) ) ).

% not_less_eq_eq
thf(fact_1483_Suc__n__not__le__n,axiom,
    ! [N: nat] :
      ~ ( ord_less_eq @ nat @ ( suc @ N ) @ N ) ).

% Suc_n_not_le_n
thf(fact_1484_le__Suc__eq,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ M @ ( suc @ N ) )
      = ( ( ord_less_eq @ nat @ M @ N )
        | ( M
          = ( suc @ N ) ) ) ) ).

% le_Suc_eq
thf(fact_1485_Suc__le__D,axiom,
    ! [N: nat,M8: nat] :
      ( ( ord_less_eq @ nat @ ( suc @ N ) @ M8 )
     => ? [M5: nat] :
          ( M8
          = ( suc @ M5 ) ) ) ).

% Suc_le_D
thf(fact_1486_le__SucI,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ M @ N )
     => ( ord_less_eq @ nat @ M @ ( suc @ N ) ) ) ).

% le_SucI
thf(fact_1487_le__SucE,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ M @ ( suc @ N ) )
     => ( ~ ( ord_less_eq @ nat @ M @ N )
       => ( M
          = ( suc @ N ) ) ) ) ).

% le_SucE
thf(fact_1488_Suc__leD,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ ( suc @ M ) @ N )
     => ( ord_less_eq @ nat @ M @ N ) ) ).

% Suc_leD
thf(fact_1489_nat__arith_Osuc1,axiom,
    ! [A6: nat,K2: nat,A3: nat] :
      ( ( A6
        = ( plus_plus @ nat @ K2 @ A3 ) )
     => ( ( suc @ A6 )
        = ( plus_plus @ nat @ K2 @ ( suc @ A3 ) ) ) ) ).

% nat_arith.suc1
thf(fact_1490_add__Suc,axiom,
    ! [M: nat,N: nat] :
      ( ( plus_plus @ nat @ ( suc @ M ) @ N )
      = ( suc @ ( plus_plus @ nat @ M @ N ) ) ) ).

% add_Suc
thf(fact_1491_add__Suc__shift,axiom,
    ! [M: nat,N: nat] :
      ( ( plus_plus @ nat @ ( suc @ M ) @ N )
      = ( plus_plus @ nat @ M @ ( suc @ N ) ) ) ).

% add_Suc_shift
thf(fact_1492_Suc__mult__cancel1,axiom,
    ! [K2: nat,M: nat,N: nat] :
      ( ( ( times_times @ nat @ ( suc @ K2 ) @ M )
        = ( times_times @ nat @ ( suc @ K2 ) @ N ) )
      = ( M = N ) ) ).

% Suc_mult_cancel1
thf(fact_1493_lift__Suc__mono__less__iff,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [F3: nat > A,N: nat,M: nat] :
          ( ! [N4: nat] : ( ord_less @ A @ ( F3 @ N4 ) @ ( F3 @ ( suc @ N4 ) ) )
         => ( ( ord_less @ A @ ( F3 @ N ) @ ( F3 @ M ) )
            = ( ord_less @ nat @ N @ M ) ) ) ) ).

% lift_Suc_mono_less_iff
thf(fact_1494_lift__Suc__mono__less,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [F3: nat > A,N: nat,N2: nat] :
          ( ! [N4: nat] : ( ord_less @ A @ ( F3 @ N4 ) @ ( F3 @ ( suc @ N4 ) ) )
         => ( ( ord_less @ nat @ N @ N2 )
           => ( ord_less @ A @ ( F3 @ N ) @ ( F3 @ N2 ) ) ) ) ) ).

% lift_Suc_mono_less
thf(fact_1495_lift__Suc__antimono__le,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [F3: nat > A,N: nat,N2: nat] :
          ( ! [N4: nat] : ( ord_less_eq @ A @ ( F3 @ ( suc @ N4 ) ) @ ( F3 @ N4 ) )
         => ( ( ord_less_eq @ nat @ N @ N2 )
           => ( ord_less_eq @ A @ ( F3 @ N2 ) @ ( F3 @ N ) ) ) ) ) ).

% lift_Suc_antimono_le
thf(fact_1496_lift__Suc__mono__le,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [F3: nat > A,N: nat,N2: nat] :
          ( ! [N4: nat] : ( ord_less_eq @ A @ ( F3 @ N4 ) @ ( F3 @ ( suc @ N4 ) ) )
         => ( ( ord_less_eq @ nat @ N @ N2 )
           => ( ord_less_eq @ A @ ( F3 @ N ) @ ( F3 @ N2 ) ) ) ) ) ).

% lift_Suc_mono_le
thf(fact_1497_of__nat__neq__0,axiom,
    ! [A: $tType] :
      ( ( semiring_char_0 @ A )
     => ! [N: nat] :
          ( ( semiring_1_of_nat @ A @ ( suc @ N ) )
         != ( zero_zero @ A ) ) ) ).

% of_nat_neq_0
thf(fact_1498_Ex__less__Suc2,axiom,
    ! [N: nat,P2: nat > $o] :
      ( ( ? [I: nat] :
            ( ( ord_less @ nat @ I @ ( suc @ N ) )
            & ( P2 @ I ) ) )
      = ( ( P2 @ ( zero_zero @ nat ) )
        | ? [I: nat] :
            ( ( ord_less @ nat @ I @ N )
            & ( P2 @ ( suc @ I ) ) ) ) ) ).

% Ex_less_Suc2
thf(fact_1499_gr0__conv__Suc,axiom,
    ! [N: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
      = ( ? [M3: nat] :
            ( N
            = ( suc @ M3 ) ) ) ) ).

% gr0_conv_Suc
thf(fact_1500_All__less__Suc2,axiom,
    ! [N: nat,P2: nat > $o] :
      ( ( ! [I: nat] :
            ( ( ord_less @ nat @ I @ ( suc @ N ) )
           => ( P2 @ I ) ) )
      = ( ( P2 @ ( zero_zero @ nat ) )
        & ! [I: nat] :
            ( ( ord_less @ nat @ I @ N )
           => ( P2 @ ( suc @ I ) ) ) ) ) ).

% All_less_Suc2
thf(fact_1501_gr0__implies__Suc,axiom,
    ! [N: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
     => ? [M5: nat] :
          ( N
          = ( suc @ M5 ) ) ) ).

% gr0_implies_Suc
thf(fact_1502_less__Suc__eq__0__disj,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less @ nat @ M @ ( suc @ N ) )
      = ( ( M
          = ( zero_zero @ nat ) )
        | ? [J: nat] :
            ( ( M
              = ( suc @ J ) )
            & ( ord_less @ nat @ J @ N ) ) ) ) ).

% less_Suc_eq_0_disj
thf(fact_1503_nat__compl__induct,axiom,
    ! [P2: nat > $o,N: nat] :
      ( ( P2 @ ( zero_zero @ nat ) )
     => ( ! [N4: nat] :
            ( ! [Nn: nat] :
                ( ( ord_less_eq @ nat @ Nn @ N4 )
               => ( P2 @ Nn ) )
           => ( P2 @ ( suc @ N4 ) ) )
       => ( P2 @ N ) ) ) ).

% nat_compl_induct
thf(fact_1504_nat__compl__induct_H,axiom,
    ! [P2: nat > $o,N: nat] :
      ( ( P2 @ ( zero_zero @ nat ) )
     => ( ! [N4: nat] :
            ( ! [Nn: nat] :
                ( ( ord_less_eq @ nat @ Nn @ N4 )
               => ( P2 @ Nn ) )
           => ( P2 @ ( suc @ N4 ) ) )
       => ( P2 @ N ) ) ) ).

% nat_compl_induct'
thf(fact_1505_add__is__1,axiom,
    ! [M: nat,N: nat] :
      ( ( ( plus_plus @ nat @ M @ N )
        = ( suc @ ( zero_zero @ nat ) ) )
      = ( ( ( M
            = ( suc @ ( zero_zero @ nat ) ) )
          & ( N
            = ( zero_zero @ nat ) ) )
        | ( ( M
            = ( zero_zero @ nat ) )
          & ( N
            = ( suc @ ( zero_zero @ nat ) ) ) ) ) ) ).

% add_is_1
thf(fact_1506_one__is__add,axiom,
    ! [M: nat,N: nat] :
      ( ( ( suc @ ( zero_zero @ nat ) )
        = ( plus_plus @ nat @ M @ N ) )
      = ( ( ( M
            = ( suc @ ( zero_zero @ nat ) ) )
          & ( N
            = ( zero_zero @ nat ) ) )
        | ( ( M
            = ( zero_zero @ nat ) )
          & ( N
            = ( suc @ ( zero_zero @ nat ) ) ) ) ) ) ).

% one_is_add
thf(fact_1507_Suc__leI,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less @ nat @ M @ N )
     => ( ord_less_eq @ nat @ ( suc @ M ) @ N ) ) ).

% Suc_leI
thf(fact_1508_Suc__le__eq,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ ( suc @ M ) @ N )
      = ( ord_less @ nat @ M @ N ) ) ).

% Suc_le_eq
thf(fact_1509_dec__induct,axiom,
    ! [I2: nat,J2: nat,P2: nat > $o] :
      ( ( ord_less_eq @ nat @ I2 @ J2 )
     => ( ( P2 @ I2 )
       => ( ! [N4: nat] :
              ( ( ord_less_eq @ nat @ I2 @ N4 )
             => ( ( ord_less @ nat @ N4 @ J2 )
               => ( ( P2 @ N4 )
                 => ( P2 @ ( suc @ N4 ) ) ) ) )
         => ( P2 @ J2 ) ) ) ) ).

% dec_induct
thf(fact_1510_inc__induct,axiom,
    ! [I2: nat,J2: nat,P2: nat > $o] :
      ( ( ord_less_eq @ nat @ I2 @ J2 )
     => ( ( P2 @ J2 )
       => ( ! [N4: nat] :
              ( ( ord_less_eq @ nat @ I2 @ N4 )
             => ( ( ord_less @ nat @ N4 @ J2 )
               => ( ( P2 @ ( suc @ N4 ) )
                 => ( P2 @ N4 ) ) ) )
         => ( P2 @ I2 ) ) ) ) ).

% inc_induct
thf(fact_1511_Suc__le__lessD,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ ( suc @ M ) @ N )
     => ( ord_less @ nat @ M @ N ) ) ).

% Suc_le_lessD
thf(fact_1512_le__less__Suc__eq,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ M @ N )
     => ( ( ord_less @ nat @ N @ ( suc @ M ) )
        = ( N = M ) ) ) ).

% le_less_Suc_eq
thf(fact_1513_less__Suc__eq__le,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less @ nat @ M @ ( suc @ N ) )
      = ( ord_less_eq @ nat @ M @ N ) ) ).

% less_Suc_eq_le
thf(fact_1514_less__eq__Suc__le,axiom,
    ( ( ord_less @ nat )
    = ( ^ [N3: nat] : ( ord_less_eq @ nat @ ( suc @ N3 ) ) ) ) ).

% less_eq_Suc_le
thf(fact_1515_le__imp__less__Suc,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ M @ N )
     => ( ord_less @ nat @ M @ ( suc @ N ) ) ) ).

% le_imp_less_Suc
thf(fact_1516_nat__in__between__eq_I2_J,axiom,
    ! [A3: nat,B2: nat] :
      ( ( ( ord_less_eq @ nat @ A3 @ B2 )
        & ( ord_less @ nat @ B2 @ ( suc @ A3 ) ) )
      = ( B2 = A3 ) ) ).

% nat_in_between_eq(2)
thf(fact_1517_nat__in__between__eq_I1_J,axiom,
    ! [A3: nat,B2: nat] :
      ( ( ( ord_less @ nat @ A3 @ B2 )
        & ( ord_less_eq @ nat @ B2 @ ( suc @ A3 ) ) )
      = ( B2
        = ( suc @ A3 ) ) ) ).

% nat_in_between_eq(1)
thf(fact_1518_less__natE,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less @ nat @ M @ N )
     => ~ ! [Q5: nat] :
            ( N
           != ( suc @ ( plus_plus @ nat @ M @ Q5 ) ) ) ) ).

% less_natE
thf(fact_1519_less__add__Suc1,axiom,
    ! [I2: nat,M: nat] : ( ord_less @ nat @ I2 @ ( suc @ ( plus_plus @ nat @ I2 @ M ) ) ) ).

% less_add_Suc1
thf(fact_1520_less__add__Suc2,axiom,
    ! [I2: nat,M: nat] : ( ord_less @ nat @ I2 @ ( suc @ ( plus_plus @ nat @ M @ I2 ) ) ) ).

% less_add_Suc2
thf(fact_1521_less__iff__Suc__add,axiom,
    ( ( ord_less @ nat )
    = ( ^ [M3: nat,N3: nat] :
        ? [K3: nat] :
          ( N3
          = ( suc @ ( plus_plus @ nat @ M3 @ K3 ) ) ) ) ) ).

% less_iff_Suc_add
thf(fact_1522_less__imp__Suc__add,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less @ nat @ M @ N )
     => ? [K: nat] :
          ( N
          = ( suc @ ( plus_plus @ nat @ M @ K ) ) ) ) ).

% less_imp_Suc_add
thf(fact_1523_Suc__mult__less__cancel1,axiom,
    ! [K2: nat,M: nat,N: nat] :
      ( ( ord_less @ nat @ ( times_times @ nat @ ( suc @ K2 ) @ M ) @ ( times_times @ nat @ ( suc @ K2 ) @ N ) )
      = ( ord_less @ nat @ M @ N ) ) ).

% Suc_mult_less_cancel1
thf(fact_1524_One__nat__def,axiom,
    ( ( one_one @ nat )
    = ( suc @ ( zero_zero @ nat ) ) ) ).

% One_nat_def
thf(fact_1525_Suc__mult__le__cancel1,axiom,
    ! [K2: nat,M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ ( times_times @ nat @ ( suc @ K2 ) @ M ) @ ( times_times @ nat @ ( suc @ K2 ) @ N ) )
      = ( ord_less_eq @ nat @ M @ N ) ) ).

% Suc_mult_le_cancel1
thf(fact_1526_mult__Suc,axiom,
    ! [M: nat,N: nat] :
      ( ( times_times @ nat @ ( suc @ M ) @ N )
      = ( plus_plus @ nat @ N @ ( times_times @ nat @ M @ N ) ) ) ).

% mult_Suc
thf(fact_1527_Suc__eq__plus1,axiom,
    ( suc
    = ( ^ [N3: nat] : ( plus_plus @ nat @ N3 @ ( one_one @ nat ) ) ) ) ).

% Suc_eq_plus1
thf(fact_1528_plus__1__eq__Suc,axiom,
    ( ( plus_plus @ nat @ ( one_one @ nat ) )
    = suc ) ).

% plus_1_eq_Suc
thf(fact_1529_Suc__eq__plus1__left,axiom,
    ( suc
    = ( plus_plus @ nat @ ( one_one @ nat ) ) ) ).

% Suc_eq_plus1_left
thf(fact_1530_mod__induct,axiom,
    ! [P2: nat > $o,N: nat,P3: nat,M: nat] :
      ( ( P2 @ N )
     => ( ( ord_less @ nat @ N @ P3 )
       => ( ( ord_less @ nat @ M @ P3 )
         => ( ! [N4: nat] :
                ( ( ord_less @ nat @ N4 @ P3 )
               => ( ( P2 @ N4 )
                 => ( P2 @ ( modulo_modulo @ nat @ ( suc @ N4 ) @ P3 ) ) ) )
           => ( P2 @ M ) ) ) ) ) ).

% mod_induct
thf(fact_1531_mod__Suc__le__divisor,axiom,
    ! [M: nat,N: nat] : ( ord_less_eq @ nat @ ( modulo_modulo @ nat @ M @ ( suc @ N ) ) @ N ) ).

% mod_Suc_le_divisor
thf(fact_1532_Suc__div__le__mono,axiom,
    ! [M: nat,N: nat] : ( ord_less_eq @ nat @ ( divide_divide @ nat @ M @ N ) @ ( divide_divide @ nat @ ( suc @ M ) @ N ) ) ).

% Suc_div_le_mono
thf(fact_1533_power__le__imp__le__base,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [A3: A,N: nat,B2: A] :
          ( ( ord_less_eq @ A @ ( power_power @ A @ A3 @ ( suc @ N ) ) @ ( power_power @ A @ B2 @ ( suc @ N ) ) )
         => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ B2 )
           => ( ord_less_eq @ A @ A3 @ B2 ) ) ) ) ).

% power_le_imp_le_base
thf(fact_1534_power__inject__base,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [A3: A,N: nat,B2: A] :
          ( ( ( power_power @ A @ A3 @ ( suc @ N ) )
            = ( power_power @ A @ B2 @ ( suc @ N ) ) )
         => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 )
           => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ B2 )
             => ( A3 = B2 ) ) ) ) ) ).

% power_inject_base
thf(fact_1535_power__gt1,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [A3: A,N: nat] :
          ( ( ord_less @ A @ ( one_one @ A ) @ A3 )
         => ( ord_less @ A @ ( one_one @ A ) @ ( power_power @ A @ A3 @ ( suc @ N ) ) ) ) ) ).

% power_gt1
thf(fact_1536_of__nat__aux_Osimps_I1_J,axiom,
    ! [A: $tType] :
      ( ( semiring_1 @ A )
     => ! [Inc: A > A,I2: A] :
          ( ( semiri8178284476397505188at_aux @ A @ Inc @ ( zero_zero @ nat ) @ I2 )
          = I2 ) ) ).

% of_nat_aux.simps(1)
thf(fact_1537_ex__least__nat__less,axiom,
    ! [P2: nat > $o,N: nat] :
      ( ( P2 @ N )
     => ( ~ ( P2 @ ( zero_zero @ nat ) )
       => ? [K: nat] :
            ( ( ord_less @ nat @ K @ N )
            & ! [I4: nat] :
                ( ( ord_less_eq @ nat @ I4 @ K )
               => ~ ( P2 @ I4 ) )
            & ( P2 @ ( suc @ K ) ) ) ) ) ).

% ex_least_nat_less
thf(fact_1538_n__less__n__mult__m,axiom,
    ! [N: nat,M: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
     => ( ( ord_less @ nat @ ( suc @ ( zero_zero @ nat ) ) @ M )
       => ( ord_less @ nat @ N @ ( times_times @ nat @ N @ M ) ) ) ) ).

% n_less_n_mult_m
thf(fact_1539_n__less__m__mult__n,axiom,
    ! [N: nat,M: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
     => ( ( ord_less @ nat @ ( suc @ ( zero_zero @ nat ) ) @ M )
       => ( ord_less @ nat @ N @ ( times_times @ nat @ M @ N ) ) ) ) ).

% n_less_m_mult_n
thf(fact_1540_one__less__mult,axiom,
    ! [N: nat,M: nat] :
      ( ( ord_less @ nat @ ( suc @ ( zero_zero @ nat ) ) @ N )
     => ( ( ord_less @ nat @ ( suc @ ( zero_zero @ nat ) ) @ M )
       => ( ord_less @ nat @ ( suc @ ( zero_zero @ nat ) ) @ ( times_times @ nat @ M @ N ) ) ) ) ).

% one_less_mult
thf(fact_1541_nat__induct__non__zero,axiom,
    ! [N: nat,P2: nat > $o] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
     => ( ( P2 @ ( one_one @ nat ) )
       => ( ! [N4: nat] :
              ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N4 )
             => ( ( P2 @ N4 )
               => ( P2 @ ( suc @ N4 ) ) ) )
         => ( P2 @ N ) ) ) ) ).

% nat_induct_non_zero
thf(fact_1542_power__gt__expt,axiom,
    ! [N: nat,K2: nat] :
      ( ( ord_less @ nat @ ( suc @ ( zero_zero @ nat ) ) @ N )
     => ( ord_less @ nat @ K2 @ ( power_power @ nat @ N @ K2 ) ) ) ).

% power_gt_expt
thf(fact_1543_nat__one__le__power,axiom,
    ! [I2: nat,N: nat] :
      ( ( ord_less_eq @ nat @ ( suc @ ( zero_zero @ nat ) ) @ I2 )
     => ( ord_less_eq @ nat @ ( suc @ ( zero_zero @ nat ) ) @ ( power_power @ nat @ I2 @ N ) ) ) ).

% nat_one_le_power
thf(fact_1544_relH__ref,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [As: set @ nat,H: heap_ext @ product_unit,H5: heap_ext @ product_unit,R3: ref @ A] :
          ( ( relH @ As @ H @ H5 )
         => ( ( member @ nat @ ( addr_of_ref @ A @ R3 ) @ As )
           => ( ( ref_get @ A @ H @ R3 )
              = ( ref_get @ A @ H5 @ R3 ) ) ) ) ) ).

% relH_ref
thf(fact_1545_nat__approx__posE,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [E3: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ E3 )
         => ~ ! [N4: nat] :
                ~ ( ord_less @ A @ ( divide_divide @ A @ ( one_one @ A ) @ ( semiring_1_of_nat @ A @ ( suc @ N4 ) ) ) @ E3 ) ) ) ).

% nat_approx_posE
thf(fact_1546_power__Suc__le__self,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [A3: A,N: nat] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 )
         => ( ( ord_less_eq @ A @ A3 @ ( one_one @ A ) )
           => ( ord_less_eq @ A @ ( power_power @ A @ A3 @ ( suc @ N ) ) @ A3 ) ) ) ) ).

% power_Suc_le_self
thf(fact_1547_power__Suc__less__one,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [A3: A,N: nat] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ A3 )
         => ( ( ord_less @ A @ A3 @ ( one_one @ A ) )
           => ( ord_less @ A @ ( power_power @ A @ A3 @ ( suc @ N ) ) @ ( one_one @ A ) ) ) ) ) ).

% power_Suc_less_one
thf(fact_1548_div__nat__eqI,axiom,
    ! [N: nat,Q6: nat,M: nat] :
      ( ( ord_less_eq @ nat @ ( times_times @ nat @ N @ Q6 ) @ M )
     => ( ( ord_less @ nat @ M @ ( times_times @ nat @ N @ ( suc @ Q6 ) ) )
       => ( ( divide_divide @ nat @ M @ N )
          = Q6 ) ) ) ).

% div_nat_eqI
thf(fact_1549_split__div_H,axiom,
    ! [P2: nat > $o,M: nat,N: nat] :
      ( ( P2 @ ( divide_divide @ nat @ M @ N ) )
      = ( ( ( N
            = ( zero_zero @ nat ) )
          & ( P2 @ ( zero_zero @ nat ) ) )
        | ? [Q8: nat] :
            ( ( ord_less_eq @ nat @ ( times_times @ nat @ N @ Q8 ) @ M )
            & ( ord_less @ nat @ M @ ( times_times @ nat @ N @ ( suc @ Q8 ) ) )
            & ( P2 @ Q8 ) ) ) ) ).

% split_div'
thf(fact_1550_option_Osize__gen_I2_J,axiom,
    ! [A: $tType,X: A > nat,X2: A] :
      ( ( size_option @ A @ X @ ( some @ A @ X2 ) )
      = ( plus_plus @ nat @ ( X @ X2 ) @ ( suc @ ( zero_zero @ nat ) ) ) ) ).

% option.size_gen(2)
thf(fact_1551_Heap_Osize__gen,axiom,
    ! [A: $tType,Xa: A > nat,X: ( heap_ext @ product_unit ) > ( option @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) )] :
      ( ( heap_Time_size_Heap @ A @ Xa @ ( heap_Time_Heap2 @ A @ X ) )
      = ( suc @ ( zero_zero @ nat ) ) ) ).

% Heap.size_gen
thf(fact_1552_option_Osize__gen_I1_J,axiom,
    ! [A: $tType,X: A > nat] :
      ( ( size_option @ A @ X @ ( none @ A ) )
      = ( suc @ ( zero_zero @ nat ) ) ) ).

% option.size_gen(1)
thf(fact_1553_Heap_Osize_I2_J,axiom,
    ! [A: $tType,X: ( heap_ext @ product_unit ) > ( option @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) )] :
      ( ( size_size @ ( heap_Time_Heap @ A ) @ ( heap_Time_Heap2 @ A @ X ) )
      = ( suc @ ( zero_zero @ nat ) ) ) ).

% Heap.size(2)
thf(fact_1554_eucl__rel__int__iff,axiom,
    ! [K2: int,L: int,Q6: int,R3: int] :
      ( ( eucl_rel_int @ K2 @ L @ ( product_Pair @ int @ int @ Q6 @ R3 ) )
      = ( ( K2
          = ( plus_plus @ int @ ( times_times @ int @ L @ Q6 ) @ R3 ) )
        & ( ( ord_less @ int @ ( zero_zero @ int ) @ L )
         => ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ R3 )
            & ( ord_less @ int @ R3 @ L ) ) )
        & ( ~ ( ord_less @ int @ ( zero_zero @ int ) @ L )
         => ( ( ( ord_less @ int @ L @ ( zero_zero @ int ) )
             => ( ( ord_less @ int @ L @ R3 )
                & ( ord_less_eq @ int @ R3 @ ( zero_zero @ int ) ) ) )
            & ( ~ ( ord_less @ int @ L @ ( zero_zero @ int ) )
             => ( Q6
                = ( zero_zero @ int ) ) ) ) ) ) ) ).

% eucl_rel_int_iff
thf(fact_1555_size__neq__size__imp__neq,axiom,
    ! [A: $tType] :
      ( ( size @ A )
     => ! [X: A,Y: A] :
          ( ( ( size_size @ A @ X )
           != ( size_size @ A @ Y ) )
         => ( X != Y ) ) ) ).

% size_neq_size_imp_neq
thf(fact_1556_Heap_Osize__neq,axiom,
    ! [A: $tType,X: heap_Time_Heap @ A] :
      ( ( size_size @ ( heap_Time_Heap @ A ) @ X )
     != ( zero_zero @ nat ) ) ).

% Heap.size_neq
thf(fact_1557_upto_Opinduct,axiom,
    ! [A0: int,A1: int,P2: int > int > $o] :
      ( ( accp @ ( product_prod @ int @ int ) @ upto_rel @ ( product_Pair @ int @ int @ A0 @ A1 ) )
     => ( ! [I3: int,J3: int] :
            ( ( accp @ ( product_prod @ int @ int ) @ upto_rel @ ( product_Pair @ int @ int @ I3 @ J3 ) )
           => ( ( ( ord_less_eq @ int @ I3 @ J3 )
               => ( P2 @ ( plus_plus @ int @ I3 @ ( one_one @ int ) ) @ J3 ) )
             => ( P2 @ I3 @ J3 ) ) )
       => ( P2 @ A0 @ A1 ) ) ) ).

% upto.pinduct
thf(fact_1558_option_Osize_I3_J,axiom,
    ! [A: $tType] :
      ( ( size_size @ ( option @ A ) @ ( none @ A ) )
      = ( suc @ ( zero_zero @ nat ) ) ) ).

% option.size(3)
thf(fact_1559_option_Osize_I4_J,axiom,
    ! [A: $tType,X2: A] :
      ( ( size_size @ ( option @ A ) @ ( some @ A @ X2 ) )
      = ( suc @ ( zero_zero @ nat ) ) ) ).

% option.size(4)
thf(fact_1560_div__pos__neg__trivial,axiom,
    ! [K2: int,L: int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ K2 )
     => ( ( ord_less_eq @ int @ ( plus_plus @ int @ K2 @ L ) @ ( zero_zero @ int ) )
       => ( ( divide_divide @ int @ K2 @ L )
          = ( uminus_uminus @ int @ ( one_one @ int ) ) ) ) ) ).

% div_pos_neg_trivial
thf(fact_1561_div__pos__geq,axiom,
    ! [L: int,K2: int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ L )
     => ( ( ord_less_eq @ int @ L @ K2 )
       => ( ( divide_divide @ int @ K2 @ L )
          = ( plus_plus @ int @ ( divide_divide @ int @ ( minus_minus @ int @ K2 @ L ) @ L ) @ ( one_one @ int ) ) ) ) ) ).

% div_pos_geq
thf(fact_1562_int__power__div__base,axiom,
    ! [M: nat,K2: int] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ M )
     => ( ( ord_less @ int @ ( zero_zero @ int ) @ K2 )
       => ( ( divide_divide @ int @ ( power_power @ int @ K2 @ M ) @ K2 )
          = ( power_power @ int @ K2 @ ( minus_minus @ nat @ M @ ( suc @ ( zero_zero @ nat ) ) ) ) ) ) ) ).

% int_power_div_base
thf(fact_1563_one__less__nat__eq,axiom,
    ! [Z4: int] :
      ( ( ord_less @ nat @ ( suc @ ( zero_zero @ nat ) ) @ ( nat2 @ Z4 ) )
      = ( ord_less @ int @ ( one_one @ int ) @ Z4 ) ) ).

% one_less_nat_eq
thf(fact_1564_Ref__Time_Opresent__def,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ( ( ref_present @ A )
        = ( ^ [H7: heap_ext @ product_unit,R5: ref @ A] : ( ord_less @ nat @ ( addr_of_ref @ A @ R5 ) @ ( lim @ product_unit @ H7 ) ) ) ) ) ).

% Ref_Time.present_def
thf(fact_1565_verit__minus__simplify_I4_J,axiom,
    ! [B: $tType] :
      ( ( group_add @ B )
     => ! [B2: B] :
          ( ( uminus_uminus @ B @ ( uminus_uminus @ B @ B2 ) )
          = B2 ) ) ).

% verit_minus_simplify(4)
thf(fact_1566_compl__le__compl__iff,axiom,
    ! [A: $tType] :
      ( ( boolea8198339166811842893lgebra @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less_eq @ A @ ( uminus_uminus @ A @ X ) @ ( uminus_uminus @ A @ Y ) )
          = ( ord_less_eq @ A @ Y @ X ) ) ) ).

% compl_le_compl_iff
thf(fact_1567_neg__le__iff__le,axiom,
    ! [A: $tType] :
      ( ( ordered_ab_group_add @ A )
     => ! [B2: A,A3: A] :
          ( ( ord_less_eq @ A @ ( uminus_uminus @ A @ B2 ) @ ( uminus_uminus @ A @ A3 ) )
          = ( ord_less_eq @ A @ A3 @ B2 ) ) ) ).

% neg_le_iff_le
thf(fact_1568_add__diff__cancel__right_H,axiom,
    ! [A: $tType] :
      ( ( cancel2418104881723323429up_add @ A )
     => ! [A3: A,B2: A] :
          ( ( minus_minus @ A @ ( plus_plus @ A @ A3 @ B2 ) @ B2 )
          = A3 ) ) ).

% add_diff_cancel_right'
thf(fact_1569_add__diff__cancel__right,axiom,
    ! [A: $tType] :
      ( ( cancel2418104881723323429up_add @ A )
     => ! [A3: A,C3: A,B2: A] :
          ( ( minus_minus @ A @ ( plus_plus @ A @ A3 @ C3 ) @ ( plus_plus @ A @ B2 @ C3 ) )
          = ( minus_minus @ A @ A3 @ B2 ) ) ) ).

% add_diff_cancel_right
thf(fact_1570_add__diff__cancel__left_H,axiom,
    ! [A: $tType] :
      ( ( cancel2418104881723323429up_add @ A )
     => ! [A3: A,B2: A] :
          ( ( minus_minus @ A @ ( plus_plus @ A @ A3 @ B2 ) @ A3 )
          = B2 ) ) ).

% add_diff_cancel_left'
thf(fact_1571_add__diff__cancel__left,axiom,
    ! [A: $tType] :
      ( ( cancel2418104881723323429up_add @ A )
     => ! [C3: A,A3: A,B2: A] :
          ( ( minus_minus @ A @ ( plus_plus @ A @ C3 @ A3 ) @ ( plus_plus @ A @ C3 @ B2 ) )
          = ( minus_minus @ A @ A3 @ B2 ) ) ) ).

% add_diff_cancel_left
thf(fact_1572_diff__add__cancel,axiom,
    ! [A: $tType] :
      ( ( group_add @ A )
     => ! [A3: A,B2: A] :
          ( ( plus_plus @ A @ ( minus_minus @ A @ A3 @ B2 ) @ B2 )
          = A3 ) ) ).

% diff_add_cancel
thf(fact_1573_add__diff__cancel,axiom,
    ! [A: $tType] :
      ( ( group_add @ A )
     => ! [A3: A,B2: A] :
          ( ( minus_minus @ A @ ( plus_plus @ A @ A3 @ B2 ) @ B2 )
          = A3 ) ) ).

% add_diff_cancel
thf(fact_1574_compl__less__compl__iff,axiom,
    ! [A: $tType] :
      ( ( boolea8198339166811842893lgebra @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less @ A @ ( uminus_uminus @ A @ X ) @ ( uminus_uminus @ A @ Y ) )
          = ( ord_less @ A @ Y @ X ) ) ) ).

% compl_less_compl_iff
thf(fact_1575_neg__less__iff__less,axiom,
    ! [A: $tType] :
      ( ( ordered_ab_group_add @ A )
     => ! [B2: A,A3: A] :
          ( ( ord_less @ A @ ( uminus_uminus @ A @ B2 ) @ ( uminus_uminus @ A @ A3 ) )
          = ( ord_less @ A @ A3 @ B2 ) ) ) ).

% neg_less_iff_less
thf(fact_1576_minus__add__distrib,axiom,
    ! [A: $tType] :
      ( ( ab_group_add @ A )
     => ! [A3: A,B2: A] :
          ( ( uminus_uminus @ A @ ( plus_plus @ A @ A3 @ B2 ) )
          = ( plus_plus @ A @ ( uminus_uminus @ A @ A3 ) @ ( uminus_uminus @ A @ B2 ) ) ) ) ).

% minus_add_distrib
thf(fact_1577_minus__add__cancel,axiom,
    ! [A: $tType] :
      ( ( group_add @ A )
     => ! [A3: A,B2: A] :
          ( ( plus_plus @ A @ ( uminus_uminus @ A @ A3 ) @ ( plus_plus @ A @ A3 @ B2 ) )
          = B2 ) ) ).

% minus_add_cancel
thf(fact_1578_add__minus__cancel,axiom,
    ! [A: $tType] :
      ( ( group_add @ A )
     => ! [A3: A,B2: A] :
          ( ( plus_plus @ A @ A3 @ ( plus_plus @ A @ ( uminus_uminus @ A @ A3 ) @ B2 ) )
          = B2 ) ) ).

% add_minus_cancel
thf(fact_1579_diff__0__eq__0,axiom,
    ! [N: nat] :
      ( ( minus_minus @ nat @ ( zero_zero @ nat ) @ N )
      = ( zero_zero @ nat ) ) ).

% diff_0_eq_0
thf(fact_1580_diff__self__eq__0,axiom,
    ! [M: nat] :
      ( ( minus_minus @ nat @ M @ M )
      = ( zero_zero @ nat ) ) ).

% diff_self_eq_0
thf(fact_1581_diff__Suc__Suc,axiom,
    ! [M: nat,N: nat] :
      ( ( minus_minus @ nat @ ( suc @ M ) @ ( suc @ N ) )
      = ( minus_minus @ nat @ M @ N ) ) ).

% diff_Suc_Suc
thf(fact_1582_Suc__diff__diff,axiom,
    ! [M: nat,N: nat,K2: nat] :
      ( ( minus_minus @ nat @ ( minus_minus @ nat @ ( suc @ M ) @ N ) @ ( suc @ K2 ) )
      = ( minus_minus @ nat @ ( minus_minus @ nat @ M @ N ) @ K2 ) ) ).

% Suc_diff_diff
thf(fact_1583_diff__diff__cancel,axiom,
    ! [I2: nat,N: nat] :
      ( ( ord_less_eq @ nat @ I2 @ N )
     => ( ( minus_minus @ nat @ N @ ( minus_minus @ nat @ N @ I2 ) )
        = I2 ) ) ).

% diff_diff_cancel
thf(fact_1584_diff__diff__left,axiom,
    ! [I2: nat,J2: nat,K2: nat] :
      ( ( minus_minus @ nat @ ( minus_minus @ nat @ I2 @ J2 ) @ K2 )
      = ( minus_minus @ nat @ I2 @ ( plus_plus @ nat @ J2 @ K2 ) ) ) ).

% diff_diff_left
thf(fact_1585_diff__ge__0__iff__ge,axiom,
    ! [A: $tType] :
      ( ( ordered_ab_group_add @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( minus_minus @ A @ A3 @ B2 ) )
          = ( ord_less_eq @ A @ B2 @ A3 ) ) ) ).

% diff_ge_0_iff_ge
thf(fact_1586_zero__comp__diff__simps_I1_J,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( minus_minus @ A @ A3 @ B2 ) )
          = ( ord_less_eq @ A @ B2 @ A3 ) ) ) ).

% zero_comp_diff_simps(1)
thf(fact_1587_diff__gt__0__iff__gt,axiom,
    ! [A: $tType] :
      ( ( ordered_ab_group_add @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ ( minus_minus @ A @ A3 @ B2 ) )
          = ( ord_less @ A @ B2 @ A3 ) ) ) ).

% diff_gt_0_iff_gt
thf(fact_1588_zero__comp__diff__simps_I2_J,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ ( minus_minus @ A @ A3 @ B2 ) )
          = ( ord_less @ A @ B2 @ A3 ) ) ) ).

% zero_comp_diff_simps(2)
thf(fact_1589_neg__less__eq__nonneg,axiom,
    ! [A: $tType] :
      ( ( linord5086331880401160121up_add @ A )
     => ! [A3: A] :
          ( ( ord_less_eq @ A @ ( uminus_uminus @ A @ A3 ) @ A3 )
          = ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 ) ) ) ).

% neg_less_eq_nonneg
thf(fact_1590_less__eq__neg__nonpos,axiom,
    ! [A: $tType] :
      ( ( linord5086331880401160121up_add @ A )
     => ! [A3: A] :
          ( ( ord_less_eq @ A @ A3 @ ( uminus_uminus @ A @ A3 ) )
          = ( ord_less_eq @ A @ A3 @ ( zero_zero @ A ) ) ) ) ).

% less_eq_neg_nonpos
thf(fact_1591_neg__le__0__iff__le,axiom,
    ! [A: $tType] :
      ( ( ordered_ab_group_add @ A )
     => ! [A3: A] :
          ( ( ord_less_eq @ A @ ( uminus_uminus @ A @ A3 ) @ ( zero_zero @ A ) )
          = ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 ) ) ) ).

% neg_le_0_iff_le
thf(fact_1592_neg__0__le__iff__le,axiom,
    ! [A: $tType] :
      ( ( ordered_ab_group_add @ A )
     => ! [A3: A] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( uminus_uminus @ A @ A3 ) )
          = ( ord_less_eq @ A @ A3 @ ( zero_zero @ A ) ) ) ) ).

% neg_0_le_iff_le
thf(fact_1593_le__add__diff__inverse,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [B2: A,A3: A] :
          ( ( ord_less_eq @ A @ B2 @ A3 )
         => ( ( plus_plus @ A @ B2 @ ( minus_minus @ A @ A3 @ B2 ) )
            = A3 ) ) ) ).

% le_add_diff_inverse
thf(fact_1594_le__add__diff__inverse2,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [B2: A,A3: A] :
          ( ( ord_less_eq @ A @ B2 @ A3 )
         => ( ( plus_plus @ A @ ( minus_minus @ A @ A3 @ B2 ) @ B2 )
            = A3 ) ) ) ).

% le_add_diff_inverse2
thf(fact_1595_diff__add__zero,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_diff @ A )
     => ! [A3: A,B2: A] :
          ( ( minus_minus @ A @ A3 @ ( plus_plus @ A @ A3 @ B2 ) )
          = ( zero_zero @ A ) ) ) ).

% diff_add_zero
thf(fact_1596_less__neg__neg,axiom,
    ! [A: $tType] :
      ( ( linord5086331880401160121up_add @ A )
     => ! [A3: A] :
          ( ( ord_less @ A @ A3 @ ( uminus_uminus @ A @ A3 ) )
          = ( ord_less @ A @ A3 @ ( zero_zero @ A ) ) ) ) ).

% less_neg_neg
thf(fact_1597_neg__less__pos,axiom,
    ! [A: $tType] :
      ( ( linord5086331880401160121up_add @ A )
     => ! [A3: A] :
          ( ( ord_less @ A @ ( uminus_uminus @ A @ A3 ) @ A3 )
          = ( ord_less @ A @ ( zero_zero @ A ) @ A3 ) ) ) ).

% neg_less_pos
thf(fact_1598_neg__0__less__iff__less,axiom,
    ! [A: $tType] :
      ( ( ordered_ab_group_add @ A )
     => ! [A3: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ ( uminus_uminus @ A @ A3 ) )
          = ( ord_less @ A @ A3 @ ( zero_zero @ A ) ) ) ) ).

% neg_0_less_iff_less
thf(fact_1599_neg__less__0__iff__less,axiom,
    ! [A: $tType] :
      ( ( ordered_ab_group_add @ A )
     => ! [A3: A] :
          ( ( ord_less @ A @ ( uminus_uminus @ A @ A3 ) @ ( zero_zero @ A ) )
          = ( ord_less @ A @ ( zero_zero @ A ) @ A3 ) ) ) ).

% neg_less_0_iff_less
thf(fact_1600_add_Oright__inverse,axiom,
    ! [A: $tType] :
      ( ( group_add @ A )
     => ! [A3: A] :
          ( ( plus_plus @ A @ A3 @ ( uminus_uminus @ A @ A3 ) )
          = ( zero_zero @ A ) ) ) ).

% add.right_inverse
thf(fact_1601_ab__left__minus,axiom,
    ! [A: $tType] :
      ( ( group_add @ A )
     => ! [A3: A] :
          ( ( plus_plus @ A @ ( uminus_uminus @ A @ A3 ) @ A3 )
          = ( zero_zero @ A ) ) ) ).

% ab_left_minus
thf(fact_1602_verit__minus__simplify_I3_J,axiom,
    ! [B: $tType] :
      ( ( group_add @ B )
     => ! [B2: B] :
          ( ( minus_minus @ B @ ( zero_zero @ B ) @ B2 )
          = ( uminus_uminus @ B @ B2 ) ) ) ).

% verit_minus_simplify(3)
thf(fact_1603_diff__minus__eq__add,axiom,
    ! [A: $tType] :
      ( ( group_add @ A )
     => ! [A3: A,B2: A] :
          ( ( minus_minus @ A @ A3 @ ( uminus_uminus @ A @ B2 ) )
          = ( plus_plus @ A @ A3 @ B2 ) ) ) ).

% diff_minus_eq_add
thf(fact_1604_uminus__add__conv__diff,axiom,
    ! [A: $tType] :
      ( ( ab_group_add @ A )
     => ! [A3: A,B2: A] :
          ( ( plus_plus @ A @ ( uminus_uminus @ A @ A3 ) @ B2 )
          = ( minus_minus @ A @ B2 @ A3 ) ) ) ).

% uminus_add_conv_diff
thf(fact_1605_boolean__algebra_Ode__Morgan__disj,axiom,
    ! [A: $tType] :
      ( ( boolea8198339166811842893lgebra @ A )
     => ! [X: A,Y: A] :
          ( ( uminus_uminus @ A @ ( sup_sup @ A @ X @ Y ) )
          = ( inf_inf @ A @ ( uminus_uminus @ A @ X ) @ ( uminus_uminus @ A @ Y ) ) ) ) ).

% boolean_algebra.de_Morgan_disj
thf(fact_1606_boolean__algebra_Ode__Morgan__conj,axiom,
    ! [A: $tType] :
      ( ( boolea8198339166811842893lgebra @ A )
     => ! [X: A,Y: A] :
          ( ( uminus_uminus @ A @ ( inf_inf @ A @ X @ Y ) )
          = ( sup_sup @ A @ ( uminus_uminus @ A @ X ) @ ( uminus_uminus @ A @ Y ) ) ) ) ).

% boolean_algebra.de_Morgan_conj
thf(fact_1607_zero__less__diff,axiom,
    ! [N: nat,M: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ ( minus_minus @ nat @ N @ M ) )
      = ( ord_less @ nat @ M @ N ) ) ).

% zero_less_diff
thf(fact_1608_diff__is__0__eq_H,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ M @ N )
     => ( ( minus_minus @ nat @ M @ N )
        = ( zero_zero @ nat ) ) ) ).

% diff_is_0_eq'
thf(fact_1609_diff__is__0__eq,axiom,
    ! [M: nat,N: nat] :
      ( ( ( minus_minus @ nat @ M @ N )
        = ( zero_zero @ nat ) )
      = ( ord_less_eq @ nat @ M @ N ) ) ).

% diff_is_0_eq
thf(fact_1610_Nat_Odiff__diff__right,axiom,
    ! [K2: nat,J2: nat,I2: nat] :
      ( ( ord_less_eq @ nat @ K2 @ J2 )
     => ( ( minus_minus @ nat @ I2 @ ( minus_minus @ nat @ J2 @ K2 ) )
        = ( minus_minus @ nat @ ( plus_plus @ nat @ I2 @ K2 ) @ J2 ) ) ) ).

% Nat.diff_diff_right
thf(fact_1611_Nat_Oadd__diff__assoc2,axiom,
    ! [K2: nat,J2: nat,I2: nat] :
      ( ( ord_less_eq @ nat @ K2 @ J2 )
     => ( ( plus_plus @ nat @ ( minus_minus @ nat @ J2 @ K2 ) @ I2 )
        = ( minus_minus @ nat @ ( plus_plus @ nat @ J2 @ I2 ) @ K2 ) ) ) ).

% Nat.add_diff_assoc2
thf(fact_1612_Nat_Oadd__diff__assoc,axiom,
    ! [K2: nat,J2: nat,I2: nat] :
      ( ( ord_less_eq @ nat @ K2 @ J2 )
     => ( ( plus_plus @ nat @ I2 @ ( minus_minus @ nat @ J2 @ K2 ) )
        = ( minus_minus @ nat @ ( plus_plus @ nat @ I2 @ J2 ) @ K2 ) ) ) ).

% Nat.add_diff_assoc
thf(fact_1613_diff__Suc__1,axiom,
    ! [N: nat] :
      ( ( minus_minus @ nat @ ( suc @ N ) @ ( one_one @ nat ) )
      = N ) ).

% diff_Suc_1
thf(fact_1614_negative__zle,axiom,
    ! [N: nat,M: nat] : ( ord_less_eq @ int @ ( uminus_uminus @ int @ ( semiring_1_of_nat @ int @ N ) ) @ ( semiring_1_of_nat @ int @ M ) ) ).

% negative_zle
thf(fact_1615_add__neg__numeral__special_I7_J,axiom,
    ! [A: $tType] :
      ( ( neg_numeral @ A )
     => ( ( plus_plus @ A @ ( one_one @ A ) @ ( uminus_uminus @ A @ ( one_one @ A ) ) )
        = ( zero_zero @ A ) ) ) ).

% add_neg_numeral_special(7)
thf(fact_1616_add__neg__numeral__special_I8_J,axiom,
    ! [A: $tType] :
      ( ( neg_numeral @ A )
     => ( ( plus_plus @ A @ ( uminus_uminus @ A @ ( one_one @ A ) ) @ ( one_one @ A ) )
        = ( zero_zero @ A ) ) ) ).

% add_neg_numeral_special(8)
thf(fact_1617_Suc__pred,axiom,
    ! [N: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
     => ( ( suc @ ( minus_minus @ nat @ N @ ( suc @ ( zero_zero @ nat ) ) ) )
        = N ) ) ).

% Suc_pred
thf(fact_1618_diff__Suc__diff__eq1,axiom,
    ! [K2: nat,J2: nat,I2: nat] :
      ( ( ord_less_eq @ nat @ K2 @ J2 )
     => ( ( minus_minus @ nat @ I2 @ ( suc @ ( minus_minus @ nat @ J2 @ K2 ) ) )
        = ( minus_minus @ nat @ ( plus_plus @ nat @ I2 @ K2 ) @ ( suc @ J2 ) ) ) ) ).

% diff_Suc_diff_eq1
thf(fact_1619_diff__Suc__diff__eq2,axiom,
    ! [K2: nat,J2: nat,I2: nat] :
      ( ( ord_less_eq @ nat @ K2 @ J2 )
     => ( ( minus_minus @ nat @ ( suc @ ( minus_minus @ nat @ J2 @ K2 ) ) @ I2 )
        = ( minus_minus @ nat @ ( suc @ J2 ) @ ( plus_plus @ nat @ K2 @ I2 ) ) ) ) ).

% diff_Suc_diff_eq2
thf(fact_1620_Suc__diff,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ M @ N )
     => ( ( ord_less_eq @ nat @ ( one_one @ nat ) @ M )
       => ( ( suc @ ( minus_minus @ nat @ N @ M ) )
          = ( minus_minus @ nat @ N @ ( minus_minus @ nat @ M @ ( one_one @ nat ) ) ) ) ) ) ).

% Suc_diff
thf(fact_1621_nat__le__0,axiom,
    ! [Z4: int] :
      ( ( ord_less_eq @ int @ Z4 @ ( zero_zero @ int ) )
     => ( ( nat2 @ Z4 )
        = ( zero_zero @ nat ) ) ) ).

% nat_le_0
thf(fact_1622_nat__0__iff,axiom,
    ! [I2: int] :
      ( ( ( nat2 @ I2 )
        = ( zero_zero @ nat ) )
      = ( ord_less_eq @ int @ I2 @ ( zero_zero @ int ) ) ) ).

% nat_0_iff
thf(fact_1623_zless__nat__conj,axiom,
    ! [W2: int,Z4: int] :
      ( ( ord_less @ nat @ ( nat2 @ W2 ) @ ( nat2 @ Z4 ) )
      = ( ( ord_less @ int @ ( zero_zero @ int ) @ Z4 )
        & ( ord_less @ int @ W2 @ Z4 ) ) ) ).

% zless_nat_conj
thf(fact_1624_negative__zless,axiom,
    ! [N: nat,M: nat] : ( ord_less @ int @ ( uminus_uminus @ int @ ( semiring_1_of_nat @ int @ ( suc @ N ) ) ) @ ( semiring_1_of_nat @ int @ M ) ) ).

% negative_zless
thf(fact_1625_int__nat__eq,axiom,
    ! [Z4: int] :
      ( ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ Z4 )
       => ( ( semiring_1_of_nat @ int @ ( nat2 @ Z4 ) )
          = Z4 ) )
      & ( ~ ( ord_less_eq @ int @ ( zero_zero @ int ) @ Z4 )
       => ( ( semiring_1_of_nat @ int @ ( nat2 @ Z4 ) )
          = ( zero_zero @ int ) ) ) ) ).

% int_nat_eq
thf(fact_1626_zle__diff1__eq,axiom,
    ! [W2: int,Z4: int] :
      ( ( ord_less_eq @ int @ W2 @ ( minus_minus @ int @ Z4 @ ( one_one @ int ) ) )
      = ( ord_less @ int @ W2 @ Z4 ) ) ).

% zle_diff1_eq
thf(fact_1627_Suc__diff__1,axiom,
    ! [N: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
     => ( ( suc @ ( minus_minus @ nat @ N @ ( one_one @ nat ) ) )
        = N ) ) ).

% Suc_diff_1
thf(fact_1628_zero__less__nat__eq,axiom,
    ! [Z4: int] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ ( nat2 @ Z4 ) )
      = ( ord_less @ int @ ( zero_zero @ int ) @ Z4 ) ) ).

% zero_less_nat_eq
thf(fact_1629_verit__negate__coefficient_I3_J,axiom,
    ! [A: $tType] :
      ( ( ordered_ab_group_add @ A )
     => ! [A3: A,B2: A] :
          ( ( A3 = B2 )
         => ( ( uminus_uminus @ A @ A3 )
            = ( uminus_uminus @ A @ B2 ) ) ) ) ).

% verit_negate_coefficient(3)
thf(fact_1630_diff__commute,axiom,
    ! [I2: nat,J2: nat,K2: nat] :
      ( ( minus_minus @ nat @ ( minus_minus @ nat @ I2 @ J2 ) @ K2 )
      = ( minus_minus @ nat @ ( minus_minus @ nat @ I2 @ K2 ) @ J2 ) ) ).

% diff_commute
thf(fact_1631_nat__diff__distrib_H,axiom,
    ! [X: int,Y: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ X )
     => ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ Y )
       => ( ( nat2 @ ( minus_minus @ int @ X @ Y ) )
          = ( minus_minus @ nat @ ( nat2 @ X ) @ ( nat2 @ Y ) ) ) ) ) ).

% nat_diff_distrib'
thf(fact_1632_nat__diff__distrib,axiom,
    ! [Z8: int,Z4: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ Z8 )
     => ( ( ord_less_eq @ int @ Z8 @ Z4 )
       => ( ( nat2 @ ( minus_minus @ int @ Z4 @ Z8 ) )
          = ( minus_minus @ nat @ ( nat2 @ Z4 ) @ ( nat2 @ Z8 ) ) ) ) ) ).

% nat_diff_distrib
thf(fact_1633_group__cancel_Osub2,axiom,
    ! [A: $tType] :
      ( ( ab_group_add @ A )
     => ! [B6: A,K2: A,B2: A,A3: A] :
          ( ( B6
            = ( plus_plus @ A @ K2 @ B2 ) )
         => ( ( minus_minus @ A @ A3 @ B6 )
            = ( plus_plus @ A @ ( uminus_uminus @ A @ K2 ) @ ( minus_minus @ A @ A3 @ B2 ) ) ) ) ) ).

% group_cancel.sub2
thf(fact_1634_diff__conv__add__uminus,axiom,
    ! [A: $tType] :
      ( ( group_add @ A )
     => ( ( minus_minus @ A )
        = ( ^ [A7: A,B5: A] : ( plus_plus @ A @ A7 @ ( uminus_uminus @ A @ B5 ) ) ) ) ) ).

% diff_conv_add_uminus
thf(fact_1635_ab__group__add__class_Oab__diff__conv__add__uminus,axiom,
    ! [A: $tType] :
      ( ( ab_group_add @ A )
     => ( ( minus_minus @ A )
        = ( ^ [A7: A,B5: A] : ( plus_plus @ A @ A7 @ ( uminus_uminus @ A @ B5 ) ) ) ) ) ).

% ab_group_add_class.ab_diff_conv_add_uminus
thf(fact_1636_int__minus,axiom,
    ! [N: nat,M: nat] :
      ( ( semiring_1_of_nat @ int @ ( minus_minus @ nat @ N @ M ) )
      = ( semiring_1_of_nat @ int @ ( nat2 @ ( minus_minus @ int @ ( semiring_1_of_nat @ int @ N ) @ ( semiring_1_of_nat @ int @ M ) ) ) ) ) ).

% int_minus
thf(fact_1637_nat__minus__as__int,axiom,
    ( ( minus_minus @ nat )
    = ( ^ [A7: nat,B5: nat] : ( nat2 @ ( minus_minus @ int @ ( semiring_1_of_nat @ int @ A7 ) @ ( semiring_1_of_nat @ int @ B5 ) ) ) ) ) ).

% nat_minus_as_int
thf(fact_1638_of__nat__diff,axiom,
    ! [A: $tType] :
      ( ( semiring_1_cancel @ A )
     => ! [N: nat,M: nat] :
          ( ( ord_less_eq @ nat @ N @ M )
         => ( ( semiring_1_of_nat @ A @ ( minus_minus @ nat @ M @ N ) )
            = ( minus_minus @ A @ ( semiring_1_of_nat @ A @ M ) @ ( semiring_1_of_nat @ A @ N ) ) ) ) ) ).

% of_nat_diff
thf(fact_1639_diff__nat__eq__if,axiom,
    ! [Z8: int,Z4: int] :
      ( ( ( ord_less @ int @ Z8 @ ( zero_zero @ int ) )
       => ( ( minus_minus @ nat @ ( nat2 @ Z4 ) @ ( nat2 @ Z8 ) )
          = ( nat2 @ Z4 ) ) )
      & ( ~ ( ord_less @ int @ Z8 @ ( zero_zero @ int ) )
       => ( ( minus_minus @ nat @ ( nat2 @ Z4 ) @ ( nat2 @ Z8 ) )
          = ( if @ nat @ ( ord_less @ int @ ( minus_minus @ int @ Z4 @ Z8 ) @ ( zero_zero @ int ) ) @ ( zero_zero @ nat ) @ ( nat2 @ ( minus_minus @ int @ Z4 @ Z8 ) ) ) ) ) ) ).

% diff_nat_eq_if
thf(fact_1640_diff__eq__diff__less__eq,axiom,
    ! [A: $tType] :
      ( ( ordered_ab_group_add @ A )
     => ! [A3: A,B2: A,C3: A,D3: A] :
          ( ( ( minus_minus @ A @ A3 @ B2 )
            = ( minus_minus @ A @ C3 @ D3 ) )
         => ( ( ord_less_eq @ A @ A3 @ B2 )
            = ( ord_less_eq @ A @ C3 @ D3 ) ) ) ) ).

% diff_eq_diff_less_eq
thf(fact_1641_diff__right__mono,axiom,
    ! [A: $tType] :
      ( ( ordered_ab_group_add @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ord_less_eq @ A @ ( minus_minus @ A @ A3 @ C3 ) @ ( minus_minus @ A @ B2 @ C3 ) ) ) ) ).

% diff_right_mono
thf(fact_1642_diff__left__mono,axiom,
    ! [A: $tType] :
      ( ( ordered_ab_group_add @ A )
     => ! [B2: A,A3: A,C3: A] :
          ( ( ord_less_eq @ A @ B2 @ A3 )
         => ( ord_less_eq @ A @ ( minus_minus @ A @ C3 @ A3 ) @ ( minus_minus @ A @ C3 @ B2 ) ) ) ) ).

% diff_left_mono
thf(fact_1643_diff__mono,axiom,
    ! [A: $tType] :
      ( ( ordered_ab_group_add @ A )
     => ! [A3: A,B2: A,D3: A,C3: A] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ( ord_less_eq @ A @ D3 @ C3 )
           => ( ord_less_eq @ A @ ( minus_minus @ A @ A3 @ C3 ) @ ( minus_minus @ A @ B2 @ D3 ) ) ) ) ) ).

% diff_mono
thf(fact_1644_diff__strict__right__mono,axiom,
    ! [A: $tType] :
      ( ( ordered_ab_group_add @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ( ord_less @ A @ ( minus_minus @ A @ A3 @ C3 ) @ ( minus_minus @ A @ B2 @ C3 ) ) ) ) ).

% diff_strict_right_mono
thf(fact_1645_diff__strict__left__mono,axiom,
    ! [A: $tType] :
      ( ( ordered_ab_group_add @ A )
     => ! [B2: A,A3: A,C3: A] :
          ( ( ord_less @ A @ B2 @ A3 )
         => ( ord_less @ A @ ( minus_minus @ A @ C3 @ A3 ) @ ( minus_minus @ A @ C3 @ B2 ) ) ) ) ).

% diff_strict_left_mono
thf(fact_1646_diff__eq__diff__less,axiom,
    ! [A: $tType] :
      ( ( ordered_ab_group_add @ A )
     => ! [A3: A,B2: A,C3: A,D3: A] :
          ( ( ( minus_minus @ A @ A3 @ B2 )
            = ( minus_minus @ A @ C3 @ D3 ) )
         => ( ( ord_less @ A @ A3 @ B2 )
            = ( ord_less @ A @ C3 @ D3 ) ) ) ) ).

% diff_eq_diff_less
thf(fact_1647_diff__strict__mono,axiom,
    ! [A: $tType] :
      ( ( ordered_ab_group_add @ A )
     => ! [A3: A,B2: A,D3: A,C3: A] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ( ( ord_less @ A @ D3 @ C3 )
           => ( ord_less @ A @ ( minus_minus @ A @ A3 @ C3 ) @ ( minus_minus @ A @ B2 @ D3 ) ) ) ) ) ).

% diff_strict_mono
thf(fact_1648_diff__diff__eq,axiom,
    ! [A: $tType] :
      ( ( cancel2418104881723323429up_add @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( minus_minus @ A @ ( minus_minus @ A @ A3 @ B2 ) @ C3 )
          = ( minus_minus @ A @ A3 @ ( plus_plus @ A @ B2 @ C3 ) ) ) ) ).

% diff_diff_eq
thf(fact_1649_add__implies__diff,axiom,
    ! [A: $tType] :
      ( ( cancel1802427076303600483id_add @ A )
     => ! [C3: A,B2: A,A3: A] :
          ( ( ( plus_plus @ A @ C3 @ B2 )
            = A3 )
         => ( C3
            = ( minus_minus @ A @ A3 @ B2 ) ) ) ) ).

% add_implies_diff
thf(fact_1650_diff__add__eq__diff__diff__swap,axiom,
    ! [A: $tType] :
      ( ( group_add @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( minus_minus @ A @ A3 @ ( plus_plus @ A @ B2 @ C3 ) )
          = ( minus_minus @ A @ ( minus_minus @ A @ A3 @ C3 ) @ B2 ) ) ) ).

% diff_add_eq_diff_diff_swap
thf(fact_1651_diff__add__eq,axiom,
    ! [A: $tType] :
      ( ( ab_group_add @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( plus_plus @ A @ ( minus_minus @ A @ A3 @ B2 ) @ C3 )
          = ( minus_minus @ A @ ( plus_plus @ A @ A3 @ C3 ) @ B2 ) ) ) ).

% diff_add_eq
thf(fact_1652_diff__diff__eq2,axiom,
    ! [A: $tType] :
      ( ( group_add @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( minus_minus @ A @ A3 @ ( minus_minus @ A @ B2 @ C3 ) )
          = ( minus_minus @ A @ ( plus_plus @ A @ A3 @ C3 ) @ B2 ) ) ) ).

% diff_diff_eq2
thf(fact_1653_add__diff__eq,axiom,
    ! [A: $tType] :
      ( ( group_add @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( plus_plus @ A @ A3 @ ( minus_minus @ A @ B2 @ C3 ) )
          = ( minus_minus @ A @ ( plus_plus @ A @ A3 @ B2 ) @ C3 ) ) ) ).

% add_diff_eq
thf(fact_1654_eq__diff__eq,axiom,
    ! [A: $tType] :
      ( ( group_add @ A )
     => ! [A3: A,C3: A,B2: A] :
          ( ( A3
            = ( minus_minus @ A @ C3 @ B2 ) )
          = ( ( plus_plus @ A @ A3 @ B2 )
            = C3 ) ) ) ).

% eq_diff_eq
thf(fact_1655_diff__eq__eq,axiom,
    ! [A: $tType] :
      ( ( group_add @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ( minus_minus @ A @ A3 @ B2 )
            = C3 )
          = ( A3
            = ( plus_plus @ A @ C3 @ B2 ) ) ) ) ).

% diff_eq_eq
thf(fact_1656_group__cancel_Osub1,axiom,
    ! [A: $tType] :
      ( ( ab_group_add @ A )
     => ! [A6: A,K2: A,A3: A,B2: A] :
          ( ( A6
            = ( plus_plus @ A @ K2 @ A3 ) )
         => ( ( minus_minus @ A @ A6 @ B2 )
            = ( plus_plus @ A @ K2 @ ( minus_minus @ A @ A3 @ B2 ) ) ) ) ) ).

% group_cancel.sub1
thf(fact_1657_inf__period_I2_J,axiom,
    ! [A: $tType] :
      ( ( ( comm_ring @ A )
        & ( dvd @ A ) )
     => ! [P2: A > $o,D5: A,Q2: A > $o] :
          ( ! [X3: A,K: A] :
              ( ( P2 @ X3 )
              = ( P2 @ ( minus_minus @ A @ X3 @ ( times_times @ A @ K @ D5 ) ) ) )
         => ( ! [X3: A,K: A] :
                ( ( Q2 @ X3 )
                = ( Q2 @ ( minus_minus @ A @ X3 @ ( times_times @ A @ K @ D5 ) ) ) )
           => ! [X6: A,K4: A] :
                ( ( ( P2 @ X6 )
                  | ( Q2 @ X6 ) )
                = ( ( P2 @ ( minus_minus @ A @ X6 @ ( times_times @ A @ K4 @ D5 ) ) )
                  | ( Q2 @ ( minus_minus @ A @ X6 @ ( times_times @ A @ K4 @ D5 ) ) ) ) ) ) ) ) ).

% inf_period(2)
thf(fact_1658_inf__period_I1_J,axiom,
    ! [A: $tType] :
      ( ( ( comm_ring @ A )
        & ( dvd @ A ) )
     => ! [P2: A > $o,D5: A,Q2: A > $o] :
          ( ! [X3: A,K: A] :
              ( ( P2 @ X3 )
              = ( P2 @ ( minus_minus @ A @ X3 @ ( times_times @ A @ K @ D5 ) ) ) )
         => ( ! [X3: A,K: A] :
                ( ( Q2 @ X3 )
                = ( Q2 @ ( minus_minus @ A @ X3 @ ( times_times @ A @ K @ D5 ) ) ) )
           => ! [X6: A,K4: A] :
                ( ( ( P2 @ X6 )
                  & ( Q2 @ X6 ) )
                = ( ( P2 @ ( minus_minus @ A @ X6 @ ( times_times @ A @ K4 @ D5 ) ) )
                  & ( Q2 @ ( minus_minus @ A @ X6 @ ( times_times @ A @ K4 @ D5 ) ) ) ) ) ) ) ) ).

% inf_period(1)
thf(fact_1659_compl__le__swap2,axiom,
    ! [A: $tType] :
      ( ( boolea8198339166811842893lgebra @ A )
     => ! [Y: A,X: A] :
          ( ( ord_less_eq @ A @ ( uminus_uminus @ A @ Y ) @ X )
         => ( ord_less_eq @ A @ ( uminus_uminus @ A @ X ) @ Y ) ) ) ).

% compl_le_swap2
thf(fact_1660_compl__le__swap1,axiom,
    ! [A: $tType] :
      ( ( boolea8198339166811842893lgebra @ A )
     => ! [Y: A,X: A] :
          ( ( ord_less_eq @ A @ Y @ ( uminus_uminus @ A @ X ) )
         => ( ord_less_eq @ A @ X @ ( uminus_uminus @ A @ Y ) ) ) ) ).

% compl_le_swap1
thf(fact_1661_compl__mono,axiom,
    ! [A: $tType] :
      ( ( boolea8198339166811842893lgebra @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less_eq @ A @ X @ Y )
         => ( ord_less_eq @ A @ ( uminus_uminus @ A @ Y ) @ ( uminus_uminus @ A @ X ) ) ) ) ).

% compl_mono
thf(fact_1662_le__imp__neg__le,axiom,
    ! [A: $tType] :
      ( ( ordered_ab_group_add @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ord_less_eq @ A @ ( uminus_uminus @ A @ B2 ) @ ( uminus_uminus @ A @ A3 ) ) ) ) ).

% le_imp_neg_le
thf(fact_1663_minus__le__iff,axiom,
    ! [A: $tType] :
      ( ( ordered_ab_group_add @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ ( uminus_uminus @ A @ A3 ) @ B2 )
          = ( ord_less_eq @ A @ ( uminus_uminus @ A @ B2 ) @ A3 ) ) ) ).

% minus_le_iff
thf(fact_1664_le__minus__iff,axiom,
    ! [A: $tType] :
      ( ( ordered_ab_group_add @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ A3 @ ( uminus_uminus @ A @ B2 ) )
          = ( ord_less_eq @ A @ B2 @ ( uminus_uminus @ A @ A3 ) ) ) ) ).

% le_minus_iff
thf(fact_1665_compl__less__swap2,axiom,
    ! [A: $tType] :
      ( ( boolea8198339166811842893lgebra @ A )
     => ! [Y: A,X: A] :
          ( ( ord_less @ A @ ( uminus_uminus @ A @ Y ) @ X )
         => ( ord_less @ A @ ( uminus_uminus @ A @ X ) @ Y ) ) ) ).

% compl_less_swap2
thf(fact_1666_compl__less__swap1,axiom,
    ! [A: $tType] :
      ( ( boolea8198339166811842893lgebra @ A )
     => ! [Y: A,X: A] :
          ( ( ord_less @ A @ Y @ ( uminus_uminus @ A @ X ) )
         => ( ord_less @ A @ X @ ( uminus_uminus @ A @ Y ) ) ) ) ).

% compl_less_swap1
thf(fact_1667_minus__less__iff,axiom,
    ! [A: $tType] :
      ( ( ordered_ab_group_add @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ ( uminus_uminus @ A @ A3 ) @ B2 )
          = ( ord_less @ A @ ( uminus_uminus @ A @ B2 ) @ A3 ) ) ) ).

% minus_less_iff
thf(fact_1668_less__minus__iff,axiom,
    ! [A: $tType] :
      ( ( ordered_ab_group_add @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ A3 @ ( uminus_uminus @ A @ B2 ) )
          = ( ord_less @ A @ B2 @ ( uminus_uminus @ A @ A3 ) ) ) ) ).

% less_minus_iff
thf(fact_1669_verit__negate__coefficient_I2_J,axiom,
    ! [A: $tType] :
      ( ( ordered_ab_group_add @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ( ord_less @ A @ ( uminus_uminus @ A @ B2 ) @ ( uminus_uminus @ A @ A3 ) ) ) ) ).

% verit_negate_coefficient(2)
thf(fact_1670_is__num__normalize_I8_J,axiom,
    ! [A: $tType] :
      ( ( neg_numeral @ A )
     => ! [A3: A,B2: A] :
          ( ( uminus_uminus @ A @ ( plus_plus @ A @ A3 @ B2 ) )
          = ( plus_plus @ A @ ( uminus_uminus @ A @ B2 ) @ ( uminus_uminus @ A @ A3 ) ) ) ) ).

% is_num_normalize(8)
thf(fact_1671_add_Oinverse__distrib__swap,axiom,
    ! [A: $tType] :
      ( ( group_add @ A )
     => ! [A3: A,B2: A] :
          ( ( uminus_uminus @ A @ ( plus_plus @ A @ A3 @ B2 ) )
          = ( plus_plus @ A @ ( uminus_uminus @ A @ B2 ) @ ( uminus_uminus @ A @ A3 ) ) ) ) ).

% add.inverse_distrib_swap
thf(fact_1672_group__cancel_Oneg1,axiom,
    ! [A: $tType] :
      ( ( ab_group_add @ A )
     => ! [A6: A,K2: A,A3: A] :
          ( ( A6
            = ( plus_plus @ A @ K2 @ A3 ) )
         => ( ( uminus_uminus @ A @ A6 )
            = ( plus_plus @ A @ ( uminus_uminus @ A @ K2 ) @ ( uminus_uminus @ A @ A3 ) ) ) ) ) ).

% group_cancel.neg1
thf(fact_1673_length__induct,axiom,
    ! [A: $tType,P2: ( list @ A ) > $o,Xs: list @ A] :
      ( ! [Xs2: list @ A] :
          ( ! [Ys: list @ A] :
              ( ( ord_less @ nat @ ( size_size @ ( list @ A ) @ Ys ) @ ( size_size @ ( list @ A ) @ Xs2 ) )
             => ( P2 @ Ys ) )
         => ( P2 @ Xs2 ) )
     => ( P2 @ Xs ) ) ).

% length_induct
thf(fact_1674_minus__nat_Odiff__0,axiom,
    ! [M: nat] :
      ( ( minus_minus @ nat @ M @ ( zero_zero @ nat ) )
      = M ) ).

% minus_nat.diff_0
thf(fact_1675_diffs0__imp__equal,axiom,
    ! [M: nat,N: nat] :
      ( ( ( minus_minus @ nat @ M @ N )
        = ( zero_zero @ nat ) )
     => ( ( ( minus_minus @ nat @ N @ M )
          = ( zero_zero @ nat ) )
       => ( M = N ) ) ) ).

% diffs0_imp_equal
thf(fact_1676_zero__induct__lemma,axiom,
    ! [P2: nat > $o,K2: nat,I2: nat] :
      ( ( P2 @ K2 )
     => ( ! [N4: nat] :
            ( ( P2 @ ( suc @ N4 ) )
           => ( P2 @ N4 ) )
       => ( P2 @ ( minus_minus @ nat @ K2 @ I2 ) ) ) ) ).

% zero_induct_lemma
thf(fact_1677_less__imp__diff__less,axiom,
    ! [J2: nat,K2: nat,N: nat] :
      ( ( ord_less @ nat @ J2 @ K2 )
     => ( ord_less @ nat @ ( minus_minus @ nat @ J2 @ N ) @ K2 ) ) ).

% less_imp_diff_less
thf(fact_1678_diff__less__mono2,axiom,
    ! [M: nat,N: nat,L: nat] :
      ( ( ord_less @ nat @ M @ N )
     => ( ( ord_less @ nat @ M @ L )
       => ( ord_less @ nat @ ( minus_minus @ nat @ L @ N ) @ ( minus_minus @ nat @ L @ M ) ) ) ) ).

% diff_less_mono2
thf(fact_1679_diff__le__mono2,axiom,
    ! [M: nat,N: nat,L: nat] :
      ( ( ord_less_eq @ nat @ M @ N )
     => ( ord_less_eq @ nat @ ( minus_minus @ nat @ L @ N ) @ ( minus_minus @ nat @ L @ M ) ) ) ).

% diff_le_mono2
thf(fact_1680_le__diff__iff_H,axiom,
    ! [A3: nat,C3: nat,B2: nat] :
      ( ( ord_less_eq @ nat @ A3 @ C3 )
     => ( ( ord_less_eq @ nat @ B2 @ C3 )
       => ( ( ord_less_eq @ nat @ ( minus_minus @ nat @ C3 @ A3 ) @ ( minus_minus @ nat @ C3 @ B2 ) )
          = ( ord_less_eq @ nat @ B2 @ A3 ) ) ) ) ).

% le_diff_iff'
thf(fact_1681_diff__le__self,axiom,
    ! [M: nat,N: nat] : ( ord_less_eq @ nat @ ( minus_minus @ nat @ M @ N ) @ M ) ).

% diff_le_self
thf(fact_1682_diff__le__mono,axiom,
    ! [M: nat,N: nat,L: nat] :
      ( ( ord_less_eq @ nat @ M @ N )
     => ( ord_less_eq @ nat @ ( minus_minus @ nat @ M @ L ) @ ( minus_minus @ nat @ N @ L ) ) ) ).

% diff_le_mono
thf(fact_1683_Nat_Odiff__diff__eq,axiom,
    ! [K2: nat,M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ K2 @ M )
     => ( ( ord_less_eq @ nat @ K2 @ N )
       => ( ( minus_minus @ nat @ ( minus_minus @ nat @ M @ K2 ) @ ( minus_minus @ nat @ N @ K2 ) )
          = ( minus_minus @ nat @ M @ N ) ) ) ) ).

% Nat.diff_diff_eq
thf(fact_1684_le__diff__iff,axiom,
    ! [K2: nat,M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ K2 @ M )
     => ( ( ord_less_eq @ nat @ K2 @ N )
       => ( ( ord_less_eq @ nat @ ( minus_minus @ nat @ M @ K2 ) @ ( minus_minus @ nat @ N @ K2 ) )
          = ( ord_less_eq @ nat @ M @ N ) ) ) ) ).

% le_diff_iff
thf(fact_1685_eq__diff__iff,axiom,
    ! [K2: nat,M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ K2 @ M )
     => ( ( ord_less_eq @ nat @ K2 @ N )
       => ( ( ( minus_minus @ nat @ M @ K2 )
            = ( minus_minus @ nat @ N @ K2 ) )
          = ( M = N ) ) ) ) ).

% eq_diff_iff
thf(fact_1686_Nat_Odiff__cancel,axiom,
    ! [K2: nat,M: nat,N: nat] :
      ( ( minus_minus @ nat @ ( plus_plus @ nat @ K2 @ M ) @ ( plus_plus @ nat @ K2 @ N ) )
      = ( minus_minus @ nat @ M @ N ) ) ).

% Nat.diff_cancel
thf(fact_1687_diff__cancel2,axiom,
    ! [M: nat,K2: nat,N: nat] :
      ( ( minus_minus @ nat @ ( plus_plus @ nat @ M @ K2 ) @ ( plus_plus @ nat @ N @ K2 ) )
      = ( minus_minus @ nat @ M @ N ) ) ).

% diff_cancel2
thf(fact_1688_diff__add__inverse,axiom,
    ! [N: nat,M: nat] :
      ( ( minus_minus @ nat @ ( plus_plus @ nat @ N @ M ) @ N )
      = M ) ).

% diff_add_inverse
thf(fact_1689_diff__add__inverse2,axiom,
    ! [M: nat,N: nat] :
      ( ( minus_minus @ nat @ ( plus_plus @ nat @ M @ N ) @ N )
      = M ) ).

% diff_add_inverse2
thf(fact_1690_diff__mult__distrib,axiom,
    ! [M: nat,N: nat,K2: nat] :
      ( ( times_times @ nat @ ( minus_minus @ nat @ M @ N ) @ K2 )
      = ( minus_minus @ nat @ ( times_times @ nat @ M @ K2 ) @ ( times_times @ nat @ N @ K2 ) ) ) ).

% diff_mult_distrib
thf(fact_1691_diff__mult__distrib2,axiom,
    ! [K2: nat,M: nat,N: nat] :
      ( ( times_times @ nat @ K2 @ ( minus_minus @ nat @ M @ N ) )
      = ( minus_minus @ nat @ ( times_times @ nat @ K2 @ M ) @ ( times_times @ nat @ K2 @ N ) ) ) ).

% diff_mult_distrib2
thf(fact_1692_int__ops_I6_J,axiom,
    ! [A3: nat,B2: nat] :
      ( ( ( ord_less @ int @ ( semiring_1_of_nat @ int @ A3 ) @ ( semiring_1_of_nat @ int @ B2 ) )
       => ( ( semiring_1_of_nat @ int @ ( minus_minus @ nat @ A3 @ B2 ) )
          = ( zero_zero @ int ) ) )
      & ( ~ ( ord_less @ int @ ( semiring_1_of_nat @ int @ A3 ) @ ( semiring_1_of_nat @ int @ B2 ) )
       => ( ( semiring_1_of_nat @ int @ ( minus_minus @ nat @ A3 @ B2 ) )
          = ( minus_minus @ int @ ( semiring_1_of_nat @ int @ A3 ) @ ( semiring_1_of_nat @ int @ B2 ) ) ) ) ) ).

% int_ops(6)
thf(fact_1693_nat__mult__distrib__neg,axiom,
    ! [Z4: int,Z8: int] :
      ( ( ord_less_eq @ int @ Z4 @ ( zero_zero @ int ) )
     => ( ( nat2 @ ( times_times @ int @ Z4 @ Z8 ) )
        = ( times_times @ nat @ ( nat2 @ ( uminus_uminus @ int @ Z4 ) ) @ ( nat2 @ ( uminus_uminus @ int @ Z8 ) ) ) ) ) ).

% nat_mult_distrib_neg
thf(fact_1694_zdiff__int__split,axiom,
    ! [P2: int > $o,X: nat,Y: nat] :
      ( ( P2 @ ( semiring_1_of_nat @ int @ ( minus_minus @ nat @ X @ Y ) ) )
      = ( ( ( ord_less_eq @ nat @ Y @ X )
         => ( P2 @ ( minus_minus @ int @ ( semiring_1_of_nat @ int @ X ) @ ( semiring_1_of_nat @ int @ Y ) ) ) )
        & ( ( ord_less @ nat @ X @ Y )
         => ( P2 @ ( zero_zero @ int ) ) ) ) ) ).

% zdiff_int_split
thf(fact_1695_le__iff__diff__le__0,axiom,
    ! [A: $tType] :
      ( ( ordered_ab_group_add @ A )
     => ( ( ord_less_eq @ A )
        = ( ^ [A7: A,B5: A] : ( ord_less_eq @ A @ ( minus_minus @ A @ A7 @ B5 ) @ ( zero_zero @ A ) ) ) ) ) ).

% le_iff_diff_le_0
thf(fact_1696_nat__zero__as__int,axiom,
    ( ( zero_zero @ nat )
    = ( nat2 @ ( zero_zero @ int ) ) ) ).

% nat_zero_as_int
thf(fact_1697_less__iff__diff__less__0,axiom,
    ! [A: $tType] :
      ( ( ordered_ab_group_add @ A )
     => ( ( ord_less @ A )
        = ( ^ [A7: A,B5: A] : ( ord_less @ A @ ( minus_minus @ A @ A7 @ B5 ) @ ( zero_zero @ A ) ) ) ) ) ).

% less_iff_diff_less_0
thf(fact_1698_diff__le__eq,axiom,
    ! [A: $tType] :
      ( ( ordered_ab_group_add @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less_eq @ A @ ( minus_minus @ A @ A3 @ B2 ) @ C3 )
          = ( ord_less_eq @ A @ A3 @ ( plus_plus @ A @ C3 @ B2 ) ) ) ) ).

% diff_le_eq
thf(fact_1699_le__diff__eq,axiom,
    ! [A: $tType] :
      ( ( ordered_ab_group_add @ A )
     => ! [A3: A,C3: A,B2: A] :
          ( ( ord_less_eq @ A @ A3 @ ( minus_minus @ A @ C3 @ B2 ) )
          = ( ord_less_eq @ A @ ( plus_plus @ A @ A3 @ B2 ) @ C3 ) ) ) ).

% le_diff_eq
thf(fact_1700_ordered__cancel__comm__monoid__diff__class_Odiff__add,axiom,
    ! [A: $tType] :
      ( ( ordere1170586879665033532d_diff @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ( plus_plus @ A @ ( minus_minus @ A @ B2 @ A3 ) @ A3 )
            = B2 ) ) ) ).

% ordered_cancel_comm_monoid_diff_class.diff_add
thf(fact_1701_le__add__diff,axiom,
    ! [A: $tType] :
      ( ( ordere1170586879665033532d_diff @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ord_less_eq @ A @ C3 @ ( minus_minus @ A @ ( plus_plus @ A @ B2 @ C3 ) @ A3 ) ) ) ) ).

% le_add_diff
thf(fact_1702_ordered__cancel__comm__monoid__diff__class_Ole__diff__conv2,axiom,
    ! [A: $tType] :
      ( ( ordere1170586879665033532d_diff @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ( ord_less_eq @ A @ C3 @ ( minus_minus @ A @ B2 @ A3 ) )
            = ( ord_less_eq @ A @ ( plus_plus @ A @ C3 @ A3 ) @ B2 ) ) ) ) ).

% ordered_cancel_comm_monoid_diff_class.le_diff_conv2
thf(fact_1703_ordered__cancel__comm__monoid__diff__class_Oadd__diff__assoc,axiom,
    ! [A: $tType] :
      ( ( ordere1170586879665033532d_diff @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ( plus_plus @ A @ C3 @ ( minus_minus @ A @ B2 @ A3 ) )
            = ( minus_minus @ A @ ( plus_plus @ A @ C3 @ B2 ) @ A3 ) ) ) ) ).

% ordered_cancel_comm_monoid_diff_class.add_diff_assoc
thf(fact_1704_ordered__cancel__comm__monoid__diff__class_Odiff__add__assoc,axiom,
    ! [A: $tType] :
      ( ( ordere1170586879665033532d_diff @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ( minus_minus @ A @ ( plus_plus @ A @ C3 @ B2 ) @ A3 )
            = ( plus_plus @ A @ C3 @ ( minus_minus @ A @ B2 @ A3 ) ) ) ) ) ).

% ordered_cancel_comm_monoid_diff_class.diff_add_assoc
thf(fact_1705_ordered__cancel__comm__monoid__diff__class_Oadd__diff__assoc2,axiom,
    ! [A: $tType] :
      ( ( ordere1170586879665033532d_diff @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ( plus_plus @ A @ ( minus_minus @ A @ B2 @ A3 ) @ C3 )
            = ( minus_minus @ A @ ( plus_plus @ A @ B2 @ C3 ) @ A3 ) ) ) ) ).

% ordered_cancel_comm_monoid_diff_class.add_diff_assoc2
thf(fact_1706_ordered__cancel__comm__monoid__diff__class_Odiff__add__assoc2,axiom,
    ! [A: $tType] :
      ( ( ordere1170586879665033532d_diff @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ( minus_minus @ A @ ( plus_plus @ A @ B2 @ C3 ) @ A3 )
            = ( plus_plus @ A @ ( minus_minus @ A @ B2 @ A3 ) @ C3 ) ) ) ) ).

% ordered_cancel_comm_monoid_diff_class.diff_add_assoc2
thf(fact_1707_ordered__cancel__comm__monoid__diff__class_Odiff__diff__right,axiom,
    ! [A: $tType] :
      ( ( ordere1170586879665033532d_diff @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ( minus_minus @ A @ C3 @ ( minus_minus @ A @ B2 @ A3 ) )
            = ( minus_minus @ A @ ( plus_plus @ A @ C3 @ A3 ) @ B2 ) ) ) ) ).

% ordered_cancel_comm_monoid_diff_class.diff_diff_right
thf(fact_1708_ordered__cancel__comm__monoid__diff__class_Oadd__diff__inverse,axiom,
    ! [A: $tType] :
      ( ( ordere1170586879665033532d_diff @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ( plus_plus @ A @ A3 @ ( minus_minus @ A @ B2 @ A3 ) )
            = B2 ) ) ) ).

% ordered_cancel_comm_monoid_diff_class.add_diff_inverse
thf(fact_1709_ordered__cancel__comm__monoid__diff__class_Ole__imp__diff__is__add,axiom,
    ! [A: $tType] :
      ( ( ordere1170586879665033532d_diff @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ( ord_less_eq @ A @ A3 @ B2 )
           => ( ( ( minus_minus @ A @ B2 @ A3 )
                = C3 )
              = ( B2
                = ( plus_plus @ A @ C3 @ A3 ) ) ) ) ) ) ).

% ordered_cancel_comm_monoid_diff_class.le_imp_diff_is_add
thf(fact_1710_add__le__imp__le__diff,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [I2: A,K2: A,N: A] :
          ( ( ord_less_eq @ A @ ( plus_plus @ A @ I2 @ K2 ) @ N )
         => ( ord_less_eq @ A @ I2 @ ( minus_minus @ A @ N @ K2 ) ) ) ) ).

% add_le_imp_le_diff
thf(fact_1711_add__le__add__imp__diff__le,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [I2: A,K2: A,N: A,J2: A] :
          ( ( ord_less_eq @ A @ ( plus_plus @ A @ I2 @ K2 ) @ N )
         => ( ( ord_less_eq @ A @ N @ ( plus_plus @ A @ J2 @ K2 ) )
           => ( ( ord_less_eq @ A @ ( plus_plus @ A @ I2 @ K2 ) @ N )
             => ( ( ord_less_eq @ A @ N @ ( plus_plus @ A @ J2 @ K2 ) )
               => ( ord_less_eq @ A @ ( minus_minus @ A @ N @ K2 ) @ J2 ) ) ) ) ) ) ).

% add_le_add_imp_diff_le
thf(fact_1712_diff__shunt__var,axiom,
    ! [A: $tType] :
      ( ( boolea8198339166811842893lgebra @ A )
     => ! [X: A,Y: A] :
          ( ( ( minus_minus @ A @ X @ Y )
            = ( bot_bot @ A ) )
          = ( ord_less_eq @ A @ X @ Y ) ) ) ).

% diff_shunt_var
thf(fact_1713_less__diff__eq,axiom,
    ! [A: $tType] :
      ( ( ordered_ab_group_add @ A )
     => ! [A3: A,C3: A,B2: A] :
          ( ( ord_less @ A @ A3 @ ( minus_minus @ A @ C3 @ B2 ) )
          = ( ord_less @ A @ ( plus_plus @ A @ A3 @ B2 ) @ C3 ) ) ) ).

% less_diff_eq
thf(fact_1714_diff__less__eq,axiom,
    ! [A: $tType] :
      ( ( ordered_ab_group_add @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less @ A @ ( minus_minus @ A @ A3 @ B2 ) @ C3 )
          = ( ord_less @ A @ A3 @ ( plus_plus @ A @ C3 @ B2 ) ) ) ) ).

% diff_less_eq
thf(fact_1715_linordered__semidom__class_Oadd__diff__inverse,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [A3: A,B2: A] :
          ( ~ ( ord_less @ A @ A3 @ B2 )
         => ( ( plus_plus @ A @ B2 @ ( minus_minus @ A @ A3 @ B2 ) )
            = A3 ) ) ) ).

% linordered_semidom_class.add_diff_inverse
thf(fact_1716_eq__add__iff1,axiom,
    ! [A: $tType] :
      ( ( ring @ A )
     => ! [A3: A,E3: A,C3: A,B2: A,D3: A] :
          ( ( ( plus_plus @ A @ ( times_times @ A @ A3 @ E3 ) @ C3 )
            = ( plus_plus @ A @ ( times_times @ A @ B2 @ E3 ) @ D3 ) )
          = ( ( plus_plus @ A @ ( times_times @ A @ ( minus_minus @ A @ A3 @ B2 ) @ E3 ) @ C3 )
            = D3 ) ) ) ).

% eq_add_iff1
thf(fact_1717_eq__add__iff2,axiom,
    ! [A: $tType] :
      ( ( ring @ A )
     => ! [A3: A,E3: A,C3: A,B2: A,D3: A] :
          ( ( ( plus_plus @ A @ ( times_times @ A @ A3 @ E3 ) @ C3 )
            = ( plus_plus @ A @ ( times_times @ A @ B2 @ E3 ) @ D3 ) )
          = ( C3
            = ( plus_plus @ A @ ( times_times @ A @ ( minus_minus @ A @ B2 @ A3 ) @ E3 ) @ D3 ) ) ) ) ).

% eq_add_iff2
thf(fact_1718_square__diff__square__factored,axiom,
    ! [A: $tType] :
      ( ( comm_ring @ A )
     => ! [X: A,Y: A] :
          ( ( minus_minus @ A @ ( times_times @ A @ X @ X ) @ ( times_times @ A @ Y @ Y ) )
          = ( times_times @ A @ ( plus_plus @ A @ X @ Y ) @ ( minus_minus @ A @ X @ Y ) ) ) ) ).

% square_diff_square_factored
thf(fact_1719_nat__mono,axiom,
    ! [X: int,Y: int] :
      ( ( ord_less_eq @ int @ X @ Y )
     => ( ord_less_eq @ nat @ ( nat2 @ X ) @ ( nat2 @ Y ) ) ) ).

% nat_mono
thf(fact_1720_ex__nat,axiom,
    ( ( ^ [P4: nat > $o] :
        ? [X5: nat] : ( P4 @ X5 ) )
    = ( ^ [P5: nat > $o] :
        ? [X4: int] :
          ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ X4 )
          & ( P5 @ ( nat2 @ X4 ) ) ) ) ) ).

% ex_nat
thf(fact_1721_all__nat,axiom,
    ( ( ^ [P4: nat > $o] :
        ! [X5: nat] : ( P4 @ X5 ) )
    = ( ^ [P5: nat > $o] :
        ! [X4: int] :
          ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ X4 )
         => ( P5 @ ( nat2 @ X4 ) ) ) ) ) ).

% all_nat
thf(fact_1722_eq__nat__nat__iff,axiom,
    ! [Z4: int,Z8: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ Z4 )
     => ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ Z8 )
       => ( ( ( nat2 @ Z4 )
            = ( nat2 @ Z8 ) )
          = ( Z4 = Z8 ) ) ) ) ).

% eq_nat_nat_iff
thf(fact_1723_minus__mod__int__eq,axiom,
    ! [L: int,K2: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ L )
     => ( ( modulo_modulo @ int @ ( uminus_uminus @ int @ K2 ) @ L )
        = ( minus_minus @ int @ ( minus_minus @ int @ L @ ( one_one @ int ) ) @ ( modulo_modulo @ int @ ( minus_minus @ int @ K2 @ ( one_one @ int ) ) @ L ) ) ) ) ).

% minus_mod_int_eq
thf(fact_1724_zmod__minus1,axiom,
    ! [B2: int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ B2 )
     => ( ( modulo_modulo @ int @ ( uminus_uminus @ int @ ( one_one @ int ) ) @ B2 )
        = ( minus_minus @ int @ B2 @ ( one_one @ int ) ) ) ) ).

% zmod_minus1
thf(fact_1725_neg__eq__iff__add__eq__0,axiom,
    ! [A: $tType] :
      ( ( group_add @ A )
     => ! [A3: A,B2: A] :
          ( ( ( uminus_uminus @ A @ A3 )
            = B2 )
          = ( ( plus_plus @ A @ A3 @ B2 )
            = ( zero_zero @ A ) ) ) ) ).

% neg_eq_iff_add_eq_0
thf(fact_1726_eq__neg__iff__add__eq__0,axiom,
    ! [A: $tType] :
      ( ( group_add @ A )
     => ! [A3: A,B2: A] :
          ( ( A3
            = ( uminus_uminus @ A @ B2 ) )
          = ( ( plus_plus @ A @ A3 @ B2 )
            = ( zero_zero @ A ) ) ) ) ).

% eq_neg_iff_add_eq_0
thf(fact_1727_add_Oinverse__unique,axiom,
    ! [A: $tType] :
      ( ( group_add @ A )
     => ! [A3: A,B2: A] :
          ( ( ( plus_plus @ A @ A3 @ B2 )
            = ( zero_zero @ A ) )
         => ( ( uminus_uminus @ A @ A3 )
            = B2 ) ) ) ).

% add.inverse_unique
thf(fact_1728_ab__group__add__class_Oab__left__minus,axiom,
    ! [A: $tType] :
      ( ( ab_group_add @ A )
     => ! [A3: A] :
          ( ( plus_plus @ A @ ( uminus_uminus @ A @ A3 ) @ A3 )
          = ( zero_zero @ A ) ) ) ).

% ab_group_add_class.ab_left_minus
thf(fact_1729_add__eq__0__iff,axiom,
    ! [A: $tType] :
      ( ( group_add @ A )
     => ! [A3: A,B2: A] :
          ( ( ( plus_plus @ A @ A3 @ B2 )
            = ( zero_zero @ A ) )
          = ( B2
            = ( uminus_uminus @ A @ A3 ) ) ) ) ).

% add_eq_0_iff
thf(fact_1730_le__minus__one__simps_I2_J,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ( ord_less_eq @ A @ ( uminus_uminus @ A @ ( one_one @ A ) ) @ ( one_one @ A ) ) ) ).

% le_minus_one_simps(2)
thf(fact_1731_le__minus__one__simps_I4_J,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ~ ( ord_less_eq @ A @ ( one_one @ A ) @ ( uminus_uminus @ A @ ( one_one @ A ) ) ) ) ).

% le_minus_one_simps(4)
thf(fact_1732_nat__one__as__int,axiom,
    ( ( one_one @ nat )
    = ( nat2 @ ( one_one @ int ) ) ) ).

% nat_one_as_int
thf(fact_1733_less__minus__one__simps_I2_J,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ( ord_less @ A @ ( uminus_uminus @ A @ ( one_one @ A ) ) @ ( one_one @ A ) ) ) ).

% less_minus_one_simps(2)
thf(fact_1734_less__minus__one__simps_I4_J,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ~ ( ord_less @ A @ ( one_one @ A ) @ ( uminus_uminus @ A @ ( one_one @ A ) ) ) ) ).

% less_minus_one_simps(4)
thf(fact_1735_Suc__to__right,axiom,
    ! [N: nat,M: nat] :
      ( ( ( suc @ N )
        = M )
     => ( N
        = ( minus_minus @ nat @ M @ ( suc @ ( zero_zero @ nat ) ) ) ) ) ).

% Suc_to_right
thf(fact_1736_diff__less,axiom,
    ! [N: nat,M: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
     => ( ( ord_less @ nat @ ( zero_zero @ nat ) @ M )
       => ( ord_less @ nat @ ( minus_minus @ nat @ M @ N ) @ M ) ) ) ).

% diff_less
thf(fact_1737_Suc__diff__Suc,axiom,
    ! [N: nat,M: nat] :
      ( ( ord_less @ nat @ N @ M )
     => ( ( suc @ ( minus_minus @ nat @ M @ ( suc @ N ) ) )
        = ( minus_minus @ nat @ M @ N ) ) ) ).

% Suc_diff_Suc
thf(fact_1738_diff__less__Suc,axiom,
    ! [M: nat,N: nat] : ( ord_less @ nat @ ( minus_minus @ nat @ M @ N ) @ ( suc @ M ) ) ).

% diff_less_Suc
thf(fact_1739_Suc__diff__le,axiom,
    ! [N: nat,M: nat] :
      ( ( ord_less_eq @ nat @ N @ M )
     => ( ( minus_minus @ nat @ ( suc @ M ) @ N )
        = ( suc @ ( minus_minus @ nat @ M @ N ) ) ) ) ).

% Suc_diff_le
thf(fact_1740_diff__add__0,axiom,
    ! [N: nat,M: nat] :
      ( ( minus_minus @ nat @ N @ ( plus_plus @ nat @ N @ M ) )
      = ( zero_zero @ nat ) ) ).

% diff_add_0
thf(fact_1741_less__diff__iff,axiom,
    ! [K2: nat,M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ K2 @ M )
     => ( ( ord_less_eq @ nat @ K2 @ N )
       => ( ( ord_less @ nat @ ( minus_minus @ nat @ M @ K2 ) @ ( minus_minus @ nat @ N @ K2 ) )
          = ( ord_less @ nat @ M @ N ) ) ) ) ).

% less_diff_iff
thf(fact_1742_diff__less__mono,axiom,
    ! [A3: nat,B2: nat,C3: nat] :
      ( ( ord_less @ nat @ A3 @ B2 )
     => ( ( ord_less_eq @ nat @ C3 @ A3 )
       => ( ord_less @ nat @ ( minus_minus @ nat @ A3 @ C3 ) @ ( minus_minus @ nat @ B2 @ C3 ) ) ) ) ).

% diff_less_mono
thf(fact_1743_less__diff__conv,axiom,
    ! [I2: nat,J2: nat,K2: nat] :
      ( ( ord_less @ nat @ I2 @ ( minus_minus @ nat @ J2 @ K2 ) )
      = ( ord_less @ nat @ ( plus_plus @ nat @ I2 @ K2 ) @ J2 ) ) ).

% less_diff_conv
thf(fact_1744_add__diff__inverse__nat,axiom,
    ! [M: nat,N: nat] :
      ( ~ ( ord_less @ nat @ M @ N )
     => ( ( plus_plus @ nat @ N @ ( minus_minus @ nat @ M @ N ) )
        = M ) ) ).

% add_diff_inverse_nat
thf(fact_1745_Nat_Ole__imp__diff__is__add,axiom,
    ! [I2: nat,J2: nat,K2: nat] :
      ( ( ord_less_eq @ nat @ I2 @ J2 )
     => ( ( ( minus_minus @ nat @ J2 @ I2 )
          = K2 )
        = ( J2
          = ( plus_plus @ nat @ K2 @ I2 ) ) ) ) ).

% Nat.le_imp_diff_is_add
thf(fact_1746_Nat_Odiff__add__assoc2,axiom,
    ! [K2: nat,J2: nat,I2: nat] :
      ( ( ord_less_eq @ nat @ K2 @ J2 )
     => ( ( minus_minus @ nat @ ( plus_plus @ nat @ J2 @ I2 ) @ K2 )
        = ( plus_plus @ nat @ ( minus_minus @ nat @ J2 @ K2 ) @ I2 ) ) ) ).

% Nat.diff_add_assoc2
thf(fact_1747_Nat_Odiff__add__assoc,axiom,
    ! [K2: nat,J2: nat,I2: nat] :
      ( ( ord_less_eq @ nat @ K2 @ J2 )
     => ( ( minus_minus @ nat @ ( plus_plus @ nat @ I2 @ J2 ) @ K2 )
        = ( plus_plus @ nat @ I2 @ ( minus_minus @ nat @ J2 @ K2 ) ) ) ) ).

% Nat.diff_add_assoc
thf(fact_1748_Nat_Ole__diff__conv2,axiom,
    ! [K2: nat,J2: nat,I2: nat] :
      ( ( ord_less_eq @ nat @ K2 @ J2 )
     => ( ( ord_less_eq @ nat @ I2 @ ( minus_minus @ nat @ J2 @ K2 ) )
        = ( ord_less_eq @ nat @ ( plus_plus @ nat @ I2 @ K2 ) @ J2 ) ) ) ).

% Nat.le_diff_conv2
thf(fact_1749_le__diff__conv,axiom,
    ! [J2: nat,K2: nat,I2: nat] :
      ( ( ord_less_eq @ nat @ ( minus_minus @ nat @ J2 @ K2 ) @ I2 )
      = ( ord_less_eq @ nat @ J2 @ ( plus_plus @ nat @ I2 @ K2 ) ) ) ).

% le_diff_conv
thf(fact_1750_int__le__induct,axiom,
    ! [I2: int,K2: int,P2: int > $o] :
      ( ( ord_less_eq @ int @ I2 @ K2 )
     => ( ( P2 @ K2 )
       => ( ! [I3: int] :
              ( ( ord_less_eq @ int @ I3 @ K2 )
             => ( ( P2 @ I3 )
               => ( P2 @ ( minus_minus @ int @ I3 @ ( one_one @ int ) ) ) ) )
         => ( P2 @ I2 ) ) ) ) ).

% int_le_induct
thf(fact_1751_diff__Suc__eq__diff__pred,axiom,
    ! [M: nat,N: nat] :
      ( ( minus_minus @ nat @ M @ ( suc @ N ) )
      = ( minus_minus @ nat @ ( minus_minus @ nat @ M @ ( one_one @ nat ) ) @ N ) ) ).

% diff_Suc_eq_diff_pred
thf(fact_1752_int__less__induct,axiom,
    ! [I2: int,K2: int,P2: int > $o] :
      ( ( ord_less @ int @ I2 @ K2 )
     => ( ( P2 @ ( minus_minus @ int @ K2 @ ( one_one @ int ) ) )
       => ( ! [I3: int] :
              ( ( ord_less @ int @ I3 @ K2 )
             => ( ( P2 @ I3 )
               => ( P2 @ ( minus_minus @ int @ I3 @ ( one_one @ int ) ) ) ) )
         => ( P2 @ I2 ) ) ) ) ).

% int_less_induct
thf(fact_1753_mod__geq,axiom,
    ! [M: nat,N: nat] :
      ( ~ ( ord_less @ nat @ M @ N )
     => ( ( modulo_modulo @ nat @ M @ N )
        = ( modulo_modulo @ nat @ ( minus_minus @ nat @ M @ N ) @ N ) ) ) ).

% mod_geq
thf(fact_1754_mod__if,axiom,
    ( ( modulo_modulo @ nat )
    = ( ^ [M3: nat,N3: nat] : ( if @ nat @ ( ord_less @ nat @ M3 @ N3 ) @ M3 @ ( modulo_modulo @ nat @ ( minus_minus @ nat @ M3 @ N3 ) @ N3 ) ) ) ) ).

% mod_if
thf(fact_1755_le__mod__geq,axiom,
    ! [N: nat,M: nat] :
      ( ( ord_less_eq @ nat @ N @ M )
     => ( ( modulo_modulo @ nat @ M @ N )
        = ( modulo_modulo @ nat @ ( minus_minus @ nat @ M @ N ) @ N ) ) ) ).

% le_mod_geq
thf(fact_1756_not__int__zless__negative,axiom,
    ! [N: nat,M: nat] :
      ~ ( ord_less @ int @ ( semiring_1_of_nat @ int @ N ) @ ( uminus_uminus @ int @ ( semiring_1_of_nat @ int @ M ) ) ) ).

% not_int_zless_negative
thf(fact_1757_option_Osize__neq,axiom,
    ! [A: $tType,X: option @ A] :
      ( ( size_size @ ( option @ A ) @ X )
     != ( zero_zero @ nat ) ) ).

% option.size_neq
thf(fact_1758_le__add__iff1,axiom,
    ! [A: $tType] :
      ( ( ordered_ring @ A )
     => ! [A3: A,E3: A,C3: A,B2: A,D3: A] :
          ( ( ord_less_eq @ A @ ( plus_plus @ A @ ( times_times @ A @ A3 @ E3 ) @ C3 ) @ ( plus_plus @ A @ ( times_times @ A @ B2 @ E3 ) @ D3 ) )
          = ( ord_less_eq @ A @ ( plus_plus @ A @ ( times_times @ A @ ( minus_minus @ A @ A3 @ B2 ) @ E3 ) @ C3 ) @ D3 ) ) ) ).

% le_add_iff1
thf(fact_1759_le__add__iff2,axiom,
    ! [A: $tType] :
      ( ( ordered_ring @ A )
     => ! [A3: A,E3: A,C3: A,B2: A,D3: A] :
          ( ( ord_less_eq @ A @ ( plus_plus @ A @ ( times_times @ A @ A3 @ E3 ) @ C3 ) @ ( plus_plus @ A @ ( times_times @ A @ B2 @ E3 ) @ D3 ) )
          = ( ord_less_eq @ A @ C3 @ ( plus_plus @ A @ ( times_times @ A @ ( minus_minus @ A @ B2 @ A3 ) @ E3 ) @ D3 ) ) ) ) ).

% le_add_iff2
thf(fact_1760_less__add__iff2,axiom,
    ! [A: $tType] :
      ( ( ordered_ring @ A )
     => ! [A3: A,E3: A,C3: A,B2: A,D3: A] :
          ( ( ord_less @ A @ ( plus_plus @ A @ ( times_times @ A @ A3 @ E3 ) @ C3 ) @ ( plus_plus @ A @ ( times_times @ A @ B2 @ E3 ) @ D3 ) )
          = ( ord_less @ A @ C3 @ ( plus_plus @ A @ ( times_times @ A @ ( minus_minus @ A @ B2 @ A3 ) @ E3 ) @ D3 ) ) ) ) ).

% less_add_iff2
thf(fact_1761_less__add__iff1,axiom,
    ! [A: $tType] :
      ( ( ordered_ring @ A )
     => ! [A3: A,E3: A,C3: A,B2: A,D3: A] :
          ( ( ord_less @ A @ ( plus_plus @ A @ ( times_times @ A @ A3 @ E3 ) @ C3 ) @ ( plus_plus @ A @ ( times_times @ A @ B2 @ E3 ) @ D3 ) )
          = ( ord_less @ A @ ( plus_plus @ A @ ( times_times @ A @ ( minus_minus @ A @ A3 @ B2 ) @ E3 ) @ C3 ) @ D3 ) ) ) ).

% less_add_iff1
thf(fact_1762_nat__mono__iff,axiom,
    ! [Z4: int,W2: int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ Z4 )
     => ( ( ord_less @ nat @ ( nat2 @ W2 ) @ ( nat2 @ Z4 ) )
        = ( ord_less @ int @ W2 @ Z4 ) ) ) ).

% nat_mono_iff
thf(fact_1763_square__diff__one__factored,axiom,
    ! [A: $tType] :
      ( ( ring_1 @ A )
     => ! [X: A] :
          ( ( minus_minus @ A @ ( times_times @ A @ X @ X ) @ ( one_one @ A ) )
          = ( times_times @ A @ ( plus_plus @ A @ X @ ( one_one @ A ) ) @ ( minus_minus @ A @ X @ ( one_one @ A ) ) ) ) ) ).

% square_diff_one_factored
thf(fact_1764_le__minus__one__simps_I1_J,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ( ord_less_eq @ A @ ( uminus_uminus @ A @ ( one_one @ A ) ) @ ( zero_zero @ A ) ) ) ).

% le_minus_one_simps(1)
thf(fact_1765_le__minus__one__simps_I3_J,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ~ ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( uminus_uminus @ A @ ( one_one @ A ) ) ) ) ).

% le_minus_one_simps(3)
thf(fact_1766_zless__nat__eq__int__zless,axiom,
    ! [M: nat,Z4: int] :
      ( ( ord_less @ nat @ M @ ( nat2 @ Z4 ) )
      = ( ord_less @ int @ ( semiring_1_of_nat @ int @ M ) @ Z4 ) ) ).

% zless_nat_eq_int_zless
thf(fact_1767_less__minus__one__simps_I1_J,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ( ord_less @ A @ ( uminus_uminus @ A @ ( one_one @ A ) ) @ ( zero_zero @ A ) ) ) ).

% less_minus_one_simps(1)
thf(fact_1768_less__minus__one__simps_I3_J,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ~ ( ord_less @ A @ ( zero_zero @ A ) @ ( uminus_uminus @ A @ ( one_one @ A ) ) ) ) ).

% less_minus_one_simps(3)
thf(fact_1769_nat__le__iff,axiom,
    ! [X: int,N: nat] :
      ( ( ord_less_eq @ nat @ ( nat2 @ X ) @ N )
      = ( ord_less_eq @ int @ X @ ( semiring_1_of_nat @ int @ N ) ) ) ).

% nat_le_iff
thf(fact_1770_int__eq__iff,axiom,
    ! [M: nat,Z4: int] :
      ( ( ( semiring_1_of_nat @ int @ M )
        = Z4 )
      = ( ( M
          = ( nat2 @ Z4 ) )
        & ( ord_less_eq @ int @ ( zero_zero @ int ) @ Z4 ) ) ) ).

% int_eq_iff
thf(fact_1771_nat__0__le,axiom,
    ! [Z4: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ Z4 )
     => ( ( semiring_1_of_nat @ int @ ( nat2 @ Z4 ) )
        = Z4 ) ) ).

% nat_0_le
thf(fact_1772_nat__int__add,axiom,
    ! [A3: nat,B2: nat] :
      ( ( nat2 @ ( plus_plus @ int @ ( semiring_1_of_nat @ int @ A3 ) @ ( semiring_1_of_nat @ int @ B2 ) ) )
      = ( plus_plus @ nat @ A3 @ B2 ) ) ).

% nat_int_add
thf(fact_1773_inf__shunt,axiom,
    ! [A: $tType] :
      ( ( boolea8198339166811842893lgebra @ A )
     => ! [X: A,Y: A] :
          ( ( ( inf_inf @ A @ X @ Y )
            = ( bot_bot @ A ) )
          = ( ord_less_eq @ A @ X @ ( uminus_uminus @ A @ Y ) ) ) ) ).

% inf_shunt
thf(fact_1774_shunt1,axiom,
    ! [A: $tType] :
      ( ( boolea8198339166811842893lgebra @ A )
     => ! [X: A,Y: A,Z4: A] :
          ( ( ord_less_eq @ A @ ( inf_inf @ A @ X @ Y ) @ Z4 )
          = ( ord_less_eq @ A @ X @ ( sup_sup @ A @ ( uminus_uminus @ A @ Y ) @ Z4 ) ) ) ) ).

% shunt1
thf(fact_1775_shunt2,axiom,
    ! [A: $tType] :
      ( ( boolea8198339166811842893lgebra @ A )
     => ! [X: A,Y: A,Z4: A] :
          ( ( ord_less_eq @ A @ ( inf_inf @ A @ X @ ( uminus_uminus @ A @ Y ) ) @ Z4 )
          = ( ord_less_eq @ A @ X @ ( sup_sup @ A @ Y @ Z4 ) ) ) ) ).

% shunt2
thf(fact_1776_sup__neg__inf,axiom,
    ! [A: $tType] :
      ( ( boolea8198339166811842893lgebra @ A )
     => ! [P3: A,Q6: A,R3: A] :
          ( ( ord_less_eq @ A @ P3 @ ( sup_sup @ A @ Q6 @ R3 ) )
          = ( ord_less_eq @ A @ ( inf_inf @ A @ P3 @ ( uminus_uminus @ A @ Q6 ) ) @ R3 ) ) ) ).

% sup_neg_inf
thf(fact_1777_nat__power__eq,axiom,
    ! [Z4: int,N: nat] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ Z4 )
     => ( ( nat2 @ ( power_power @ int @ Z4 @ N ) )
        = ( power_power @ nat @ ( nat2 @ Z4 ) @ N ) ) ) ).

% nat_power_eq
thf(fact_1778_diff__Suc__less,axiom,
    ! [N: nat,I2: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
     => ( ord_less @ nat @ ( minus_minus @ nat @ N @ ( suc @ I2 ) ) @ N ) ) ).

% diff_Suc_less
thf(fact_1779_nat__diff__split__asm,axiom,
    ! [P2: nat > $o,A3: nat,B2: nat] :
      ( ( P2 @ ( minus_minus @ nat @ A3 @ B2 ) )
      = ( ~ ( ( ( ord_less @ nat @ A3 @ B2 )
              & ~ ( P2 @ ( zero_zero @ nat ) ) )
            | ? [D6: nat] :
                ( ( A3
                  = ( plus_plus @ nat @ B2 @ D6 ) )
                & ~ ( P2 @ D6 ) ) ) ) ) ).

% nat_diff_split_asm
thf(fact_1780_nat__diff__split,axiom,
    ! [P2: nat > $o,A3: nat,B2: nat] :
      ( ( P2 @ ( minus_minus @ nat @ A3 @ B2 ) )
      = ( ( ( ord_less @ nat @ A3 @ B2 )
         => ( P2 @ ( zero_zero @ nat ) ) )
        & ! [D6: nat] :
            ( ( A3
              = ( plus_plus @ nat @ B2 @ D6 ) )
           => ( P2 @ D6 ) ) ) ) ).

% nat_diff_split
thf(fact_1781_less__diff__conv2,axiom,
    ! [K2: nat,J2: nat,I2: nat] :
      ( ( ord_less_eq @ nat @ K2 @ J2 )
     => ( ( ord_less @ nat @ ( minus_minus @ nat @ J2 @ K2 ) @ I2 )
        = ( ord_less @ nat @ J2 @ ( plus_plus @ nat @ I2 @ K2 ) ) ) ) ).

% less_diff_conv2
thf(fact_1782_minusinfinity,axiom,
    ! [D3: int,P1: int > $o,P2: int > $o] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ D3 )
     => ( ! [X3: int,K: int] :
            ( ( P1 @ X3 )
            = ( P1 @ ( minus_minus @ int @ X3 @ ( times_times @ int @ K @ D3 ) ) ) )
       => ( ? [Z7: int] :
            ! [X3: int] :
              ( ( ord_less @ int @ X3 @ Z7 )
             => ( ( P2 @ X3 )
                = ( P1 @ X3 ) ) )
         => ( ? [X_12: int] : ( P1 @ X_12 )
           => ? [X_1: int] : ( P2 @ X_1 ) ) ) ) ) ).

% minusinfinity
thf(fact_1783_plusinfinity,axiom,
    ! [D3: int,P6: int > $o,P2: int > $o] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ D3 )
     => ( ! [X3: int,K: int] :
            ( ( P6 @ X3 )
            = ( P6 @ ( minus_minus @ int @ X3 @ ( times_times @ int @ K @ D3 ) ) ) )
       => ( ? [Z7: int] :
            ! [X3: int] :
              ( ( ord_less @ int @ Z7 @ X3 )
             => ( ( P2 @ X3 )
                = ( P6 @ X3 ) ) )
         => ( ? [X_12: int] : ( P6 @ X_12 )
           => ? [X_1: int] : ( P2 @ X_1 ) ) ) ) ) ).

% plusinfinity
thf(fact_1784_int__cases4,axiom,
    ! [M: int] :
      ( ! [N4: nat] :
          ( M
         != ( semiring_1_of_nat @ int @ N4 ) )
     => ~ ! [N4: nat] :
            ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N4 )
           => ( M
             != ( uminus_uminus @ int @ ( semiring_1_of_nat @ int @ N4 ) ) ) ) ) ).

% int_cases4
thf(fact_1785_nat__eq__add__iff1,axiom,
    ! [J2: nat,I2: nat,U: nat,M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ J2 @ I2 )
     => ( ( ( plus_plus @ nat @ ( times_times @ nat @ I2 @ U ) @ M )
          = ( plus_plus @ nat @ ( times_times @ nat @ J2 @ U ) @ N ) )
        = ( ( plus_plus @ nat @ ( times_times @ nat @ ( minus_minus @ nat @ I2 @ J2 ) @ U ) @ M )
          = N ) ) ) ).

% nat_eq_add_iff1
thf(fact_1786_nat__eq__add__iff2,axiom,
    ! [I2: nat,J2: nat,U: nat,M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ I2 @ J2 )
     => ( ( ( plus_plus @ nat @ ( times_times @ nat @ I2 @ U ) @ M )
          = ( plus_plus @ nat @ ( times_times @ nat @ J2 @ U ) @ N ) )
        = ( M
          = ( plus_plus @ nat @ ( times_times @ nat @ ( minus_minus @ nat @ J2 @ I2 ) @ U ) @ N ) ) ) ) ).

% nat_eq_add_iff2
thf(fact_1787_nat__le__add__iff1,axiom,
    ! [J2: nat,I2: nat,U: nat,M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ J2 @ I2 )
     => ( ( ord_less_eq @ nat @ ( plus_plus @ nat @ ( times_times @ nat @ I2 @ U ) @ M ) @ ( plus_plus @ nat @ ( times_times @ nat @ J2 @ U ) @ N ) )
        = ( ord_less_eq @ nat @ ( plus_plus @ nat @ ( times_times @ nat @ ( minus_minus @ nat @ I2 @ J2 ) @ U ) @ M ) @ N ) ) ) ).

% nat_le_add_iff1
thf(fact_1788_nat__le__add__iff2,axiom,
    ! [I2: nat,J2: nat,U: nat,M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ I2 @ J2 )
     => ( ( ord_less_eq @ nat @ ( plus_plus @ nat @ ( times_times @ nat @ I2 @ U ) @ M ) @ ( plus_plus @ nat @ ( times_times @ nat @ J2 @ U ) @ N ) )
        = ( ord_less_eq @ nat @ M @ ( plus_plus @ nat @ ( times_times @ nat @ ( minus_minus @ nat @ J2 @ I2 ) @ U ) @ N ) ) ) ) ).

% nat_le_add_iff2
thf(fact_1789_nat__diff__add__eq1,axiom,
    ! [J2: nat,I2: nat,U: nat,M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ J2 @ I2 )
     => ( ( minus_minus @ nat @ ( plus_plus @ nat @ ( times_times @ nat @ I2 @ U ) @ M ) @ ( plus_plus @ nat @ ( times_times @ nat @ J2 @ U ) @ N ) )
        = ( minus_minus @ nat @ ( plus_plus @ nat @ ( times_times @ nat @ ( minus_minus @ nat @ I2 @ J2 ) @ U ) @ M ) @ N ) ) ) ).

% nat_diff_add_eq1
thf(fact_1790_nat__diff__add__eq2,axiom,
    ! [I2: nat,J2: nat,U: nat,M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ I2 @ J2 )
     => ( ( minus_minus @ nat @ ( plus_plus @ nat @ ( times_times @ nat @ I2 @ U ) @ M ) @ ( plus_plus @ nat @ ( times_times @ nat @ J2 @ U ) @ N ) )
        = ( minus_minus @ nat @ M @ ( plus_plus @ nat @ ( times_times @ nat @ ( minus_minus @ nat @ J2 @ I2 ) @ U ) @ N ) ) ) ) ).

% nat_diff_add_eq2
thf(fact_1791_int__induct,axiom,
    ! [P2: int > $o,K2: int,I2: int] :
      ( ( P2 @ K2 )
     => ( ! [I3: int] :
            ( ( ord_less_eq @ int @ K2 @ I3 )
           => ( ( P2 @ I3 )
             => ( P2 @ ( plus_plus @ int @ I3 @ ( one_one @ int ) ) ) ) )
       => ( ! [I3: int] :
              ( ( ord_less_eq @ int @ I3 @ K2 )
             => ( ( P2 @ I3 )
               => ( P2 @ ( minus_minus @ int @ I3 @ ( one_one @ int ) ) ) ) )
         => ( P2 @ I2 ) ) ) ) ).

% int_induct
thf(fact_1792_int__zle__neg,axiom,
    ! [N: nat,M: nat] :
      ( ( ord_less_eq @ int @ ( semiring_1_of_nat @ int @ N ) @ ( uminus_uminus @ int @ ( semiring_1_of_nat @ int @ M ) ) )
      = ( ( N
          = ( zero_zero @ nat ) )
        & ( M
          = ( zero_zero @ nat ) ) ) ) ).

% int_zle_neg
thf(fact_1793_nonpos__int__cases,axiom,
    ! [K2: int] :
      ( ( ord_less_eq @ int @ K2 @ ( zero_zero @ int ) )
     => ~ ! [N4: nat] :
            ( K2
           != ( uminus_uminus @ int @ ( semiring_1_of_nat @ int @ N4 ) ) ) ) ).

% nonpos_int_cases
thf(fact_1794_negative__zle__0,axiom,
    ! [N: nat] : ( ord_less_eq @ int @ ( uminus_uminus @ int @ ( semiring_1_of_nat @ int @ N ) ) @ ( zero_zero @ int ) ) ).

% negative_zle_0
thf(fact_1795_nat__plus__as__int,axiom,
    ( ( plus_plus @ nat )
    = ( ^ [A7: nat,B5: nat] : ( nat2 @ ( plus_plus @ int @ ( semiring_1_of_nat @ int @ A7 ) @ ( semiring_1_of_nat @ int @ B5 ) ) ) ) ) ).

% nat_plus_as_int
thf(fact_1796_nat__times__as__int,axiom,
    ( ( times_times @ nat )
    = ( ^ [A7: nat,B5: nat] : ( nat2 @ ( times_times @ int @ ( semiring_1_of_nat @ int @ A7 ) @ ( semiring_1_of_nat @ int @ B5 ) ) ) ) ) ).

% nat_times_as_int
thf(fact_1797_nat__div__as__int,axiom,
    ( ( divide_divide @ nat )
    = ( ^ [A7: nat,B5: nat] : ( nat2 @ ( divide_divide @ int @ ( semiring_1_of_nat @ int @ A7 ) @ ( semiring_1_of_nat @ int @ B5 ) ) ) ) ) ).

% nat_div_as_int
thf(fact_1798_nat__mod__as__int,axiom,
    ( ( modulo_modulo @ nat )
    = ( ^ [A7: nat,B5: nat] : ( nat2 @ ( modulo_modulo @ int @ ( semiring_1_of_nat @ int @ A7 ) @ ( semiring_1_of_nat @ int @ B5 ) ) ) ) ) ).

% nat_mod_as_int
thf(fact_1799_frac__le__eq,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [Y: A,Z4: A,X: A,W2: A] :
          ( ( Y
           != ( zero_zero @ A ) )
         => ( ( Z4
             != ( zero_zero @ A ) )
           => ( ( ord_less_eq @ A @ ( divide_divide @ A @ X @ Y ) @ ( divide_divide @ A @ W2 @ Z4 ) )
              = ( ord_less_eq @ A @ ( divide_divide @ A @ ( minus_minus @ A @ ( times_times @ A @ X @ Z4 ) @ ( times_times @ A @ W2 @ Y ) ) @ ( times_times @ A @ Y @ Z4 ) ) @ ( zero_zero @ A ) ) ) ) ) ) ).

% frac_le_eq
thf(fact_1800_frac__less__eq,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [Y: A,Z4: A,X: A,W2: A] :
          ( ( Y
           != ( zero_zero @ A ) )
         => ( ( Z4
             != ( zero_zero @ A ) )
           => ( ( ord_less @ A @ ( divide_divide @ A @ X @ Y ) @ ( divide_divide @ A @ W2 @ Z4 ) )
              = ( ord_less @ A @ ( divide_divide @ A @ ( minus_minus @ A @ ( times_times @ A @ X @ Z4 ) @ ( times_times @ A @ W2 @ Y ) ) @ ( times_times @ A @ Y @ Z4 ) ) @ ( zero_zero @ A ) ) ) ) ) ) ).

% frac_less_eq
thf(fact_1801_nat__less__eq__zless,axiom,
    ! [W2: int,Z4: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ W2 )
     => ( ( ord_less @ nat @ ( nat2 @ W2 ) @ ( nat2 @ Z4 ) )
        = ( ord_less @ int @ W2 @ Z4 ) ) ) ).

% nat_less_eq_zless
thf(fact_1802_nat__le__eq__zle,axiom,
    ! [W2: int,Z4: int] :
      ( ( ( ord_less @ int @ ( zero_zero @ int ) @ W2 )
        | ( ord_less_eq @ int @ ( zero_zero @ int ) @ Z4 ) )
     => ( ( ord_less_eq @ nat @ ( nat2 @ W2 ) @ ( nat2 @ Z4 ) )
        = ( ord_less_eq @ int @ W2 @ Z4 ) ) ) ).

% nat_le_eq_zle
thf(fact_1803_nat__eq__iff,axiom,
    ! [W2: int,M: nat] :
      ( ( ( nat2 @ W2 )
        = M )
      = ( ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ W2 )
         => ( W2
            = ( semiring_1_of_nat @ int @ M ) ) )
        & ( ~ ( ord_less_eq @ int @ ( zero_zero @ int ) @ W2 )
         => ( M
            = ( zero_zero @ nat ) ) ) ) ) ).

% nat_eq_iff
thf(fact_1804_nat__eq__iff2,axiom,
    ! [M: nat,W2: int] :
      ( ( M
        = ( nat2 @ W2 ) )
      = ( ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ W2 )
         => ( W2
            = ( semiring_1_of_nat @ int @ M ) ) )
        & ( ~ ( ord_less_eq @ int @ ( zero_zero @ int ) @ W2 )
         => ( M
            = ( zero_zero @ nat ) ) ) ) ) ).

% nat_eq_iff2
thf(fact_1805_split__nat,axiom,
    ! [P2: nat > $o,I2: int] :
      ( ( P2 @ ( nat2 @ I2 ) )
      = ( ! [N3: nat] :
            ( ( I2
              = ( semiring_1_of_nat @ int @ N3 ) )
           => ( P2 @ N3 ) )
        & ( ( ord_less @ int @ I2 @ ( zero_zero @ int ) )
         => ( P2 @ ( zero_zero @ nat ) ) ) ) ) ).

% split_nat
thf(fact_1806_le__nat__iff,axiom,
    ! [K2: int,N: nat] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ K2 )
     => ( ( ord_less_eq @ nat @ N @ ( nat2 @ K2 ) )
        = ( ord_less_eq @ int @ ( semiring_1_of_nat @ int @ N ) @ K2 ) ) ) ).

% le_nat_iff
thf(fact_1807_nat__add__distrib,axiom,
    ! [Z4: int,Z8: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ Z4 )
     => ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ Z8 )
       => ( ( nat2 @ ( plus_plus @ int @ Z4 @ Z8 ) )
          = ( plus_plus @ nat @ ( nat2 @ Z4 ) @ ( nat2 @ Z8 ) ) ) ) ) ).

% nat_add_distrib
thf(fact_1808_nat__mult__distrib,axiom,
    ! [Z4: int,Z8: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ Z4 )
     => ( ( nat2 @ ( times_times @ int @ Z4 @ Z8 ) )
        = ( times_times @ nat @ ( nat2 @ Z4 ) @ ( nat2 @ Z8 ) ) ) ) ).

% nat_mult_distrib
thf(fact_1809_Suc__as__int,axiom,
    ( suc
    = ( ^ [A7: nat] : ( nat2 @ ( plus_plus @ int @ ( semiring_1_of_nat @ int @ A7 ) @ ( one_one @ int ) ) ) ) ) ).

% Suc_as_int
thf(fact_1810_pos__minus__divide__less__eq,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [C3: A,B2: A,A3: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
         => ( ( ord_less @ A @ ( uminus_uminus @ A @ ( divide_divide @ A @ B2 @ C3 ) ) @ A3 )
            = ( ord_less @ A @ ( uminus_uminus @ A @ B2 ) @ ( times_times @ A @ A3 @ C3 ) ) ) ) ) ).

% pos_minus_divide_less_eq
thf(fact_1811_pos__less__minus__divide__eq,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [C3: A,A3: A,B2: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
         => ( ( ord_less @ A @ A3 @ ( uminus_uminus @ A @ ( divide_divide @ A @ B2 @ C3 ) ) )
            = ( ord_less @ A @ ( times_times @ A @ A3 @ C3 ) @ ( uminus_uminus @ A @ B2 ) ) ) ) ) ).

% pos_less_minus_divide_eq
thf(fact_1812_neg__minus__divide__less__eq,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [C3: A,B2: A,A3: A] :
          ( ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
         => ( ( ord_less @ A @ ( uminus_uminus @ A @ ( divide_divide @ A @ B2 @ C3 ) ) @ A3 )
            = ( ord_less @ A @ ( times_times @ A @ A3 @ C3 ) @ ( uminus_uminus @ A @ B2 ) ) ) ) ) ).

% neg_minus_divide_less_eq
thf(fact_1813_neg__less__minus__divide__eq,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [C3: A,A3: A,B2: A] :
          ( ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
         => ( ( ord_less @ A @ A3 @ ( uminus_uminus @ A @ ( divide_divide @ A @ B2 @ C3 ) ) )
            = ( ord_less @ A @ ( uminus_uminus @ A @ B2 ) @ ( times_times @ A @ A3 @ C3 ) ) ) ) ) ).

% neg_less_minus_divide_eq
thf(fact_1814_minus__divide__less__eq,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [B2: A,C3: A,A3: A] :
          ( ( ord_less @ A @ ( uminus_uminus @ A @ ( divide_divide @ A @ B2 @ C3 ) ) @ A3 )
          = ( ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
             => ( ord_less @ A @ ( uminus_uminus @ A @ B2 ) @ ( times_times @ A @ A3 @ C3 ) ) )
            & ( ~ ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
             => ( ( ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
                 => ( ord_less @ A @ ( times_times @ A @ A3 @ C3 ) @ ( uminus_uminus @ A @ B2 ) ) )
                & ( ~ ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
                 => ( ord_less @ A @ ( zero_zero @ A ) @ A3 ) ) ) ) ) ) ) ).

% minus_divide_less_eq
thf(fact_1815_less__minus__divide__eq,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less @ A @ A3 @ ( uminus_uminus @ A @ ( divide_divide @ A @ B2 @ C3 ) ) )
          = ( ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
             => ( ord_less @ A @ ( times_times @ A @ A3 @ C3 ) @ ( uminus_uminus @ A @ B2 ) ) )
            & ( ~ ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
             => ( ( ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
                 => ( ord_less @ A @ ( uminus_uminus @ A @ B2 ) @ ( times_times @ A @ A3 @ C3 ) ) )
                & ( ~ ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
                 => ( ord_less @ A @ A3 @ ( zero_zero @ A ) ) ) ) ) ) ) ) ).

% less_minus_divide_eq
thf(fact_1816_minus__divide__add__eq__iff,axiom,
    ! [A: $tType] :
      ( ( division_ring @ A )
     => ! [Z4: A,X: A,Y: A] :
          ( ( Z4
           != ( zero_zero @ A ) )
         => ( ( plus_plus @ A @ ( uminus_uminus @ A @ ( divide_divide @ A @ X @ Z4 ) ) @ Y )
            = ( divide_divide @ A @ ( plus_plus @ A @ ( uminus_uminus @ A @ X ) @ ( times_times @ A @ Y @ Z4 ) ) @ Z4 ) ) ) ) ).

% minus_divide_add_eq_iff
thf(fact_1817_add__divide__eq__if__simps_I3_J,axiom,
    ! [A: $tType] :
      ( ( division_ring @ A )
     => ! [Z4: A,A3: A,B2: A] :
          ( ( ( Z4
              = ( zero_zero @ A ) )
           => ( ( plus_plus @ A @ ( uminus_uminus @ A @ ( divide_divide @ A @ A3 @ Z4 ) ) @ B2 )
              = B2 ) )
          & ( ( Z4
             != ( zero_zero @ A ) )
           => ( ( plus_plus @ A @ ( uminus_uminus @ A @ ( divide_divide @ A @ A3 @ Z4 ) ) @ B2 )
              = ( divide_divide @ A @ ( plus_plus @ A @ ( uminus_uminus @ A @ A3 ) @ ( times_times @ A @ B2 @ Z4 ) ) @ Z4 ) ) ) ) ) ).

% add_divide_eq_if_simps(3)
thf(fact_1818_nat__div__distrib,axiom,
    ! [X: int,Y: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ X )
     => ( ( nat2 @ ( divide_divide @ int @ X @ Y ) )
        = ( divide_divide @ nat @ ( nat2 @ X ) @ ( nat2 @ Y ) ) ) ) ).

% nat_div_distrib
thf(fact_1819_nat__div__distrib_H,axiom,
    ! [Y: int,X: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ Y )
     => ( ( nat2 @ ( divide_divide @ int @ X @ Y ) )
        = ( divide_divide @ nat @ ( nat2 @ X ) @ ( nat2 @ Y ) ) ) ) ).

% nat_div_distrib'
thf(fact_1820_nat__mod__distrib,axiom,
    ! [X: int,Y: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ X )
     => ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ Y )
       => ( ( nat2 @ ( modulo_modulo @ int @ X @ Y ) )
          = ( modulo_modulo @ nat @ ( nat2 @ X ) @ ( nat2 @ Y ) ) ) ) ) ).

% nat_mod_distrib
thf(fact_1821_power__diff,axiom,
    ! [A: $tType] :
      ( ( semidom_divide @ A )
     => ! [A3: A,N: nat,M: nat] :
          ( ( A3
           != ( zero_zero @ A ) )
         => ( ( ord_less_eq @ nat @ N @ M )
           => ( ( power_power @ A @ A3 @ ( minus_minus @ nat @ M @ N ) )
              = ( divide_divide @ A @ ( power_power @ A @ A3 @ M ) @ ( power_power @ A @ A3 @ N ) ) ) ) ) ) ).

% power_diff
thf(fact_1822_nz__le__conv__less,axiom,
    ! [K2: nat,M: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ K2 )
     => ( ( ord_less_eq @ nat @ K2 @ M )
       => ( ord_less @ nat @ ( minus_minus @ nat @ K2 @ ( suc @ ( zero_zero @ nat ) ) ) @ M ) ) ) ).

% nz_le_conv_less
thf(fact_1823_Suc__diff__eq__diff__pred,axiom,
    ! [N: nat,M: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
     => ( ( minus_minus @ nat @ ( suc @ M ) @ N )
        = ( minus_minus @ nat @ M @ ( minus_minus @ nat @ N @ ( one_one @ nat ) ) ) ) ) ).

% Suc_diff_eq_diff_pred
thf(fact_1824_Suc__pred_H,axiom,
    ! [N: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
     => ( N
        = ( suc @ ( minus_minus @ nat @ N @ ( one_one @ nat ) ) ) ) ) ).

% Suc_pred'
thf(fact_1825_add__eq__if,axiom,
    ( ( plus_plus @ nat )
    = ( ^ [M3: nat,N3: nat] :
          ( if @ nat
          @ ( M3
            = ( zero_zero @ nat ) )
          @ N3
          @ ( suc @ ( plus_plus @ nat @ ( minus_minus @ nat @ M3 @ ( one_one @ nat ) ) @ N3 ) ) ) ) ) ).

% add_eq_if
thf(fact_1826_Suc__n__minus__m__eq,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ M @ N )
     => ( ( ord_less @ nat @ ( one_one @ nat ) @ M )
       => ( ( suc @ ( minus_minus @ nat @ N @ M ) )
          = ( minus_minus @ nat @ N @ ( minus_minus @ nat @ M @ ( one_one @ nat ) ) ) ) ) ) ).

% Suc_n_minus_m_eq
thf(fact_1827_nat__less__add__iff1,axiom,
    ! [J2: nat,I2: nat,U: nat,M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ J2 @ I2 )
     => ( ( ord_less @ nat @ ( plus_plus @ nat @ ( times_times @ nat @ I2 @ U ) @ M ) @ ( plus_plus @ nat @ ( times_times @ nat @ J2 @ U ) @ N ) )
        = ( ord_less @ nat @ ( plus_plus @ nat @ ( times_times @ nat @ ( minus_minus @ nat @ I2 @ J2 ) @ U ) @ M ) @ N ) ) ) ).

% nat_less_add_iff1
thf(fact_1828_nat__less__add__iff2,axiom,
    ! [I2: nat,J2: nat,U: nat,M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ I2 @ J2 )
     => ( ( ord_less @ nat @ ( plus_plus @ nat @ ( times_times @ nat @ I2 @ U ) @ M ) @ ( plus_plus @ nat @ ( times_times @ nat @ J2 @ U ) @ N ) )
        = ( ord_less @ nat @ M @ ( plus_plus @ nat @ ( times_times @ nat @ ( minus_minus @ nat @ J2 @ I2 ) @ U ) @ N ) ) ) ) ).

% nat_less_add_iff2
thf(fact_1829_decr__mult__lemma,axiom,
    ! [D3: int,P2: int > $o,K2: int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ D3 )
     => ( ! [X3: int] :
            ( ( P2 @ X3 )
           => ( P2 @ ( minus_minus @ int @ X3 @ D3 ) ) )
       => ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ K2 )
         => ! [X6: int] :
              ( ( P2 @ X6 )
             => ( P2 @ ( minus_minus @ int @ X6 @ ( times_times @ int @ K2 @ D3 ) ) ) ) ) ) ) ).

% decr_mult_lemma
thf(fact_1830_div__if,axiom,
    ( ( divide_divide @ nat )
    = ( ^ [M3: nat,N3: nat] :
          ( if @ nat
          @ ( ( ord_less @ nat @ M3 @ N3 )
            | ( N3
              = ( zero_zero @ nat ) ) )
          @ ( zero_zero @ nat )
          @ ( suc @ ( divide_divide @ nat @ ( minus_minus @ nat @ M3 @ N3 ) @ N3 ) ) ) ) ) ).

% div_if
thf(fact_1831_div__geq,axiom,
    ! [N: nat,M: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
     => ( ~ ( ord_less @ nat @ M @ N )
       => ( ( divide_divide @ nat @ M @ N )
          = ( suc @ ( divide_divide @ nat @ ( minus_minus @ nat @ M @ N ) @ N ) ) ) ) ) ).

% div_geq
thf(fact_1832_int__cases3,axiom,
    ! [K2: int] :
      ( ( K2
       != ( zero_zero @ int ) )
     => ( ! [N4: nat] :
            ( ( K2
              = ( semiring_1_of_nat @ int @ N4 ) )
           => ~ ( ord_less @ nat @ ( zero_zero @ nat ) @ N4 ) )
       => ~ ! [N4: nat] :
              ( ( K2
                = ( uminus_uminus @ int @ ( semiring_1_of_nat @ int @ N4 ) ) )
             => ~ ( ord_less @ nat @ ( zero_zero @ nat ) @ N4 ) ) ) ) ).

% int_cases3
thf(fact_1833_mult__eq__if,axiom,
    ( ( times_times @ nat )
    = ( ^ [M3: nat,N3: nat] :
          ( if @ nat
          @ ( M3
            = ( zero_zero @ nat ) )
          @ ( zero_zero @ nat )
          @ ( plus_plus @ nat @ N3 @ ( times_times @ nat @ ( minus_minus @ nat @ M3 @ ( one_one @ nat ) ) @ N3 ) ) ) ) ) ).

% mult_eq_if
thf(fact_1834_not__zle__0__negative,axiom,
    ! [N: nat] :
      ~ ( ord_less_eq @ int @ ( zero_zero @ int ) @ ( uminus_uminus @ int @ ( semiring_1_of_nat @ int @ ( suc @ N ) ) ) ) ).

% not_zle_0_negative
thf(fact_1835_negD,axiom,
    ! [X: int] :
      ( ( ord_less @ int @ X @ ( zero_zero @ int ) )
     => ? [N4: nat] :
          ( X
          = ( uminus_uminus @ int @ ( semiring_1_of_nat @ int @ ( suc @ N4 ) ) ) ) ) ).

% negD
thf(fact_1836_negative__zless__0,axiom,
    ! [N: nat] : ( ord_less @ int @ ( uminus_uminus @ int @ ( semiring_1_of_nat @ int @ ( suc @ N ) ) ) @ ( zero_zero @ int ) ) ).

% negative_zless_0
thf(fact_1837_mod__pos__geq,axiom,
    ! [L: int,K2: int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ L )
     => ( ( ord_less_eq @ int @ L @ K2 )
       => ( ( modulo_modulo @ int @ K2 @ L )
          = ( modulo_modulo @ int @ ( minus_minus @ int @ K2 @ L ) @ L ) ) ) ) ).

% mod_pos_geq
thf(fact_1838_verit__less__mono__div__int2,axiom,
    ! [A6: int,B6: int,N: int] :
      ( ( ord_less_eq @ int @ A6 @ B6 )
     => ( ( ord_less @ int @ ( zero_zero @ int ) @ ( uminus_uminus @ int @ N ) )
       => ( ord_less_eq @ int @ ( divide_divide @ int @ B6 @ N ) @ ( divide_divide @ int @ A6 @ N ) ) ) ) ).

% verit_less_mono_div_int2
thf(fact_1839_div__eq__minus1,axiom,
    ! [B2: int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ B2 )
     => ( ( divide_divide @ int @ ( uminus_uminus @ int @ ( one_one @ int ) ) @ B2 )
        = ( uminus_uminus @ int @ ( one_one @ int ) ) ) ) ).

% div_eq_minus1
thf(fact_1840_scaling__mono,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [U: A,V2: A,R3: A,S2: A] :
          ( ( ord_less_eq @ A @ U @ V2 )
         => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ R3 )
           => ( ( ord_less_eq @ A @ R3 @ S2 )
             => ( ord_less_eq @ A @ ( plus_plus @ A @ U @ ( divide_divide @ A @ ( times_times @ A @ R3 @ ( minus_minus @ A @ V2 @ U ) ) @ S2 ) ) @ V2 ) ) ) ) ) ).

% scaling_mono
thf(fact_1841_Suc__nat__eq__nat__zadd1,axiom,
    ! [Z4: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ Z4 )
     => ( ( suc @ ( nat2 @ Z4 ) )
        = ( nat2 @ ( plus_plus @ int @ ( one_one @ int ) @ Z4 ) ) ) ) ).

% Suc_nat_eq_nat_zadd1
thf(fact_1842_nat__less__iff,axiom,
    ! [W2: int,M: nat] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ W2 )
     => ( ( ord_less @ nat @ ( nat2 @ W2 ) @ M )
        = ( ord_less @ int @ W2 @ ( semiring_1_of_nat @ int @ M ) ) ) ) ).

% nat_less_iff
thf(fact_1843_pos__minus__divide__le__eq,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [C3: A,B2: A,A3: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
         => ( ( ord_less_eq @ A @ ( uminus_uminus @ A @ ( divide_divide @ A @ B2 @ C3 ) ) @ A3 )
            = ( ord_less_eq @ A @ ( uminus_uminus @ A @ B2 ) @ ( times_times @ A @ A3 @ C3 ) ) ) ) ) ).

% pos_minus_divide_le_eq
thf(fact_1844_pos__le__minus__divide__eq,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [C3: A,A3: A,B2: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
         => ( ( ord_less_eq @ A @ A3 @ ( uminus_uminus @ A @ ( divide_divide @ A @ B2 @ C3 ) ) )
            = ( ord_less_eq @ A @ ( times_times @ A @ A3 @ C3 ) @ ( uminus_uminus @ A @ B2 ) ) ) ) ) ).

% pos_le_minus_divide_eq
thf(fact_1845_neg__minus__divide__le__eq,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [C3: A,B2: A,A3: A] :
          ( ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
         => ( ( ord_less_eq @ A @ ( uminus_uminus @ A @ ( divide_divide @ A @ B2 @ C3 ) ) @ A3 )
            = ( ord_less_eq @ A @ ( times_times @ A @ A3 @ C3 ) @ ( uminus_uminus @ A @ B2 ) ) ) ) ) ).

% neg_minus_divide_le_eq
thf(fact_1846_neg__le__minus__divide__eq,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [C3: A,A3: A,B2: A] :
          ( ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
         => ( ( ord_less_eq @ A @ A3 @ ( uminus_uminus @ A @ ( divide_divide @ A @ B2 @ C3 ) ) )
            = ( ord_less_eq @ A @ ( uminus_uminus @ A @ B2 ) @ ( times_times @ A @ A3 @ C3 ) ) ) ) ) ).

% neg_le_minus_divide_eq
thf(fact_1847_minus__divide__le__eq,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [B2: A,C3: A,A3: A] :
          ( ( ord_less_eq @ A @ ( uminus_uminus @ A @ ( divide_divide @ A @ B2 @ C3 ) ) @ A3 )
          = ( ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
             => ( ord_less_eq @ A @ ( uminus_uminus @ A @ B2 ) @ ( times_times @ A @ A3 @ C3 ) ) )
            & ( ~ ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
             => ( ( ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
                 => ( ord_less_eq @ A @ ( times_times @ A @ A3 @ C3 ) @ ( uminus_uminus @ A @ B2 ) ) )
                & ( ~ ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
                 => ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 ) ) ) ) ) ) ) ).

% minus_divide_le_eq
thf(fact_1848_le__minus__divide__eq,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less_eq @ A @ A3 @ ( uminus_uminus @ A @ ( divide_divide @ A @ B2 @ C3 ) ) )
          = ( ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
             => ( ord_less_eq @ A @ ( times_times @ A @ A3 @ C3 ) @ ( uminus_uminus @ A @ B2 ) ) )
            & ( ~ ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
             => ( ( ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
                 => ( ord_less_eq @ A @ ( uminus_uminus @ A @ B2 ) @ ( times_times @ A @ A3 @ C3 ) ) )
                & ( ~ ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
                 => ( ord_less_eq @ A @ A3 @ ( zero_zero @ A ) ) ) ) ) ) ) ) ).

% le_minus_divide_eq
thf(fact_1849_power__diff__power__eq,axiom,
    ! [A: $tType] :
      ( ( euclid4440199948858584721cancel @ A )
     => ! [A3: A,N: nat,M: nat] :
          ( ( A3
           != ( zero_zero @ A ) )
         => ( ( ( ord_less_eq @ nat @ N @ M )
             => ( ( divide_divide @ A @ ( power_power @ A @ A3 @ M ) @ ( power_power @ A @ A3 @ N ) )
                = ( power_power @ A @ A3 @ ( minus_minus @ nat @ M @ N ) ) ) )
            & ( ~ ( ord_less_eq @ nat @ N @ M )
             => ( ( divide_divide @ A @ ( power_power @ A @ A3 @ M ) @ ( power_power @ A @ A3 @ N ) )
                = ( divide_divide @ A @ ( one_one @ A ) @ ( power_power @ A @ A3 @ ( minus_minus @ nat @ N @ M ) ) ) ) ) ) ) ) ).

% power_diff_power_eq
thf(fact_1850_power__minus__mult,axiom,
    ! [A: $tType] :
      ( ( monoid_mult @ A )
     => ! [N: nat,A3: A] :
          ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
         => ( ( times_times @ A @ ( power_power @ A @ A3 @ ( minus_minus @ nat @ N @ ( one_one @ nat ) ) ) @ A3 )
            = ( power_power @ A @ A3 @ N ) ) ) ) ).

% power_minus_mult
thf(fact_1851_le__div__geq,axiom,
    ! [N: nat,M: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
     => ( ( ord_less_eq @ nat @ N @ M )
       => ( ( divide_divide @ nat @ M @ N )
          = ( suc @ ( divide_divide @ nat @ ( minus_minus @ nat @ M @ N ) @ N ) ) ) ) ) ).

% le_div_geq
thf(fact_1852_neg__int__cases,axiom,
    ! [K2: int] :
      ( ( ord_less @ int @ K2 @ ( zero_zero @ int ) )
     => ~ ! [N4: nat] :
            ( ( K2
              = ( uminus_uminus @ int @ ( semiring_1_of_nat @ int @ N4 ) ) )
           => ~ ( ord_less @ nat @ ( zero_zero @ nat ) @ N4 ) ) ) ).

% neg_int_cases
thf(fact_1853_neg__one__power__add__eq__neg__one__power__diff,axiom,
    ! [A: $tType] :
      ( ( ring_1 @ A )
     => ! [K2: nat,N: nat] :
          ( ( ord_less_eq @ nat @ K2 @ N )
         => ( ( power_power @ A @ ( uminus_uminus @ A @ ( one_one @ A ) ) @ ( plus_plus @ nat @ N @ K2 ) )
            = ( power_power @ A @ ( uminus_uminus @ A @ ( one_one @ A ) ) @ ( minus_minus @ nat @ N @ K2 ) ) ) ) ) ).

% neg_one_power_add_eq_neg_one_power_diff
thf(fact_1854_pochhammer__code,axiom,
    ! [A: $tType] :
      ( ( comm_semiring_1 @ A )
     => ( ( comm_s3205402744901411588hammer @ A )
        = ( ^ [A7: A,N3: nat] :
              ( if @ A
              @ ( N3
                = ( zero_zero @ nat ) )
              @ ( one_one @ A )
              @ ( set_fo6178422350223883121st_nat @ A
                @ ^ [O: nat] : ( times_times @ A @ ( plus_plus @ A @ A7 @ ( semiring_1_of_nat @ A @ O ) ) )
                @ ( zero_zero @ nat )
                @ ( minus_minus @ nat @ N3 @ ( one_one @ nat ) )
                @ ( one_one @ A ) ) ) ) ) ) ).

% pochhammer_code
thf(fact_1855_size__union,axiom,
    ! [A: $tType,M6: multiset @ A,N7: multiset @ A] :
      ( ( size_size @ ( multiset @ A ) @ ( plus_plus @ ( multiset @ A ) @ M6 @ N7 ) )
      = ( plus_plus @ nat @ ( size_size @ ( multiset @ A ) @ M6 ) @ ( size_size @ ( multiset @ A ) @ N7 ) ) ) ).

% size_union
thf(fact_1856_normalize__negative,axiom,
    ! [Q6: int,P3: int] :
      ( ( ord_less @ int @ Q6 @ ( zero_zero @ int ) )
     => ( ( normalize @ ( product_Pair @ int @ int @ P3 @ Q6 ) )
        = ( normalize @ ( product_Pair @ int @ int @ ( uminus_uminus @ int @ P3 ) @ ( uminus_uminus @ int @ Q6 ) ) ) ) ) ).

% normalize_negative
thf(fact_1857_length__rule,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [A3: array @ A,Xs: list @ A] :
          ( hoare_hoare_triple @ nat @ ( snga_assn @ A @ A3 @ Xs ) @ ( array_len @ A @ A3 )
          @ ^ [R5: nat] :
              ( times_times @ assn @ ( snga_assn @ A @ A3 @ Xs )
              @ ( pure_assn
                @ ( R5
                  = ( size_size @ ( list @ A ) @ Xs ) ) ) ) ) ) ).

% length_rule
thf(fact_1858_Diff__cancel,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ( minus_minus @ ( set @ A ) @ A6 @ A6 )
      = ( bot_bot @ ( set @ A ) ) ) ).

% Diff_cancel
thf(fact_1859_empty__Diff,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ( minus_minus @ ( set @ A ) @ ( bot_bot @ ( set @ A ) ) @ A6 )
      = ( bot_bot @ ( set @ A ) ) ) ).

% empty_Diff
thf(fact_1860_Diff__empty,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ( minus_minus @ ( set @ A ) @ A6 @ ( bot_bot @ ( set @ A ) ) )
      = A6 ) ).

% Diff_empty
thf(fact_1861_Compl__anti__mono,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
     => ( ord_less_eq @ ( set @ A ) @ ( uminus_uminus @ ( set @ A ) @ B6 ) @ ( uminus_uminus @ ( set @ A ) @ A6 ) ) ) ).

% Compl_anti_mono
thf(fact_1862_Compl__subset__Compl__iff,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ ( uminus_uminus @ ( set @ A ) @ A6 ) @ ( uminus_uminus @ ( set @ A ) @ B6 ) )
      = ( ord_less_eq @ ( set @ A ) @ B6 @ A6 ) ) ).

% Compl_subset_Compl_iff
thf(fact_1863_Diff__Compl,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( minus_minus @ ( set @ A ) @ A6 @ ( uminus_uminus @ ( set @ A ) @ B6 ) )
      = ( inf_inf @ ( set @ A ) @ A6 @ B6 ) ) ).

% Diff_Compl
thf(fact_1864_inter__compl__diff__conv,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( inf_inf @ ( set @ A ) @ A6 @ ( uminus_uminus @ ( set @ A ) @ B6 ) )
      = ( minus_minus @ ( set @ A ) @ A6 @ B6 ) ) ).

% inter_compl_diff_conv
thf(fact_1865_Compl__Diff__eq,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( uminus_uminus @ ( set @ A ) @ ( minus_minus @ ( set @ A ) @ A6 @ B6 ) )
      = ( sup_sup @ ( set @ A ) @ ( uminus_uminus @ ( set @ A ) @ A6 ) @ B6 ) ) ).

% Compl_Diff_eq
thf(fact_1866_Un__Diff__cancel,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( sup_sup @ ( set @ A ) @ A6 @ ( minus_minus @ ( set @ A ) @ B6 @ A6 ) )
      = ( sup_sup @ ( set @ A ) @ A6 @ B6 ) ) ).

% Un_Diff_cancel
thf(fact_1867_Un__Diff__cancel2,axiom,
    ! [A: $tType,B6: set @ A,A6: set @ A] :
      ( ( sup_sup @ ( set @ A ) @ ( minus_minus @ ( set @ A ) @ B6 @ A6 ) @ A6 )
      = ( sup_sup @ ( set @ A ) @ B6 @ A6 ) ) ).

% Un_Diff_cancel2
thf(fact_1868_diff__diff__add__mset,axiom,
    ! [A: $tType,M6: multiset @ A,N7: multiset @ A,P2: multiset @ A] :
      ( ( minus_minus @ ( multiset @ A ) @ ( minus_minus @ ( multiset @ A ) @ M6 @ N7 ) @ P2 )
      = ( minus_minus @ ( multiset @ A ) @ M6 @ ( plus_plus @ ( multiset @ A ) @ N7 @ P2 ) ) ) ).

% diff_diff_add_mset
thf(fact_1869_union__eq__empty,axiom,
    ! [A: $tType,M6: multiset @ A,N7: multiset @ A] :
      ( ( ( plus_plus @ ( multiset @ A ) @ M6 @ N7 )
        = ( zero_zero @ ( multiset @ A ) ) )
      = ( ( M6
          = ( zero_zero @ ( multiset @ A ) ) )
        & ( N7
          = ( zero_zero @ ( multiset @ A ) ) ) ) ) ).

% union_eq_empty
thf(fact_1870_empty__eq__union,axiom,
    ! [A: $tType,M6: multiset @ A,N7: multiset @ A] :
      ( ( ( zero_zero @ ( multiset @ A ) )
        = ( plus_plus @ ( multiset @ A ) @ M6 @ N7 ) )
      = ( ( M6
          = ( zero_zero @ ( multiset @ A ) ) )
        & ( N7
          = ( zero_zero @ ( multiset @ A ) ) ) ) ) ).

% empty_eq_union
thf(fact_1871_subset__mset_Ozero__eq__add__iff__both__eq__0,axiom,
    ! [A: $tType,X: multiset @ A,Y: multiset @ A] :
      ( ( ( zero_zero @ ( multiset @ A ) )
        = ( plus_plus @ ( multiset @ A ) @ X @ Y ) )
      = ( ( X
          = ( zero_zero @ ( multiset @ A ) ) )
        & ( Y
          = ( zero_zero @ ( multiset @ A ) ) ) ) ) ).

% subset_mset.zero_eq_add_iff_both_eq_0
thf(fact_1872_subset__mset_Oadd__eq__0__iff__both__eq__0,axiom,
    ! [A: $tType,X: multiset @ A,Y: multiset @ A] :
      ( ( ( plus_plus @ ( multiset @ A ) @ X @ Y )
        = ( zero_zero @ ( multiset @ A ) ) )
      = ( ( X
          = ( zero_zero @ ( multiset @ A ) ) )
        & ( Y
          = ( zero_zero @ ( multiset @ A ) ) ) ) ) ).

% subset_mset.add_eq_0_iff_both_eq_0
thf(fact_1873_Diff__eq__empty__iff,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( ( minus_minus @ ( set @ A ) @ A6 @ B6 )
        = ( bot_bot @ ( set @ A ) ) )
      = ( ord_less_eq @ ( set @ A ) @ A6 @ B6 ) ) ).

% Diff_eq_empty_iff
thf(fact_1874_Diff__disjoint,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( inf_inf @ ( set @ A ) @ A6 @ ( minus_minus @ ( set @ A ) @ B6 @ A6 ) )
      = ( bot_bot @ ( set @ A ) ) ) ).

% Diff_disjoint
thf(fact_1875_Compl__disjoint,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ( inf_inf @ ( set @ A ) @ A6 @ ( uminus_uminus @ ( set @ A ) @ A6 ) )
      = ( bot_bot @ ( set @ A ) ) ) ).

% Compl_disjoint
thf(fact_1876_Compl__disjoint2,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ( inf_inf @ ( set @ A ) @ ( uminus_uminus @ ( set @ A ) @ A6 ) @ A6 )
      = ( bot_bot @ ( set @ A ) ) ) ).

% Compl_disjoint2
thf(fact_1877_mod__not__dist,axiom,
    ! [P2: assn,H: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
      ( ( rep_assn @ ( uminus_uminus @ assn @ P2 ) @ H )
      = ( ( in_range @ H )
        & ~ ( rep_assn @ P2 @ H ) ) ) ).

% mod_not_dist
thf(fact_1878_minus__assn__def,axiom,
    ( ( minus_minus @ assn )
    = ( ^ [A7: assn,B5: assn] : ( inf_inf @ assn @ A7 @ ( uminus_uminus @ assn @ B5 ) ) ) ) ).

% minus_assn_def
thf(fact_1879_Multiset_Odiff__add,axiom,
    ! [A: $tType,M6: multiset @ A,N7: multiset @ A,Q2: multiset @ A] :
      ( ( minus_minus @ ( multiset @ A ) @ M6 @ ( plus_plus @ ( multiset @ A ) @ N7 @ Q2 ) )
      = ( minus_minus @ ( multiset @ A ) @ ( minus_minus @ ( multiset @ A ) @ M6 @ N7 ) @ Q2 ) ) ).

% Multiset.diff_add
thf(fact_1880_diff__union__cancelL,axiom,
    ! [A: $tType,N7: multiset @ A,M6: multiset @ A] :
      ( ( minus_minus @ ( multiset @ A ) @ ( plus_plus @ ( multiset @ A ) @ N7 @ M6 ) @ N7 )
      = M6 ) ).

% diff_union_cancelL
thf(fact_1881_diff__union__cancelR,axiom,
    ! [A: $tType,M6: multiset @ A,N7: multiset @ A] :
      ( ( minus_minus @ ( multiset @ A ) @ ( plus_plus @ ( multiset @ A ) @ M6 @ N7 ) @ N7 )
      = M6 ) ).

% diff_union_cancelR
thf(fact_1882_union__diff__assoc,axiom,
    ! [A: $tType,C5: multiset @ A,B6: multiset @ A,A6: multiset @ A] :
      ( ( ( minus_minus @ ( multiset @ A ) @ C5 @ B6 )
        = ( zero_zero @ ( multiset @ A ) ) )
     => ( ( minus_minus @ ( multiset @ A ) @ ( plus_plus @ ( multiset @ A ) @ A6 @ B6 ) @ C5 )
        = ( plus_plus @ ( multiset @ A ) @ A6 @ ( minus_minus @ ( multiset @ A ) @ B6 @ C5 ) ) ) ) ).

% union_diff_assoc
thf(fact_1883_union__le__mono1,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [B6: multiset @ A,D5: multiset @ A,C5: multiset @ A] :
          ( ( ord_less @ ( multiset @ A ) @ B6 @ D5 )
         => ( ord_less @ ( multiset @ A ) @ ( plus_plus @ ( multiset @ A ) @ B6 @ C5 ) @ ( plus_plus @ ( multiset @ A ) @ D5 @ C5 ) ) ) ) ).

% union_le_mono1
thf(fact_1884_union__le__mono2,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [B6: multiset @ A,D5: multiset @ A,C5: multiset @ A] :
          ( ( ord_less @ ( multiset @ A ) @ B6 @ D5 )
         => ( ord_less @ ( multiset @ A ) @ ( plus_plus @ ( multiset @ A ) @ C5 @ B6 ) @ ( plus_plus @ ( multiset @ A ) @ C5 @ D5 ) ) ) ) ).

% union_le_mono2
thf(fact_1885_union__less__mono,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [A6: multiset @ A,C5: multiset @ A,B6: multiset @ A,D5: multiset @ A] :
          ( ( ord_less @ ( multiset @ A ) @ A6 @ C5 )
         => ( ( ord_less @ ( multiset @ A ) @ B6 @ D5 )
           => ( ord_less @ ( multiset @ A ) @ ( plus_plus @ ( multiset @ A ) @ A6 @ B6 ) @ ( plus_plus @ ( multiset @ A ) @ C5 @ D5 ) ) ) ) ) ).

% union_less_mono
thf(fact_1886_empty__neutral_I1_J,axiom,
    ! [A: $tType,X: multiset @ A] :
      ( ( plus_plus @ ( multiset @ A ) @ ( zero_zero @ ( multiset @ A ) ) @ X )
      = X ) ).

% empty_neutral(1)
thf(fact_1887_empty__neutral_I2_J,axiom,
    ! [A: $tType,X: multiset @ A] :
      ( ( plus_plus @ ( multiset @ A ) @ X @ ( zero_zero @ ( multiset @ A ) ) )
      = X ) ).

% empty_neutral(2)
thf(fact_1888_mset__distrib,axiom,
    ! [A: $tType,A6: multiset @ A,B6: multiset @ A,M6: multiset @ A,N7: multiset @ A] :
      ( ( ( plus_plus @ ( multiset @ A ) @ A6 @ B6 )
        = ( plus_plus @ ( multiset @ A ) @ M6 @ N7 ) )
     => ~ ! [Am: multiset @ A,An: multiset @ A] :
            ( ( A6
              = ( plus_plus @ ( multiset @ A ) @ Am @ An ) )
           => ! [Bm: multiset @ A,Bn: multiset @ A] :
                ( ( B6
                  = ( plus_plus @ ( multiset @ A ) @ Bm @ Bn ) )
               => ( ( M6
                    = ( plus_plus @ ( multiset @ A ) @ Am @ Bm ) )
                 => ( N7
                   != ( plus_plus @ ( multiset @ A ) @ An @ Bn ) ) ) ) ) ) ).

% mset_distrib
thf(fact_1889_multi__union__self__other__eq,axiom,
    ! [A: $tType,A6: multiset @ A,X7: multiset @ A,Y7: multiset @ A] :
      ( ( ( plus_plus @ ( multiset @ A ) @ A6 @ X7 )
        = ( plus_plus @ ( multiset @ A ) @ A6 @ Y7 ) )
     => ( X7 = Y7 ) ) ).

% multi_union_self_other_eq
thf(fact_1890_union__right__cancel,axiom,
    ! [A: $tType,M6: multiset @ A,K5: multiset @ A,N7: multiset @ A] :
      ( ( ( plus_plus @ ( multiset @ A ) @ M6 @ K5 )
        = ( plus_plus @ ( multiset @ A ) @ N7 @ K5 ) )
      = ( M6 = N7 ) ) ).

% union_right_cancel
thf(fact_1891_union__left__cancel,axiom,
    ! [A: $tType,K5: multiset @ A,M6: multiset @ A,N7: multiset @ A] :
      ( ( ( plus_plus @ ( multiset @ A ) @ K5 @ M6 )
        = ( plus_plus @ ( multiset @ A ) @ K5 @ N7 ) )
      = ( M6 = N7 ) ) ).

% union_left_cancel
thf(fact_1892_union__commute,axiom,
    ! [A: $tType] :
      ( ( plus_plus @ ( multiset @ A ) )
      = ( ^ [M9: multiset @ A,N8: multiset @ A] : ( plus_plus @ ( multiset @ A ) @ N8 @ M9 ) ) ) ).

% union_commute
thf(fact_1893_union__lcomm,axiom,
    ! [A: $tType,M6: multiset @ A,N7: multiset @ A,K5: multiset @ A] :
      ( ( plus_plus @ ( multiset @ A ) @ M6 @ ( plus_plus @ ( multiset @ A ) @ N7 @ K5 ) )
      = ( plus_plus @ ( multiset @ A ) @ N7 @ ( plus_plus @ ( multiset @ A ) @ M6 @ K5 ) ) ) ).

% union_lcomm
thf(fact_1894_union__assoc,axiom,
    ! [A: $tType,M6: multiset @ A,N7: multiset @ A,K5: multiset @ A] :
      ( ( plus_plus @ ( multiset @ A ) @ ( plus_plus @ ( multiset @ A ) @ M6 @ N7 ) @ K5 )
      = ( plus_plus @ ( multiset @ A ) @ M6 @ ( plus_plus @ ( multiset @ A ) @ N7 @ K5 ) ) ) ).

% union_assoc
thf(fact_1895_Diff__mono,axiom,
    ! [A: $tType,A6: set @ A,C5: set @ A,D5: set @ A,B6: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ A6 @ C5 )
     => ( ( ord_less_eq @ ( set @ A ) @ D5 @ B6 )
       => ( ord_less_eq @ ( set @ A ) @ ( minus_minus @ ( set @ A ) @ A6 @ B6 ) @ ( minus_minus @ ( set @ A ) @ C5 @ D5 ) ) ) ) ).

% Diff_mono
thf(fact_1896_Diff__subset,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] : ( ord_less_eq @ ( set @ A ) @ ( minus_minus @ ( set @ A ) @ A6 @ B6 ) @ A6 ) ).

% Diff_subset
thf(fact_1897_double__diff,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A,C5: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
     => ( ( ord_less_eq @ ( set @ A ) @ B6 @ C5 )
       => ( ( minus_minus @ ( set @ A ) @ B6 @ ( minus_minus @ ( set @ A ) @ C5 @ A6 ) )
          = A6 ) ) ) ).

% double_diff
thf(fact_1898_Diff__Int__distrib2,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A,C5: set @ A] :
      ( ( inf_inf @ ( set @ A ) @ ( minus_minus @ ( set @ A ) @ A6 @ B6 ) @ C5 )
      = ( minus_minus @ ( set @ A ) @ ( inf_inf @ ( set @ A ) @ A6 @ C5 ) @ ( inf_inf @ ( set @ A ) @ B6 @ C5 ) ) ) ).

% Diff_Int_distrib2
thf(fact_1899_Diff__Int__distrib,axiom,
    ! [A: $tType,C5: set @ A,A6: set @ A,B6: set @ A] :
      ( ( inf_inf @ ( set @ A ) @ C5 @ ( minus_minus @ ( set @ A ) @ A6 @ B6 ) )
      = ( minus_minus @ ( set @ A ) @ ( inf_inf @ ( set @ A ) @ C5 @ A6 ) @ ( inf_inf @ ( set @ A ) @ C5 @ B6 ) ) ) ).

% Diff_Int_distrib
thf(fact_1900_Diff__Diff__Int,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( minus_minus @ ( set @ A ) @ A6 @ ( minus_minus @ ( set @ A ) @ A6 @ B6 ) )
      = ( inf_inf @ ( set @ A ) @ A6 @ B6 ) ) ).

% Diff_Diff_Int
thf(fact_1901_Diff__Int2,axiom,
    ! [A: $tType,A6: set @ A,C5: set @ A,B6: set @ A] :
      ( ( minus_minus @ ( set @ A ) @ ( inf_inf @ ( set @ A ) @ A6 @ C5 ) @ ( inf_inf @ ( set @ A ) @ B6 @ C5 ) )
      = ( minus_minus @ ( set @ A ) @ ( inf_inf @ ( set @ A ) @ A6 @ C5 ) @ B6 ) ) ).

% Diff_Int2
thf(fact_1902_Int__Diff,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A,C5: set @ A] :
      ( ( minus_minus @ ( set @ A ) @ ( inf_inf @ ( set @ A ) @ A6 @ B6 ) @ C5 )
      = ( inf_inf @ ( set @ A ) @ A6 @ ( minus_minus @ ( set @ A ) @ B6 @ C5 ) ) ) ).

% Int_Diff
thf(fact_1903_Un__Diff,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A,C5: set @ A] :
      ( ( minus_minus @ ( set @ A ) @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) @ C5 )
      = ( sup_sup @ ( set @ A ) @ ( minus_minus @ ( set @ A ) @ A6 @ C5 ) @ ( minus_minus @ ( set @ A ) @ B6 @ C5 ) ) ) ).

% Un_Diff
thf(fact_1904_set__diff__diff__left,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A,C5: set @ A] :
      ( ( minus_minus @ ( set @ A ) @ ( minus_minus @ ( set @ A ) @ A6 @ B6 ) @ C5 )
      = ( minus_minus @ ( set @ A ) @ A6 @ ( sup_sup @ ( set @ A ) @ B6 @ C5 ) ) ) ).

% set_diff_diff_left
thf(fact_1905_psubset__imp__ex__mem,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( ord_less @ ( set @ A ) @ A6 @ B6 )
     => ? [B4: A] : ( member @ A @ B4 @ ( minus_minus @ ( set @ A ) @ B6 @ A6 ) ) ) ).

% psubset_imp_ex_mem
thf(fact_1906_uminus__unit__def,axiom,
    ( ( uminus_uminus @ product_unit )
    = ( ^ [Uu3: product_unit] : product_Unity ) ) ).

% uminus_unit_def
thf(fact_1907_diff__size__le__size__Diff,axiom,
    ! [A: $tType,M6: multiset @ A,M10: multiset @ A] : ( ord_less_eq @ nat @ ( minus_minus @ nat @ ( size_size @ ( multiset @ A ) @ M6 ) @ ( size_size @ ( multiset @ A ) @ M10 ) ) @ ( size_size @ ( multiset @ A ) @ ( minus_minus @ ( multiset @ A ) @ M6 @ M10 ) ) ) ).

% diff_size_le_size_Diff
thf(fact_1908_Collect__imp__eq,axiom,
    ! [A: $tType,P2: A > $o,Q2: A > $o] :
      ( ( collect @ A
        @ ^ [X4: A] :
            ( ( P2 @ X4 )
           => ( Q2 @ X4 ) ) )
      = ( sup_sup @ ( set @ A ) @ ( uminus_uminus @ ( set @ A ) @ ( collect @ A @ P2 ) ) @ ( collect @ A @ Q2 ) ) ) ).

% Collect_imp_eq
thf(fact_1909_subset__minus__empty,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
     => ( ( minus_minus @ ( set @ A ) @ A6 @ B6 )
        = ( bot_bot @ ( set @ A ) ) ) ) ).

% subset_minus_empty
thf(fact_1910_subset__Compl__self__eq,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ A6 @ ( uminus_uminus @ ( set @ A ) @ A6 ) )
      = ( A6
        = ( bot_bot @ ( set @ A ) ) ) ) ).

% subset_Compl_self_eq
thf(fact_1911_disjoint__alt__simp2,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( ( minus_minus @ ( set @ A ) @ A6 @ B6 )
       != A6 )
      = ( ( inf_inf @ ( set @ A ) @ A6 @ B6 )
       != ( bot_bot @ ( set @ A ) ) ) ) ).

% disjoint_alt_simp2
thf(fact_1912_disjoint__alt__simp1,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( ( minus_minus @ ( set @ A ) @ A6 @ B6 )
        = A6 )
      = ( ( inf_inf @ ( set @ A ) @ A6 @ B6 )
        = ( bot_bot @ ( set @ A ) ) ) ) ).

% disjoint_alt_simp1
thf(fact_1913_Int__Diff__disjoint,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( inf_inf @ ( set @ A ) @ ( inf_inf @ ( set @ A ) @ A6 @ B6 ) @ ( minus_minus @ ( set @ A ) @ A6 @ B6 ) )
      = ( bot_bot @ ( set @ A ) ) ) ).

% Int_Diff_disjoint
thf(fact_1914_Diff__triv,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( ( inf_inf @ ( set @ A ) @ A6 @ B6 )
        = ( bot_bot @ ( set @ A ) ) )
     => ( ( minus_minus @ ( set @ A ) @ A6 @ B6 )
        = A6 ) ) ).

% Diff_triv
thf(fact_1915_Diff__subset__conv,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A,C5: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ ( minus_minus @ ( set @ A ) @ A6 @ B6 ) @ C5 )
      = ( ord_less_eq @ ( set @ A ) @ A6 @ ( sup_sup @ ( set @ A ) @ B6 @ C5 ) ) ) ).

% Diff_subset_conv
thf(fact_1916_Diff__partition,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
     => ( ( sup_sup @ ( set @ A ) @ A6 @ ( minus_minus @ ( set @ A ) @ B6 @ A6 ) )
        = B6 ) ) ).

% Diff_partition
thf(fact_1917_pochhammer__pos,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [X: A,N: nat] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ X )
         => ( ord_less @ A @ ( zero_zero @ A ) @ ( comm_s3205402744901411588hammer @ A @ X @ N ) ) ) ) ).

% pochhammer_pos
thf(fact_1918_Un__Diff__Int,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( sup_sup @ ( set @ A ) @ ( minus_minus @ ( set @ A ) @ A6 @ B6 ) @ ( inf_inf @ ( set @ A ) @ A6 @ B6 ) )
      = A6 ) ).

% Un_Diff_Int
thf(fact_1919_Int__Diff__Un,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( sup_sup @ ( set @ A ) @ ( inf_inf @ ( set @ A ) @ A6 @ B6 ) @ ( minus_minus @ ( set @ A ) @ A6 @ B6 ) )
      = A6 ) ).

% Int_Diff_Un
thf(fact_1920_Diff__Int,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A,C5: set @ A] :
      ( ( minus_minus @ ( set @ A ) @ A6 @ ( inf_inf @ ( set @ A ) @ B6 @ C5 ) )
      = ( sup_sup @ ( set @ A ) @ ( minus_minus @ ( set @ A ) @ A6 @ B6 ) @ ( minus_minus @ ( set @ A ) @ A6 @ C5 ) ) ) ).

% Diff_Int
thf(fact_1921_Diff__Un,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A,C5: set @ A] :
      ( ( minus_minus @ ( set @ A ) @ A6 @ ( sup_sup @ ( set @ A ) @ B6 @ C5 ) )
      = ( inf_inf @ ( set @ A ) @ ( minus_minus @ ( set @ A ) @ A6 @ B6 ) @ ( minus_minus @ ( set @ A ) @ A6 @ C5 ) ) ) ).

% Diff_Un
thf(fact_1922_Compl__Int,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( uminus_uminus @ ( set @ A ) @ ( inf_inf @ ( set @ A ) @ A6 @ B6 ) )
      = ( sup_sup @ ( set @ A ) @ ( uminus_uminus @ ( set @ A ) @ A6 ) @ ( uminus_uminus @ ( set @ A ) @ B6 ) ) ) ).

% Compl_Int
thf(fact_1923_Compl__Un,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( uminus_uminus @ ( set @ A ) @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) )
      = ( inf_inf @ ( set @ A ) @ ( uminus_uminus @ ( set @ A ) @ A6 ) @ ( uminus_uminus @ ( set @ A ) @ B6 ) ) ) ).

% Compl_Un
thf(fact_1924_pochhammer__eq__0__mono,axiom,
    ! [A: $tType] :
      ( ( field_char_0 @ A )
     => ! [A3: A,N: nat,M: nat] :
          ( ( ( comm_s3205402744901411588hammer @ A @ A3 @ N )
            = ( zero_zero @ A ) )
         => ( ( ord_less_eq @ nat @ N @ M )
           => ( ( comm_s3205402744901411588hammer @ A @ A3 @ M )
              = ( zero_zero @ A ) ) ) ) ) ).

% pochhammer_eq_0_mono
thf(fact_1925_pochhammer__neq__0__mono,axiom,
    ! [A: $tType] :
      ( ( field_char_0 @ A )
     => ! [A3: A,M: nat,N: nat] :
          ( ( ( comm_s3205402744901411588hammer @ A @ A3 @ M )
           != ( zero_zero @ A ) )
         => ( ( ord_less_eq @ nat @ N @ M )
           => ( ( comm_s3205402744901411588hammer @ A @ A3 @ N )
             != ( zero_zero @ A ) ) ) ) ) ).

% pochhammer_neq_0_mono
thf(fact_1926_disjoint__eq__subset__Compl,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( ( inf_inf @ ( set @ A ) @ A6 @ B6 )
        = ( bot_bot @ ( set @ A ) ) )
      = ( ord_less_eq @ ( set @ A ) @ A6 @ ( uminus_uminus @ ( set @ A ) @ B6 ) ) ) ).

% disjoint_eq_subset_Compl
thf(fact_1927_pochhammer__nonneg,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [X: A,N: nat] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ X )
         => ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( comm_s3205402744901411588hammer @ A @ X @ N ) ) ) ) ).

% pochhammer_nonneg
thf(fact_1928_disjoint__alt__simp3,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( ord_less @ ( set @ A ) @ ( minus_minus @ ( set @ A ) @ A6 @ B6 ) @ A6 )
      = ( ( inf_inf @ ( set @ A ) @ A6 @ B6 )
       != ( bot_bot @ ( set @ A ) ) ) ) ).

% disjoint_alt_simp3
thf(fact_1929_uminus__assn__def,axiom,
    ( ( uminus_uminus @ assn )
    = ( ^ [P5: assn] :
          ( abs_assn
          @ ^ [H7: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
              ( ( in_range @ H7 )
              & ~ ( rep_assn @ P5 @ H7 ) ) ) ) ) ).

% uminus_assn_def
thf(fact_1930_pochhammer__rec,axiom,
    ! [A: $tType] :
      ( ( comm_semiring_1 @ A )
     => ! [A3: A,N: nat] :
          ( ( comm_s3205402744901411588hammer @ A @ A3 @ ( suc @ N ) )
          = ( times_times @ A @ A3 @ ( comm_s3205402744901411588hammer @ A @ ( plus_plus @ A @ A3 @ ( one_one @ A ) ) @ N ) ) ) ) ).

% pochhammer_rec
thf(fact_1931_pochhammer__Suc,axiom,
    ! [A: $tType] :
      ( ( comm_semiring_1 @ A )
     => ! [A3: A,N: nat] :
          ( ( comm_s3205402744901411588hammer @ A @ A3 @ ( suc @ N ) )
          = ( times_times @ A @ ( comm_s3205402744901411588hammer @ A @ A3 @ N ) @ ( plus_plus @ A @ A3 @ ( semiring_1_of_nat @ A @ N ) ) ) ) ) ).

% pochhammer_Suc
thf(fact_1932_pochhammer__rec_H,axiom,
    ! [A: $tType] :
      ( ( comm_semiring_1 @ A )
     => ! [Z4: A,N: nat] :
          ( ( comm_s3205402744901411588hammer @ A @ Z4 @ ( suc @ N ) )
          = ( times_times @ A @ ( plus_plus @ A @ Z4 @ ( semiring_1_of_nat @ A @ N ) ) @ ( comm_s3205402744901411588hammer @ A @ Z4 @ N ) ) ) ) ).

% pochhammer_rec'
thf(fact_1933_pochhammer__eq__0__iff,axiom,
    ! [A: $tType] :
      ( ( field_char_0 @ A )
     => ! [A3: A,N: nat] :
          ( ( ( comm_s3205402744901411588hammer @ A @ A3 @ N )
            = ( zero_zero @ A ) )
          = ( ? [K3: nat] :
                ( ( ord_less @ nat @ K3 @ N )
                & ( A3
                  = ( uminus_uminus @ A @ ( semiring_1_of_nat @ A @ K3 ) ) ) ) ) ) ) ).

% pochhammer_eq_0_iff
thf(fact_1934_pochhammer__of__nat__eq__0__iff,axiom,
    ! [A: $tType] :
      ( ( ( ring_char_0 @ A )
        & ( idom @ A ) )
     => ! [N: nat,K2: nat] :
          ( ( ( comm_s3205402744901411588hammer @ A @ ( uminus_uminus @ A @ ( semiring_1_of_nat @ A @ N ) ) @ K2 )
            = ( zero_zero @ A ) )
          = ( ord_less @ nat @ N @ K2 ) ) ) ).

% pochhammer_of_nat_eq_0_iff
thf(fact_1935_pochhammer__of__nat__eq__0__lemma,axiom,
    ! [A: $tType] :
      ( ( idom @ A )
     => ! [N: nat,K2: nat] :
          ( ( ord_less @ nat @ N @ K2 )
         => ( ( comm_s3205402744901411588hammer @ A @ ( uminus_uminus @ A @ ( semiring_1_of_nat @ A @ N ) ) @ K2 )
            = ( zero_zero @ A ) ) ) ) ).

% pochhammer_of_nat_eq_0_lemma
thf(fact_1936_pochhammer__of__nat__eq__0__lemma_H,axiom,
    ! [A: $tType] :
      ( ( ( ring_char_0 @ A )
        & ( idom @ A ) )
     => ! [K2: nat,N: nat] :
          ( ( ord_less_eq @ nat @ K2 @ N )
         => ( ( comm_s3205402744901411588hammer @ A @ ( uminus_uminus @ A @ ( semiring_1_of_nat @ A @ N ) ) @ K2 )
           != ( zero_zero @ A ) ) ) ) ).

% pochhammer_of_nat_eq_0_lemma'
thf(fact_1937_pochhammer__product_H,axiom,
    ! [A: $tType] :
      ( ( comm_semiring_1 @ A )
     => ! [Z4: A,N: nat,M: nat] :
          ( ( comm_s3205402744901411588hammer @ A @ Z4 @ ( plus_plus @ nat @ N @ M ) )
          = ( times_times @ A @ ( comm_s3205402744901411588hammer @ A @ Z4 @ N ) @ ( comm_s3205402744901411588hammer @ A @ ( plus_plus @ A @ Z4 @ ( semiring_1_of_nat @ A @ N ) ) @ M ) ) ) ) ).

% pochhammer_product'
thf(fact_1938_normalize__denom__pos,axiom,
    ! [R3: product_prod @ int @ int,P3: int,Q6: int] :
      ( ( ( normalize @ R3 )
        = ( product_Pair @ int @ int @ P3 @ Q6 ) )
     => ( ord_less @ int @ ( zero_zero @ int ) @ Q6 ) ) ).

% normalize_denom_pos
thf(fact_1939_pochhammer__product,axiom,
    ! [A: $tType] :
      ( ( comm_semiring_1 @ A )
     => ! [M: nat,N: nat,Z4: A] :
          ( ( ord_less_eq @ nat @ M @ N )
         => ( ( comm_s3205402744901411588hammer @ A @ Z4 @ N )
            = ( times_times @ A @ ( comm_s3205402744901411588hammer @ A @ Z4 @ M ) @ ( comm_s3205402744901411588hammer @ A @ ( plus_plus @ A @ Z4 @ ( semiring_1_of_nat @ A @ M ) ) @ ( minus_minus @ nat @ N @ M ) ) ) ) ) ) ).

% pochhammer_product
thf(fact_1940_pochhammer__absorb__comp,axiom,
    ! [A: $tType] :
      ( ( comm_ring_1 @ A )
     => ! [R3: A,K2: nat] :
          ( ( times_times @ A @ ( minus_minus @ A @ R3 @ ( semiring_1_of_nat @ A @ K2 ) ) @ ( comm_s3205402744901411588hammer @ A @ ( uminus_uminus @ A @ R3 ) @ K2 ) )
          = ( times_times @ A @ R3 @ ( comm_s3205402744901411588hammer @ A @ ( plus_plus @ A @ ( uminus_uminus @ A @ R3 ) @ ( one_one @ A ) ) @ K2 ) ) ) ) ).

% pochhammer_absorb_comp
thf(fact_1941_nonempty__has__size,axiom,
    ! [A: $tType,S: multiset @ A] :
      ( ( S
       != ( zero_zero @ ( multiset @ A ) ) )
      = ( ord_less @ nat @ ( zero_zero @ nat ) @ ( size_size @ ( multiset @ A ) @ S ) ) ) ).

% nonempty_has_size
thf(fact_1942_pochhammer__minus,axiom,
    ! [A: $tType] :
      ( ( comm_ring_1 @ A )
     => ! [B2: A,K2: nat] :
          ( ( comm_s3205402744901411588hammer @ A @ ( uminus_uminus @ A @ B2 ) @ K2 )
          = ( times_times @ A @ ( power_power @ A @ ( uminus_uminus @ A @ ( one_one @ A ) ) @ K2 ) @ ( comm_s3205402744901411588hammer @ A @ ( plus_plus @ A @ ( minus_minus @ A @ B2 @ ( semiring_1_of_nat @ A @ K2 ) ) @ ( one_one @ A ) ) @ K2 ) ) ) ) ).

% pochhammer_minus
thf(fact_1943_pochhammer__minus_H,axiom,
    ! [A: $tType] :
      ( ( comm_ring_1 @ A )
     => ! [B2: A,K2: nat] :
          ( ( comm_s3205402744901411588hammer @ A @ ( plus_plus @ A @ ( minus_minus @ A @ B2 @ ( semiring_1_of_nat @ A @ K2 ) ) @ ( one_one @ A ) ) @ K2 )
          = ( times_times @ A @ ( power_power @ A @ ( uminus_uminus @ A @ ( one_one @ A ) ) @ K2 ) @ ( comm_s3205402744901411588hammer @ A @ ( uminus_uminus @ A @ B2 ) @ K2 ) ) ) ) ).

% pochhammer_minus'
thf(fact_1944_len_H__def,axiom,
    ! [A: $tType,B: $tType] :
      ( ( ( heap @ B )
        & ( semiring_1 @ A ) )
     => ( ( array_len2 @ B @ A )
        = ( ^ [A7: array @ B] :
              ( heap_Time_bind @ nat @ A @ ( array_len @ B @ A7 )
              @ ^ [N3: nat] : ( heap_Time_ureturn @ A @ ( semiring_1_of_nat @ A @ N3 ) ) ) ) ) ) ).

% len'_def
thf(fact_1945_nat0__intermed__int__val,axiom,
    ! [N: nat,F3: nat > int,K2: int] :
      ( ! [I3: nat] :
          ( ( ord_less @ nat @ I3 @ N )
         => ( ord_less_eq @ int @ ( abs_abs @ int @ ( minus_minus @ int @ ( F3 @ ( plus_plus @ nat @ I3 @ ( one_one @ nat ) ) ) @ ( F3 @ I3 ) ) ) @ ( one_one @ int ) ) )
     => ( ( ord_less_eq @ int @ ( F3 @ ( zero_zero @ nat ) ) @ K2 )
       => ( ( ord_less_eq @ int @ K2 @ ( F3 @ N ) )
         => ? [I3: nat] :
              ( ( ord_less_eq @ nat @ I3 @ N )
              & ( ( F3 @ I3 )
                = K2 ) ) ) ) ) ).

% nat0_intermed_int_val
thf(fact_1946_slice__len,axiom,
    ! [A: $tType,From: nat,To: nat,Xs: list @ A] :
      ( ( ord_less_eq @ nat @ From @ To )
     => ( ( ord_less_eq @ nat @ To @ ( size_size @ ( list @ A ) @ Xs ) )
       => ( ( size_size @ ( list @ A ) @ ( slice @ A @ From @ To @ Xs ) )
          = ( minus_minus @ nat @ To @ From ) ) ) ) ).

% slice_len
thf(fact_1947_nat__ivt__aux,axiom,
    ! [N: nat,F3: nat > int,K2: int] :
      ( ! [I3: nat] :
          ( ( ord_less @ nat @ I3 @ N )
         => ( ord_less_eq @ int @ ( abs_abs @ int @ ( minus_minus @ int @ ( F3 @ ( suc @ I3 ) ) @ ( F3 @ I3 ) ) ) @ ( one_one @ int ) ) )
     => ( ( ord_less_eq @ int @ ( F3 @ ( zero_zero @ nat ) ) @ K2 )
       => ( ( ord_less_eq @ int @ K2 @ ( F3 @ N ) )
         => ? [I3: nat] :
              ( ( ord_less_eq @ nat @ I3 @ N )
              & ( ( F3 @ I3 )
                = K2 ) ) ) ) ) ).

% nat_ivt_aux
thf(fact_1948_triangle__Suc,axiom,
    ! [N: nat] :
      ( ( nat_triangle @ ( suc @ N ) )
      = ( plus_plus @ nat @ ( nat_triangle @ N ) @ ( suc @ N ) ) ) ).

% triangle_Suc
thf(fact_1949_gbinomial__absorption_H,axiom,
    ! [A: $tType] :
      ( ( field_char_0 @ A )
     => ! [K2: nat,A3: A] :
          ( ( ord_less @ nat @ ( zero_zero @ nat ) @ K2 )
         => ( ( gbinomial @ A @ A3 @ K2 )
            = ( times_times @ A @ ( divide_divide @ A @ A3 @ ( semiring_1_of_nat @ A @ K2 ) ) @ ( gbinomial @ A @ ( minus_minus @ A @ A3 @ ( one_one @ A ) ) @ ( minus_minus @ nat @ K2 @ ( one_one @ nat ) ) ) ) ) ) ) ).

% gbinomial_absorption'
thf(fact_1950_fact__reduce,axiom,
    ! [A: $tType] :
      ( ( semiring_char_0 @ A )
     => ! [N: nat] :
          ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
         => ( ( semiring_char_0_fact @ A @ N )
            = ( times_times @ A @ ( semiring_1_of_nat @ A @ N ) @ ( semiring_char_0_fact @ A @ ( minus_minus @ nat @ N @ ( one_one @ nat ) ) ) ) ) ) ) ).

% fact_reduce
thf(fact_1951_DiffI,axiom,
    ! [A: $tType,C3: A,A6: set @ A,B6: set @ A] :
      ( ( member @ A @ C3 @ A6 )
     => ( ~ ( member @ A @ C3 @ B6 )
       => ( member @ A @ C3 @ ( minus_minus @ ( set @ A ) @ A6 @ B6 ) ) ) ) ).

% DiffI
thf(fact_1952_Diff__iff,axiom,
    ! [A: $tType,C3: A,A6: set @ A,B6: set @ A] :
      ( ( member @ A @ C3 @ ( minus_minus @ ( set @ A ) @ A6 @ B6 ) )
      = ( ( member @ A @ C3 @ A6 )
        & ~ ( member @ A @ C3 @ B6 ) ) ) ).

% Diff_iff
thf(fact_1953_Diff__idemp,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( minus_minus @ ( set @ A ) @ ( minus_minus @ ( set @ A ) @ A6 @ B6 ) @ B6 )
      = ( minus_minus @ ( set @ A ) @ A6 @ B6 ) ) ).

% Diff_idemp
thf(fact_1954_ComplI,axiom,
    ! [A: $tType,C3: A,A6: set @ A] :
      ( ~ ( member @ A @ C3 @ A6 )
     => ( member @ A @ C3 @ ( uminus_uminus @ ( set @ A ) @ A6 ) ) ) ).

% ComplI
thf(fact_1955_Compl__iff,axiom,
    ! [A: $tType,C3: A,A6: set @ A] :
      ( ( member @ A @ C3 @ ( uminus_uminus @ ( set @ A ) @ A6 ) )
      = ( ~ ( member @ A @ C3 @ A6 ) ) ) ).

% Compl_iff
thf(fact_1956_Compl__eq__Compl__iff,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( ( uminus_uminus @ ( set @ A ) @ A6 )
        = ( uminus_uminus @ ( set @ A ) @ B6 ) )
      = ( A6 = B6 ) ) ).

% Compl_eq_Compl_iff
thf(fact_1957_abs__add__abs,axiom,
    ! [A: $tType] :
      ( ( ordere166539214618696060dd_abs @ A )
     => ! [A3: A,B2: A] :
          ( ( abs_abs @ A @ ( plus_plus @ A @ ( abs_abs @ A @ A3 ) @ ( abs_abs @ A @ B2 ) ) )
          = ( plus_plus @ A @ ( abs_abs @ A @ A3 ) @ ( abs_abs @ A @ B2 ) ) ) ) ).

% abs_add_abs
thf(fact_1958_abs__of__nat,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [N: nat] :
          ( ( abs_abs @ A @ ( semiring_1_of_nat @ A @ N ) )
          = ( semiring_1_of_nat @ A @ N ) ) ) ).

% abs_of_nat
thf(fact_1959_abs__le__zero__iff,axiom,
    ! [A: $tType] :
      ( ( ordere166539214618696060dd_abs @ A )
     => ! [A3: A] :
          ( ( ord_less_eq @ A @ ( abs_abs @ A @ A3 ) @ ( zero_zero @ A ) )
          = ( A3
            = ( zero_zero @ A ) ) ) ) ).

% abs_le_zero_iff
thf(fact_1960_abs__le__self__iff,axiom,
    ! [A: $tType] :
      ( ( ordere166539214618696060dd_abs @ A )
     => ! [A3: A] :
          ( ( ord_less_eq @ A @ ( abs_abs @ A @ A3 ) @ A3 )
          = ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 ) ) ) ).

% abs_le_self_iff
thf(fact_1961_abs__of__nonneg,axiom,
    ! [A: $tType] :
      ( ( ordere166539214618696060dd_abs @ A )
     => ! [A3: A] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 )
         => ( ( abs_abs @ A @ A3 )
            = A3 ) ) ) ).

% abs_of_nonneg
thf(fact_1962_zero__less__abs__iff,axiom,
    ! [A: $tType] :
      ( ( ordere166539214618696060dd_abs @ A )
     => ! [A3: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ ( abs_abs @ A @ A3 ) )
          = ( A3
           != ( zero_zero @ A ) ) ) ) ).

% zero_less_abs_iff
thf(fact_1963_slice__complete,axiom,
    ! [A: $tType,Xs: list @ A] :
      ( ( slice @ A @ ( zero_zero @ nat ) @ ( size_size @ ( list @ A ) @ Xs ) @ Xs )
      = Xs ) ).

% slice_complete
thf(fact_1964_abs__of__nonpos,axiom,
    ! [A: $tType] :
      ( ( ordere166539214618696060dd_abs @ A )
     => ! [A3: A] :
          ( ( ord_less_eq @ A @ A3 @ ( zero_zero @ A ) )
         => ( ( abs_abs @ A @ A3 )
            = ( uminus_uminus @ A @ A3 ) ) ) ) ).

% abs_of_nonpos
thf(fact_1965_zero__le__divide__abs__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( divide_divide @ A @ A3 @ ( abs_abs @ A @ B2 ) ) )
          = ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 )
            | ( B2
              = ( zero_zero @ A ) ) ) ) ) ).

% zero_le_divide_abs_iff
thf(fact_1966_divide__le__0__abs__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ ( divide_divide @ A @ A3 @ ( abs_abs @ A @ B2 ) ) @ ( zero_zero @ A ) )
          = ( ( ord_less_eq @ A @ A3 @ ( zero_zero @ A ) )
            | ( B2
              = ( zero_zero @ A ) ) ) ) ) ).

% divide_le_0_abs_iff
thf(fact_1967_zabs__less__one__iff,axiom,
    ! [Z4: int] :
      ( ( ord_less @ int @ ( abs_abs @ int @ Z4 ) @ ( one_one @ int ) )
      = ( Z4
        = ( zero_zero @ int ) ) ) ).

% zabs_less_one_iff
thf(fact_1968_zero__less__power__abs__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [A3: A,N: nat] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ ( power_power @ A @ ( abs_abs @ A @ A3 ) @ N ) )
          = ( ( A3
             != ( zero_zero @ A ) )
            | ( N
              = ( zero_zero @ nat ) ) ) ) ) ).

% zero_less_power_abs_iff
thf(fact_1969_DiffE,axiom,
    ! [A: $tType,C3: A,A6: set @ A,B6: set @ A] :
      ( ( member @ A @ C3 @ ( minus_minus @ ( set @ A ) @ A6 @ B6 ) )
     => ~ ( ( member @ A @ C3 @ A6 )
         => ( member @ A @ C3 @ B6 ) ) ) ).

% DiffE
thf(fact_1970_ComplD,axiom,
    ! [A: $tType,C3: A,A6: set @ A] :
      ( ( member @ A @ C3 @ ( uminus_uminus @ ( set @ A ) @ A6 ) )
     => ~ ( member @ A @ C3 @ A6 ) ) ).

% ComplD
thf(fact_1971_DiffD1,axiom,
    ! [A: $tType,C3: A,A6: set @ A,B6: set @ A] :
      ( ( member @ A @ C3 @ ( minus_minus @ ( set @ A ) @ A6 @ B6 ) )
     => ( member @ A @ C3 @ A6 ) ) ).

% DiffD1
thf(fact_1972_DiffD2,axiom,
    ! [A: $tType,C3: A,A6: set @ A,B6: set @ A] :
      ( ( member @ A @ C3 @ ( minus_minus @ ( set @ A ) @ A6 @ B6 ) )
     => ~ ( member @ A @ C3 @ B6 ) ) ).

% DiffD2
thf(fact_1973_double__complement,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ( uminus_uminus @ ( set @ A ) @ ( uminus_uminus @ ( set @ A ) @ A6 ) )
      = A6 ) ).

% double_complement
thf(fact_1974_uminus__set__def,axiom,
    ! [A: $tType] :
      ( ( uminus_uminus @ ( set @ A ) )
      = ( ^ [A8: set @ A] :
            ( collect @ A
            @ ( uminus_uminus @ ( A > $o )
              @ ^ [X4: A] : ( member @ A @ X4 @ A8 ) ) ) ) ) ).

% uminus_set_def
thf(fact_1975_minus__set__def,axiom,
    ! [A: $tType] :
      ( ( minus_minus @ ( set @ A ) )
      = ( ^ [A8: set @ A,B7: set @ A] :
            ( collect @ A
            @ ( minus_minus @ ( A > $o )
              @ ^ [X4: A] : ( member @ A @ X4 @ A8 )
              @ ^ [X4: A] : ( member @ A @ X4 @ B7 ) ) ) ) ) ).

% minus_set_def
thf(fact_1976_Collect__neg__eq,axiom,
    ! [A: $tType,P2: A > $o] :
      ( ( collect @ A
        @ ^ [X4: A] :
            ~ ( P2 @ X4 ) )
      = ( uminus_uminus @ ( set @ A ) @ ( collect @ A @ P2 ) ) ) ).

% Collect_neg_eq
thf(fact_1977_Compl__eq,axiom,
    ! [A: $tType] :
      ( ( uminus_uminus @ ( set @ A ) )
      = ( ^ [A8: set @ A] :
            ( collect @ A
            @ ^ [X4: A] :
                ~ ( member @ A @ X4 @ A8 ) ) ) ) ).

% Compl_eq
thf(fact_1978_set__diff__eq,axiom,
    ! [A: $tType] :
      ( ( minus_minus @ ( set @ A ) )
      = ( ^ [A8: set @ A,B7: set @ A] :
            ( collect @ A
            @ ^ [X4: A] :
                ( ( member @ A @ X4 @ A8 )
                & ~ ( member @ A @ X4 @ B7 ) ) ) ) ) ).

% set_diff_eq
thf(fact_1979_less__eq__multiset__def,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ( ( ord_less_eq @ ( multiset @ A ) )
        = ( ^ [M9: multiset @ A,N8: multiset @ A] :
              ( ( ord_less @ ( multiset @ A ) @ M9 @ N8 )
              | ( M9 = N8 ) ) ) ) ) ).

% less_eq_multiset_def
thf(fact_1980_mset__le__asym,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [M6: multiset @ A,N7: multiset @ A] :
          ( ( ord_less @ ( multiset @ A ) @ M6 @ N7 )
         => ~ ( ord_less @ ( multiset @ A ) @ N7 @ M6 ) ) ) ).

% mset_le_asym
thf(fact_1981_mset__le__trans,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [K5: multiset @ A,M6: multiset @ A,N7: multiset @ A] :
          ( ( ord_less @ ( multiset @ A ) @ K5 @ M6 )
         => ( ( ord_less @ ( multiset @ A ) @ M6 @ N7 )
           => ( ord_less @ ( multiset @ A ) @ K5 @ N7 ) ) ) ) ).

% mset_le_trans
thf(fact_1982_mset__le__irrefl,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [M6: multiset @ A] :
          ~ ( ord_less @ ( multiset @ A ) @ M6 @ M6 ) ) ).

% mset_le_irrefl
thf(fact_1983_mset__le__not__sym,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [M6: multiset @ A,N7: multiset @ A] :
          ( ( ord_less @ ( multiset @ A ) @ M6 @ N7 )
         => ~ ( ord_less @ ( multiset @ A ) @ N7 @ M6 ) ) ) ).

% mset_le_not_sym
thf(fact_1984_mset__le__not__refl,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [M6: multiset @ A] :
          ~ ( ord_less @ ( multiset @ A ) @ M6 @ M6 ) ) ).

% mset_le_not_refl
thf(fact_1985_abs__ge__self,axiom,
    ! [A: $tType] :
      ( ( ordere166539214618696060dd_abs @ A )
     => ! [A3: A] : ( ord_less_eq @ A @ A3 @ ( abs_abs @ A @ A3 ) ) ) ).

% abs_ge_self
thf(fact_1986_abs__le__D1,axiom,
    ! [A: $tType] :
      ( ( ordere166539214618696060dd_abs @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ ( abs_abs @ A @ A3 ) @ B2 )
         => ( ord_less_eq @ A @ A3 @ B2 ) ) ) ).

% abs_le_D1
thf(fact_1987_fact__mono__nat,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ M @ N )
     => ( ord_less_eq @ nat @ ( semiring_char_0_fact @ nat @ M ) @ ( semiring_char_0_fact @ nat @ N ) ) ) ).

% fact_mono_nat
thf(fact_1988_fact__ge__self,axiom,
    ! [N: nat] : ( ord_less_eq @ nat @ N @ ( semiring_char_0_fact @ nat @ N ) ) ).

% fact_ge_self
thf(fact_1989_abs__ge__zero,axiom,
    ! [A: $tType] :
      ( ( ordere166539214618696060dd_abs @ A )
     => ! [A3: A] : ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( abs_abs @ A @ A3 ) ) ) ).

% abs_ge_zero
thf(fact_1990_abs__not__less__zero,axiom,
    ! [A: $tType] :
      ( ( ordere166539214618696060dd_abs @ A )
     => ! [A3: A] :
          ~ ( ord_less @ A @ ( abs_abs @ A @ A3 ) @ ( zero_zero @ A ) ) ) ).

% abs_not_less_zero
thf(fact_1991_abs__of__pos,axiom,
    ! [A: $tType] :
      ( ( ordere166539214618696060dd_abs @ A )
     => ! [A3: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ A3 )
         => ( ( abs_abs @ A @ A3 )
            = A3 ) ) ) ).

% abs_of_pos
thf(fact_1992_abs__triangle__ineq,axiom,
    ! [A: $tType] :
      ( ( ordere166539214618696060dd_abs @ A )
     => ! [A3: A,B2: A] : ( ord_less_eq @ A @ ( abs_abs @ A @ ( plus_plus @ A @ A3 @ B2 ) ) @ ( plus_plus @ A @ ( abs_abs @ A @ A3 ) @ ( abs_abs @ A @ B2 ) ) ) ) ).

% abs_triangle_ineq
thf(fact_1993_abs__triangle__ineq2__sym,axiom,
    ! [A: $tType] :
      ( ( ordere166539214618696060dd_abs @ A )
     => ! [A3: A,B2: A] : ( ord_less_eq @ A @ ( minus_minus @ A @ ( abs_abs @ A @ A3 ) @ ( abs_abs @ A @ B2 ) ) @ ( abs_abs @ A @ ( minus_minus @ A @ B2 @ A3 ) ) ) ) ).

% abs_triangle_ineq2_sym
thf(fact_1994_abs__triangle__ineq3,axiom,
    ! [A: $tType] :
      ( ( ordere166539214618696060dd_abs @ A )
     => ! [A3: A,B2: A] : ( ord_less_eq @ A @ ( abs_abs @ A @ ( minus_minus @ A @ ( abs_abs @ A @ A3 ) @ ( abs_abs @ A @ B2 ) ) ) @ ( abs_abs @ A @ ( minus_minus @ A @ A3 @ B2 ) ) ) ) ).

% abs_triangle_ineq3
thf(fact_1995_abs__triangle__ineq2,axiom,
    ! [A: $tType] :
      ( ( ordere166539214618696060dd_abs @ A )
     => ! [A3: A,B2: A] : ( ord_less_eq @ A @ ( minus_minus @ A @ ( abs_abs @ A @ A3 ) @ ( abs_abs @ A @ B2 ) ) @ ( abs_abs @ A @ ( minus_minus @ A @ A3 @ B2 ) ) ) ) ).

% abs_triangle_ineq2
thf(fact_1996_abs__mult__less,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [A3: A,C3: A,B2: A,D3: A] :
          ( ( ord_less @ A @ ( abs_abs @ A @ A3 ) @ C3 )
         => ( ( ord_less @ A @ ( abs_abs @ A @ B2 ) @ D3 )
           => ( ord_less @ A @ ( times_times @ A @ ( abs_abs @ A @ A3 ) @ ( abs_abs @ A @ B2 ) ) @ ( times_times @ A @ C3 @ D3 ) ) ) ) ) ).

% abs_mult_less
thf(fact_1997_abs__leI,axiom,
    ! [A: $tType] :
      ( ( ordere166539214618696060dd_abs @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ( ord_less_eq @ A @ ( uminus_uminus @ A @ A3 ) @ B2 )
           => ( ord_less_eq @ A @ ( abs_abs @ A @ A3 ) @ B2 ) ) ) ) ).

% abs_leI
thf(fact_1998_abs__le__D2,axiom,
    ! [A: $tType] :
      ( ( ordere166539214618696060dd_abs @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ ( abs_abs @ A @ A3 ) @ B2 )
         => ( ord_less_eq @ A @ ( uminus_uminus @ A @ A3 ) @ B2 ) ) ) ).

% abs_le_D2
thf(fact_1999_abs__le__iff,axiom,
    ! [A: $tType] :
      ( ( ordere166539214618696060dd_abs @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ ( abs_abs @ A @ A3 ) @ B2 )
          = ( ( ord_less_eq @ A @ A3 @ B2 )
            & ( ord_less_eq @ A @ ( uminus_uminus @ A @ A3 ) @ B2 ) ) ) ) ).

% abs_le_iff
thf(fact_2000_abs__ge__minus__self,axiom,
    ! [A: $tType] :
      ( ( ordere166539214618696060dd_abs @ A )
     => ! [A3: A] : ( ord_less_eq @ A @ ( uminus_uminus @ A @ A3 ) @ ( abs_abs @ A @ A3 ) ) ) ).

% abs_ge_minus_self
thf(fact_2001_abs__less__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ ( abs_abs @ A @ A3 ) @ B2 )
          = ( ( ord_less @ A @ A3 @ B2 )
            & ( ord_less @ A @ ( uminus_uminus @ A @ A3 ) @ B2 ) ) ) ) ).

% abs_less_iff
thf(fact_2002_fact__less__mono__nat,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ M )
     => ( ( ord_less @ nat @ M @ N )
       => ( ord_less @ nat @ ( semiring_char_0_fact @ nat @ M ) @ ( semiring_char_0_fact @ nat @ N ) ) ) ) ).

% fact_less_mono_nat
thf(fact_2003_gbinomial__Suc__Suc,axiom,
    ! [A: $tType] :
      ( ( field_char_0 @ A )
     => ! [A3: A,K2: nat] :
          ( ( gbinomial @ A @ ( plus_plus @ A @ A3 @ ( one_one @ A ) ) @ ( suc @ K2 ) )
          = ( plus_plus @ A @ ( gbinomial @ A @ A3 @ K2 ) @ ( gbinomial @ A @ A3 @ ( suc @ K2 ) ) ) ) ) ).

% gbinomial_Suc_Suc
thf(fact_2004_fact__ge__zero,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [N: nat] : ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( semiring_char_0_fact @ A @ N ) ) ) ).

% fact_ge_zero
thf(fact_2005_gbinomial__of__nat__symmetric,axiom,
    ! [A: $tType] :
      ( ( field_char_0 @ A )
     => ! [K2: nat,N: nat] :
          ( ( ord_less_eq @ nat @ K2 @ N )
         => ( ( gbinomial @ A @ ( semiring_1_of_nat @ A @ N ) @ K2 )
            = ( gbinomial @ A @ ( semiring_1_of_nat @ A @ N ) @ ( minus_minus @ nat @ N @ K2 ) ) ) ) ) ).

% gbinomial_of_nat_symmetric
thf(fact_2006_fact__not__neg,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [N: nat] :
          ~ ( ord_less @ A @ ( semiring_char_0_fact @ A @ N ) @ ( zero_zero @ A ) ) ) ).

% fact_not_neg
thf(fact_2007_fact__gt__zero,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [N: nat] : ( ord_less @ A @ ( zero_zero @ A ) @ ( semiring_char_0_fact @ A @ N ) ) ) ).

% fact_gt_zero
thf(fact_2008_fact__ge__1,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [N: nat] : ( ord_less_eq @ A @ ( one_one @ A ) @ ( semiring_char_0_fact @ A @ N ) ) ) ).

% fact_ge_1
thf(fact_2009_fact__mono,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [M: nat,N: nat] :
          ( ( ord_less_eq @ nat @ M @ N )
         => ( ord_less_eq @ A @ ( semiring_char_0_fact @ A @ M ) @ ( semiring_char_0_fact @ A @ N ) ) ) ) ).

% fact_mono
thf(fact_2010_gbinomial__pochhammer_H,axiom,
    ! [A: $tType] :
      ( ( field_char_0 @ A )
     => ( ( gbinomial @ A )
        = ( ^ [A7: A,K3: nat] : ( divide_divide @ A @ ( comm_s3205402744901411588hammer @ A @ ( plus_plus @ A @ ( minus_minus @ A @ A7 @ ( semiring_1_of_nat @ A @ K3 ) ) @ ( one_one @ A ) ) @ K3 ) @ ( semiring_char_0_fact @ A @ K3 ) ) ) ) ) ).

% gbinomial_pochhammer'
thf(fact_2011_gbinomial__addition__formula,axiom,
    ! [A: $tType] :
      ( ( field_char_0 @ A )
     => ! [A3: A,K2: nat] :
          ( ( gbinomial @ A @ A3 @ ( suc @ K2 ) )
          = ( plus_plus @ A @ ( gbinomial @ A @ ( minus_minus @ A @ A3 @ ( one_one @ A ) ) @ ( suc @ K2 ) ) @ ( gbinomial @ A @ ( minus_minus @ A @ A3 @ ( one_one @ A ) ) @ K2 ) ) ) ) ).

% gbinomial_addition_formula
thf(fact_2012_gbinomial__mult__1,axiom,
    ! [A: $tType] :
      ( ( field_char_0 @ A )
     => ! [A3: A,K2: nat] :
          ( ( times_times @ A @ A3 @ ( gbinomial @ A @ A3 @ K2 ) )
          = ( plus_plus @ A @ ( times_times @ A @ ( semiring_1_of_nat @ A @ K2 ) @ ( gbinomial @ A @ A3 @ K2 ) ) @ ( times_times @ A @ ( semiring_1_of_nat @ A @ ( suc @ K2 ) ) @ ( gbinomial @ A @ A3 @ ( suc @ K2 ) ) ) ) ) ) ).

% gbinomial_mult_1
thf(fact_2013_gbinomial__mult__1_H,axiom,
    ! [A: $tType] :
      ( ( field_char_0 @ A )
     => ! [A3: A,K2: nat] :
          ( ( times_times @ A @ ( gbinomial @ A @ A3 @ K2 ) @ A3 )
          = ( plus_plus @ A @ ( times_times @ A @ ( semiring_1_of_nat @ A @ K2 ) @ ( gbinomial @ A @ A3 @ K2 ) ) @ ( times_times @ A @ ( semiring_1_of_nat @ A @ ( suc @ K2 ) ) @ ( gbinomial @ A @ A3 @ ( suc @ K2 ) ) ) ) ) ) ).

% gbinomial_mult_1'
thf(fact_2014_dense__eq0__I,axiom,
    ! [A: $tType] :
      ( ( ( ordere166539214618696060dd_abs @ A )
        & ( dense_linorder @ A ) )
     => ! [X: A] :
          ( ! [E2: A] :
              ( ( ord_less @ A @ ( zero_zero @ A ) @ E2 )
             => ( ord_less_eq @ A @ ( abs_abs @ A @ X ) @ E2 ) )
         => ( X
            = ( zero_zero @ A ) ) ) ) ).

% dense_eq0_I
thf(fact_2015_abs__mult__pos,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ X )
         => ( ( times_times @ A @ ( abs_abs @ A @ Y ) @ X )
            = ( abs_abs @ A @ ( times_times @ A @ Y @ X ) ) ) ) ) ).

% abs_mult_pos
thf(fact_2016_abs__eq__mult,axiom,
    ! [A: $tType] :
      ( ( ordered_ring_abs @ A )
     => ! [A3: A,B2: A] :
          ( ( ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 )
              | ( ord_less_eq @ A @ A3 @ ( zero_zero @ A ) ) )
            & ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ B2 )
              | ( ord_less_eq @ A @ B2 @ ( zero_zero @ A ) ) ) )
         => ( ( abs_abs @ A @ ( times_times @ A @ A3 @ B2 ) )
            = ( times_times @ A @ ( abs_abs @ A @ A3 ) @ ( abs_abs @ A @ B2 ) ) ) ) ) ).

% abs_eq_mult
thf(fact_2017_gbinomial__ge__n__over__k__pow__k,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [K2: nat,A3: A] :
          ( ( ord_less_eq @ A @ ( semiring_1_of_nat @ A @ K2 ) @ A3 )
         => ( ord_less_eq @ A @ ( power_power @ A @ ( divide_divide @ A @ A3 @ ( semiring_1_of_nat @ A @ K2 ) ) @ K2 ) @ ( gbinomial @ A @ A3 @ K2 ) ) ) ) ).

% gbinomial_ge_n_over_k_pow_k
thf(fact_2018_abs__eq__iff_H,axiom,
    ! [A: $tType] :
      ( ( linordered_ring @ A )
     => ! [A3: A,B2: A] :
          ( ( ( abs_abs @ A @ A3 )
            = B2 )
          = ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ B2 )
            & ( ( A3 = B2 )
              | ( A3
                = ( uminus_uminus @ A @ B2 ) ) ) ) ) ) ).

% abs_eq_iff'
thf(fact_2019_eq__abs__iff_H,axiom,
    ! [A: $tType] :
      ( ( linordered_ring @ A )
     => ! [A3: A,B2: A] :
          ( ( A3
            = ( abs_abs @ A @ B2 ) )
          = ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 )
            & ( ( B2 = A3 )
              | ( B2
                = ( uminus_uminus @ A @ A3 ) ) ) ) ) ) ).

% eq_abs_iff'
thf(fact_2020_abs__minus__le__zero,axiom,
    ! [A: $tType] :
      ( ( ordere166539214618696060dd_abs @ A )
     => ! [A3: A] : ( ord_less_eq @ A @ ( uminus_uminus @ A @ ( abs_abs @ A @ A3 ) ) @ ( zero_zero @ A ) ) ) ).

% abs_minus_le_zero
thf(fact_2021_abs__triangle__ineq4,axiom,
    ! [A: $tType] :
      ( ( ordere166539214618696060dd_abs @ A )
     => ! [A3: A,B2: A] : ( ord_less_eq @ A @ ( abs_abs @ A @ ( minus_minus @ A @ A3 @ B2 ) ) @ ( plus_plus @ A @ ( abs_abs @ A @ A3 ) @ ( abs_abs @ A @ B2 ) ) ) ) ).

% abs_triangle_ineq4
thf(fact_2022_abs__diff__triangle__ineq,axiom,
    ! [A: $tType] :
      ( ( ordere166539214618696060dd_abs @ A )
     => ! [A3: A,B2: A,C3: A,D3: A] : ( ord_less_eq @ A @ ( abs_abs @ A @ ( minus_minus @ A @ ( plus_plus @ A @ A3 @ B2 ) @ ( plus_plus @ A @ C3 @ D3 ) ) ) @ ( plus_plus @ A @ ( abs_abs @ A @ ( minus_minus @ A @ A3 @ C3 ) ) @ ( abs_abs @ A @ ( minus_minus @ A @ B2 @ D3 ) ) ) ) ) ).

% abs_diff_triangle_ineq
thf(fact_2023_abs__diff__le__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [X: A,A3: A,R3: A] :
          ( ( ord_less_eq @ A @ ( abs_abs @ A @ ( minus_minus @ A @ X @ A3 ) ) @ R3 )
          = ( ( ord_less_eq @ A @ ( minus_minus @ A @ A3 @ R3 ) @ X )
            & ( ord_less_eq @ A @ X @ ( plus_plus @ A @ A3 @ R3 ) ) ) ) ) ).

% abs_diff_le_iff
thf(fact_2024_abs__if,axiom,
    ! [A: $tType] :
      ( ( abs_if @ A )
     => ( ( abs_abs @ A )
        = ( ^ [A7: A] : ( if @ A @ ( ord_less @ A @ A7 @ ( zero_zero @ A ) ) @ ( uminus_uminus @ A @ A7 ) @ A7 ) ) ) ) ).

% abs_if
thf(fact_2025_abs__if__raw,axiom,
    ! [A: $tType] :
      ( ( abs_if @ A )
     => ( ( abs_abs @ A )
        = ( ^ [A7: A] : ( if @ A @ ( ord_less @ A @ A7 @ ( zero_zero @ A ) ) @ ( uminus_uminus @ A @ A7 ) @ A7 ) ) ) ) ).

% abs_if_raw
thf(fact_2026_abs__of__neg,axiom,
    ! [A: $tType] :
      ( ( ordere166539214618696060dd_abs @ A )
     => ! [A3: A] :
          ( ( ord_less @ A @ A3 @ ( zero_zero @ A ) )
         => ( ( abs_abs @ A @ A3 )
            = ( uminus_uminus @ A @ A3 ) ) ) ) ).

% abs_of_neg
thf(fact_2027_abs__diff__less__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [X: A,A3: A,R3: A] :
          ( ( ord_less @ A @ ( abs_abs @ A @ ( minus_minus @ A @ X @ A3 ) ) @ R3 )
          = ( ( ord_less @ A @ ( minus_minus @ A @ A3 @ R3 ) @ X )
            & ( ord_less @ A @ X @ ( plus_plus @ A @ A3 @ R3 ) ) ) ) ) ).

% abs_diff_less_iff
thf(fact_2028_abs__div__pos,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [Y: A,X: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ Y )
         => ( ( divide_divide @ A @ ( abs_abs @ A @ X ) @ Y )
            = ( abs_abs @ A @ ( divide_divide @ A @ X @ Y ) ) ) ) ) ).

% abs_div_pos
thf(fact_2029_zero__le__power__abs,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [A3: A,N: nat] : ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( power_power @ A @ ( abs_abs @ A @ A3 ) @ N ) ) ) ).

% zero_le_power_abs
thf(fact_2030_fact__ge__Suc__0__nat,axiom,
    ! [N: nat] : ( ord_less_eq @ nat @ ( suc @ ( zero_zero @ nat ) ) @ ( semiring_char_0_fact @ nat @ N ) ) ).

% fact_ge_Suc_0_nat
thf(fact_2031_zabs__def,axiom,
    ( ( abs_abs @ int )
    = ( ^ [I: int] : ( if @ int @ ( ord_less @ int @ I @ ( zero_zero @ int ) ) @ ( uminus_uminus @ int @ I ) @ I ) ) ) ).

% zabs_def
thf(fact_2032_fact__less__mono,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [M: nat,N: nat] :
          ( ( ord_less @ nat @ ( zero_zero @ nat ) @ M )
         => ( ( ord_less @ nat @ M @ N )
           => ( ord_less @ A @ ( semiring_char_0_fact @ A @ M ) @ ( semiring_char_0_fact @ A @ N ) ) ) ) ) ).

% fact_less_mono
thf(fact_2033_abs__mod__less,axiom,
    ! [L: int,K2: int] :
      ( ( L
       != ( zero_zero @ int ) )
     => ( ord_less @ int @ ( abs_abs @ int @ ( modulo_modulo @ int @ K2 @ L ) ) @ ( abs_abs @ int @ L ) ) ) ).

% abs_mod_less
thf(fact_2034_fact__mod,axiom,
    ! [A: $tType] :
      ( ( ( linordered_semidom @ A )
        & ( semidom_modulo @ A ) )
     => ! [M: nat,N: nat] :
          ( ( ord_less_eq @ nat @ M @ N )
         => ( ( modulo_modulo @ A @ ( semiring_char_0_fact @ A @ N ) @ ( semiring_char_0_fact @ A @ M ) )
            = ( zero_zero @ A ) ) ) ) ).

% fact_mod
thf(fact_2035_fact__le__power,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [N: nat] : ( ord_less_eq @ A @ ( semiring_char_0_fact @ A @ N ) @ ( semiring_1_of_nat @ A @ ( power_power @ nat @ N @ N ) ) ) ) ).

% fact_le_power
thf(fact_2036_Suc__times__gbinomial,axiom,
    ! [A: $tType] :
      ( ( field_char_0 @ A )
     => ! [K2: nat,A3: A] :
          ( ( times_times @ A @ ( semiring_1_of_nat @ A @ ( suc @ K2 ) ) @ ( gbinomial @ A @ ( plus_plus @ A @ A3 @ ( one_one @ A ) ) @ ( suc @ K2 ) ) )
          = ( times_times @ A @ ( plus_plus @ A @ A3 @ ( one_one @ A ) ) @ ( gbinomial @ A @ A3 @ K2 ) ) ) ) ).

% Suc_times_gbinomial
thf(fact_2037_gbinomial__trinomial__revision,axiom,
    ! [A: $tType] :
      ( ( field_char_0 @ A )
     => ! [K2: nat,M: nat,A3: A] :
          ( ( ord_less_eq @ nat @ K2 @ M )
         => ( ( times_times @ A @ ( gbinomial @ A @ A3 @ M ) @ ( gbinomial @ A @ ( semiring_1_of_nat @ A @ M ) @ K2 ) )
            = ( times_times @ A @ ( gbinomial @ A @ A3 @ K2 ) @ ( gbinomial @ A @ ( minus_minus @ A @ A3 @ ( semiring_1_of_nat @ A @ K2 ) ) @ ( minus_minus @ nat @ M @ K2 ) ) ) ) ) ) ).

% gbinomial_trinomial_revision
thf(fact_2038_abs__add__one__gt__zero,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [X: A] : ( ord_less @ A @ ( zero_zero @ A ) @ ( plus_plus @ A @ ( one_one @ A ) @ ( abs_abs @ A @ X ) ) ) ) ).

% abs_add_one_gt_zero
thf(fact_2039_gbinomial__code,axiom,
    ! [A: $tType] :
      ( ( field_char_0 @ A )
     => ( ( gbinomial @ A )
        = ( ^ [A7: A,K3: nat] :
              ( if @ A
              @ ( K3
                = ( zero_zero @ nat ) )
              @ ( one_one @ A )
              @ ( divide_divide @ A
                @ ( set_fo6178422350223883121st_nat @ A
                  @ ^ [L2: nat] : ( times_times @ A @ ( minus_minus @ A @ A7 @ ( semiring_1_of_nat @ A @ L2 ) ) )
                  @ ( zero_zero @ nat )
                  @ ( minus_minus @ nat @ K3 @ ( one_one @ nat ) )
                  @ ( one_one @ A ) )
                @ ( semiring_char_0_fact @ A @ K3 ) ) ) ) ) ) ).

% gbinomial_code
thf(fact_2040_nat__abs__triangle__ineq,axiom,
    ! [K2: int,L: int] : ( ord_less_eq @ nat @ ( nat2 @ ( abs_abs @ int @ ( plus_plus @ int @ K2 @ L ) ) ) @ ( plus_plus @ nat @ ( nat2 @ ( abs_abs @ int @ K2 ) ) @ ( nat2 @ ( abs_abs @ int @ L ) ) ) ) ).

% nat_abs_triangle_ineq
thf(fact_2041_fact__div__fact__le__pow,axiom,
    ! [R3: nat,N: nat] :
      ( ( ord_less_eq @ nat @ R3 @ N )
     => ( ord_less_eq @ nat @ ( divide_divide @ nat @ ( semiring_char_0_fact @ nat @ N ) @ ( semiring_char_0_fact @ nat @ ( minus_minus @ nat @ N @ R3 ) ) ) @ ( power_power @ nat @ N @ R3 ) ) ) ).

% fact_div_fact_le_pow
thf(fact_2042_gbinomial__factors,axiom,
    ! [A: $tType] :
      ( ( field_char_0 @ A )
     => ! [A3: A,K2: nat] :
          ( ( gbinomial @ A @ ( plus_plus @ A @ A3 @ ( one_one @ A ) ) @ ( suc @ K2 ) )
          = ( times_times @ A @ ( divide_divide @ A @ ( plus_plus @ A @ A3 @ ( one_one @ A ) ) @ ( semiring_1_of_nat @ A @ ( suc @ K2 ) ) ) @ ( gbinomial @ A @ A3 @ K2 ) ) ) ) ).

% gbinomial_factors
thf(fact_2043_gbinomial__rec,axiom,
    ! [A: $tType] :
      ( ( field_char_0 @ A )
     => ! [A3: A,K2: nat] :
          ( ( gbinomial @ A @ ( plus_plus @ A @ A3 @ ( one_one @ A ) ) @ ( suc @ K2 ) )
          = ( times_times @ A @ ( gbinomial @ A @ A3 @ K2 ) @ ( divide_divide @ A @ ( plus_plus @ A @ A3 @ ( one_one @ A ) ) @ ( semiring_1_of_nat @ A @ ( suc @ K2 ) ) ) ) ) ) ).

% gbinomial_rec
thf(fact_2044_gbinomial__minus,axiom,
    ! [A: $tType] :
      ( ( field_char_0 @ A )
     => ! [A3: A,K2: nat] :
          ( ( gbinomial @ A @ ( uminus_uminus @ A @ A3 ) @ K2 )
          = ( times_times @ A @ ( power_power @ A @ ( uminus_uminus @ A @ ( one_one @ A ) ) @ K2 ) @ ( gbinomial @ A @ ( minus_minus @ A @ ( plus_plus @ A @ A3 @ ( semiring_1_of_nat @ A @ K2 ) ) @ ( one_one @ A ) ) @ K2 ) ) ) ) ).

% gbinomial_minus
thf(fact_2045_gbinomial__reduce__nat,axiom,
    ! [A: $tType] :
      ( ( field_char_0 @ A )
     => ! [K2: nat,A3: A] :
          ( ( ord_less @ nat @ ( zero_zero @ nat ) @ K2 )
         => ( ( gbinomial @ A @ A3 @ K2 )
            = ( plus_plus @ A @ ( gbinomial @ A @ ( minus_minus @ A @ A3 @ ( one_one @ A ) ) @ ( minus_minus @ nat @ K2 @ ( one_one @ nat ) ) ) @ ( gbinomial @ A @ ( minus_minus @ A @ A3 @ ( one_one @ A ) ) @ K2 ) ) ) ) ) ).

% gbinomial_reduce_nat
thf(fact_2046_nat__abs__int__diff,axiom,
    ! [A3: nat,B2: nat] :
      ( ( ( ord_less_eq @ nat @ A3 @ B2 )
       => ( ( nat2 @ ( abs_abs @ int @ ( minus_minus @ int @ ( semiring_1_of_nat @ int @ A3 ) @ ( semiring_1_of_nat @ int @ B2 ) ) ) )
          = ( minus_minus @ nat @ B2 @ A3 ) ) )
      & ( ~ ( ord_less_eq @ nat @ A3 @ B2 )
       => ( ( nat2 @ ( abs_abs @ int @ ( minus_minus @ int @ ( semiring_1_of_nat @ int @ A3 ) @ ( semiring_1_of_nat @ int @ B2 ) ) ) )
          = ( minus_minus @ nat @ A3 @ B2 ) ) ) ) ).

% nat_abs_int_diff
thf(fact_2047_nat__intermed__int__val,axiom,
    ! [M: nat,N: nat,F3: nat > int,K2: int] :
      ( ! [I3: nat] :
          ( ( ( ord_less_eq @ nat @ M @ I3 )
            & ( ord_less @ nat @ I3 @ N ) )
         => ( ord_less_eq @ int @ ( abs_abs @ int @ ( minus_minus @ int @ ( F3 @ ( suc @ I3 ) ) @ ( F3 @ I3 ) ) ) @ ( one_one @ int ) ) )
     => ( ( ord_less_eq @ nat @ M @ N )
       => ( ( ord_less_eq @ int @ ( F3 @ M ) @ K2 )
         => ( ( ord_less_eq @ int @ K2 @ ( F3 @ N ) )
           => ? [I3: nat] :
                ( ( ord_less_eq @ nat @ M @ I3 )
                & ( ord_less_eq @ nat @ I3 @ N )
                & ( ( F3 @ I3 )
                  = K2 ) ) ) ) ) ) ).

% nat_intermed_int_val
thf(fact_2048_decr__lemma,axiom,
    ! [D3: int,X: int,Z4: int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ D3 )
     => ( ord_less @ int @ ( minus_minus @ int @ X @ ( times_times @ int @ ( plus_plus @ int @ ( abs_abs @ int @ ( minus_minus @ int @ X @ Z4 ) ) @ ( one_one @ int ) ) @ D3 ) ) @ Z4 ) ) ).

% decr_lemma
thf(fact_2049_incr__lemma,axiom,
    ! [D3: int,Z4: int,X: int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ D3 )
     => ( ord_less @ int @ Z4 @ ( plus_plus @ int @ X @ ( times_times @ int @ ( plus_plus @ int @ ( abs_abs @ int @ ( minus_minus @ int @ X @ Z4 ) ) @ ( one_one @ int ) ) @ D3 ) ) ) ) ).

% incr_lemma
thf(fact_2050_eucl__rel__int_Osimps,axiom,
    ( eucl_rel_int
    = ( ^ [A12: int,A23: int,A33: product_prod @ int @ int] :
          ( ? [K3: int] :
              ( ( A12 = K3 )
              & ( A23
                = ( zero_zero @ int ) )
              & ( A33
                = ( product_Pair @ int @ int @ ( zero_zero @ int ) @ K3 ) ) )
          | ? [L2: int,K3: int,Q8: int] :
              ( ( A12 = K3 )
              & ( A23 = L2 )
              & ( A33
                = ( product_Pair @ int @ int @ Q8 @ ( zero_zero @ int ) ) )
              & ( L2
               != ( zero_zero @ int ) )
              & ( K3
                = ( times_times @ int @ Q8 @ L2 ) ) )
          | ? [R5: int,L2: int,K3: int,Q8: int] :
              ( ( A12 = K3 )
              & ( A23 = L2 )
              & ( A33
                = ( product_Pair @ int @ int @ Q8 @ R5 ) )
              & ( ( sgn_sgn @ int @ R5 )
                = ( sgn_sgn @ int @ L2 ) )
              & ( ord_less @ int @ ( abs_abs @ int @ R5 ) @ ( abs_abs @ int @ L2 ) )
              & ( K3
                = ( plus_plus @ int @ ( times_times @ int @ Q8 @ L2 ) @ R5 ) ) ) ) ) ) ).

% eucl_rel_int.simps
thf(fact_2051_eucl__rel__int_Ocases,axiom,
    ! [A1: int,A22: int,A32: product_prod @ int @ int] :
      ( ( eucl_rel_int @ A1 @ A22 @ A32 )
     => ( ( ( A22
            = ( zero_zero @ int ) )
         => ( A32
           != ( product_Pair @ int @ int @ ( zero_zero @ int ) @ A1 ) ) )
       => ( ! [Q5: int] :
              ( ( A32
                = ( product_Pair @ int @ int @ Q5 @ ( zero_zero @ int ) ) )
             => ( ( A22
                 != ( zero_zero @ int ) )
               => ( A1
                 != ( times_times @ int @ Q5 @ A22 ) ) ) )
         => ~ ! [R: int,Q5: int] :
                ( ( A32
                  = ( product_Pair @ int @ int @ Q5 @ R ) )
               => ( ( ( sgn_sgn @ int @ R )
                    = ( sgn_sgn @ int @ A22 ) )
                 => ( ( ord_less @ int @ ( abs_abs @ int @ R ) @ ( abs_abs @ int @ A22 ) )
                   => ( A1
                     != ( plus_plus @ int @ ( times_times @ int @ Q5 @ A22 ) @ R ) ) ) ) ) ) ) ) ).

% eucl_rel_int.cases
thf(fact_2052_rotate1__length01,axiom,
    ! [A: $tType,Xs: list @ A] :
      ( ( ord_less_eq @ nat @ ( size_size @ ( list @ A ) @ Xs ) @ ( one_one @ nat ) )
     => ( ( rotate1 @ A @ Xs )
        = Xs ) ) ).

% rotate1_length01
thf(fact_2053_slice__nth,axiom,
    ! [A: $tType,From: nat,To: nat,Xs: list @ A,I2: nat] :
      ( ( ord_less @ nat @ From @ To )
     => ( ( ord_less_eq @ nat @ To @ ( size_size @ ( list @ A ) @ Xs ) )
       => ( ( ord_less @ nat @ I2 @ ( minus_minus @ nat @ To @ From ) )
         => ( ( nth @ A @ ( slice @ A @ From @ To @ Xs ) @ I2 )
            = ( nth @ A @ Xs @ ( plus_plus @ nat @ From @ I2 ) ) ) ) ) ) ).

% slice_nth
thf(fact_2054_eucl__rel__int__remainderI,axiom,
    ! [R3: int,L: int,K2: int,Q6: int] :
      ( ( ( sgn_sgn @ int @ R3 )
        = ( sgn_sgn @ int @ L ) )
     => ( ( ord_less @ int @ ( abs_abs @ int @ R3 ) @ ( abs_abs @ int @ L ) )
       => ( ( K2
            = ( plus_plus @ int @ ( times_times @ int @ Q6 @ L ) @ R3 ) )
         => ( eucl_rel_int @ K2 @ L @ ( product_Pair @ int @ int @ Q6 @ R3 ) ) ) ) ) ).

% eucl_rel_int_remainderI
thf(fact_2055_dbl__dec__def,axiom,
    ! [A: $tType] :
      ( ( neg_numeral @ A )
     => ( ( neg_numeral_dbl_dec @ A )
        = ( ^ [X4: A] : ( minus_minus @ A @ ( plus_plus @ A @ X4 @ X4 ) @ ( one_one @ A ) ) ) ) ) ).

% dbl_dec_def
thf(fact_2056_sgn__less,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [A3: A] :
          ( ( ord_less @ A @ ( sgn_sgn @ A @ A3 ) @ ( zero_zero @ A ) )
          = ( ord_less @ A @ A3 @ ( zero_zero @ A ) ) ) ) ).

% sgn_less
thf(fact_2057_sgn__greater,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [A3: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ ( sgn_sgn @ A @ A3 ) )
          = ( ord_less @ A @ ( zero_zero @ A ) @ A3 ) ) ) ).

% sgn_greater
thf(fact_2058_sgn__pos,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [A3: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ A3 )
         => ( ( sgn_sgn @ A @ A3 )
            = ( one_one @ A ) ) ) ) ).

% sgn_pos
thf(fact_2059_sgn__neg,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [A3: A] :
          ( ( ord_less @ A @ A3 @ ( zero_zero @ A ) )
         => ( ( sgn_sgn @ A @ A3 )
            = ( uminus_uminus @ A @ ( one_one @ A ) ) ) ) ) ).

% sgn_neg
thf(fact_2060_same__sgn__sgn__add,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [B2: A,A3: A] :
          ( ( ( sgn_sgn @ A @ B2 )
            = ( sgn_sgn @ A @ A3 ) )
         => ( ( sgn_sgn @ A @ ( plus_plus @ A @ A3 @ B2 ) )
            = ( sgn_sgn @ A @ A3 ) ) ) ) ).

% same_sgn_sgn_add
thf(fact_2061_list__eq__iff__nth__eq,axiom,
    ! [A: $tType] :
      ( ( ^ [Y6: list @ A,Z5: list @ A] : Y6 = Z5 )
      = ( ^ [Xs3: list @ A,Ys2: list @ A] :
            ( ( ( size_size @ ( list @ A ) @ Xs3 )
              = ( size_size @ ( list @ A ) @ Ys2 ) )
            & ! [I: nat] :
                ( ( ord_less @ nat @ I @ ( size_size @ ( list @ A ) @ Xs3 ) )
               => ( ( nth @ A @ Xs3 @ I )
                  = ( nth @ A @ Ys2 @ I ) ) ) ) ) ) ).

% list_eq_iff_nth_eq
thf(fact_2062_Skolem__list__nth,axiom,
    ! [A: $tType,K2: nat,P2: nat > A > $o] :
      ( ( ! [I: nat] :
            ( ( ord_less @ nat @ I @ K2 )
           => ? [X11: A] : ( P2 @ I @ X11 ) ) )
      = ( ? [Xs3: list @ A] :
            ( ( ( size_size @ ( list @ A ) @ Xs3 )
              = K2 )
            & ! [I: nat] :
                ( ( ord_less @ nat @ I @ K2 )
               => ( P2 @ I @ ( nth @ A @ Xs3 @ I ) ) ) ) ) ) ).

% Skolem_list_nth
thf(fact_2063_nth__equalityI,axiom,
    ! [A: $tType,Xs: list @ A,Ys3: list @ A] :
      ( ( ( size_size @ ( list @ A ) @ Xs )
        = ( size_size @ ( list @ A ) @ Ys3 ) )
     => ( ! [I3: nat] :
            ( ( ord_less @ nat @ I3 @ ( size_size @ ( list @ A ) @ Xs ) )
           => ( ( nth @ A @ Xs @ I3 )
              = ( nth @ A @ Ys3 @ I3 ) ) )
       => ( Xs = Ys3 ) ) ) ).

% nth_equalityI
thf(fact_2064_obtain__list__from__elements,axiom,
    ! [A: $tType,N: nat,P2: A > nat > $o] :
      ( ! [I3: nat] :
          ( ( ord_less @ nat @ I3 @ N )
         => ? [Li: A] : ( P2 @ Li @ I3 ) )
     => ~ ! [L3: list @ A] :
            ( ( ( size_size @ ( list @ A ) @ L3 )
              = N )
           => ~ ! [I4: nat] :
                  ( ( ord_less @ nat @ I4 @ N )
                 => ( P2 @ ( nth @ A @ L3 @ I4 ) @ I4 ) ) ) ) ).

% obtain_list_from_elements
thf(fact_2065_same__sgn__abs__add,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [B2: A,A3: A] :
          ( ( ( sgn_sgn @ A @ B2 )
            = ( sgn_sgn @ A @ A3 ) )
         => ( ( abs_abs @ A @ ( plus_plus @ A @ A3 @ B2 ) )
            = ( plus_plus @ A @ ( abs_abs @ A @ A3 ) @ ( abs_abs @ A @ B2 ) ) ) ) ) ).

% same_sgn_abs_add
thf(fact_2066_nth__rotate1,axiom,
    ! [A: $tType,N: nat,Xs: list @ A] :
      ( ( ord_less @ nat @ N @ ( size_size @ ( list @ A ) @ Xs ) )
     => ( ( nth @ A @ ( rotate1 @ A @ Xs ) @ N )
        = ( nth @ A @ Xs @ ( modulo_modulo @ nat @ ( suc @ N ) @ ( size_size @ ( list @ A ) @ Xs ) ) ) ) ) ).

% nth_rotate1
thf(fact_2067_sgn__1__pos,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [A3: A] :
          ( ( ( sgn_sgn @ A @ A3 )
            = ( one_one @ A ) )
          = ( ord_less @ A @ ( zero_zero @ A ) @ A3 ) ) ) ).

% sgn_1_pos
thf(fact_2068_zsgn__def,axiom,
    ( ( sgn_sgn @ int )
    = ( ^ [I: int] :
          ( if @ int
          @ ( I
            = ( zero_zero @ int ) )
          @ ( zero_zero @ int )
          @ ( if @ int @ ( ord_less @ int @ ( zero_zero @ int ) @ I ) @ ( one_one @ int ) @ ( uminus_uminus @ int @ ( one_one @ int ) ) ) ) ) ) ).

% zsgn_def
thf(fact_2069_sgn__1__neg,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [A3: A] :
          ( ( ( sgn_sgn @ A @ A3 )
            = ( uminus_uminus @ A @ ( one_one @ A ) ) )
          = ( ord_less @ A @ A3 @ ( zero_zero @ A ) ) ) ) ).

% sgn_1_neg
thf(fact_2070_sgn__if,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ( ( sgn_sgn @ A )
        = ( ^ [X4: A] :
              ( if @ A
              @ ( X4
                = ( zero_zero @ A ) )
              @ ( zero_zero @ A )
              @ ( if @ A @ ( ord_less @ A @ ( zero_zero @ A ) @ X4 ) @ ( one_one @ A ) @ ( uminus_uminus @ A @ ( one_one @ A ) ) ) ) ) ) ) ).

% sgn_if
thf(fact_2071_nth__rule,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [I2: nat,Xs: list @ A,A3: array @ A] :
          ( ( ord_less @ nat @ I2 @ ( size_size @ ( list @ A ) @ Xs ) )
         => ( hoare_hoare_triple @ A @ ( snga_assn @ A @ A3 @ Xs ) @ ( array_nth @ A @ A3 @ I2 )
            @ ^ [R5: A] :
                ( times_times @ assn @ ( snga_assn @ A @ A3 @ Xs )
                @ ( pure_assn
                  @ ( R5
                    = ( nth @ A @ Xs @ I2 ) ) ) ) ) ) ) ).

% nth_rule
thf(fact_2072_product__nth,axiom,
    ! [A: $tType,B: $tType,N: nat,Xs: list @ A,Ys3: list @ B] :
      ( ( ord_less @ nat @ N @ ( times_times @ nat @ ( size_size @ ( list @ A ) @ Xs ) @ ( size_size @ ( list @ B ) @ Ys3 ) ) )
     => ( ( nth @ ( product_prod @ A @ B ) @ ( product @ A @ B @ Xs @ Ys3 ) @ N )
        = ( product_Pair @ A @ B @ ( nth @ A @ Xs @ ( divide_divide @ nat @ N @ ( size_size @ ( list @ B ) @ Ys3 ) ) ) @ ( nth @ B @ Ys3 @ ( modulo_modulo @ nat @ N @ ( size_size @ ( list @ B ) @ Ys3 ) ) ) ) ) ) ).

% product_nth
thf(fact_2073_sorted__in__between,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [I2: nat,J2: nat,L: list @ A,X: A] :
          ( ( ord_less_eq @ nat @ ( zero_zero @ nat ) @ I2 )
         => ( ( ord_less @ nat @ I2 @ J2 )
           => ( ( ord_less @ nat @ J2 @ ( size_size @ ( list @ A ) @ L ) )
             => ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ L )
               => ( ( ord_less_eq @ A @ ( nth @ A @ L @ I2 ) @ X )
                 => ( ( ord_less @ A @ X @ ( nth @ A @ L @ J2 ) )
                   => ~ ! [K: nat] :
                          ( ( ord_less_eq @ nat @ I2 @ K )
                         => ( ( ord_less @ nat @ K @ J2 )
                           => ( ( ord_less_eq @ A @ ( nth @ A @ L @ K ) @ X )
                             => ~ ( ord_less @ A @ X @ ( nth @ A @ L @ ( plus_plus @ nat @ K @ ( one_one @ nat ) ) ) ) ) ) ) ) ) ) ) ) ) ) ).

% sorted_in_between
thf(fact_2074_nth__enumerate__eq,axiom,
    ! [A: $tType,M: nat,Xs: list @ A,N: nat] :
      ( ( ord_less @ nat @ M @ ( size_size @ ( list @ A ) @ Xs ) )
     => ( ( nth @ ( product_prod @ nat @ A ) @ ( enumerate @ A @ N @ Xs ) @ M )
        = ( product_Pair @ nat @ A @ ( plus_plus @ nat @ N @ M ) @ ( nth @ A @ Xs @ M ) ) ) ) ).

% nth_enumerate_eq
thf(fact_2075_array__of__list__make,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ( ( array_of_list @ A )
        = ( ^ [Xs3: list @ A] : ( array_make @ A @ ( size_size @ ( list @ A ) @ Xs3 ) @ ( nth @ A @ Xs3 ) ) ) ) ) ).

% array_of_list_make
thf(fact_2076_nth__step__trancl,axiom,
    ! [A: $tType,Xs: list @ A,R4: set @ ( product_prod @ A @ A ),N: nat,M: nat] :
      ( ! [N4: nat] :
          ( ( ord_less @ nat @ N4 @ ( minus_minus @ nat @ ( size_size @ ( list @ A ) @ Xs ) @ ( one_one @ nat ) ) )
         => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ ( nth @ A @ Xs @ ( suc @ N4 ) ) @ ( nth @ A @ Xs @ N4 ) ) @ R4 ) )
     => ( ( ord_less @ nat @ N @ ( size_size @ ( list @ A ) @ Xs ) )
       => ( ( ord_less @ nat @ M @ N )
         => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ ( nth @ A @ Xs @ N ) @ ( nth @ A @ Xs @ M ) ) @ ( transitive_trancl @ A @ R4 ) ) ) ) ) ).

% nth_step_trancl
thf(fact_2077_nth__rotate,axiom,
    ! [A: $tType,N: nat,Xs: list @ A,M: nat] :
      ( ( ord_less @ nat @ N @ ( size_size @ ( list @ A ) @ Xs ) )
     => ( ( nth @ A @ ( rotate @ A @ M @ Xs ) @ N )
        = ( nth @ A @ Xs @ ( modulo_modulo @ nat @ ( plus_plus @ nat @ M @ N ) @ ( size_size @ ( list @ A ) @ Xs ) ) ) ) ) ).

% nth_rotate
thf(fact_2078_rotate__length01,axiom,
    ! [A: $tType,Xs: list @ A,N: nat] :
      ( ( ord_less_eq @ nat @ ( size_size @ ( list @ A ) @ Xs ) @ ( one_one @ nat ) )
     => ( ( rotate @ A @ N @ Xs )
        = Xs ) ) ).

% rotate_length01
thf(fact_2079_sorted__wrt__true,axiom,
    ! [A: $tType,Xs: list @ A] :
      ( sorted_wrt @ A
      @ ^ [Uu2: A,Uv2: A] : $true
      @ Xs ) ).

% sorted_wrt_true
thf(fact_2080_trancl_Ocases,axiom,
    ! [A: $tType,A1: A,A22: A,R3: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A1 @ A22 ) @ ( transitive_trancl @ A @ R3 ) )
     => ( ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A1 @ A22 ) @ R3 )
       => ~ ! [B4: A] :
              ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A1 @ B4 ) @ ( transitive_trancl @ A @ R3 ) )
             => ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ B4 @ A22 ) @ R3 ) ) ) ) ).

% trancl.cases
thf(fact_2081_trancl_Osimps,axiom,
    ! [A: $tType,A1: A,A22: A,R3: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A1 @ A22 ) @ ( transitive_trancl @ A @ R3 ) )
      = ( ? [A7: A,B5: A] :
            ( ( A1 = A7 )
            & ( A22 = B5 )
            & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A7 @ B5 ) @ R3 ) )
        | ? [A7: A,B5: A,C4: A] :
            ( ( A1 = A7 )
            & ( A22 = C4 )
            & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A7 @ B5 ) @ ( transitive_trancl @ A @ R3 ) )
            & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ B5 @ C4 ) @ R3 ) ) ) ) ).

% trancl.simps
thf(fact_2082_trancl_Or__into__trancl,axiom,
    ! [A: $tType,A3: A,B2: A,R3: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ R3 )
     => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ ( transitive_trancl @ A @ R3 ) ) ) ).

% trancl.r_into_trancl
thf(fact_2083_tranclE,axiom,
    ! [A: $tType,A3: A,B2: A,R3: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ ( transitive_trancl @ A @ R3 ) )
     => ( ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ R3 )
       => ~ ! [C2: A] :
              ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ C2 ) @ ( transitive_trancl @ A @ R3 ) )
             => ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ C2 @ B2 ) @ R3 ) ) ) ) ).

% tranclE
thf(fact_2084_trancl__trans,axiom,
    ! [A: $tType,X: A,Y: A,R3: set @ ( product_prod @ A @ A ),Z4: A] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ ( transitive_trancl @ A @ R3 ) )
     => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y @ Z4 ) @ ( transitive_trancl @ A @ R3 ) )
       => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Z4 ) @ ( transitive_trancl @ A @ R3 ) ) ) ) ).

% trancl_trans
thf(fact_2085_trancl__induct,axiom,
    ! [A: $tType,A3: A,B2: A,R3: set @ ( product_prod @ A @ A ),P2: A > $o] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ ( transitive_trancl @ A @ R3 ) )
     => ( ! [Y3: A] :
            ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ Y3 ) @ R3 )
           => ( P2 @ Y3 ) )
       => ( ! [Y3: A,Z3: A] :
              ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ Y3 ) @ ( transitive_trancl @ A @ R3 ) )
             => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y3 @ Z3 ) @ R3 )
               => ( ( P2 @ Y3 )
                 => ( P2 @ Z3 ) ) ) )
         => ( P2 @ B2 ) ) ) ) ).

% trancl_induct
thf(fact_2086_r__r__into__trancl,axiom,
    ! [A: $tType,A3: A,B2: A,R4: set @ ( product_prod @ A @ A ),C3: A] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ R4 )
     => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ B2 @ C3 ) @ R4 )
       => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ C3 ) @ ( transitive_trancl @ A @ R4 ) ) ) ) ).

% r_r_into_trancl
thf(fact_2087_converse__tranclE,axiom,
    ! [A: $tType,X: A,Z4: A,R3: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Z4 ) @ ( transitive_trancl @ A @ R3 ) )
     => ( ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Z4 ) @ R3 )
       => ~ ! [Y3: A] :
              ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y3 ) @ R3 )
             => ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y3 @ Z4 ) @ ( transitive_trancl @ A @ R3 ) ) ) ) ) ).

% converse_tranclE
thf(fact_2088_irrefl__trancl__rD,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),X: A,Y: A] :
      ( ! [X3: A] :
          ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X3 @ X3 ) @ ( transitive_trancl @ A @ R3 ) )
     => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ R3 )
       => ( X != Y ) ) ) ).

% irrefl_trancl_rD
thf(fact_2089_Transitive__Closure_Otrancl__into__trancl,axiom,
    ! [A: $tType,A3: A,B2: A,R3: set @ ( product_prod @ A @ A ),C3: A] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ ( transitive_trancl @ A @ R3 ) )
     => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ B2 @ C3 ) @ R3 )
       => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ C3 ) @ ( transitive_trancl @ A @ R3 ) ) ) ) ).

% Transitive_Closure.trancl_into_trancl
thf(fact_2090_trancl__into__trancl2,axiom,
    ! [A: $tType,A3: A,B2: A,R3: set @ ( product_prod @ A @ A ),C3: A] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ R3 )
     => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ B2 @ C3 ) @ ( transitive_trancl @ A @ R3 ) )
       => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ C3 ) @ ( transitive_trancl @ A @ R3 ) ) ) ) ).

% trancl_into_trancl2
thf(fact_2091_trancl__trans__induct,axiom,
    ! [A: $tType,X: A,Y: A,R3: set @ ( product_prod @ A @ A ),P2: A > A > $o] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ ( transitive_trancl @ A @ R3 ) )
     => ( ! [X3: A,Y3: A] :
            ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X3 @ Y3 ) @ R3 )
           => ( P2 @ X3 @ Y3 ) )
       => ( ! [X3: A,Y3: A,Z3: A] :
              ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X3 @ Y3 ) @ ( transitive_trancl @ A @ R3 ) )
             => ( ( P2 @ X3 @ Y3 )
               => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y3 @ Z3 ) @ ( transitive_trancl @ A @ R3 ) )
                 => ( ( P2 @ Y3 @ Z3 )
                   => ( P2 @ X3 @ Z3 ) ) ) ) )
         => ( P2 @ X @ Y ) ) ) ) ).

% trancl_trans_induct
thf(fact_2092_converse__trancl__induct,axiom,
    ! [A: $tType,A3: A,B2: A,R3: set @ ( product_prod @ A @ A ),P2: A > $o] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ ( transitive_trancl @ A @ R3 ) )
     => ( ! [Y3: A] :
            ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y3 @ B2 ) @ R3 )
           => ( P2 @ Y3 ) )
       => ( ! [Y3: A,Z3: A] :
              ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y3 @ Z3 ) @ R3 )
             => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Z3 @ B2 ) @ ( transitive_trancl @ A @ R3 ) )
               => ( ( P2 @ Z3 )
                 => ( P2 @ Y3 ) ) ) )
         => ( P2 @ A3 ) ) ) ) ).

% converse_trancl_induct
thf(fact_2093_trancl__induct2,axiom,
    ! [A: $tType,B: $tType,Ax: A,Ay: B,Bx: A,By: B,R3: set @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) ),P2: A > B > $o] :
      ( ( member @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) ) @ ( product_Pair @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ Ax @ Ay ) @ ( product_Pair @ A @ B @ Bx @ By ) ) @ ( transitive_trancl @ ( product_prod @ A @ B ) @ R3 ) )
     => ( ! [A5: A,B4: B] :
            ( ( member @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) ) @ ( product_Pair @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ Ax @ Ay ) @ ( product_Pair @ A @ B @ A5 @ B4 ) ) @ R3 )
           => ( P2 @ A5 @ B4 ) )
       => ( ! [A5: A,B4: B,Aa3: A,Ba: B] :
              ( ( member @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) ) @ ( product_Pair @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ Ax @ Ay ) @ ( product_Pair @ A @ B @ A5 @ B4 ) ) @ ( transitive_trancl @ ( product_prod @ A @ B ) @ R3 ) )
             => ( ( member @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) ) @ ( product_Pair @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ A5 @ B4 ) @ ( product_Pair @ A @ B @ Aa3 @ Ba ) ) @ R3 )
               => ( ( P2 @ A5 @ B4 )
                 => ( P2 @ Aa3 @ Ba ) ) ) )
         => ( P2 @ Bx @ By ) ) ) ) ).

% trancl_induct2
thf(fact_2094_trancl__mono,axiom,
    ! [A: $tType,P3: product_prod @ A @ A,R3: set @ ( product_prod @ A @ A ),S2: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ A @ A ) @ P3 @ ( transitive_trancl @ A @ R3 ) )
     => ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ R3 @ S2 )
       => ( member @ ( product_prod @ A @ A ) @ P3 @ ( transitive_trancl @ A @ S2 ) ) ) ) ).

% trancl_mono
thf(fact_2095_trancl__mono__mp,axiom,
    ! [A: $tType,U3: set @ ( product_prod @ A @ A ),V: set @ ( product_prod @ A @ A ),X: product_prod @ A @ A] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ U3 @ V )
     => ( ( member @ ( product_prod @ A @ A ) @ X @ ( transitive_trancl @ A @ U3 ) )
       => ( member @ ( product_prod @ A @ A ) @ X @ ( transitive_trancl @ A @ V ) ) ) ) ).

% trancl_mono_mp
thf(fact_2096_trancl__sub,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A )] : ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ R4 @ ( transitive_trancl @ A @ R4 ) ) ).

% trancl_sub
thf(fact_2097_rotate__rotate,axiom,
    ! [A: $tType,M: nat,N: nat,Xs: list @ A] :
      ( ( rotate @ A @ M @ ( rotate @ A @ N @ Xs ) )
      = ( rotate @ A @ ( plus_plus @ nat @ M @ N ) @ Xs ) ) ).

% rotate_rotate
thf(fact_2098_rotate__add,axiom,
    ! [A: $tType,M: nat,N: nat] :
      ( ( rotate @ A @ ( plus_plus @ nat @ M @ N ) )
      = ( comp @ ( list @ A ) @ ( list @ A ) @ ( list @ A ) @ ( rotate @ A @ M ) @ ( rotate @ A @ N ) ) ) ).

% rotate_add
thf(fact_2099_strict__sorted__imp__sorted,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Xs: list @ A] :
          ( ( sorted_wrt @ A @ ( ord_less @ A ) @ Xs )
         => ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ Xs ) ) ) ).

% strict_sorted_imp_sorted
thf(fact_2100_sorted__wrt__less__idx,axiom,
    ! [Ns: list @ nat,I2: nat] :
      ( ( sorted_wrt @ nat @ ( ord_less @ nat ) @ Ns )
     => ( ( ord_less @ nat @ I2 @ ( size_size @ ( list @ nat ) @ Ns ) )
       => ( ord_less_eq @ nat @ I2 @ ( nth @ nat @ Ns @ I2 ) ) ) ) ).

% sorted_wrt_less_idx
thf(fact_2101_sorted__wrt__iff__nth__less,axiom,
    ! [A: $tType] :
      ( ( sorted_wrt @ A )
      = ( ^ [P5: A > A > $o,Xs3: list @ A] :
          ! [I: nat,J: nat] :
            ( ( ord_less @ nat @ I @ J )
           => ( ( ord_less @ nat @ J @ ( size_size @ ( list @ A ) @ Xs3 ) )
             => ( P5 @ ( nth @ A @ Xs3 @ I ) @ ( nth @ A @ Xs3 @ J ) ) ) ) ) ) ).

% sorted_wrt_iff_nth_less
thf(fact_2102_sorted__wrt__nth__less,axiom,
    ! [A: $tType,P2: A > A > $o,Xs: list @ A,I2: nat,J2: nat] :
      ( ( sorted_wrt @ A @ P2 @ Xs )
     => ( ( ord_less @ nat @ I2 @ J2 )
       => ( ( ord_less @ nat @ J2 @ ( size_size @ ( list @ A ) @ Xs ) )
         => ( P2 @ ( nth @ A @ Xs @ I2 ) @ ( nth @ A @ Xs @ J2 ) ) ) ) ) ).

% sorted_wrt_nth_less
thf(fact_2103_sorted__wrt01,axiom,
    ! [A: $tType,Xs: list @ A,P2: A > A > $o] :
      ( ( ord_less_eq @ nat @ ( size_size @ ( list @ A ) @ Xs ) @ ( one_one @ nat ) )
     => ( sorted_wrt @ A @ P2 @ Xs ) ) ).

% sorted_wrt01
thf(fact_2104_sorted__iff__nth__mono__less,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Xs: list @ A] :
          ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ Xs )
          = ( ! [I: nat,J: nat] :
                ( ( ord_less @ nat @ I @ J )
               => ( ( ord_less @ nat @ J @ ( size_size @ ( list @ A ) @ Xs ) )
                 => ( ord_less_eq @ A @ ( nth @ A @ Xs @ I ) @ ( nth @ A @ Xs @ J ) ) ) ) ) ) ) ).

% sorted_iff_nth_mono_less
thf(fact_2105_sorted01,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Xs: list @ A] :
          ( ( ord_less_eq @ nat @ ( size_size @ ( list @ A ) @ Xs ) @ ( one_one @ nat ) )
         => ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ Xs ) ) ) ).

% sorted01
thf(fact_2106_sorted__iff__nth__Suc,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Xs: list @ A] :
          ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ Xs )
          = ( ! [I: nat] :
                ( ( ord_less @ nat @ ( suc @ I ) @ ( size_size @ ( list @ A ) @ Xs ) )
               => ( ord_less_eq @ A @ ( nth @ A @ Xs @ I ) @ ( nth @ A @ Xs @ ( suc @ I ) ) ) ) ) ) ) ).

% sorted_iff_nth_Suc
thf(fact_2107_sorted__iff__nth__mono,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Xs: list @ A] :
          ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ Xs )
          = ( ! [I: nat,J: nat] :
                ( ( ord_less_eq @ nat @ I @ J )
               => ( ( ord_less @ nat @ J @ ( size_size @ ( list @ A ) @ Xs ) )
                 => ( ord_less_eq @ A @ ( nth @ A @ Xs @ I ) @ ( nth @ A @ Xs @ J ) ) ) ) ) ) ) ).

% sorted_iff_nth_mono
thf(fact_2108_sorted__nth__mono,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Xs: list @ A,I2: nat,J2: nat] :
          ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ Xs )
         => ( ( ord_less_eq @ nat @ I2 @ J2 )
           => ( ( ord_less @ nat @ J2 @ ( size_size @ ( list @ A ) @ Xs ) )
             => ( ord_less_eq @ A @ ( nth @ A @ Xs @ I2 ) @ ( nth @ A @ Xs @ J2 ) ) ) ) ) ) ).

% sorted_nth_mono
thf(fact_2109_nth__zip,axiom,
    ! [A: $tType,B: $tType,I2: nat,Xs: list @ A,Ys3: list @ B] :
      ( ( ord_less @ nat @ I2 @ ( size_size @ ( list @ A ) @ Xs ) )
     => ( ( ord_less @ nat @ I2 @ ( size_size @ ( list @ B ) @ Ys3 ) )
       => ( ( nth @ ( product_prod @ A @ B ) @ ( zip @ A @ B @ Xs @ Ys3 ) @ I2 )
          = ( product_Pair @ A @ B @ ( nth @ A @ Xs @ I2 ) @ ( nth @ B @ Ys3 @ I2 ) ) ) ) ) ).

% nth_zip
thf(fact_2110_nth__Cons__pos,axiom,
    ! [A: $tType,N: nat,X: A,Xs: list @ A] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
     => ( ( nth @ A @ ( cons @ A @ X @ Xs ) @ N )
        = ( nth @ A @ Xs @ ( minus_minus @ nat @ N @ ( one_one @ nat ) ) ) ) ) ).

% nth_Cons_pos
thf(fact_2111_same__fst__trancl,axiom,
    ! [B: $tType,A: $tType,P2: A > $o,R4: A > ( set @ ( product_prod @ B @ B ) )] :
      ( ( transitive_trancl @ ( product_prod @ A @ B ) @ ( same_fst @ A @ B @ P2 @ R4 ) )
      = ( same_fst @ A @ B @ P2
        @ ^ [X4: A] : ( transitive_trancl @ B @ ( R4 @ X4 ) ) ) ) ).

% same_fst_trancl
thf(fact_2112_find__Some__iff,axiom,
    ! [A: $tType,P2: A > $o,Xs: list @ A,X: A] :
      ( ( ( find @ A @ P2 @ Xs )
        = ( some @ A @ X ) )
      = ( ? [I: nat] :
            ( ( ord_less @ nat @ I @ ( size_size @ ( list @ A ) @ Xs ) )
            & ( P2 @ ( nth @ A @ Xs @ I ) )
            & ( X
              = ( nth @ A @ Xs @ I ) )
            & ! [J: nat] :
                ( ( ord_less @ nat @ J @ I )
               => ~ ( P2 @ ( nth @ A @ Xs @ J ) ) ) ) ) ) ).

% find_Some_iff
thf(fact_2113_find__Some__iff2,axiom,
    ! [A: $tType,X: A,P2: A > $o,Xs: list @ A] :
      ( ( ( some @ A @ X )
        = ( find @ A @ P2 @ Xs ) )
      = ( ? [I: nat] :
            ( ( ord_less @ nat @ I @ ( size_size @ ( list @ A ) @ Xs ) )
            & ( P2 @ ( nth @ A @ Xs @ I ) )
            & ( X
              = ( nth @ A @ Xs @ I ) )
            & ! [J: nat] :
                ( ( ord_less @ nat @ J @ I )
               => ~ ( P2 @ ( nth @ A @ Xs @ J ) ) ) ) ) ) ).

% find_Some_iff2
thf(fact_2114_divide__le__eq__numeral_I2_J,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [B2: A,C3: A,W2: num] :
          ( ( ord_less_eq @ A @ ( divide_divide @ A @ B2 @ C3 ) @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ W2 ) ) )
          = ( ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
             => ( ord_less_eq @ A @ B2 @ ( times_times @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ W2 ) ) @ C3 ) ) )
            & ( ~ ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
             => ( ( ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
                 => ( ord_less_eq @ A @ ( times_times @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ W2 ) ) @ C3 ) @ B2 ) )
                & ( ~ ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
                 => ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ W2 ) ) ) ) ) ) ) ) ) ).

% divide_le_eq_numeral(2)
thf(fact_2115_le__divide__eq__numeral_I2_J,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [W2: num,B2: A,C3: A] :
          ( ( ord_less_eq @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ W2 ) ) @ ( divide_divide @ A @ B2 @ C3 ) )
          = ( ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
             => ( ord_less_eq @ A @ ( times_times @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ W2 ) ) @ C3 ) @ B2 ) )
            & ( ~ ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
             => ( ( ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
                 => ( ord_less_eq @ A @ B2 @ ( times_times @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ W2 ) ) @ C3 ) ) )
                & ( ~ ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
                 => ( ord_less_eq @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ W2 ) ) @ ( zero_zero @ A ) ) ) ) ) ) ) ) ).

% le_divide_eq_numeral(2)
thf(fact_2116_numeral__le__iff,axiom,
    ! [A: $tType] :
      ( ( linord181362715937106298miring @ A )
     => ! [M: num,N: num] :
          ( ( ord_less_eq @ A @ ( numeral_numeral @ A @ M ) @ ( numeral_numeral @ A @ N ) )
          = ( ord_less_eq @ num @ M @ N ) ) ) ).

% numeral_le_iff
thf(fact_2117_numeral__less__iff,axiom,
    ! [A: $tType] :
      ( ( linord181362715937106298miring @ A )
     => ! [M: num,N: num] :
          ( ( ord_less @ A @ ( numeral_numeral @ A @ M ) @ ( numeral_numeral @ A @ N ) )
          = ( ord_less @ num @ M @ N ) ) ) ).

% numeral_less_iff
thf(fact_2118_numeral__plus__numeral,axiom,
    ! [A: $tType] :
      ( ( numeral @ A )
     => ! [M: num,N: num] :
          ( ( plus_plus @ A @ ( numeral_numeral @ A @ M ) @ ( numeral_numeral @ A @ N ) )
          = ( numeral_numeral @ A @ ( plus_plus @ num @ M @ N ) ) ) ) ).

% numeral_plus_numeral
thf(fact_2119_add__numeral__left,axiom,
    ! [A: $tType] :
      ( ( numeral @ A )
     => ! [V2: num,W2: num,Z4: A] :
          ( ( plus_plus @ A @ ( numeral_numeral @ A @ V2 ) @ ( plus_plus @ A @ ( numeral_numeral @ A @ W2 ) @ Z4 ) )
          = ( plus_plus @ A @ ( numeral_numeral @ A @ ( plus_plus @ num @ V2 @ W2 ) ) @ Z4 ) ) ) ).

% add_numeral_left
thf(fact_2120_power__add__numeral2,axiom,
    ! [A: $tType] :
      ( ( monoid_mult @ A )
     => ! [A3: A,M: num,N: num,B2: A] :
          ( ( times_times @ A @ ( power_power @ A @ A3 @ ( numeral_numeral @ nat @ M ) ) @ ( times_times @ A @ ( power_power @ A @ A3 @ ( numeral_numeral @ nat @ N ) ) @ B2 ) )
          = ( times_times @ A @ ( power_power @ A @ A3 @ ( numeral_numeral @ nat @ ( plus_plus @ num @ M @ N ) ) ) @ B2 ) ) ) ).

% power_add_numeral2
thf(fact_2121_power__add__numeral,axiom,
    ! [A: $tType] :
      ( ( monoid_mult @ A )
     => ! [A3: A,M: num,N: num] :
          ( ( times_times @ A @ ( power_power @ A @ A3 @ ( numeral_numeral @ nat @ M ) ) @ ( power_power @ A @ A3 @ ( numeral_numeral @ nat @ N ) ) )
          = ( power_power @ A @ A3 @ ( numeral_numeral @ nat @ ( plus_plus @ num @ M @ N ) ) ) ) ) ).

% power_add_numeral
thf(fact_2122_zip__eq__zip__same__len,axiom,
    ! [A: $tType,B: $tType,A3: list @ A,B2: list @ B,A4: list @ A,B3: list @ B] :
      ( ( ( size_size @ ( list @ A ) @ A3 )
        = ( size_size @ ( list @ B ) @ B2 ) )
     => ( ( ( size_size @ ( list @ A ) @ A4 )
          = ( size_size @ ( list @ B ) @ B3 ) )
       => ( ( ( zip @ A @ B @ A3 @ B2 )
            = ( zip @ A @ B @ A4 @ B3 ) )
          = ( ( A3 = A4 )
            & ( B2 = B3 ) ) ) ) ) ).

% zip_eq_zip_same_len
thf(fact_2123_neg__numeral__le__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [M: num,N: num] :
          ( ( ord_less_eq @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ M ) ) @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ N ) ) )
          = ( ord_less_eq @ num @ N @ M ) ) ) ).

% neg_numeral_le_iff
thf(fact_2124_distrib__left__numeral,axiom,
    ! [A: $tType] :
      ( ( ( numeral @ A )
        & ( semiring @ A ) )
     => ! [V2: num,B2: A,C3: A] :
          ( ( times_times @ A @ ( numeral_numeral @ A @ V2 ) @ ( plus_plus @ A @ B2 @ C3 ) )
          = ( plus_plus @ A @ ( times_times @ A @ ( numeral_numeral @ A @ V2 ) @ B2 ) @ ( times_times @ A @ ( numeral_numeral @ A @ V2 ) @ C3 ) ) ) ) ).

% distrib_left_numeral
thf(fact_2125_distrib__right__numeral,axiom,
    ! [A: $tType] :
      ( ( ( numeral @ A )
        & ( semiring @ A ) )
     => ! [A3: A,B2: A,V2: num] :
          ( ( times_times @ A @ ( plus_plus @ A @ A3 @ B2 ) @ ( numeral_numeral @ A @ V2 ) )
          = ( plus_plus @ A @ ( times_times @ A @ A3 @ ( numeral_numeral @ A @ V2 ) ) @ ( times_times @ A @ B2 @ ( numeral_numeral @ A @ V2 ) ) ) ) ) ).

% distrib_right_numeral
thf(fact_2126_neg__numeral__less__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [M: num,N: num] :
          ( ( ord_less @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ M ) ) @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ N ) ) )
          = ( ord_less @ num @ N @ M ) ) ) ).

% neg_numeral_less_iff
thf(fact_2127_add__neg__numeral__simps_I3_J,axiom,
    ! [A: $tType] :
      ( ( neg_numeral @ A )
     => ! [M: num,N: num] :
          ( ( plus_plus @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ M ) ) @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ N ) ) )
          = ( uminus_uminus @ A @ ( plus_plus @ A @ ( numeral_numeral @ A @ M ) @ ( numeral_numeral @ A @ N ) ) ) ) ) ).

% add_neg_numeral_simps(3)
thf(fact_2128_semiring__norm_I168_J,axiom,
    ! [A: $tType] :
      ( ( neg_numeral @ A )
     => ! [V2: num,W2: num,Y: A] :
          ( ( plus_plus @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ V2 ) ) @ ( plus_plus @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ W2 ) ) @ Y ) )
          = ( plus_plus @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ ( plus_plus @ num @ V2 @ W2 ) ) ) @ Y ) ) ) ).

% semiring_norm(168)
thf(fact_2129_diff__numeral__simps_I3_J,axiom,
    ! [A: $tType] :
      ( ( neg_numeral @ A )
     => ! [M: num,N: num] :
          ( ( minus_minus @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ M ) ) @ ( numeral_numeral @ A @ N ) )
          = ( uminus_uminus @ A @ ( numeral_numeral @ A @ ( plus_plus @ num @ M @ N ) ) ) ) ) ).

% diff_numeral_simps(3)
thf(fact_2130_diff__numeral__simps_I2_J,axiom,
    ! [A: $tType] :
      ( ( neg_numeral @ A )
     => ! [M: num,N: num] :
          ( ( minus_minus @ A @ ( numeral_numeral @ A @ M ) @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ N ) ) )
          = ( numeral_numeral @ A @ ( plus_plus @ num @ M @ N ) ) ) ) ).

% diff_numeral_simps(2)
thf(fact_2131_zip__Cons__Cons,axiom,
    ! [A: $tType,B: $tType,X: A,Xs: list @ A,Y: B,Ys3: list @ B] :
      ( ( zip @ A @ B @ ( cons @ A @ X @ Xs ) @ ( cons @ B @ Y @ Ys3 ) )
      = ( cons @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X @ Y ) @ ( zip @ A @ B @ Xs @ Ys3 ) ) ) ).

% zip_Cons_Cons
thf(fact_2132_le__divide__eq__numeral1_I1_J,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A,W2: num] :
          ( ( ord_less_eq @ A @ A3 @ ( divide_divide @ A @ B2 @ ( numeral_numeral @ A @ W2 ) ) )
          = ( ord_less_eq @ A @ ( times_times @ A @ A3 @ ( numeral_numeral @ A @ W2 ) ) @ B2 ) ) ) ).

% le_divide_eq_numeral1(1)
thf(fact_2133_divide__le__eq__numeral1_I1_J,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [B2: A,W2: num,A3: A] :
          ( ( ord_less_eq @ A @ ( divide_divide @ A @ B2 @ ( numeral_numeral @ A @ W2 ) ) @ A3 )
          = ( ord_less_eq @ A @ B2 @ ( times_times @ A @ A3 @ ( numeral_numeral @ A @ W2 ) ) ) ) ) ).

% divide_le_eq_numeral1(1)
thf(fact_2134_less__divide__eq__numeral1_I1_J,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A,W2: num] :
          ( ( ord_less @ A @ A3 @ ( divide_divide @ A @ B2 @ ( numeral_numeral @ A @ W2 ) ) )
          = ( ord_less @ A @ ( times_times @ A @ A3 @ ( numeral_numeral @ A @ W2 ) ) @ B2 ) ) ) ).

% less_divide_eq_numeral1(1)
thf(fact_2135_divide__less__eq__numeral1_I1_J,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [B2: A,W2: num,A3: A] :
          ( ( ord_less @ A @ ( divide_divide @ A @ B2 @ ( numeral_numeral @ A @ W2 ) ) @ A3 )
          = ( ord_less @ A @ B2 @ ( times_times @ A @ A3 @ ( numeral_numeral @ A @ W2 ) ) ) ) ) ).

% divide_less_eq_numeral1(1)
thf(fact_2136_le__divide__eq__numeral1_I2_J,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A,W2: num] :
          ( ( ord_less_eq @ A @ A3 @ ( divide_divide @ A @ B2 @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ W2 ) ) ) )
          = ( ord_less_eq @ A @ B2 @ ( times_times @ A @ A3 @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ W2 ) ) ) ) ) ) ).

% le_divide_eq_numeral1(2)
thf(fact_2137_divide__le__eq__numeral1_I2_J,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [B2: A,W2: num,A3: A] :
          ( ( ord_less_eq @ A @ ( divide_divide @ A @ B2 @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ W2 ) ) ) @ A3 )
          = ( ord_less_eq @ A @ ( times_times @ A @ A3 @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ W2 ) ) ) @ B2 ) ) ) ).

% divide_le_eq_numeral1(2)
thf(fact_2138_less__divide__eq__numeral1_I2_J,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A,W2: num] :
          ( ( ord_less @ A @ A3 @ ( divide_divide @ A @ B2 @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ W2 ) ) ) )
          = ( ord_less @ A @ B2 @ ( times_times @ A @ A3 @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ W2 ) ) ) ) ) ) ).

% less_divide_eq_numeral1(2)
thf(fact_2139_divide__less__eq__numeral1_I2_J,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [B2: A,W2: num,A3: A] :
          ( ( ord_less @ A @ ( divide_divide @ A @ B2 @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ W2 ) ) ) @ A3 )
          = ( ord_less @ A @ ( times_times @ A @ A3 @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ W2 ) ) ) @ B2 ) ) ) ).

% divide_less_eq_numeral1(2)
thf(fact_2140_nat__less__numeral__power__cancel__iff,axiom,
    ! [A3: int,X: num,N: nat] :
      ( ( ord_less @ nat @ ( nat2 @ A3 ) @ ( power_power @ nat @ ( numeral_numeral @ nat @ X ) @ N ) )
      = ( ord_less @ int @ A3 @ ( power_power @ int @ ( numeral_numeral @ int @ X ) @ N ) ) ) ).

% nat_less_numeral_power_cancel_iff
thf(fact_2141_numeral__power__less__nat__cancel__iff,axiom,
    ! [X: num,N: nat,A3: int] :
      ( ( ord_less @ nat @ ( power_power @ nat @ ( numeral_numeral @ nat @ X ) @ N ) @ ( nat2 @ A3 ) )
      = ( ord_less @ int @ ( power_power @ int @ ( numeral_numeral @ int @ X ) @ N ) @ A3 ) ) ).

% numeral_power_less_nat_cancel_iff
thf(fact_2142_nat__le__numeral__power__cancel__iff,axiom,
    ! [A3: int,X: num,N: nat] :
      ( ( ord_less_eq @ nat @ ( nat2 @ A3 ) @ ( power_power @ nat @ ( numeral_numeral @ nat @ X ) @ N ) )
      = ( ord_less_eq @ int @ A3 @ ( power_power @ int @ ( numeral_numeral @ int @ X ) @ N ) ) ) ).

% nat_le_numeral_power_cancel_iff
thf(fact_2143_numeral__power__le__nat__cancel__iff,axiom,
    ! [X: num,N: nat,A3: int] :
      ( ( ord_less_eq @ nat @ ( power_power @ nat @ ( numeral_numeral @ nat @ X ) @ N ) @ ( nat2 @ A3 ) )
      = ( ord_less_eq @ int @ ( power_power @ int @ ( numeral_numeral @ int @ X ) @ N ) @ A3 ) ) ).

% numeral_power_le_nat_cancel_iff
thf(fact_2144_of__nat__less__numeral__power__cancel__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [X: nat,I2: num,N: nat] :
          ( ( ord_less @ A @ ( semiring_1_of_nat @ A @ X ) @ ( power_power @ A @ ( numeral_numeral @ A @ I2 ) @ N ) )
          = ( ord_less @ nat @ X @ ( power_power @ nat @ ( numeral_numeral @ nat @ I2 ) @ N ) ) ) ) ).

% of_nat_less_numeral_power_cancel_iff
thf(fact_2145_numeral__power__less__of__nat__cancel__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [I2: num,N: nat,X: nat] :
          ( ( ord_less @ A @ ( power_power @ A @ ( numeral_numeral @ A @ I2 ) @ N ) @ ( semiring_1_of_nat @ A @ X ) )
          = ( ord_less @ nat @ ( power_power @ nat @ ( numeral_numeral @ nat @ I2 ) @ N ) @ X ) ) ) ).

% numeral_power_less_of_nat_cancel_iff
thf(fact_2146_of__nat__le__numeral__power__cancel__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [X: nat,I2: num,N: nat] :
          ( ( ord_less_eq @ A @ ( semiring_1_of_nat @ A @ X ) @ ( power_power @ A @ ( numeral_numeral @ A @ I2 ) @ N ) )
          = ( ord_less_eq @ nat @ X @ ( power_power @ nat @ ( numeral_numeral @ nat @ I2 ) @ N ) ) ) ) ).

% of_nat_le_numeral_power_cancel_iff
thf(fact_2147_numeral__power__le__of__nat__cancel__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [I2: num,N: nat,X: nat] :
          ( ( ord_less_eq @ A @ ( power_power @ A @ ( numeral_numeral @ A @ I2 ) @ N ) @ ( semiring_1_of_nat @ A @ X ) )
          = ( ord_less_eq @ nat @ ( power_power @ nat @ ( numeral_numeral @ nat @ I2 ) @ N ) @ X ) ) ) ).

% numeral_power_le_of_nat_cancel_iff
thf(fact_2148_nat__numeral__as__int,axiom,
    ( ( numeral_numeral @ nat )
    = ( ^ [I: num] : ( nat2 @ ( numeral_numeral @ int @ I ) ) ) ) ).

% nat_numeral_as_int
thf(fact_2149_int__ops_I3_J,axiom,
    ! [N: num] :
      ( ( semiring_1_of_nat @ int @ ( numeral_numeral @ nat @ N ) )
      = ( numeral_numeral @ int @ N ) ) ).

% int_ops(3)
thf(fact_2150_list__tail__coinc,axiom,
    ! [A: $tType,N12: A,R12: list @ A,N23: A,R23: list @ A] :
      ( ( ( cons @ A @ N12 @ R12 )
        = ( cons @ A @ N23 @ R23 ) )
     => ( ( N12 = N23 )
        & ( R12 = R23 ) ) ) ).

% list_tail_coinc
thf(fact_2151_zip__eq__ConsE,axiom,
    ! [A: $tType,B: $tType,Xs: list @ A,Ys3: list @ B,Xy: product_prod @ A @ B,Xys: list @ ( product_prod @ A @ B )] :
      ( ( ( zip @ A @ B @ Xs @ Ys3 )
        = ( cons @ ( product_prod @ A @ B ) @ Xy @ Xys ) )
     => ~ ! [X3: A,Xs4: list @ A] :
            ( ( Xs
              = ( cons @ A @ X3 @ Xs4 ) )
           => ! [Y3: B,Ys4: list @ B] :
                ( ( Ys3
                  = ( cons @ B @ Y3 @ Ys4 ) )
               => ( ( Xy
                    = ( product_Pair @ A @ B @ X3 @ Y3 ) )
                 => ( Xys
                   != ( zip @ A @ B @ Xs4 @ Ys4 ) ) ) ) ) ) ).

% zip_eq_ConsE
thf(fact_2152_find_Osimps_I2_J,axiom,
    ! [A: $tType,P2: A > $o,X: A,Xs: list @ A] :
      ( ( ( P2 @ X )
       => ( ( find @ A @ P2 @ ( cons @ A @ X @ Xs ) )
          = ( some @ A @ X ) ) )
      & ( ~ ( P2 @ X )
       => ( ( find @ A @ P2 @ ( cons @ A @ X @ Xs ) )
          = ( find @ A @ P2 @ Xs ) ) ) ) ).

% find.simps(2)
thf(fact_2153_pair__list__split,axiom,
    ! [A: $tType,B: $tType,L: list @ ( product_prod @ A @ B )] :
      ~ ! [L1: list @ A,L22: list @ B] :
          ( ( L
            = ( zip @ A @ B @ L1 @ L22 ) )
         => ( ( ( size_size @ ( list @ A ) @ L1 )
              = ( size_size @ ( list @ B ) @ L22 ) )
           => ( ( size_size @ ( list @ ( product_prod @ A @ B ) ) @ L )
             != ( size_size @ ( list @ B ) @ L22 ) ) ) ) ).

% pair_list_split
thf(fact_2154_zip__inj,axiom,
    ! [A: $tType,B: $tType,A3: list @ A,B2: list @ B,A4: list @ A,B3: list @ B] :
      ( ( ( size_size @ ( list @ A ) @ A3 )
        = ( size_size @ ( list @ B ) @ B2 ) )
     => ( ( ( size_size @ ( list @ A ) @ A4 )
          = ( size_size @ ( list @ B ) @ B3 ) )
       => ( ( ( zip @ A @ B @ A3 @ B2 )
            = ( zip @ A @ B @ A4 @ B3 ) )
         => ( ( A3 = A4 )
            & ( B2 = B3 ) ) ) ) ) ).

% zip_inj
thf(fact_2155_find__SomeD_I1_J,axiom,
    ! [A: $tType,P2: A > $o,Xs: list @ A,X: A] :
      ( ( ( find @ A @ P2 @ Xs )
        = ( some @ A @ X ) )
     => ( P2 @ X ) ) ).

% find_SomeD(1)
thf(fact_2156_not__numeral__le__zero,axiom,
    ! [A: $tType] :
      ( ( linord181362715937106298miring @ A )
     => ! [N: num] :
          ~ ( ord_less_eq @ A @ ( numeral_numeral @ A @ N ) @ ( zero_zero @ A ) ) ) ).

% not_numeral_le_zero
thf(fact_2157_zero__le__numeral,axiom,
    ! [A: $tType] :
      ( ( linord181362715937106298miring @ A )
     => ! [N: num] : ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( numeral_numeral @ A @ N ) ) ) ).

% zero_le_numeral
thf(fact_2158_not__numeral__less__zero,axiom,
    ! [A: $tType] :
      ( ( linord181362715937106298miring @ A )
     => ! [N: num] :
          ~ ( ord_less @ A @ ( numeral_numeral @ A @ N ) @ ( zero_zero @ A ) ) ) ).

% not_numeral_less_zero
thf(fact_2159_zero__less__numeral,axiom,
    ! [A: $tType] :
      ( ( linord181362715937106298miring @ A )
     => ! [N: num] : ( ord_less @ A @ ( zero_zero @ A ) @ ( numeral_numeral @ A @ N ) ) ) ).

% zero_less_numeral
thf(fact_2160_one__le__numeral,axiom,
    ! [A: $tType] :
      ( ( linord181362715937106298miring @ A )
     => ! [N: num] : ( ord_less_eq @ A @ ( one_one @ A ) @ ( numeral_numeral @ A @ N ) ) ) ).

% one_le_numeral
thf(fact_2161_not__numeral__less__one,axiom,
    ! [A: $tType] :
      ( ( linord181362715937106298miring @ A )
     => ! [N: num] :
          ~ ( ord_less @ A @ ( numeral_numeral @ A @ N ) @ ( one_one @ A ) ) ) ).

% not_numeral_less_one
thf(fact_2162_not__numeral__le__neg__numeral,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [M: num,N: num] :
          ~ ( ord_less_eq @ A @ ( numeral_numeral @ A @ M ) @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ N ) ) ) ) ).

% not_numeral_le_neg_numeral
thf(fact_2163_neg__numeral__le__numeral,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [M: num,N: num] : ( ord_less_eq @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ M ) ) @ ( numeral_numeral @ A @ N ) ) ) ).

% neg_numeral_le_numeral
thf(fact_2164_one__plus__numeral__commute,axiom,
    ! [A: $tType] :
      ( ( numeral @ A )
     => ! [X: num] :
          ( ( plus_plus @ A @ ( one_one @ A ) @ ( numeral_numeral @ A @ X ) )
          = ( plus_plus @ A @ ( numeral_numeral @ A @ X ) @ ( one_one @ A ) ) ) ) ).

% one_plus_numeral_commute
thf(fact_2165_not__numeral__less__neg__numeral,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [M: num,N: num] :
          ~ ( ord_less @ A @ ( numeral_numeral @ A @ M ) @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ N ) ) ) ) ).

% not_numeral_less_neg_numeral
thf(fact_2166_neg__numeral__less__numeral,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [M: num,N: num] : ( ord_less @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ M ) ) @ ( numeral_numeral @ A @ N ) ) ) ).

% neg_numeral_less_numeral
thf(fact_2167_length__Cons,axiom,
    ! [A: $tType,X: A,Xs: list @ A] :
      ( ( size_size @ ( list @ A ) @ ( cons @ A @ X @ Xs ) )
      = ( suc @ ( size_size @ ( list @ A ) @ Xs ) ) ) ).

% length_Cons
thf(fact_2168_impossible__Cons,axiom,
    ! [A: $tType,Xs: list @ A,Ys3: list @ A,X: A] :
      ( ( ord_less_eq @ nat @ ( size_size @ ( list @ A ) @ Xs ) @ ( size_size @ ( list @ A ) @ Ys3 ) )
     => ( Xs
       != ( cons @ A @ X @ Ys3 ) ) ) ).

% impossible_Cons
thf(fact_2169_sorted2,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [X: A,Y: A,Zs: list @ A] :
          ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( cons @ A @ X @ ( cons @ A @ Y @ Zs ) ) )
          = ( ( ord_less_eq @ A @ X @ Y )
            & ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( cons @ A @ Y @ Zs ) ) ) ) ) ).

% sorted2
thf(fact_2170_not__zero__le__neg__numeral,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [N: num] :
          ~ ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ N ) ) ) ) ).

% not_zero_le_neg_numeral
thf(fact_2171_neg__numeral__le__zero,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [N: num] : ( ord_less_eq @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ N ) ) @ ( zero_zero @ A ) ) ) ).

% neg_numeral_le_zero
thf(fact_2172_not__zero__less__neg__numeral,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [N: num] :
          ~ ( ord_less @ A @ ( zero_zero @ A ) @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ N ) ) ) ) ).

% not_zero_less_neg_numeral
thf(fact_2173_neg__numeral__less__zero,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [N: num] : ( ord_less @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ N ) ) @ ( zero_zero @ A ) ) ) ).

% neg_numeral_less_zero
thf(fact_2174_neg__numeral__le__one,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [M: num] : ( ord_less_eq @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ M ) ) @ ( one_one @ A ) ) ) ).

% neg_numeral_le_one
thf(fact_2175_neg__one__le__numeral,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [M: num] : ( ord_less_eq @ A @ ( uminus_uminus @ A @ ( one_one @ A ) ) @ ( numeral_numeral @ A @ M ) ) ) ).

% neg_one_le_numeral
thf(fact_2176_neg__numeral__le__neg__one,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [M: num] : ( ord_less_eq @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ M ) ) @ ( uminus_uminus @ A @ ( one_one @ A ) ) ) ) ).

% neg_numeral_le_neg_one
thf(fact_2177_not__numeral__le__neg__one,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [M: num] :
          ~ ( ord_less_eq @ A @ ( numeral_numeral @ A @ M ) @ ( uminus_uminus @ A @ ( one_one @ A ) ) ) ) ).

% not_numeral_le_neg_one
thf(fact_2178_not__one__le__neg__numeral,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [M: num] :
          ~ ( ord_less_eq @ A @ ( one_one @ A ) @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ M ) ) ) ) ).

% not_one_le_neg_numeral
thf(fact_2179_neg__numeral__less__one,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [M: num] : ( ord_less @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ M ) ) @ ( one_one @ A ) ) ) ).

% neg_numeral_less_one
thf(fact_2180_neg__one__less__numeral,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [M: num] : ( ord_less @ A @ ( uminus_uminus @ A @ ( one_one @ A ) ) @ ( numeral_numeral @ A @ M ) ) ) ).

% neg_one_less_numeral
thf(fact_2181_not__numeral__less__neg__one,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [M: num] :
          ~ ( ord_less @ A @ ( numeral_numeral @ A @ M ) @ ( uminus_uminus @ A @ ( one_one @ A ) ) ) ) ).

% not_numeral_less_neg_one
thf(fact_2182_not__one__less__neg__numeral,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [M: num] :
          ~ ( ord_less @ A @ ( one_one @ A ) @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ M ) ) ) ) ).

% not_one_less_neg_numeral
thf(fact_2183_not__neg__one__less__neg__numeral,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [M: num] :
          ~ ( ord_less @ A @ ( uminus_uminus @ A @ ( one_one @ A ) ) @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ M ) ) ) ) ).

% not_neg_one_less_neg_numeral
thf(fact_2184_Suc__le__length__iff,axiom,
    ! [A: $tType,N: nat,Xs: list @ A] :
      ( ( ord_less_eq @ nat @ ( suc @ N ) @ ( size_size @ ( list @ A ) @ Xs ) )
      = ( ? [X4: A,Ys2: list @ A] :
            ( ( Xs
              = ( cons @ A @ X4 @ Ys2 ) )
            & ( ord_less_eq @ nat @ N @ ( size_size @ ( list @ A ) @ Ys2 ) ) ) ) ) ).

% Suc_le_length_iff
thf(fact_2185_less__divide__eq__numeral_I1_J,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [W2: num,B2: A,C3: A] :
          ( ( ord_less @ A @ ( numeral_numeral @ A @ W2 ) @ ( divide_divide @ A @ B2 @ C3 ) )
          = ( ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
             => ( ord_less @ A @ ( times_times @ A @ ( numeral_numeral @ A @ W2 ) @ C3 ) @ B2 ) )
            & ( ~ ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
             => ( ( ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
                 => ( ord_less @ A @ B2 @ ( times_times @ A @ ( numeral_numeral @ A @ W2 ) @ C3 ) ) )
                & ( ~ ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
                 => ( ord_less @ A @ ( numeral_numeral @ A @ W2 ) @ ( zero_zero @ A ) ) ) ) ) ) ) ) ).

% less_divide_eq_numeral(1)
thf(fact_2186_divide__less__eq__numeral_I1_J,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [B2: A,C3: A,W2: num] :
          ( ( ord_less @ A @ ( divide_divide @ A @ B2 @ C3 ) @ ( numeral_numeral @ A @ W2 ) )
          = ( ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
             => ( ord_less @ A @ B2 @ ( times_times @ A @ ( numeral_numeral @ A @ W2 ) @ C3 ) ) )
            & ( ~ ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
             => ( ( ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
                 => ( ord_less @ A @ ( times_times @ A @ ( numeral_numeral @ A @ W2 ) @ C3 ) @ B2 ) )
                & ( ~ ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
                 => ( ord_less @ A @ ( zero_zero @ A ) @ ( numeral_numeral @ A @ W2 ) ) ) ) ) ) ) ) ).

% divide_less_eq_numeral(1)
thf(fact_2187_list_Osize_I4_J,axiom,
    ! [A: $tType,X21: A,X222: list @ A] :
      ( ( size_size @ ( list @ A ) @ ( cons @ A @ X21 @ X222 ) )
      = ( plus_plus @ nat @ ( size_size @ ( list @ A ) @ X222 ) @ ( suc @ ( zero_zero @ nat ) ) ) ) ).

% list.size(4)
thf(fact_2188_le__divide__eq__numeral_I1_J,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [W2: num,B2: A,C3: A] :
          ( ( ord_less_eq @ A @ ( numeral_numeral @ A @ W2 ) @ ( divide_divide @ A @ B2 @ C3 ) )
          = ( ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
             => ( ord_less_eq @ A @ ( times_times @ A @ ( numeral_numeral @ A @ W2 ) @ C3 ) @ B2 ) )
            & ( ~ ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
             => ( ( ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
                 => ( ord_less_eq @ A @ B2 @ ( times_times @ A @ ( numeral_numeral @ A @ W2 ) @ C3 ) ) )
                & ( ~ ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
                 => ( ord_less_eq @ A @ ( numeral_numeral @ A @ W2 ) @ ( zero_zero @ A ) ) ) ) ) ) ) ) ).

% le_divide_eq_numeral(1)
thf(fact_2189_divide__le__eq__numeral_I1_J,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [B2: A,C3: A,W2: num] :
          ( ( ord_less_eq @ A @ ( divide_divide @ A @ B2 @ C3 ) @ ( numeral_numeral @ A @ W2 ) )
          = ( ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
             => ( ord_less_eq @ A @ B2 @ ( times_times @ A @ ( numeral_numeral @ A @ W2 ) @ C3 ) ) )
            & ( ~ ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
             => ( ( ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
                 => ( ord_less_eq @ A @ ( times_times @ A @ ( numeral_numeral @ A @ W2 ) @ C3 ) @ B2 ) )
                & ( ~ ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
                 => ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( numeral_numeral @ A @ W2 ) ) ) ) ) ) ) ) ).

% divide_le_eq_numeral(1)
thf(fact_2190_less__divide__eq__numeral_I2_J,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [W2: num,B2: A,C3: A] :
          ( ( ord_less @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ W2 ) ) @ ( divide_divide @ A @ B2 @ C3 ) )
          = ( ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
             => ( ord_less @ A @ ( times_times @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ W2 ) ) @ C3 ) @ B2 ) )
            & ( ~ ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
             => ( ( ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
                 => ( ord_less @ A @ B2 @ ( times_times @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ W2 ) ) @ C3 ) ) )
                & ( ~ ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
                 => ( ord_less @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ W2 ) ) @ ( zero_zero @ A ) ) ) ) ) ) ) ) ).

% less_divide_eq_numeral(2)
thf(fact_2191_divide__less__eq__numeral_I2_J,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [B2: A,C3: A,W2: num] :
          ( ( ord_less @ A @ ( divide_divide @ A @ B2 @ C3 ) @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ W2 ) ) )
          = ( ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
             => ( ord_less @ A @ B2 @ ( times_times @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ W2 ) ) @ C3 ) ) )
            & ( ~ ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
             => ( ( ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
                 => ( ord_less @ A @ ( times_times @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ W2 ) ) @ C3 ) @ B2 ) )
                & ( ~ ( ord_less @ A @ C3 @ ( zero_zero @ A ) )
                 => ( ord_less @ A @ ( zero_zero @ A ) @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ W2 ) ) ) ) ) ) ) ) ) ).

% divide_less_eq_numeral(2)
thf(fact_2192_nth__non__equal__first__eq,axiom,
    ! [A: $tType,X: A,Y: A,Xs: list @ A,N: nat] :
      ( ( X != Y )
     => ( ( ( nth @ A @ ( cons @ A @ X @ Xs ) @ N )
          = Y )
        = ( ( ( nth @ A @ Xs @ ( minus_minus @ nat @ N @ ( one_one @ nat ) ) )
            = Y )
          & ( ord_less @ nat @ ( zero_zero @ nat ) @ N ) ) ) ) ).

% nth_non_equal_first_eq
thf(fact_2193_slice__Cons,axiom,
    ! [A: $tType,Begin: nat,End: nat,X: A,Xs: list @ A] :
      ( ( ( ( Begin
            = ( zero_zero @ nat ) )
          & ( ord_less @ nat @ ( zero_zero @ nat ) @ End ) )
       => ( ( slice @ A @ Begin @ End @ ( cons @ A @ X @ Xs ) )
          = ( cons @ A @ X @ ( slice @ A @ Begin @ ( minus_minus @ nat @ End @ ( one_one @ nat ) ) @ Xs ) ) ) )
      & ( ~ ( ( Begin
              = ( zero_zero @ nat ) )
            & ( ord_less @ nat @ ( zero_zero @ nat ) @ End ) )
       => ( ( slice @ A @ Begin @ End @ ( cons @ A @ X @ Xs ) )
          = ( slice @ A @ ( minus_minus @ nat @ Begin @ ( one_one @ nat ) ) @ ( minus_minus @ nat @ End @ ( one_one @ nat ) ) @ Xs ) ) ) ) ).

% slice_Cons
thf(fact_2194_same__fstI,axiom,
    ! [B: $tType,A: $tType,P2: A > $o,X: A,Y8: B,Y: B,R4: A > ( set @ ( product_prod @ B @ B ) )] :
      ( ( P2 @ X )
     => ( ( member @ ( product_prod @ B @ B ) @ ( product_Pair @ B @ B @ Y8 @ Y ) @ ( R4 @ X ) )
       => ( member @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) ) @ ( product_Pair @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X @ Y8 ) @ ( product_Pair @ A @ B @ X @ Y ) ) @ ( same_fst @ A @ B @ P2 @ R4 ) ) ) ) ).

% same_fstI
thf(fact_2195_upto__aux__rec,axiom,
    ( upto_aux
    = ( ^ [I: int,J: int,Js: list @ int] : ( if @ ( list @ int ) @ ( ord_less @ int @ J @ I ) @ Js @ ( upto_aux @ I @ ( minus_minus @ int @ J @ ( one_one @ int ) ) @ ( cons @ int @ J @ Js ) ) ) ) ) ).

% upto_aux_rec
thf(fact_2196_neg__numeral__le__ceiling,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [V2: num,X: A] :
          ( ( ord_less_eq @ int @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ V2 ) ) @ ( archimedean_ceiling @ A @ X ) )
          = ( ord_less @ A @ ( minus_minus @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ V2 ) ) @ ( one_one @ A ) ) @ X ) ) ) ).

% neg_numeral_le_ceiling
thf(fact_2197_ceiling__less__neg__numeral,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A,V2: num] :
          ( ( ord_less @ int @ ( archimedean_ceiling @ A @ X ) @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ V2 ) ) )
          = ( ord_less_eq @ A @ X @ ( minus_minus @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ V2 ) ) @ ( one_one @ A ) ) ) ) ) ).

% ceiling_less_neg_numeral
thf(fact_2198_of__int__less__neg__numeral__power__cancel__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [A3: int,X: num,N: nat] :
          ( ( ord_less @ A @ ( ring_1_of_int @ A @ A3 ) @ ( power_power @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ X ) ) @ N ) )
          = ( ord_less @ int @ A3 @ ( power_power @ int @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ X ) ) @ N ) ) ) ) ).

% of_int_less_neg_numeral_power_cancel_iff
thf(fact_2199_neg__numeral__power__less__of__int__cancel__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [X: num,N: nat,A3: int] :
          ( ( ord_less @ A @ ( power_power @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ X ) ) @ N ) @ ( ring_1_of_int @ A @ A3 ) )
          = ( ord_less @ int @ ( power_power @ int @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ X ) ) @ N ) @ A3 ) ) ) ).

% neg_numeral_power_less_of_int_cancel_iff
thf(fact_2200_of__int__le__neg__numeral__power__cancel__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [A3: int,X: num,N: nat] :
          ( ( ord_less_eq @ A @ ( ring_1_of_int @ A @ A3 ) @ ( power_power @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ X ) ) @ N ) )
          = ( ord_less_eq @ int @ A3 @ ( power_power @ int @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ X ) ) @ N ) ) ) ) ).

% of_int_le_neg_numeral_power_cancel_iff
thf(fact_2201_of__int__le__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [W2: int,Z4: int] :
          ( ( ord_less_eq @ A @ ( ring_1_of_int @ A @ W2 ) @ ( ring_1_of_int @ A @ Z4 ) )
          = ( ord_less_eq @ int @ W2 @ Z4 ) ) ) ).

% of_int_le_iff
thf(fact_2202_of__int__less__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [W2: int,Z4: int] :
          ( ( ord_less @ A @ ( ring_1_of_int @ A @ W2 ) @ ( ring_1_of_int @ A @ Z4 ) )
          = ( ord_less @ int @ W2 @ Z4 ) ) ) ).

% of_int_less_iff
thf(fact_2203_of__int__add,axiom,
    ! [A: $tType] :
      ( ( ring_1 @ A )
     => ! [W2: int,Z4: int] :
          ( ( ring_1_of_int @ A @ ( plus_plus @ int @ W2 @ Z4 ) )
          = ( plus_plus @ A @ ( ring_1_of_int @ A @ W2 ) @ ( ring_1_of_int @ A @ Z4 ) ) ) ) ).

% of_int_add
thf(fact_2204_ceiling__add__of__int,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A,Z4: int] :
          ( ( archimedean_ceiling @ A @ ( plus_plus @ A @ X @ ( ring_1_of_int @ A @ Z4 ) ) )
          = ( plus_plus @ int @ ( archimedean_ceiling @ A @ X ) @ Z4 ) ) ) ).

% ceiling_add_of_int
thf(fact_2205_of__int__le__0__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [Z4: int] :
          ( ( ord_less_eq @ A @ ( ring_1_of_int @ A @ Z4 ) @ ( zero_zero @ A ) )
          = ( ord_less_eq @ int @ Z4 @ ( zero_zero @ int ) ) ) ) ).

% of_int_le_0_iff
thf(fact_2206_of__int__0__le__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [Z4: int] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( ring_1_of_int @ A @ Z4 ) )
          = ( ord_less_eq @ int @ ( zero_zero @ int ) @ Z4 ) ) ) ).

% of_int_0_le_iff
thf(fact_2207_of__int__less__0__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [Z4: int] :
          ( ( ord_less @ A @ ( ring_1_of_int @ A @ Z4 ) @ ( zero_zero @ A ) )
          = ( ord_less @ int @ Z4 @ ( zero_zero @ int ) ) ) ) ).

% of_int_less_0_iff
thf(fact_2208_of__int__0__less__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [Z4: int] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ ( ring_1_of_int @ A @ Z4 ) )
          = ( ord_less @ int @ ( zero_zero @ int ) @ Z4 ) ) ) ).

% of_int_0_less_iff
thf(fact_2209_of__int__numeral__le__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [N: num,Z4: int] :
          ( ( ord_less_eq @ A @ ( numeral_numeral @ A @ N ) @ ( ring_1_of_int @ A @ Z4 ) )
          = ( ord_less_eq @ int @ ( numeral_numeral @ int @ N ) @ Z4 ) ) ) ).

% of_int_numeral_le_iff
thf(fact_2210_of__int__le__numeral__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [Z4: int,N: num] :
          ( ( ord_less_eq @ A @ ( ring_1_of_int @ A @ Z4 ) @ ( numeral_numeral @ A @ N ) )
          = ( ord_less_eq @ int @ Z4 @ ( numeral_numeral @ int @ N ) ) ) ) ).

% of_int_le_numeral_iff
thf(fact_2211_of__int__numeral__less__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [N: num,Z4: int] :
          ( ( ord_less @ A @ ( numeral_numeral @ A @ N ) @ ( ring_1_of_int @ A @ Z4 ) )
          = ( ord_less @ int @ ( numeral_numeral @ int @ N ) @ Z4 ) ) ) ).

% of_int_numeral_less_iff
thf(fact_2212_of__int__less__numeral__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [Z4: int,N: num] :
          ( ( ord_less @ A @ ( ring_1_of_int @ A @ Z4 ) @ ( numeral_numeral @ A @ N ) )
          = ( ord_less @ int @ Z4 @ ( numeral_numeral @ int @ N ) ) ) ) ).

% of_int_less_numeral_iff
thf(fact_2213_of__int__le__1__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [Z4: int] :
          ( ( ord_less_eq @ A @ ( ring_1_of_int @ A @ Z4 ) @ ( one_one @ A ) )
          = ( ord_less_eq @ int @ Z4 @ ( one_one @ int ) ) ) ) ).

% of_int_le_1_iff
thf(fact_2214_of__int__1__le__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [Z4: int] :
          ( ( ord_less_eq @ A @ ( one_one @ A ) @ ( ring_1_of_int @ A @ Z4 ) )
          = ( ord_less_eq @ int @ ( one_one @ int ) @ Z4 ) ) ) ).

% of_int_1_le_iff
thf(fact_2215_of__int__less__1__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [Z4: int] :
          ( ( ord_less @ A @ ( ring_1_of_int @ A @ Z4 ) @ ( one_one @ A ) )
          = ( ord_less @ int @ Z4 @ ( one_one @ int ) ) ) ) ).

% of_int_less_1_iff
thf(fact_2216_of__int__1__less__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [Z4: int] :
          ( ( ord_less @ A @ ( one_one @ A ) @ ( ring_1_of_int @ A @ Z4 ) )
          = ( ord_less @ int @ ( one_one @ int ) @ Z4 ) ) ) ).

% of_int_1_less_iff
thf(fact_2217_ceiling__le__zero,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A] :
          ( ( ord_less_eq @ int @ ( archimedean_ceiling @ A @ X ) @ ( zero_zero @ int ) )
          = ( ord_less_eq @ A @ X @ ( zero_zero @ A ) ) ) ) ).

% ceiling_le_zero
thf(fact_2218_zero__less__ceiling,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A] :
          ( ( ord_less @ int @ ( zero_zero @ int ) @ ( archimedean_ceiling @ A @ X ) )
          = ( ord_less @ A @ ( zero_zero @ A ) @ X ) ) ) ).

% zero_less_ceiling
thf(fact_2219_ceiling__le__numeral,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A,V2: num] :
          ( ( ord_less_eq @ int @ ( archimedean_ceiling @ A @ X ) @ ( numeral_numeral @ int @ V2 ) )
          = ( ord_less_eq @ A @ X @ ( numeral_numeral @ A @ V2 ) ) ) ) ).

% ceiling_le_numeral
thf(fact_2220_ceiling__less__one,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A] :
          ( ( ord_less @ int @ ( archimedean_ceiling @ A @ X ) @ ( one_one @ int ) )
          = ( ord_less_eq @ A @ X @ ( zero_zero @ A ) ) ) ) ).

% ceiling_less_one
thf(fact_2221_one__le__ceiling,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A] :
          ( ( ord_less_eq @ int @ ( one_one @ int ) @ ( archimedean_ceiling @ A @ X ) )
          = ( ord_less @ A @ ( zero_zero @ A ) @ X ) ) ) ).

% one_le_ceiling
thf(fact_2222_numeral__less__ceiling,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [V2: num,X: A] :
          ( ( ord_less @ int @ ( numeral_numeral @ int @ V2 ) @ ( archimedean_ceiling @ A @ X ) )
          = ( ord_less @ A @ ( numeral_numeral @ A @ V2 ) @ X ) ) ) ).

% numeral_less_ceiling
thf(fact_2223_ceiling__le__one,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A] :
          ( ( ord_less_eq @ int @ ( archimedean_ceiling @ A @ X ) @ ( one_one @ int ) )
          = ( ord_less_eq @ A @ X @ ( one_one @ A ) ) ) ) ).

% ceiling_le_one
thf(fact_2224_one__less__ceiling,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A] :
          ( ( ord_less @ int @ ( one_one @ int ) @ ( archimedean_ceiling @ A @ X ) )
          = ( ord_less @ A @ ( one_one @ A ) @ X ) ) ) ).

% one_less_ceiling
thf(fact_2225_ceiling__add__numeral,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A,V2: num] :
          ( ( archimedean_ceiling @ A @ ( plus_plus @ A @ X @ ( numeral_numeral @ A @ V2 ) ) )
          = ( plus_plus @ int @ ( archimedean_ceiling @ A @ X ) @ ( numeral_numeral @ int @ V2 ) ) ) ) ).

% ceiling_add_numeral
thf(fact_2226_ceiling__add__one,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A] :
          ( ( archimedean_ceiling @ A @ ( plus_plus @ A @ X @ ( one_one @ A ) ) )
          = ( plus_plus @ int @ ( archimedean_ceiling @ A @ X ) @ ( one_one @ int ) ) ) ) ).

% ceiling_add_one
thf(fact_2227_of__nat__nat,axiom,
    ! [A: $tType] :
      ( ( ring_1 @ A )
     => ! [Z4: int] :
          ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ Z4 )
         => ( ( semiring_1_of_nat @ A @ ( nat2 @ Z4 ) )
            = ( ring_1_of_int @ A @ Z4 ) ) ) ) ).

% of_nat_nat
thf(fact_2228_of__int__le__of__int__power__cancel__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [B2: int,W2: nat,X: int] :
          ( ( ord_less_eq @ A @ ( power_power @ A @ ( ring_1_of_int @ A @ B2 ) @ W2 ) @ ( ring_1_of_int @ A @ X ) )
          = ( ord_less_eq @ int @ ( power_power @ int @ B2 @ W2 ) @ X ) ) ) ).

% of_int_le_of_int_power_cancel_iff
thf(fact_2229_of__int__power__le__of__int__cancel__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [X: int,B2: int,W2: nat] :
          ( ( ord_less_eq @ A @ ( ring_1_of_int @ A @ X ) @ ( power_power @ A @ ( ring_1_of_int @ A @ B2 ) @ W2 ) )
          = ( ord_less_eq @ int @ X @ ( power_power @ int @ B2 @ W2 ) ) ) ) ).

% of_int_power_le_of_int_cancel_iff
thf(fact_2230_of__int__less__of__int__power__cancel__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [B2: int,W2: nat,X: int] :
          ( ( ord_less @ A @ ( power_power @ A @ ( ring_1_of_int @ A @ B2 ) @ W2 ) @ ( ring_1_of_int @ A @ X ) )
          = ( ord_less @ int @ ( power_power @ int @ B2 @ W2 ) @ X ) ) ) ).

% of_int_less_of_int_power_cancel_iff
thf(fact_2231_of__int__power__less__of__int__cancel__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [X: int,B2: int,W2: nat] :
          ( ( ord_less @ A @ ( ring_1_of_int @ A @ X ) @ ( power_power @ A @ ( ring_1_of_int @ A @ B2 ) @ W2 ) )
          = ( ord_less @ int @ X @ ( power_power @ int @ B2 @ W2 ) ) ) ) ).

% of_int_power_less_of_int_cancel_iff
thf(fact_2232_ceiling__less__zero,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A] :
          ( ( ord_less @ int @ ( archimedean_ceiling @ A @ X ) @ ( zero_zero @ int ) )
          = ( ord_less_eq @ A @ X @ ( uminus_uminus @ A @ ( one_one @ A ) ) ) ) ) ).

% ceiling_less_zero
thf(fact_2233_zero__le__ceiling,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A] :
          ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ ( archimedean_ceiling @ A @ X ) )
          = ( ord_less @ A @ ( uminus_uminus @ A @ ( one_one @ A ) ) @ X ) ) ) ).

% zero_le_ceiling
thf(fact_2234_ceiling__less__numeral,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A,V2: num] :
          ( ( ord_less @ int @ ( archimedean_ceiling @ A @ X ) @ ( numeral_numeral @ int @ V2 ) )
          = ( ord_less_eq @ A @ X @ ( minus_minus @ A @ ( numeral_numeral @ A @ V2 ) @ ( one_one @ A ) ) ) ) ) ).

% ceiling_less_numeral
thf(fact_2235_numeral__le__ceiling,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [V2: num,X: A] :
          ( ( ord_less_eq @ int @ ( numeral_numeral @ int @ V2 ) @ ( archimedean_ceiling @ A @ X ) )
          = ( ord_less @ A @ ( minus_minus @ A @ ( numeral_numeral @ A @ V2 ) @ ( one_one @ A ) ) @ X ) ) ) ).

% numeral_le_ceiling
thf(fact_2236_ceiling__le__neg__numeral,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A,V2: num] :
          ( ( ord_less_eq @ int @ ( archimedean_ceiling @ A @ X ) @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ V2 ) ) )
          = ( ord_less_eq @ A @ X @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ V2 ) ) ) ) ) ).

% ceiling_le_neg_numeral
thf(fact_2237_neg__numeral__less__ceiling,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [V2: num,X: A] :
          ( ( ord_less @ int @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ V2 ) ) @ ( archimedean_ceiling @ A @ X ) )
          = ( ord_less @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ V2 ) ) @ X ) ) ) ).

% neg_numeral_less_ceiling
thf(fact_2238_numeral__power__le__of__int__cancel__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [X: num,N: nat,A3: int] :
          ( ( ord_less_eq @ A @ ( power_power @ A @ ( numeral_numeral @ A @ X ) @ N ) @ ( ring_1_of_int @ A @ A3 ) )
          = ( ord_less_eq @ int @ ( power_power @ int @ ( numeral_numeral @ int @ X ) @ N ) @ A3 ) ) ) ).

% numeral_power_le_of_int_cancel_iff
thf(fact_2239_of__int__le__numeral__power__cancel__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [A3: int,X: num,N: nat] :
          ( ( ord_less_eq @ A @ ( ring_1_of_int @ A @ A3 ) @ ( power_power @ A @ ( numeral_numeral @ A @ X ) @ N ) )
          = ( ord_less_eq @ int @ A3 @ ( power_power @ int @ ( numeral_numeral @ int @ X ) @ N ) ) ) ) ).

% of_int_le_numeral_power_cancel_iff
thf(fact_2240_numeral__power__less__of__int__cancel__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [X: num,N: nat,A3: int] :
          ( ( ord_less @ A @ ( power_power @ A @ ( numeral_numeral @ A @ X ) @ N ) @ ( ring_1_of_int @ A @ A3 ) )
          = ( ord_less @ int @ ( power_power @ int @ ( numeral_numeral @ int @ X ) @ N ) @ A3 ) ) ) ).

% numeral_power_less_of_int_cancel_iff
thf(fact_2241_of__int__less__numeral__power__cancel__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [A3: int,X: num,N: nat] :
          ( ( ord_less @ A @ ( ring_1_of_int @ A @ A3 ) @ ( power_power @ A @ ( numeral_numeral @ A @ X ) @ N ) )
          = ( ord_less @ int @ A3 @ ( power_power @ int @ ( numeral_numeral @ int @ X ) @ N ) ) ) ) ).

% of_int_less_numeral_power_cancel_iff
thf(fact_2242_neg__numeral__power__le__of__int__cancel__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [X: num,N: nat,A3: int] :
          ( ( ord_less_eq @ A @ ( power_power @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ X ) ) @ N ) @ ( ring_1_of_int @ A @ A3 ) )
          = ( ord_less_eq @ int @ ( power_power @ int @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ X ) ) @ N ) @ A3 ) ) ) ).

% neg_numeral_power_le_of_int_cancel_iff
thf(fact_2243_le__of__int__ceiling,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A] : ( ord_less_eq @ A @ X @ ( ring_1_of_int @ A @ ( archimedean_ceiling @ A @ X ) ) ) ) ).

% le_of_int_ceiling
thf(fact_2244_ceiling__le__iff,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A,Z4: int] :
          ( ( ord_less_eq @ int @ ( archimedean_ceiling @ A @ X ) @ Z4 )
          = ( ord_less_eq @ A @ X @ ( ring_1_of_int @ A @ Z4 ) ) ) ) ).

% ceiling_le_iff
thf(fact_2245_less__ceiling__iff,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [Z4: int,X: A] :
          ( ( ord_less @ int @ Z4 @ ( archimedean_ceiling @ A @ X ) )
          = ( ord_less @ A @ ( ring_1_of_int @ A @ Z4 ) @ X ) ) ) ).

% less_ceiling_iff
thf(fact_2246_ex__le__of__int,axiom,
    ! [A: $tType] :
      ( ( archim462609752435547400_field @ A )
     => ! [X: A] :
        ? [Z3: int] : ( ord_less_eq @ A @ X @ ( ring_1_of_int @ A @ Z3 ) ) ) ).

% ex_le_of_int
thf(fact_2247_ex__of__int__less,axiom,
    ! [A: $tType] :
      ( ( archim462609752435547400_field @ A )
     => ! [X: A] :
        ? [Z3: int] : ( ord_less @ A @ ( ring_1_of_int @ A @ Z3 ) @ X ) ) ).

% ex_of_int_less
thf(fact_2248_ex__less__of__int,axiom,
    ! [A: $tType] :
      ( ( archim462609752435547400_field @ A )
     => ! [X: A] :
        ? [Z3: int] : ( ord_less @ A @ X @ ( ring_1_of_int @ A @ Z3 ) ) ) ).

% ex_less_of_int
thf(fact_2249_ceiling__correct,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A] :
          ( ( ord_less @ A @ ( minus_minus @ A @ ( ring_1_of_int @ A @ ( archimedean_ceiling @ A @ X ) ) @ ( one_one @ A ) ) @ X )
          & ( ord_less_eq @ A @ X @ ( ring_1_of_int @ A @ ( archimedean_ceiling @ A @ X ) ) ) ) ) ).

% ceiling_correct
thf(fact_2250_ceiling__unique,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [Z4: int,X: A] :
          ( ( ord_less @ A @ ( minus_minus @ A @ ( ring_1_of_int @ A @ Z4 ) @ ( one_one @ A ) ) @ X )
         => ( ( ord_less_eq @ A @ X @ ( ring_1_of_int @ A @ Z4 ) )
           => ( ( archimedean_ceiling @ A @ X )
              = Z4 ) ) ) ) ).

% ceiling_unique
thf(fact_2251_ceiling__eq__iff,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A,A3: int] :
          ( ( ( archimedean_ceiling @ A @ X )
            = A3 )
          = ( ( ord_less @ A @ ( minus_minus @ A @ ( ring_1_of_int @ A @ A3 ) @ ( one_one @ A ) ) @ X )
            & ( ord_less_eq @ A @ X @ ( ring_1_of_int @ A @ A3 ) ) ) ) ) ).

% ceiling_eq_iff
thf(fact_2252_ceiling__split,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [P2: int > $o,T5: A] :
          ( ( P2 @ ( archimedean_ceiling @ A @ T5 ) )
          = ( ! [I: int] :
                ( ( ( ord_less @ A @ ( minus_minus @ A @ ( ring_1_of_int @ A @ I ) @ ( one_one @ A ) ) @ T5 )
                  & ( ord_less_eq @ A @ T5 @ ( ring_1_of_int @ A @ I ) ) )
               => ( P2 @ I ) ) ) ) ) ).

% ceiling_split
thf(fact_2253_ceiling__less__iff,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A,Z4: int] :
          ( ( ord_less @ int @ ( archimedean_ceiling @ A @ X ) @ Z4 )
          = ( ord_less_eq @ A @ X @ ( minus_minus @ A @ ( ring_1_of_int @ A @ Z4 ) @ ( one_one @ A ) ) ) ) ) ).

% ceiling_less_iff
thf(fact_2254_le__ceiling__iff,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [Z4: int,X: A] :
          ( ( ord_less_eq @ int @ Z4 @ ( archimedean_ceiling @ A @ X ) )
          = ( ord_less @ A @ ( minus_minus @ A @ ( ring_1_of_int @ A @ Z4 ) @ ( one_one @ A ) ) @ X ) ) ) ).

% le_ceiling_iff
thf(fact_2255_ceiling__mono,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [Y: A,X: A] :
          ( ( ord_less_eq @ A @ Y @ X )
         => ( ord_less_eq @ int @ ( archimedean_ceiling @ A @ Y ) @ ( archimedean_ceiling @ A @ X ) ) ) ) ).

% ceiling_mono
thf(fact_2256_ceiling__less__cancel,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less @ int @ ( archimedean_ceiling @ A @ X ) @ ( archimedean_ceiling @ A @ Y ) )
         => ( ord_less @ A @ X @ Y ) ) ) ).

% ceiling_less_cancel
thf(fact_2257_ceiling__divide__upper,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [Q6: A,P3: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ Q6 )
         => ( ord_less_eq @ A @ P3 @ ( times_times @ A @ ( ring_1_of_int @ A @ ( archimedean_ceiling @ A @ ( divide_divide @ A @ P3 @ Q6 ) ) ) @ Q6 ) ) ) ) ).

% ceiling_divide_upper
thf(fact_2258_ceiling__divide__lower,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [Q6: A,P3: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ Q6 )
         => ( ord_less @ A @ ( times_times @ A @ ( minus_minus @ A @ ( ring_1_of_int @ A @ ( archimedean_ceiling @ A @ ( divide_divide @ A @ P3 @ Q6 ) ) ) @ ( one_one @ A ) ) @ Q6 ) @ P3 ) ) ) ).

% ceiling_divide_lower
thf(fact_2259_of__nat__ceiling,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [R3: A] : ( ord_less_eq @ A @ R3 @ ( semiring_1_of_nat @ A @ ( nat2 @ ( archimedean_ceiling @ A @ R3 ) ) ) ) ) ).

% of_nat_ceiling
thf(fact_2260_ceiling__add__le,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A,Y: A] : ( ord_less_eq @ int @ ( archimedean_ceiling @ A @ ( plus_plus @ A @ X @ Y ) ) @ ( plus_plus @ int @ ( archimedean_ceiling @ A @ X ) @ ( archimedean_ceiling @ A @ Y ) ) ) ) ).

% ceiling_add_le
thf(fact_2261_of__int__nonneg,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [Z4: int] :
          ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ Z4 )
         => ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( ring_1_of_int @ A @ Z4 ) ) ) ) ).

% of_int_nonneg
thf(fact_2262_of__int__pos,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [Z4: int] :
          ( ( ord_less @ int @ ( zero_zero @ int ) @ Z4 )
         => ( ord_less @ A @ ( zero_zero @ A ) @ ( ring_1_of_int @ A @ Z4 ) ) ) ) ).

% of_int_pos
thf(fact_2263_of__int__leD,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [N: int,X: A] :
          ( ( ord_less_eq @ A @ ( abs_abs @ A @ ( ring_1_of_int @ A @ N ) ) @ X )
         => ( ( N
              = ( zero_zero @ int ) )
            | ( ord_less_eq @ A @ ( one_one @ A ) @ X ) ) ) ) ).

% of_int_leD
thf(fact_2264_of__int__lessD,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [N: int,X: A] :
          ( ( ord_less @ A @ ( abs_abs @ A @ ( ring_1_of_int @ A @ N ) ) @ X )
         => ( ( N
              = ( zero_zero @ int ) )
            | ( ord_less @ A @ ( one_one @ A ) @ X ) ) ) ) ).

% of_int_lessD
thf(fact_2265_floor__exists,axiom,
    ! [A: $tType] :
      ( ( archim462609752435547400_field @ A )
     => ! [X: A] :
        ? [Z3: int] :
          ( ( ord_less_eq @ A @ ( ring_1_of_int @ A @ Z3 ) @ X )
          & ( ord_less @ A @ X @ ( ring_1_of_int @ A @ ( plus_plus @ int @ Z3 @ ( one_one @ int ) ) ) ) ) ) ).

% floor_exists
thf(fact_2266_floor__exists1,axiom,
    ! [A: $tType] :
      ( ( archim462609752435547400_field @ A )
     => ! [X: A] :
        ? [X3: int] :
          ( ( ord_less_eq @ A @ ( ring_1_of_int @ A @ X3 ) @ X )
          & ( ord_less @ A @ X @ ( ring_1_of_int @ A @ ( plus_plus @ int @ X3 @ ( one_one @ int ) ) ) )
          & ! [Y5: int] :
              ( ( ( ord_less_eq @ A @ ( ring_1_of_int @ A @ Y5 ) @ X )
                & ( ord_less @ A @ X @ ( ring_1_of_int @ A @ ( plus_plus @ int @ Y5 @ ( one_one @ int ) ) ) ) )
             => ( Y5 = X3 ) ) ) ) ).

% floor_exists1
thf(fact_2267_of__nat__less__of__int__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [N: nat,X: int] :
          ( ( ord_less @ A @ ( semiring_1_of_nat @ A @ N ) @ ( ring_1_of_int @ A @ X ) )
          = ( ord_less @ int @ ( semiring_1_of_nat @ int @ N ) @ X ) ) ) ).

% of_nat_less_of_int_iff
thf(fact_2268_mult__ceiling__le,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 )
         => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ B2 )
           => ( ord_less_eq @ int @ ( archimedean_ceiling @ A @ ( times_times @ A @ A3 @ B2 ) ) @ ( times_times @ int @ ( archimedean_ceiling @ A @ A3 ) @ ( archimedean_ceiling @ A @ B2 ) ) ) ) ) ) ).

% mult_ceiling_le
thf(fact_2269_of__int__of__nat,axiom,
    ! [A: $tType] :
      ( ( ring_1 @ A )
     => ( ( ring_1_of_int @ A )
        = ( ^ [K3: int] : ( if @ A @ ( ord_less @ int @ K3 @ ( zero_zero @ int ) ) @ ( uminus_uminus @ A @ ( semiring_1_of_nat @ A @ ( nat2 @ ( uminus_uminus @ int @ K3 ) ) ) ) @ ( semiring_1_of_nat @ A @ ( nat2 @ K3 ) ) ) ) ) ) ).

% of_int_of_nat
thf(fact_2270_floor__le__neg__numeral,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A,V2: num] :
          ( ( ord_less_eq @ int @ ( archim6421214686448440834_floor @ A @ X ) @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ V2 ) ) )
          = ( ord_less @ A @ X @ ( plus_plus @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ V2 ) ) @ ( one_one @ A ) ) ) ) ) ).

% floor_le_neg_numeral
thf(fact_2271_neg__numeral__less__floor,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [V2: num,X: A] :
          ( ( ord_less @ int @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ V2 ) ) @ ( archim6421214686448440834_floor @ A @ X ) )
          = ( ord_less_eq @ A @ ( plus_plus @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ V2 ) ) @ ( one_one @ A ) ) @ X ) ) ) ).

% neg_numeral_less_floor
thf(fact_2272_shift__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( bNF_Greatest_shift @ A @ B )
      = ( ^ [Lab: ( list @ A ) > B,K3: A,Kl: list @ A] : ( Lab @ ( cons @ A @ K3 @ Kl ) ) ) ) ).

% shift_def
thf(fact_2273_in__lex__prod,axiom,
    ! [A: $tType,B: $tType,A3: A,B2: B,A4: A,B3: B,R3: set @ ( product_prod @ A @ A ),S2: set @ ( product_prod @ B @ B )] :
      ( ( member @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) ) @ ( product_Pair @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ A3 @ B2 ) @ ( product_Pair @ A @ B @ A4 @ B3 ) ) @ ( lex_prod @ A @ B @ R3 @ S2 ) )
      = ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ A4 ) @ R3 )
        | ( ( A3 = A4 )
          & ( member @ ( product_prod @ B @ B ) @ ( product_Pair @ B @ B @ B2 @ B3 ) @ S2 ) ) ) ) ).

% in_lex_prod
thf(fact_2274_mult__ceiling__le__Ints,axiom,
    ! [A: $tType,B: $tType] :
      ( ( ( archim2362893244070406136eiling @ B )
        & ( linordered_idom @ A ) )
     => ! [A3: B,B2: B] :
          ( ( ord_less_eq @ B @ ( zero_zero @ B ) @ A3 )
         => ( ( member @ B @ A3 @ ( ring_1_Ints @ B ) )
           => ( ord_less_eq @ A @ ( ring_1_of_int @ A @ ( archimedean_ceiling @ B @ ( times_times @ B @ A3 @ B2 ) ) ) @ ( ring_1_of_int @ A @ ( times_times @ int @ ( archimedean_ceiling @ B @ A3 ) @ ( archimedean_ceiling @ B @ B2 ) ) ) ) ) ) ) ).

% mult_ceiling_le_Ints
thf(fact_2275_floor__less__neg__numeral,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A,V2: num] :
          ( ( ord_less @ int @ ( archim6421214686448440834_floor @ A @ X ) @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ V2 ) ) )
          = ( ord_less @ A @ X @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ V2 ) ) ) ) ) ).

% floor_less_neg_numeral
thf(fact_2276_neg__numeral__le__floor,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [V2: num,X: A] :
          ( ( ord_less_eq @ int @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ V2 ) ) @ ( archim6421214686448440834_floor @ A @ X ) )
          = ( ord_less_eq @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ V2 ) ) @ X ) ) ) ).

% neg_numeral_le_floor
thf(fact_2277_floor__add2,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A,Y: A] :
          ( ( ( member @ A @ X @ ( ring_1_Ints @ A ) )
            | ( member @ A @ Y @ ( ring_1_Ints @ A ) ) )
         => ( ( archim6421214686448440834_floor @ A @ ( plus_plus @ A @ X @ Y ) )
            = ( plus_plus @ int @ ( archim6421214686448440834_floor @ A @ X ) @ ( archim6421214686448440834_floor @ A @ Y ) ) ) ) ) ).

% floor_add2
thf(fact_2278_zero__le__floor,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A] :
          ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ ( archim6421214686448440834_floor @ A @ X ) )
          = ( ord_less_eq @ A @ ( zero_zero @ A ) @ X ) ) ) ).

% zero_le_floor
thf(fact_2279_floor__less__zero,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A] :
          ( ( ord_less @ int @ ( archim6421214686448440834_floor @ A @ X ) @ ( zero_zero @ int ) )
          = ( ord_less @ A @ X @ ( zero_zero @ A ) ) ) ) ).

% floor_less_zero
thf(fact_2280_numeral__le__floor,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [V2: num,X: A] :
          ( ( ord_less_eq @ int @ ( numeral_numeral @ int @ V2 ) @ ( archim6421214686448440834_floor @ A @ X ) )
          = ( ord_less_eq @ A @ ( numeral_numeral @ A @ V2 ) @ X ) ) ) ).

% numeral_le_floor
thf(fact_2281_zero__less__floor,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A] :
          ( ( ord_less @ int @ ( zero_zero @ int ) @ ( archim6421214686448440834_floor @ A @ X ) )
          = ( ord_less_eq @ A @ ( one_one @ A ) @ X ) ) ) ).

% zero_less_floor
thf(fact_2282_floor__le__zero,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A] :
          ( ( ord_less_eq @ int @ ( archim6421214686448440834_floor @ A @ X ) @ ( zero_zero @ int ) )
          = ( ord_less @ A @ X @ ( one_one @ A ) ) ) ) ).

% floor_le_zero
thf(fact_2283_floor__less__numeral,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A,V2: num] :
          ( ( ord_less @ int @ ( archim6421214686448440834_floor @ A @ X ) @ ( numeral_numeral @ int @ V2 ) )
          = ( ord_less @ A @ X @ ( numeral_numeral @ A @ V2 ) ) ) ) ).

% floor_less_numeral
thf(fact_2284_one__le__floor,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A] :
          ( ( ord_less_eq @ int @ ( one_one @ int ) @ ( archim6421214686448440834_floor @ A @ X ) )
          = ( ord_less_eq @ A @ ( one_one @ A ) @ X ) ) ) ).

% one_le_floor
thf(fact_2285_floor__less__one,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A] :
          ( ( ord_less @ int @ ( archim6421214686448440834_floor @ A @ X ) @ ( one_one @ int ) )
          = ( ord_less @ A @ X @ ( one_one @ A ) ) ) ) ).

% floor_less_one
thf(fact_2286_numeral__less__floor,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [V2: num,X: A] :
          ( ( ord_less @ int @ ( numeral_numeral @ int @ V2 ) @ ( archim6421214686448440834_floor @ A @ X ) )
          = ( ord_less_eq @ A @ ( plus_plus @ A @ ( numeral_numeral @ A @ V2 ) @ ( one_one @ A ) ) @ X ) ) ) ).

% numeral_less_floor
thf(fact_2287_floor__le__numeral,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A,V2: num] :
          ( ( ord_less_eq @ int @ ( archim6421214686448440834_floor @ A @ X ) @ ( numeral_numeral @ int @ V2 ) )
          = ( ord_less @ A @ X @ ( plus_plus @ A @ ( numeral_numeral @ A @ V2 ) @ ( one_one @ A ) ) ) ) ) ).

% floor_le_numeral
thf(fact_2288_Ints__add,axiom,
    ! [A: $tType] :
      ( ( ring_1 @ A )
     => ! [A3: A,B2: A] :
          ( ( member @ A @ A3 @ ( ring_1_Ints @ A ) )
         => ( ( member @ A @ B2 @ ( ring_1_Ints @ A ) )
           => ( member @ A @ ( plus_plus @ A @ A3 @ B2 ) @ ( ring_1_Ints @ A ) ) ) ) ) ).

% Ints_add
thf(fact_2289_floor__mono,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less_eq @ A @ X @ Y )
         => ( ord_less_eq @ int @ ( archim6421214686448440834_floor @ A @ X ) @ ( archim6421214686448440834_floor @ A @ Y ) ) ) ) ).

% floor_mono
thf(fact_2290_floor__less__cancel,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less @ int @ ( archim6421214686448440834_floor @ A @ X ) @ ( archim6421214686448440834_floor @ A @ Y ) )
         => ( ord_less @ A @ X @ Y ) ) ) ).

% floor_less_cancel
thf(fact_2291_of__int__floor__le,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A] : ( ord_less_eq @ A @ ( ring_1_of_int @ A @ ( archim6421214686448440834_floor @ A @ X ) ) @ X ) ) ).

% of_int_floor_le
thf(fact_2292_floor__le__ceiling,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A] : ( ord_less_eq @ int @ ( archim6421214686448440834_floor @ A @ X ) @ ( archimedean_ceiling @ A @ X ) ) ) ).

% floor_le_ceiling
thf(fact_2293_Ints__double__eq__0__iff,axiom,
    ! [A: $tType] :
      ( ( ring_char_0 @ A )
     => ! [A3: A] :
          ( ( member @ A @ A3 @ ( ring_1_Ints @ A ) )
         => ( ( ( plus_plus @ A @ A3 @ A3 )
              = ( zero_zero @ A ) )
            = ( A3
              = ( zero_zero @ A ) ) ) ) ) ).

% Ints_double_eq_0_iff
thf(fact_2294_le__mult__floor__Ints,axiom,
    ! [A: $tType,B: $tType] :
      ( ( ( archim2362893244070406136eiling @ B )
        & ( linordered_idom @ A ) )
     => ! [A3: B,B2: B] :
          ( ( ord_less_eq @ B @ ( zero_zero @ B ) @ A3 )
         => ( ( member @ B @ A3 @ ( ring_1_Ints @ B ) )
           => ( ord_less_eq @ A @ ( ring_1_of_int @ A @ ( times_times @ int @ ( archim6421214686448440834_floor @ B @ A3 ) @ ( archim6421214686448440834_floor @ B @ B2 ) ) ) @ ( ring_1_of_int @ A @ ( archim6421214686448440834_floor @ B @ ( times_times @ B @ A3 @ B2 ) ) ) ) ) ) ) ).

% le_mult_floor_Ints
thf(fact_2295_le__floor__iff,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [Z4: int,X: A] :
          ( ( ord_less_eq @ int @ Z4 @ ( archim6421214686448440834_floor @ A @ X ) )
          = ( ord_less_eq @ A @ ( ring_1_of_int @ A @ Z4 ) @ X ) ) ) ).

% le_floor_iff
thf(fact_2296_le__floor__add,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A,Y: A] : ( ord_less_eq @ int @ ( plus_plus @ int @ ( archim6421214686448440834_floor @ A @ X ) @ ( archim6421214686448440834_floor @ A @ Y ) ) @ ( archim6421214686448440834_floor @ A @ ( plus_plus @ A @ X @ Y ) ) ) ) ).

% le_floor_add
thf(fact_2297_floor__less__iff,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A,Z4: int] :
          ( ( ord_less @ int @ ( archim6421214686448440834_floor @ A @ X ) @ Z4 )
          = ( ord_less @ A @ X @ ( ring_1_of_int @ A @ Z4 ) ) ) ) ).

% floor_less_iff
thf(fact_2298_floor__add__int,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A,Z4: int] :
          ( ( plus_plus @ int @ ( archim6421214686448440834_floor @ A @ X ) @ Z4 )
          = ( archim6421214686448440834_floor @ A @ ( plus_plus @ A @ X @ ( ring_1_of_int @ A @ Z4 ) ) ) ) ) ).

% floor_add_int
thf(fact_2299_int__add__floor,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [Z4: int,X: A] :
          ( ( plus_plus @ int @ Z4 @ ( archim6421214686448440834_floor @ A @ X ) )
          = ( archim6421214686448440834_floor @ A @ ( plus_plus @ A @ ( ring_1_of_int @ A @ Z4 ) @ X ) ) ) ) ).

% int_add_floor
thf(fact_2300_Ints__odd__nonzero,axiom,
    ! [A: $tType] :
      ( ( ring_char_0 @ A )
     => ! [A3: A] :
          ( ( member @ A @ A3 @ ( ring_1_Ints @ A ) )
         => ( ( plus_plus @ A @ ( plus_plus @ A @ ( one_one @ A ) @ A3 ) @ A3 )
           != ( zero_zero @ A ) ) ) ) ).

% Ints_odd_nonzero
thf(fact_2301_of__nat__floor,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [R3: A] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ R3 )
         => ( ord_less_eq @ A @ ( semiring_1_of_nat @ A @ ( nat2 @ ( archim6421214686448440834_floor @ A @ R3 ) ) ) @ R3 ) ) ) ).

% of_nat_floor
thf(fact_2302_one__add__floor,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A] :
          ( ( plus_plus @ int @ ( archim6421214686448440834_floor @ A @ X ) @ ( one_one @ int ) )
          = ( archim6421214686448440834_floor @ A @ ( plus_plus @ A @ X @ ( one_one @ A ) ) ) ) ) ).

% one_add_floor
thf(fact_2303_ceiling__diff__floor__le__1,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A] : ( ord_less_eq @ int @ ( minus_minus @ int @ ( archimedean_ceiling @ A @ X ) @ ( archim6421214686448440834_floor @ A @ X ) ) @ ( one_one @ int ) ) ) ).

% ceiling_diff_floor_le_1
thf(fact_2304_ceiling__altdef,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ( ( archimedean_ceiling @ A )
        = ( ^ [X4: A] :
              ( if @ int
              @ ( X4
                = ( ring_1_of_int @ A @ ( archim6421214686448440834_floor @ A @ X4 ) ) )
              @ ( archim6421214686448440834_floor @ A @ X4 )
              @ ( plus_plus @ int @ ( archim6421214686448440834_floor @ A @ X4 ) @ ( one_one @ int ) ) ) ) ) ) ).

% ceiling_altdef
thf(fact_2305_Ints__odd__less__0,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [A3: A] :
          ( ( member @ A @ A3 @ ( ring_1_Ints @ A ) )
         => ( ( ord_less @ A @ ( plus_plus @ A @ ( plus_plus @ A @ ( one_one @ A ) @ A3 ) @ A3 ) @ ( zero_zero @ A ) )
            = ( ord_less @ A @ A3 @ ( zero_zero @ A ) ) ) ) ) ).

% Ints_odd_less_0
thf(fact_2306_Ints__nonzero__abs__ge1,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [X: A] :
          ( ( member @ A @ X @ ( ring_1_Ints @ A ) )
         => ( ( X
             != ( zero_zero @ A ) )
           => ( ord_less_eq @ A @ ( one_one @ A ) @ ( abs_abs @ A @ X ) ) ) ) ) ).

% Ints_nonzero_abs_ge1
thf(fact_2307_Ints__nonzero__abs__less1,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [X: A] :
          ( ( member @ A @ X @ ( ring_1_Ints @ A ) )
         => ( ( ord_less @ A @ ( abs_abs @ A @ X ) @ ( one_one @ A ) )
           => ( X
              = ( zero_zero @ A ) ) ) ) ) ).

% Ints_nonzero_abs_less1
thf(fact_2308_Ints__eq__abs__less1,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [X: A,Y: A] :
          ( ( member @ A @ X @ ( ring_1_Ints @ A ) )
         => ( ( member @ A @ Y @ ( ring_1_Ints @ A ) )
           => ( ( X = Y )
              = ( ord_less @ A @ ( abs_abs @ A @ ( minus_minus @ A @ X @ Y ) ) @ ( one_one @ A ) ) ) ) ) ) ).

% Ints_eq_abs_less1
thf(fact_2309_floor__unique,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [Z4: int,X: A] :
          ( ( ord_less_eq @ A @ ( ring_1_of_int @ A @ Z4 ) @ X )
         => ( ( ord_less @ A @ X @ ( plus_plus @ A @ ( ring_1_of_int @ A @ Z4 ) @ ( one_one @ A ) ) )
           => ( ( archim6421214686448440834_floor @ A @ X )
              = Z4 ) ) ) ) ).

% floor_unique
thf(fact_2310_floor__eq__iff,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A,A3: int] :
          ( ( ( archim6421214686448440834_floor @ A @ X )
            = A3 )
          = ( ( ord_less_eq @ A @ ( ring_1_of_int @ A @ A3 ) @ X )
            & ( ord_less @ A @ X @ ( plus_plus @ A @ ( ring_1_of_int @ A @ A3 ) @ ( one_one @ A ) ) ) ) ) ) ).

% floor_eq_iff
thf(fact_2311_floor__split,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [P2: int > $o,T5: A] :
          ( ( P2 @ ( archim6421214686448440834_floor @ A @ T5 ) )
          = ( ! [I: int] :
                ( ( ( ord_less_eq @ A @ ( ring_1_of_int @ A @ I ) @ T5 )
                  & ( ord_less @ A @ T5 @ ( plus_plus @ A @ ( ring_1_of_int @ A @ I ) @ ( one_one @ A ) ) ) )
               => ( P2 @ I ) ) ) ) ) ).

% floor_split
thf(fact_2312_le__mult__floor,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 )
         => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ B2 )
           => ( ord_less_eq @ int @ ( times_times @ int @ ( archim6421214686448440834_floor @ A @ A3 ) @ ( archim6421214686448440834_floor @ A @ B2 ) ) @ ( archim6421214686448440834_floor @ A @ ( times_times @ A @ A3 @ B2 ) ) ) ) ) ) ).

% le_mult_floor
thf(fact_2313_less__floor__iff,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [Z4: int,X: A] :
          ( ( ord_less @ int @ Z4 @ ( archim6421214686448440834_floor @ A @ X ) )
          = ( ord_less_eq @ A @ ( plus_plus @ A @ ( ring_1_of_int @ A @ Z4 ) @ ( one_one @ A ) ) @ X ) ) ) ).

% less_floor_iff
thf(fact_2314_floor__le__iff,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A,Z4: int] :
          ( ( ord_less_eq @ int @ ( archim6421214686448440834_floor @ A @ X ) @ Z4 )
          = ( ord_less @ A @ X @ ( plus_plus @ A @ ( ring_1_of_int @ A @ Z4 ) @ ( one_one @ A ) ) ) ) ) ).

% floor_le_iff
thf(fact_2315_floor__correct,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A] :
          ( ( ord_less_eq @ A @ ( ring_1_of_int @ A @ ( archim6421214686448440834_floor @ A @ X ) ) @ X )
          & ( ord_less @ A @ X @ ( ring_1_of_int @ A @ ( plus_plus @ int @ ( archim6421214686448440834_floor @ A @ X ) @ ( one_one @ int ) ) ) ) ) ) ).

% floor_correct
thf(fact_2316_floor__divide__lower,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [Q6: A,P3: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ Q6 )
         => ( ord_less_eq @ A @ ( times_times @ A @ ( ring_1_of_int @ A @ ( archim6421214686448440834_floor @ A @ ( divide_divide @ A @ P3 @ Q6 ) ) ) @ Q6 ) @ P3 ) ) ) ).

% floor_divide_lower
thf(fact_2317_floor__divide__upper,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [Q6: A,P3: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ Q6 )
         => ( ord_less @ A @ P3 @ ( times_times @ A @ ( plus_plus @ A @ ( ring_1_of_int @ A @ ( archim6421214686448440834_floor @ A @ ( divide_divide @ A @ P3 @ Q6 ) ) ) @ ( one_one @ A ) ) @ Q6 ) ) ) ) ).

% floor_divide_upper
thf(fact_2318_floor__add,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A,Y: A] :
          ( ( ( ord_less @ A @ ( plus_plus @ A @ ( archimedean_frac @ A @ X ) @ ( archimedean_frac @ A @ Y ) ) @ ( one_one @ A ) )
           => ( ( archim6421214686448440834_floor @ A @ ( plus_plus @ A @ X @ Y ) )
              = ( plus_plus @ int @ ( archim6421214686448440834_floor @ A @ X ) @ ( archim6421214686448440834_floor @ A @ Y ) ) ) )
          & ( ~ ( ord_less @ A @ ( plus_plus @ A @ ( archimedean_frac @ A @ X ) @ ( archimedean_frac @ A @ Y ) ) @ ( one_one @ A ) )
           => ( ( archim6421214686448440834_floor @ A @ ( plus_plus @ A @ X @ Y ) )
              = ( plus_plus @ int @ ( plus_plus @ int @ ( archim6421214686448440834_floor @ A @ X ) @ ( archim6421214686448440834_floor @ A @ Y ) ) @ ( one_one @ int ) ) ) ) ) ) ).

% floor_add
thf(fact_2319_frac__unique__iff,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A,A3: A] :
          ( ( ( archimedean_frac @ A @ X )
            = A3 )
          = ( ( member @ A @ ( minus_minus @ A @ X @ A3 ) @ ( ring_1_Ints @ A ) )
            & ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 )
            & ( ord_less @ A @ A3 @ ( one_one @ A ) ) ) ) ) ).

% frac_unique_iff
thf(fact_2320_diff__numeral__special_I4_J,axiom,
    ! [A: $tType] :
      ( ( neg_numeral @ A )
     => ! [M: num] :
          ( ( minus_minus @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ M ) ) @ ( one_one @ A ) )
          = ( uminus_uminus @ A @ ( numeral_numeral @ A @ ( plus_plus @ num @ M @ one ) ) ) ) ) ).

% diff_numeral_special(4)
thf(fact_2321_diff__numeral__special_I3_J,axiom,
    ! [A: $tType] :
      ( ( neg_numeral @ A )
     => ! [N: num] :
          ( ( minus_minus @ A @ ( one_one @ A ) @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ N ) ) )
          = ( numeral_numeral @ A @ ( plus_plus @ num @ one @ N ) ) ) ) ).

% diff_numeral_special(3)
thf(fact_2322_add__neg__numeral__special_I5_J,axiom,
    ! [A: $tType] :
      ( ( neg_numeral @ A )
     => ! [N: num] :
          ( ( plus_plus @ A @ ( uminus_uminus @ A @ ( one_one @ A ) ) @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ N ) ) )
          = ( uminus_uminus @ A @ ( numeral_numeral @ A @ ( inc @ N ) ) ) ) ) ).

% add_neg_numeral_special(5)
thf(fact_2323_add__neg__numeral__special_I6_J,axiom,
    ! [A: $tType] :
      ( ( neg_numeral @ A )
     => ! [M: num] :
          ( ( plus_plus @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ M ) ) @ ( uminus_uminus @ A @ ( one_one @ A ) ) )
          = ( uminus_uminus @ A @ ( numeral_numeral @ A @ ( inc @ M ) ) ) ) ) ).

% add_neg_numeral_special(6)
thf(fact_2324_semiring__norm_I68_J,axiom,
    ! [N: num] : ( ord_less_eq @ num @ one @ N ) ).

% semiring_norm(68)
thf(fact_2325_semiring__norm_I75_J,axiom,
    ! [M: num] :
      ~ ( ord_less @ num @ M @ one ) ).

% semiring_norm(75)
thf(fact_2326_Suc__numeral,axiom,
    ! [N: num] :
      ( ( suc @ ( numeral_numeral @ nat @ N ) )
      = ( numeral_numeral @ nat @ ( plus_plus @ num @ N @ one ) ) ) ).

% Suc_numeral
thf(fact_2327_frac__gt__0__iff,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ ( archimedean_frac @ A @ X ) )
          = ( ~ ( member @ A @ X @ ( ring_1_Ints @ A ) ) ) ) ) ).

% frac_gt_0_iff
thf(fact_2328_not__neg__one__le__neg__numeral__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [M: num] :
          ( ( ~ ( ord_less_eq @ A @ ( uminus_uminus @ A @ ( one_one @ A ) ) @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ M ) ) ) )
          = ( M != one ) ) ) ).

% not_neg_one_le_neg_numeral_iff
thf(fact_2329_neg__numeral__less__neg__one__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [M: num] :
          ( ( ord_less @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ M ) ) @ ( uminus_uminus @ A @ ( one_one @ A ) ) )
          = ( M != one ) ) ) ).

% neg_numeral_less_neg_one_iff
thf(fact_2330_one__plus__numeral,axiom,
    ! [A: $tType] :
      ( ( numeral @ A )
     => ! [N: num] :
          ( ( plus_plus @ A @ ( one_one @ A ) @ ( numeral_numeral @ A @ N ) )
          = ( numeral_numeral @ A @ ( plus_plus @ num @ one @ N ) ) ) ) ).

% one_plus_numeral
thf(fact_2331_numeral__plus__one,axiom,
    ! [A: $tType] :
      ( ( numeral @ A )
     => ! [N: num] :
          ( ( plus_plus @ A @ ( numeral_numeral @ A @ N ) @ ( one_one @ A ) )
          = ( numeral_numeral @ A @ ( plus_plus @ num @ N @ one ) ) ) ) ).

% numeral_plus_one
thf(fact_2332_numeral__le__one__iff,axiom,
    ! [A: $tType] :
      ( ( linord181362715937106298miring @ A )
     => ! [N: num] :
          ( ( ord_less_eq @ A @ ( numeral_numeral @ A @ N ) @ ( one_one @ A ) )
          = ( ord_less_eq @ num @ N @ one ) ) ) ).

% numeral_le_one_iff
thf(fact_2333_one__less__numeral__iff,axiom,
    ! [A: $tType] :
      ( ( linord181362715937106298miring @ A )
     => ! [N: num] :
          ( ( ord_less @ A @ ( one_one @ A ) @ ( numeral_numeral @ A @ N ) )
          = ( ord_less @ num @ one @ N ) ) ) ).

% one_less_numeral_iff
thf(fact_2334_add__One,axiom,
    ! [X: num] :
      ( ( plus_plus @ num @ X @ one )
      = ( inc @ X ) ) ).

% add_One
thf(fact_2335_add__One__commute,axiom,
    ! [N: num] :
      ( ( plus_plus @ num @ one @ N )
      = ( plus_plus @ num @ N @ one ) ) ).

% add_One_commute
thf(fact_2336_le__num__One__iff,axiom,
    ! [X: num] :
      ( ( ord_less_eq @ num @ X @ one )
      = ( X = one ) ) ).

% le_num_One_iff
thf(fact_2337_add__inc,axiom,
    ! [X: num,Y: num] :
      ( ( plus_plus @ num @ X @ ( inc @ Y ) )
      = ( inc @ ( plus_plus @ num @ X @ Y ) ) ) ).

% add_inc
thf(fact_2338_mult__inc,axiom,
    ! [X: num,Y: num] :
      ( ( times_times @ num @ X @ ( inc @ Y ) )
      = ( plus_plus @ num @ ( times_times @ num @ X @ Y ) @ X ) ) ).

% mult_inc
thf(fact_2339_frac__ge__0,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A] : ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( archimedean_frac @ A @ X ) ) ) ).

% frac_ge_0
thf(fact_2340_frac__lt__1,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A] : ( ord_less @ A @ ( archimedean_frac @ A @ X ) @ ( one_one @ A ) ) ) ).

% frac_lt_1
thf(fact_2341_frac__1__eq,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A] :
          ( ( archimedean_frac @ A @ ( plus_plus @ A @ X @ ( one_one @ A ) ) )
          = ( archimedean_frac @ A @ X ) ) ) ).

% frac_1_eq
thf(fact_2342_numeral__inc,axiom,
    ! [A: $tType] :
      ( ( numeral @ A )
     => ! [X: num] :
          ( ( numeral_numeral @ A @ ( inc @ X ) )
          = ( plus_plus @ A @ ( numeral_numeral @ A @ X ) @ ( one_one @ A ) ) ) ) ).

% numeral_inc
thf(fact_2343_Suc__nat__number__of__add,axiom,
    ! [V2: num,N: nat] :
      ( ( suc @ ( plus_plus @ nat @ ( numeral_numeral @ nat @ V2 ) @ N ) )
      = ( plus_plus @ nat @ ( numeral_numeral @ nat @ ( plus_plus @ num @ V2 @ one ) ) @ N ) ) ).

% Suc_nat_number_of_add
thf(fact_2344_frac__eq,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A] :
          ( ( ( archimedean_frac @ A @ X )
            = X )
          = ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ X )
            & ( ord_less @ A @ X @ ( one_one @ A ) ) ) ) ) ).

% frac_eq
thf(fact_2345_frac__add,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A,Y: A] :
          ( ( ( ord_less @ A @ ( plus_plus @ A @ ( archimedean_frac @ A @ X ) @ ( archimedean_frac @ A @ Y ) ) @ ( one_one @ A ) )
           => ( ( archimedean_frac @ A @ ( plus_plus @ A @ X @ Y ) )
              = ( plus_plus @ A @ ( archimedean_frac @ A @ X ) @ ( archimedean_frac @ A @ Y ) ) ) )
          & ( ~ ( ord_less @ A @ ( plus_plus @ A @ ( archimedean_frac @ A @ X ) @ ( archimedean_frac @ A @ Y ) ) @ ( one_one @ A ) )
           => ( ( archimedean_frac @ A @ ( plus_plus @ A @ X @ Y ) )
              = ( minus_minus @ A @ ( plus_plus @ A @ ( archimedean_frac @ A @ X ) @ ( archimedean_frac @ A @ Y ) ) @ ( one_one @ A ) ) ) ) ) ) ).

% frac_add
thf(fact_2346_pochhammer__double,axiom,
    ! [A: $tType] :
      ( ( field_char_0 @ A )
     => ! [Z4: A,N: nat] :
          ( ( comm_s3205402744901411588hammer @ A @ ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ Z4 ) @ ( times_times @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N ) )
          = ( times_times @ A @ ( times_times @ A @ ( semiring_1_of_nat @ A @ ( power_power @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ ( times_times @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N ) ) ) @ ( comm_s3205402744901411588hammer @ A @ Z4 @ N ) ) @ ( comm_s3205402744901411588hammer @ A @ ( plus_plus @ A @ Z4 @ ( divide_divide @ A @ ( one_one @ A ) @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) ) @ N ) ) ) ) ).

% pochhammer_double
thf(fact_2347_neg__eucl__rel__int__mult__2,axiom,
    ! [B2: int,A3: int,Q6: int,R3: int] :
      ( ( ord_less_eq @ int @ B2 @ ( zero_zero @ int ) )
     => ( ( eucl_rel_int @ ( plus_plus @ int @ A3 @ ( one_one @ int ) ) @ B2 @ ( product_Pair @ int @ int @ Q6 @ R3 ) )
       => ( eucl_rel_int @ ( plus_plus @ int @ ( one_one @ int ) @ ( times_times @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ A3 ) ) @ ( times_times @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ B2 ) @ ( product_Pair @ int @ int @ Q6 @ ( minus_minus @ int @ ( times_times @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ R3 ) @ ( one_one @ int ) ) ) ) ) ) ).

% neg_eucl_rel_int_mult_2
thf(fact_2348_execute__change,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [F3: A > A,R3: ref @ A,H: heap_ext @ product_unit] :
          ( ( heap_Time_execute @ A @ ( ref_change @ A @ F3 @ R3 ) @ H )
          = ( some @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( product_Pair @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ ( F3 @ ( ref_get @ A @ H @ R3 ) ) @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ ( ref_set @ A @ R3 @ ( F3 @ ( ref_get @ A @ H @ R3 ) ) @ H ) @ ( numeral_numeral @ nat @ ( bit1 @ one ) ) ) ) ) ) ) ).

% execute_change
thf(fact_2349_divmod__digit__1_I1_J,axiom,
    ! [A: $tType] :
      ( ( unique1627219031080169319umeral @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 )
         => ( ( ord_less @ A @ ( zero_zero @ A ) @ B2 )
           => ( ( ord_less_eq @ A @ B2 @ ( modulo_modulo @ A @ A3 @ ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ B2 ) ) )
             => ( ( plus_plus @ A @ ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ ( divide_divide @ A @ A3 @ ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ B2 ) ) ) @ ( one_one @ A ) )
                = ( divide_divide @ A @ A3 @ B2 ) ) ) ) ) ) ).

% divmod_digit_1(1)
thf(fact_2350_pos__eucl__rel__int__mult__2,axiom,
    ! [B2: int,A3: int,Q6: int,R3: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ B2 )
     => ( ( eucl_rel_int @ A3 @ B2 @ ( product_Pair @ int @ int @ Q6 @ R3 ) )
       => ( eucl_rel_int @ ( plus_plus @ int @ ( one_one @ int ) @ ( times_times @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ A3 ) ) @ ( times_times @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ B2 ) @ ( product_Pair @ int @ int @ Q6 @ ( plus_plus @ int @ ( one_one @ int ) @ ( times_times @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ R3 ) ) ) ) ) ) ).

% pos_eucl_rel_int_mult_2
thf(fact_2351_neg__zmod__mult__2,axiom,
    ! [A3: int,B2: int] :
      ( ( ord_less_eq @ int @ A3 @ ( zero_zero @ int ) )
     => ( ( modulo_modulo @ int @ ( plus_plus @ int @ ( one_one @ int ) @ ( times_times @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ B2 ) ) @ ( times_times @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ A3 ) )
        = ( minus_minus @ int @ ( times_times @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ ( modulo_modulo @ int @ ( plus_plus @ int @ B2 @ ( one_one @ int ) ) @ A3 ) ) @ ( one_one @ int ) ) ) ) ).

% neg_zmod_mult_2
thf(fact_2352_verit__eq__simplify_I8_J,axiom,
    ! [X2: num,Y2: num] :
      ( ( ( bit0 @ X2 )
        = ( bit0 @ Y2 ) )
      = ( X2 = Y2 ) ) ).

% verit_eq_simplify(8)
thf(fact_2353_verit__eq__simplify_I9_J,axiom,
    ! [X32: num,Y32: num] :
      ( ( ( bit1 @ X32 )
        = ( bit1 @ Y32 ) )
      = ( X32 = Y32 ) ) ).

% verit_eq_simplify(9)
thf(fact_2354_semiring__norm_I6_J,axiom,
    ! [M: num,N: num] :
      ( ( plus_plus @ num @ ( bit0 @ M ) @ ( bit0 @ N ) )
      = ( bit0 @ ( plus_plus @ num @ M @ N ) ) ) ).

% semiring_norm(6)
thf(fact_2355_semiring__norm_I78_J,axiom,
    ! [M: num,N: num] :
      ( ( ord_less @ num @ ( bit0 @ M ) @ ( bit0 @ N ) )
      = ( ord_less @ num @ M @ N ) ) ).

% semiring_norm(78)
thf(fact_2356_semiring__norm_I71_J,axiom,
    ! [M: num,N: num] :
      ( ( ord_less_eq @ num @ ( bit0 @ M ) @ ( bit0 @ N ) )
      = ( ord_less_eq @ num @ M @ N ) ) ).

% semiring_norm(71)
thf(fact_2357_semiring__norm_I80_J,axiom,
    ! [M: num,N: num] :
      ( ( ord_less @ num @ ( bit1 @ M ) @ ( bit1 @ N ) )
      = ( ord_less @ num @ M @ N ) ) ).

% semiring_norm(80)
thf(fact_2358_semiring__norm_I73_J,axiom,
    ! [M: num,N: num] :
      ( ( ord_less_eq @ num @ ( bit1 @ M ) @ ( bit1 @ N ) )
      = ( ord_less_eq @ num @ M @ N ) ) ).

% semiring_norm(73)
thf(fact_2359_semiring__norm_I2_J,axiom,
    ( ( plus_plus @ num @ one @ one )
    = ( bit0 @ one ) ) ).

% semiring_norm(2)
thf(fact_2360_semiring__norm_I9_J,axiom,
    ! [M: num,N: num] :
      ( ( plus_plus @ num @ ( bit1 @ M ) @ ( bit0 @ N ) )
      = ( bit1 @ ( plus_plus @ num @ M @ N ) ) ) ).

% semiring_norm(9)
thf(fact_2361_semiring__norm_I7_J,axiom,
    ! [M: num,N: num] :
      ( ( plus_plus @ num @ ( bit0 @ M ) @ ( bit1 @ N ) )
      = ( bit1 @ ( plus_plus @ num @ M @ N ) ) ) ).

% semiring_norm(7)
thf(fact_2362_semiring__norm_I69_J,axiom,
    ! [M: num] :
      ~ ( ord_less_eq @ num @ ( bit0 @ M ) @ one ) ).

% semiring_norm(69)
thf(fact_2363_semiring__norm_I76_J,axiom,
    ! [N: num] : ( ord_less @ num @ one @ ( bit0 @ N ) ) ).

% semiring_norm(76)
thf(fact_2364_semiring__norm_I72_J,axiom,
    ! [M: num,N: num] :
      ( ( ord_less_eq @ num @ ( bit0 @ M ) @ ( bit1 @ N ) )
      = ( ord_less_eq @ num @ M @ N ) ) ).

% semiring_norm(72)
thf(fact_2365_semiring__norm_I81_J,axiom,
    ! [M: num,N: num] :
      ( ( ord_less @ num @ ( bit1 @ M ) @ ( bit0 @ N ) )
      = ( ord_less @ num @ M @ N ) ) ).

% semiring_norm(81)
thf(fact_2366_semiring__norm_I70_J,axiom,
    ! [M: num] :
      ~ ( ord_less_eq @ num @ ( bit1 @ M ) @ one ) ).

% semiring_norm(70)
thf(fact_2367_semiring__norm_I77_J,axiom,
    ! [N: num] : ( ord_less @ num @ one @ ( bit1 @ N ) ) ).

% semiring_norm(77)
thf(fact_2368_semiring__norm_I10_J,axiom,
    ! [M: num,N: num] :
      ( ( plus_plus @ num @ ( bit1 @ M ) @ ( bit1 @ N ) )
      = ( bit0 @ ( plus_plus @ num @ ( plus_plus @ num @ M @ N ) @ one ) ) ) ).

% semiring_norm(10)
thf(fact_2369_semiring__norm_I8_J,axiom,
    ! [M: num] :
      ( ( plus_plus @ num @ ( bit1 @ M ) @ one )
      = ( bit0 @ ( plus_plus @ num @ M @ one ) ) ) ).

% semiring_norm(8)
thf(fact_2370_semiring__norm_I5_J,axiom,
    ! [M: num] :
      ( ( plus_plus @ num @ ( bit0 @ M ) @ one )
      = ( bit1 @ M ) ) ).

% semiring_norm(5)
thf(fact_2371_semiring__norm_I4_J,axiom,
    ! [N: num] :
      ( ( plus_plus @ num @ one @ ( bit1 @ N ) )
      = ( bit0 @ ( plus_plus @ num @ N @ one ) ) ) ).

% semiring_norm(4)
thf(fact_2372_semiring__norm_I3_J,axiom,
    ! [N: num] :
      ( ( plus_plus @ num @ one @ ( bit0 @ N ) )
      = ( bit1 @ N ) ) ).

% semiring_norm(3)
thf(fact_2373_semiring__norm_I16_J,axiom,
    ! [M: num,N: num] :
      ( ( times_times @ num @ ( bit1 @ M ) @ ( bit1 @ N ) )
      = ( bit1 @ ( plus_plus @ num @ ( plus_plus @ num @ M @ N ) @ ( bit0 @ ( times_times @ num @ M @ N ) ) ) ) ) ).

% semiring_norm(16)
thf(fact_2374_semiring__norm_I79_J,axiom,
    ! [M: num,N: num] :
      ( ( ord_less @ num @ ( bit0 @ M ) @ ( bit1 @ N ) )
      = ( ord_less_eq @ num @ M @ N ) ) ).

% semiring_norm(79)
thf(fact_2375_semiring__norm_I74_J,axiom,
    ! [M: num,N: num] :
      ( ( ord_less_eq @ num @ ( bit1 @ M ) @ ( bit0 @ N ) )
      = ( ord_less @ num @ M @ N ) ) ).

% semiring_norm(74)
thf(fact_2376_one__add__one,axiom,
    ! [A: $tType] :
      ( ( numeral @ A )
     => ( ( plus_plus @ A @ ( one_one @ A ) @ ( one_one @ A ) )
        = ( numeral_numeral @ A @ ( bit0 @ one ) ) ) ) ).

% one_add_one
thf(fact_2377_add__2__eq__Suc_H,axiom,
    ! [N: nat] :
      ( ( plus_plus @ nat @ N @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) )
      = ( suc @ ( suc @ N ) ) ) ).

% add_2_eq_Suc'
thf(fact_2378_add__2__eq__Suc,axiom,
    ! [N: nat] :
      ( ( plus_plus @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N )
      = ( suc @ ( suc @ N ) ) ) ).

% add_2_eq_Suc
thf(fact_2379_add__self__div__2,axiom,
    ! [M: nat] :
      ( ( divide_divide @ nat @ ( plus_plus @ nat @ M @ M ) @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) )
      = M ) ).

% add_self_div_2
thf(fact_2380_add__neg__numeral__special_I9_J,axiom,
    ! [A: $tType] :
      ( ( neg_numeral @ A )
     => ( ( plus_plus @ A @ ( uminus_uminus @ A @ ( one_one @ A ) ) @ ( uminus_uminus @ A @ ( one_one @ A ) ) )
        = ( uminus_uminus @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) ) ) ).

% add_neg_numeral_special(9)
thf(fact_2381_power2__less__eq__zero__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [A3: A] :
          ( ( ord_less_eq @ A @ ( power_power @ A @ A3 @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) @ ( zero_zero @ A ) )
          = ( A3
            = ( zero_zero @ A ) ) ) ) ).

% power2_less_eq_zero_iff
thf(fact_2382_power2__eq__iff__nonneg,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ X )
         => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ Y )
           => ( ( ( power_power @ A @ X @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) )
                = ( power_power @ A @ Y @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) )
              = ( X = Y ) ) ) ) ) ).

% power2_eq_iff_nonneg
thf(fact_2383_zero__less__power2,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [A3: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ ( power_power @ A @ A3 @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) )
          = ( A3
           != ( zero_zero @ A ) ) ) ) ).

% zero_less_power2
thf(fact_2384_add__self__mod__2,axiom,
    ! [M: nat] :
      ( ( modulo_modulo @ nat @ ( plus_plus @ nat @ M @ M ) @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) )
      = ( zero_zero @ nat ) ) ).

% add_self_mod_2
thf(fact_2385_mod__Suc__eq__mod__add3,axiom,
    ! [M: nat,N: nat] :
      ( ( modulo_modulo @ nat @ M @ ( suc @ ( suc @ ( suc @ N ) ) ) )
      = ( modulo_modulo @ nat @ M @ ( plus_plus @ nat @ ( numeral_numeral @ nat @ ( bit1 @ one ) ) @ N ) ) ) ).

% mod_Suc_eq_mod_add3
thf(fact_2386_Suc__mod__eq__add3__mod__numeral,axiom,
    ! [M: nat,V2: num] :
      ( ( modulo_modulo @ nat @ ( suc @ ( suc @ ( suc @ M ) ) ) @ ( numeral_numeral @ nat @ V2 ) )
      = ( modulo_modulo @ nat @ ( plus_plus @ nat @ ( numeral_numeral @ nat @ ( bit1 @ one ) ) @ M ) @ ( numeral_numeral @ nat @ V2 ) ) ) ).

% Suc_mod_eq_add3_mod_numeral
thf(fact_2387_div__Suc__eq__div__add3,axiom,
    ! [M: nat,N: nat] :
      ( ( divide_divide @ nat @ M @ ( suc @ ( suc @ ( suc @ N ) ) ) )
      = ( divide_divide @ nat @ M @ ( plus_plus @ nat @ ( numeral_numeral @ nat @ ( bit1 @ one ) ) @ N ) ) ) ).

% div_Suc_eq_div_add3
thf(fact_2388_Suc__div__eq__add3__div__numeral,axiom,
    ! [M: nat,V2: num] :
      ( ( divide_divide @ nat @ ( suc @ ( suc @ ( suc @ M ) ) ) @ ( numeral_numeral @ nat @ V2 ) )
      = ( divide_divide @ nat @ ( plus_plus @ nat @ ( numeral_numeral @ nat @ ( bit1 @ one ) ) @ M ) @ ( numeral_numeral @ nat @ V2 ) ) ) ).

% Suc_div_eq_add3_div_numeral
thf(fact_2389_one__less__floor,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A] :
          ( ( ord_less @ int @ ( one_one @ int ) @ ( archim6421214686448440834_floor @ A @ X ) )
          = ( ord_less_eq @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ X ) ) ) ).

% one_less_floor
thf(fact_2390_floor__le__one,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A] :
          ( ( ord_less_eq @ int @ ( archim6421214686448440834_floor @ A @ X ) @ ( one_one @ int ) )
          = ( ord_less @ A @ X @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) ) ) ).

% floor_le_one
thf(fact_2391_mod2__gr__0,axiom,
    ! [M: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ ( modulo_modulo @ nat @ M @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) )
      = ( ( modulo_modulo @ nat @ M @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) )
        = ( one_one @ nat ) ) ) ).

% mod2_gr_0
thf(fact_2392_zmod__numeral__Bit1,axiom,
    ! [V2: num,W2: num] :
      ( ( modulo_modulo @ int @ ( numeral_numeral @ int @ ( bit1 @ V2 ) ) @ ( numeral_numeral @ int @ ( bit0 @ W2 ) ) )
      = ( plus_plus @ int @ ( times_times @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ ( modulo_modulo @ int @ ( numeral_numeral @ int @ V2 ) @ ( numeral_numeral @ int @ W2 ) ) ) @ ( one_one @ int ) ) ) ).

% zmod_numeral_Bit1
thf(fact_2393_verit__eq__simplify_I14_J,axiom,
    ! [X2: num,X32: num] :
      ( ( bit0 @ X2 )
     != ( bit1 @ X32 ) ) ).

% verit_eq_simplify(14)
thf(fact_2394_verit__eq__simplify_I12_J,axiom,
    ! [X32: num] :
      ( one
     != ( bit1 @ X32 ) ) ).

% verit_eq_simplify(12)
thf(fact_2395_verit__eq__simplify_I10_J,axiom,
    ! [X2: num] :
      ( one
     != ( bit0 @ X2 ) ) ).

% verit_eq_simplify(10)
thf(fact_2396_numeral__Bit0,axiom,
    ! [A: $tType] :
      ( ( numeral @ A )
     => ! [N: num] :
          ( ( numeral_numeral @ A @ ( bit0 @ N ) )
          = ( plus_plus @ A @ ( numeral_numeral @ A @ N ) @ ( numeral_numeral @ A @ N ) ) ) ) ).

% numeral_Bit0
thf(fact_2397_numeral__code_I2_J,axiom,
    ! [A: $tType] :
      ( ( numeral @ A )
     => ! [N: num] :
          ( ( numeral_numeral @ A @ ( bit0 @ N ) )
          = ( plus_plus @ A @ ( numeral_numeral @ A @ N ) @ ( numeral_numeral @ A @ N ) ) ) ) ).

% numeral_code(2)
thf(fact_2398_numeral__Bit1,axiom,
    ! [A: $tType] :
      ( ( numeral @ A )
     => ! [N: num] :
          ( ( numeral_numeral @ A @ ( bit1 @ N ) )
          = ( plus_plus @ A @ ( plus_plus @ A @ ( numeral_numeral @ A @ N ) @ ( numeral_numeral @ A @ N ) ) @ ( one_one @ A ) ) ) ) ).

% numeral_Bit1
thf(fact_2399_num_Osize_I6_J,axiom,
    ! [X32: num] :
      ( ( size_size @ num @ ( bit1 @ X32 ) )
      = ( plus_plus @ nat @ ( size_size @ num @ X32 ) @ ( suc @ ( zero_zero @ nat ) ) ) ) ).

% num.size(6)
thf(fact_2400_num_Osize_I5_J,axiom,
    ! [X2: num] :
      ( ( size_size @ num @ ( bit0 @ X2 ) )
      = ( plus_plus @ nat @ ( size_size @ num @ X2 ) @ ( suc @ ( zero_zero @ nat ) ) ) ) ).

% num.size(5)
thf(fact_2401_numeral__code_I3_J,axiom,
    ! [A: $tType] :
      ( ( numeral @ A )
     => ! [N: num] :
          ( ( numeral_numeral @ A @ ( bit1 @ N ) )
          = ( plus_plus @ A @ ( plus_plus @ A @ ( numeral_numeral @ A @ N ) @ ( numeral_numeral @ A @ N ) ) @ ( one_one @ A ) ) ) ) ).

% numeral_code(3)
thf(fact_2402_power__numeral__odd,axiom,
    ! [A: $tType] :
      ( ( monoid_mult @ A )
     => ! [Z4: A,W2: num] :
          ( ( power_power @ A @ Z4 @ ( numeral_numeral @ nat @ ( bit1 @ W2 ) ) )
          = ( times_times @ A @ ( times_times @ A @ Z4 @ ( power_power @ A @ Z4 @ ( numeral_numeral @ nat @ W2 ) ) ) @ ( power_power @ A @ Z4 @ ( numeral_numeral @ nat @ W2 ) ) ) ) ) ).

% power_numeral_odd
thf(fact_2403_power__numeral__even,axiom,
    ! [A: $tType] :
      ( ( monoid_mult @ A )
     => ! [Z4: A,W2: num] :
          ( ( power_power @ A @ Z4 @ ( numeral_numeral @ nat @ ( bit0 @ W2 ) ) )
          = ( times_times @ A @ ( power_power @ A @ Z4 @ ( numeral_numeral @ nat @ W2 ) ) @ ( power_power @ A @ Z4 @ ( numeral_numeral @ nat @ W2 ) ) ) ) ) ).

% power_numeral_even
thf(fact_2404_Suc3__eq__add__3,axiom,
    ! [N: nat] :
      ( ( suc @ ( suc @ ( suc @ N ) ) )
      = ( plus_plus @ nat @ ( numeral_numeral @ nat @ ( bit1 @ one ) ) @ N ) ) ).

% Suc3_eq_add_3
thf(fact_2405_mult__2,axiom,
    ! [A: $tType] :
      ( ( semiring_numeral @ A )
     => ! [Z4: A] :
          ( ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ Z4 )
          = ( plus_plus @ A @ Z4 @ Z4 ) ) ) ).

% mult_2
thf(fact_2406_mult__2__right,axiom,
    ! [A: $tType] :
      ( ( semiring_numeral @ A )
     => ! [Z4: A] :
          ( ( times_times @ A @ Z4 @ ( numeral_numeral @ A @ ( bit0 @ one ) ) )
          = ( plus_plus @ A @ Z4 @ Z4 ) ) ) ).

% mult_2_right
thf(fact_2407_left__add__twice,axiom,
    ! [A: $tType] :
      ( ( semiring_numeral @ A )
     => ! [A3: A,B2: A] :
          ( ( plus_plus @ A @ A3 @ ( plus_plus @ A @ A3 @ B2 ) )
          = ( plus_plus @ A @ ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ A3 ) @ B2 ) ) ) ).

% left_add_twice
thf(fact_2408_nat__1__add__1,axiom,
    ( ( plus_plus @ nat @ ( one_one @ nat ) @ ( one_one @ nat ) )
    = ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) ).

% nat_1_add_1
thf(fact_2409_less__exp,axiom,
    ! [N: nat] : ( ord_less @ nat @ N @ ( power_power @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N ) ) ).

% less_exp
thf(fact_2410_power2__nat__le__imp__le,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ ( power_power @ nat @ M @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) @ N )
     => ( ord_less_eq @ nat @ M @ N ) ) ).

% power2_nat_le_imp_le
thf(fact_2411_power2__nat__le__eq__le,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ ( power_power @ nat @ M @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) @ ( power_power @ nat @ N @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) )
      = ( ord_less_eq @ nat @ M @ N ) ) ).

% power2_nat_le_eq_le
thf(fact_2412_self__le__ge2__pow,axiom,
    ! [K2: nat,M: nat] :
      ( ( ord_less_eq @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ K2 )
     => ( ord_less_eq @ nat @ M @ ( power_power @ nat @ K2 @ M ) ) ) ).

% self_le_ge2_pow
thf(fact_2413_half__gt__zero__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ ( divide_divide @ A @ A3 @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) )
          = ( ord_less @ A @ ( zero_zero @ A ) @ A3 ) ) ) ).

% half_gt_zero_iff
thf(fact_2414_half__gt__zero,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ A3 )
         => ( ord_less @ A @ ( zero_zero @ A ) @ ( divide_divide @ A @ A3 @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) ) ) ) ).

% half_gt_zero
thf(fact_2415_zero__le__power2,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [A3: A] : ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( power_power @ A @ A3 @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) ) ) ).

% zero_le_power2
thf(fact_2416_power2__eq__imp__eq,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [X: A,Y: A] :
          ( ( ( power_power @ A @ X @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) )
            = ( power_power @ A @ Y @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) )
         => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ X )
           => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ Y )
             => ( X = Y ) ) ) ) ) ).

% power2_eq_imp_eq
thf(fact_2417_power2__le__imp__le,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less_eq @ A @ ( power_power @ A @ X @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) @ ( power_power @ A @ Y @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) )
         => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ Y )
           => ( ord_less_eq @ A @ X @ Y ) ) ) ) ).

% power2_le_imp_le
thf(fact_2418_power2__less__0,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [A3: A] :
          ~ ( ord_less @ A @ ( power_power @ A @ A3 @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) @ ( zero_zero @ A ) ) ) ).

% power2_less_0
thf(fact_2419_Suc__mod__eq__add3__mod,axiom,
    ! [M: nat,N: nat] :
      ( ( modulo_modulo @ nat @ ( suc @ ( suc @ ( suc @ M ) ) ) @ N )
      = ( modulo_modulo @ nat @ ( plus_plus @ nat @ ( numeral_numeral @ nat @ ( bit1 @ one ) ) @ M ) @ N ) ) ).

% Suc_mod_eq_add3_mod
thf(fact_2420_Suc__div__eq__add3__div,axiom,
    ! [M: nat,N: nat] :
      ( ( divide_divide @ nat @ ( suc @ ( suc @ ( suc @ M ) ) ) @ N )
      = ( divide_divide @ nat @ ( plus_plus @ nat @ ( numeral_numeral @ nat @ ( bit1 @ one ) ) @ M ) @ N ) ) ).

% Suc_div_eq_add3_div
thf(fact_2421_sum__power2__eq__zero__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [X: A,Y: A] :
          ( ( ( plus_plus @ A @ ( power_power @ A @ X @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) @ ( power_power @ A @ Y @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) )
            = ( zero_zero @ A ) )
          = ( ( X
              = ( zero_zero @ A ) )
            & ( Y
              = ( zero_zero @ A ) ) ) ) ) ).

% sum_power2_eq_zero_iff
thf(fact_2422_less__2__cases,axiom,
    ! [N: nat] :
      ( ( ord_less @ nat @ N @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) )
     => ( ( N
          = ( zero_zero @ nat ) )
        | ( N
          = ( suc @ ( zero_zero @ nat ) ) ) ) ) ).

% less_2_cases
thf(fact_2423_less__2__cases__iff,axiom,
    ! [N: nat] :
      ( ( ord_less @ nat @ N @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) )
      = ( ( N
          = ( zero_zero @ nat ) )
        | ( N
          = ( suc @ ( zero_zero @ nat ) ) ) ) ) ).

% less_2_cases_iff
thf(fact_2424_abs__le__square__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less_eq @ A @ ( abs_abs @ A @ X ) @ ( abs_abs @ A @ Y ) )
          = ( ord_less_eq @ A @ ( power_power @ A @ X @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) @ ( power_power @ A @ Y @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) ) ) ) ).

% abs_le_square_iff
thf(fact_2425_nat__induct2,axiom,
    ! [P2: nat > $o,N: nat] :
      ( ( P2 @ ( zero_zero @ nat ) )
     => ( ( P2 @ ( one_one @ nat ) )
       => ( ! [N4: nat] :
              ( ( P2 @ N4 )
             => ( P2 @ ( plus_plus @ nat @ N4 @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) ) )
         => ( P2 @ N ) ) ) ) ).

% nat_induct2
thf(fact_2426_diff__le__diff__pow,axiom,
    ! [K2: nat,M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ K2 )
     => ( ord_less_eq @ nat @ ( minus_minus @ nat @ M @ N ) @ ( minus_minus @ nat @ ( power_power @ nat @ K2 @ M ) @ ( power_power @ nat @ K2 @ N ) ) ) ) ).

% diff_le_diff_pow
thf(fact_2427_divmod__digit__0_I2_J,axiom,
    ! [A: $tType] :
      ( ( unique1627219031080169319umeral @ A )
     => ! [B2: A,A3: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ B2 )
         => ( ( ord_less @ A @ ( modulo_modulo @ A @ A3 @ ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ B2 ) ) @ B2 )
           => ( ( modulo_modulo @ A @ A3 @ ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ B2 ) )
              = ( modulo_modulo @ A @ A3 @ B2 ) ) ) ) ) ).

% divmod_digit_0(2)
thf(fact_2428_power2__less__imp__less,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less @ A @ ( power_power @ A @ X @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) @ ( power_power @ A @ Y @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) )
         => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ Y )
           => ( ord_less @ A @ X @ Y ) ) ) ) ).

% power2_less_imp_less
thf(fact_2429_sum__power2__le__zero__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less_eq @ A @ ( plus_plus @ A @ ( power_power @ A @ X @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) @ ( power_power @ A @ Y @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) ) @ ( zero_zero @ A ) )
          = ( ( X
              = ( zero_zero @ A ) )
            & ( Y
              = ( zero_zero @ A ) ) ) ) ) ).

% sum_power2_le_zero_iff
thf(fact_2430_sum__power2__ge__zero,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [X: A,Y: A] : ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( plus_plus @ A @ ( power_power @ A @ X @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) @ ( power_power @ A @ Y @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) ) ) ) ).

% sum_power2_ge_zero
thf(fact_2431_sum__power2__gt__zero__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ ( plus_plus @ A @ ( power_power @ A @ X @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) @ ( power_power @ A @ Y @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) ) )
          = ( ( X
             != ( zero_zero @ A ) )
            | ( Y
             != ( zero_zero @ A ) ) ) ) ) ).

% sum_power2_gt_zero_iff
thf(fact_2432_not__sum__power2__lt__zero,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [X: A,Y: A] :
          ~ ( ord_less @ A @ ( plus_plus @ A @ ( power_power @ A @ X @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) @ ( power_power @ A @ Y @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) ) @ ( zero_zero @ A ) ) ) ).

% not_sum_power2_lt_zero
thf(fact_2433_power2__sum,axiom,
    ! [A: $tType] :
      ( ( comm_semiring_1 @ A )
     => ! [X: A,Y: A] :
          ( ( power_power @ A @ ( plus_plus @ A @ X @ Y ) @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) )
          = ( plus_plus @ A @ ( plus_plus @ A @ ( power_power @ A @ X @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) @ ( power_power @ A @ Y @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) ) @ ( times_times @ A @ ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ X ) @ Y ) ) ) ) ).

% power2_sum
thf(fact_2434_square__le__1,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [X: A] :
          ( ( ord_less_eq @ A @ ( uminus_uminus @ A @ ( one_one @ A ) ) @ X )
         => ( ( ord_less_eq @ A @ X @ ( one_one @ A ) )
           => ( ord_less_eq @ A @ ( power_power @ A @ X @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) @ ( one_one @ A ) ) ) ) ) ).

% square_le_1
thf(fact_2435_zero__le__even__power_H,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [A3: A,N: nat] : ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( power_power @ A @ A3 @ ( times_times @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N ) ) ) ) ).

% zero_le_even_power'
thf(fact_2436_power2__le__iff__abs__le,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [Y: A,X: A] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ Y )
         => ( ( ord_less_eq @ A @ ( power_power @ A @ X @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) @ ( power_power @ A @ Y @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) )
            = ( ord_less_eq @ A @ ( abs_abs @ A @ X ) @ Y ) ) ) ) ).

% power2_le_iff_abs_le
thf(fact_2437_abs__square__le__1,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [X: A] :
          ( ( ord_less_eq @ A @ ( power_power @ A @ X @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) @ ( one_one @ A ) )
          = ( ord_less_eq @ A @ ( abs_abs @ A @ X ) @ ( one_one @ A ) ) ) ) ).

% abs_square_le_1
thf(fact_2438_abs__square__less__1,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [X: A] :
          ( ( ord_less @ A @ ( power_power @ A @ X @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) @ ( one_one @ A ) )
          = ( ord_less @ A @ ( abs_abs @ A @ X ) @ ( one_one @ A ) ) ) ) ).

% abs_square_less_1
thf(fact_2439_Suc__n__div__2__gt__zero,axiom,
    ! [N: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
     => ( ord_less @ nat @ ( zero_zero @ nat ) @ ( divide_divide @ nat @ ( suc @ N ) @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) ) ) ).

% Suc_n_div_2_gt_zero
thf(fact_2440_div__2__gt__zero,axiom,
    ! [N: nat] :
      ( ( ord_less @ nat @ ( suc @ ( zero_zero @ nat ) ) @ N )
     => ( ord_less @ nat @ ( zero_zero @ nat ) @ ( divide_divide @ nat @ N @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) ) ) ).

% div_2_gt_zero
thf(fact_2441_divmod__digit__0_I1_J,axiom,
    ! [A: $tType] :
      ( ( unique1627219031080169319umeral @ A )
     => ! [B2: A,A3: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ B2 )
         => ( ( ord_less @ A @ ( modulo_modulo @ A @ A3 @ ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ B2 ) ) @ B2 )
           => ( ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ ( divide_divide @ A @ A3 @ ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ B2 ) ) )
              = ( divide_divide @ A @ A3 @ B2 ) ) ) ) ) ).

% divmod_digit_0(1)
thf(fact_2442_power2__diff,axiom,
    ! [A: $tType] :
      ( ( comm_ring_1 @ A )
     => ! [X: A,Y: A] :
          ( ( power_power @ A @ ( minus_minus @ A @ X @ Y ) @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) )
          = ( minus_minus @ A @ ( plus_plus @ A @ ( power_power @ A @ X @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) @ ( power_power @ A @ Y @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) ) @ ( times_times @ A @ ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ X ) @ Y ) ) ) ) ).

% power2_diff
thf(fact_2443_odd__0__le__power__imp__0__le,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [A3: A,N: nat] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( power_power @ A @ A3 @ ( suc @ ( times_times @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N ) ) ) )
         => ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 ) ) ) ).

% odd_0_le_power_imp_0_le
thf(fact_2444_odd__power__less__zero,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [A3: A,N: nat] :
          ( ( ord_less @ A @ A3 @ ( zero_zero @ A ) )
         => ( ord_less @ A @ ( power_power @ A @ A3 @ ( suc @ ( times_times @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N ) ) ) @ ( zero_zero @ A ) ) ) ) ).

% odd_power_less_zero
thf(fact_2445_effect__changeE,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [F3: A > A,R7: ref @ A,H: heap_ext @ product_unit,H5: heap_ext @ product_unit,R3: A,N: nat] :
          ( ( heap_Time_effect @ A @ ( ref_change @ A @ F3 @ R7 ) @ H @ H5 @ R3 @ N )
         => ~ ( ( H5
                = ( ref_set @ A @ R7 @ ( F3 @ ( ref_get @ A @ H @ R7 ) ) @ H ) )
             => ( ( R3
                  = ( F3 @ ( ref_get @ A @ H @ R7 ) ) )
               => ( N
                 != ( numeral_numeral @ nat @ ( bit1 @ one ) ) ) ) ) ) ) ).

% effect_changeE
thf(fact_2446_effect__changeI,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [H5: heap_ext @ product_unit,R3: ref @ A,F3: A > A,H: heap_ext @ product_unit,X: A,N: nat] :
          ( ( H5
            = ( ref_set @ A @ R3 @ ( F3 @ ( ref_get @ A @ H @ R3 ) ) @ H ) )
         => ( ( X
              = ( F3 @ ( ref_get @ A @ H @ R3 ) ) )
           => ( ( N
                = ( numeral_numeral @ nat @ ( bit1 @ one ) ) )
             => ( heap_Time_effect @ A @ ( ref_change @ A @ F3 @ R3 ) @ H @ H5 @ X @ N ) ) ) ) ) ).

% effect_changeI
thf(fact_2447_ex__power__ivl1,axiom,
    ! [B2: nat,K2: nat] :
      ( ( ord_less_eq @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ B2 )
     => ( ( ord_less_eq @ nat @ ( one_one @ nat ) @ K2 )
       => ? [N4: nat] :
            ( ( ord_less_eq @ nat @ ( power_power @ nat @ B2 @ N4 ) @ K2 )
            & ( ord_less @ nat @ K2 @ ( power_power @ nat @ B2 @ ( plus_plus @ nat @ N4 @ ( one_one @ nat ) ) ) ) ) ) ) ).

% ex_power_ivl1
thf(fact_2448_ex__power__ivl2,axiom,
    ! [B2: nat,K2: nat] :
      ( ( ord_less_eq @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ B2 )
     => ( ( ord_less_eq @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ K2 )
       => ? [N4: nat] :
            ( ( ord_less @ nat @ ( power_power @ nat @ B2 @ N4 ) @ K2 )
            & ( ord_less_eq @ nat @ K2 @ ( power_power @ nat @ B2 @ ( plus_plus @ nat @ N4 @ ( one_one @ nat ) ) ) ) ) ) ) ).

% ex_power_ivl2
thf(fact_2449_mod__double__modulus,axiom,
    ! [A: $tType] :
      ( ( unique1627219031080169319umeral @ A )
     => ! [M: A,X: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ M )
         => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ X )
           => ( ( ( modulo_modulo @ A @ X @ ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ M ) )
                = ( modulo_modulo @ A @ X @ M ) )
              | ( ( modulo_modulo @ A @ X @ ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ M ) )
                = ( plus_plus @ A @ ( modulo_modulo @ A @ X @ M ) @ M ) ) ) ) ) ) ).

% mod_double_modulus
thf(fact_2450_divmod__digit__1_I2_J,axiom,
    ! [A: $tType] :
      ( ( unique1627219031080169319umeral @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 )
         => ( ( ord_less @ A @ ( zero_zero @ A ) @ B2 )
           => ( ( ord_less_eq @ A @ B2 @ ( modulo_modulo @ A @ A3 @ ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ B2 ) ) )
             => ( ( minus_minus @ A @ ( modulo_modulo @ A @ A3 @ ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ B2 ) ) @ B2 )
                = ( modulo_modulo @ A @ A3 @ B2 ) ) ) ) ) ) ).

% divmod_digit_1(2)
thf(fact_2451_pos__zdiv__mult__2,axiom,
    ! [A3: int,B2: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ A3 )
     => ( ( divide_divide @ int @ ( plus_plus @ int @ ( one_one @ int ) @ ( times_times @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ B2 ) ) @ ( times_times @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ A3 ) )
        = ( divide_divide @ int @ B2 @ A3 ) ) ) ).

% pos_zdiv_mult_2
thf(fact_2452_neg__zdiv__mult__2,axiom,
    ! [A3: int,B2: int] :
      ( ( ord_less_eq @ int @ A3 @ ( zero_zero @ int ) )
     => ( ( divide_divide @ int @ ( plus_plus @ int @ ( one_one @ int ) @ ( times_times @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ B2 ) ) @ ( times_times @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ A3 ) )
        = ( divide_divide @ int @ ( plus_plus @ int @ B2 @ ( one_one @ int ) ) @ A3 ) ) ) ).

% neg_zdiv_mult_2
thf(fact_2453_pos__zmod__mult__2,axiom,
    ! [A3: int,B2: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ A3 )
     => ( ( modulo_modulo @ int @ ( plus_plus @ int @ ( one_one @ int ) @ ( times_times @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ B2 ) ) @ ( times_times @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ A3 ) )
        = ( plus_plus @ int @ ( one_one @ int ) @ ( times_times @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ ( modulo_modulo @ int @ B2 @ A3 ) ) ) ) ) ).

% pos_zmod_mult_2
thf(fact_2454_half__negative__int__iff,axiom,
    ! [K2: int] :
      ( ( ord_less @ int @ ( divide_divide @ int @ K2 @ ( numeral_numeral @ int @ ( bit0 @ one ) ) ) @ ( zero_zero @ int ) )
      = ( ord_less @ int @ K2 @ ( zero_zero @ int ) ) ) ).

% half_negative_int_iff
thf(fact_2455_half__nonnegative__int__iff,axiom,
    ! [K2: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ ( divide_divide @ int @ K2 @ ( numeral_numeral @ int @ ( bit0 @ one ) ) ) )
      = ( ord_less_eq @ int @ ( zero_zero @ int ) @ K2 ) ) ).

% half_nonnegative_int_iff
thf(fact_2456_divmod__step__eq,axiom,
    ! [A: $tType] :
      ( ( unique1627219031080169319umeral @ A )
     => ! [L: num,R3: A,Q6: A] :
          ( ( ( ord_less_eq @ A @ ( numeral_numeral @ A @ L ) @ R3 )
           => ( ( unique1321980374590559556d_step @ A @ L @ ( product_Pair @ A @ A @ Q6 @ R3 ) )
              = ( product_Pair @ A @ A @ ( plus_plus @ A @ ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ Q6 ) @ ( one_one @ A ) ) @ ( minus_minus @ A @ R3 @ ( numeral_numeral @ A @ L ) ) ) ) )
          & ( ~ ( ord_less_eq @ A @ ( numeral_numeral @ A @ L ) @ R3 )
           => ( ( unique1321980374590559556d_step @ A @ L @ ( product_Pair @ A @ A @ Q6 @ R3 ) )
              = ( product_Pair @ A @ A @ ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ Q6 ) @ R3 ) ) ) ) ) ).

% divmod_step_eq
thf(fact_2457_int__bit__induct,axiom,
    ! [P2: int > $o,K2: int] :
      ( ( P2 @ ( zero_zero @ int ) )
     => ( ( P2 @ ( uminus_uminus @ int @ ( one_one @ int ) ) )
       => ( ! [K: int] :
              ( ( P2 @ K )
             => ( ( K
                 != ( zero_zero @ int ) )
               => ( P2 @ ( times_times @ int @ K @ ( numeral_numeral @ int @ ( bit0 @ one ) ) ) ) ) )
         => ( ! [K: int] :
                ( ( P2 @ K )
               => ( ( K
                   != ( uminus_uminus @ int @ ( one_one @ int ) ) )
                 => ( P2 @ ( plus_plus @ int @ ( one_one @ int ) @ ( times_times @ int @ K @ ( numeral_numeral @ int @ ( bit0 @ one ) ) ) ) ) ) )
           => ( P2 @ K2 ) ) ) ) ) ).

% int_bit_induct
thf(fact_2458_mult__exp__mod__exp__eq,axiom,
    ! [A: $tType] :
      ( ( bit_semiring_bits @ A )
     => ! [M: nat,N: nat,A3: A] :
          ( ( ord_less_eq @ nat @ M @ N )
         => ( ( modulo_modulo @ A @ ( times_times @ A @ A3 @ ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ M ) ) @ ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ N ) )
            = ( times_times @ A @ ( modulo_modulo @ A @ A3 @ ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ ( minus_minus @ nat @ N @ M ) ) ) @ ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ M ) ) ) ) ) ).

% mult_exp_mod_exp_eq
thf(fact_2459_nat__bit__induct,axiom,
    ! [P2: nat > $o,N: nat] :
      ( ( P2 @ ( zero_zero @ nat ) )
     => ( ! [N4: nat] :
            ( ( P2 @ N4 )
           => ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N4 )
             => ( P2 @ ( times_times @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N4 ) ) ) )
       => ( ! [N4: nat] :
              ( ( P2 @ N4 )
             => ( P2 @ ( suc @ ( times_times @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N4 ) ) ) )
         => ( P2 @ N ) ) ) ) ).

% nat_bit_induct
thf(fact_2460_exp__add__not__zero__imp__right,axiom,
    ! [A: $tType] :
      ( ( bit_semiring_bits @ A )
     => ! [M: nat,N: nat] :
          ( ( ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ ( plus_plus @ nat @ M @ N ) )
           != ( zero_zero @ A ) )
         => ( ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ N )
           != ( zero_zero @ A ) ) ) ) ).

% exp_add_not_zero_imp_right
thf(fact_2461_exp__add__not__zero__imp__left,axiom,
    ! [A: $tType] :
      ( ( bit_semiring_bits @ A )
     => ! [M: nat,N: nat] :
          ( ( ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ ( plus_plus @ nat @ M @ N ) )
           != ( zero_zero @ A ) )
         => ( ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ M )
           != ( zero_zero @ A ) ) ) ) ).

% exp_add_not_zero_imp_left
thf(fact_2462_div__exp__eq,axiom,
    ! [A: $tType] :
      ( ( bit_semiring_bits @ A )
     => ! [A3: A,M: nat,N: nat] :
          ( ( divide_divide @ A @ ( divide_divide @ A @ A3 @ ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ M ) ) @ ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ N ) )
          = ( divide_divide @ A @ A3 @ ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ ( plus_plus @ nat @ M @ N ) ) ) ) ) ).

% div_exp_eq
thf(fact_2463_not__exp__less__eq__0__int,axiom,
    ! [N: nat] :
      ~ ( ord_less_eq @ int @ ( power_power @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ N ) @ ( zero_zero @ int ) ) ).

% not_exp_less_eq_0_int
thf(fact_2464_bits__stable__imp__add__self,axiom,
    ! [A: $tType] :
      ( ( bit_semiring_bits @ A )
     => ! [A3: A] :
          ( ( ( divide_divide @ A @ A3 @ ( numeral_numeral @ A @ ( bit0 @ one ) ) )
            = A3 )
         => ( ( plus_plus @ A @ A3 @ ( modulo_modulo @ A @ A3 @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) )
            = ( zero_zero @ A ) ) ) ) ).

% bits_stable_imp_add_self
thf(fact_2465_div__exp__mod__exp__eq,axiom,
    ! [A: $tType] :
      ( ( bit_semiring_bits @ A )
     => ! [A3: A,N: nat,M: nat] :
          ( ( modulo_modulo @ A @ ( divide_divide @ A @ A3 @ ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ N ) ) @ ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ M ) )
          = ( divide_divide @ A @ ( modulo_modulo @ A @ A3 @ ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ ( plus_plus @ nat @ N @ M ) ) ) @ ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ N ) ) ) ) ).

% div_exp_mod_exp_eq
thf(fact_2466_set__bit__0,axiom,
    ! [A: $tType] :
      ( ( bit_se359711467146920520ations @ A )
     => ! [A3: A] :
          ( ( bit_se5668285175392031749et_bit @ A @ ( zero_zero @ nat ) @ A3 )
          = ( plus_plus @ A @ ( one_one @ A ) @ ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ ( divide_divide @ A @ A3 @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) ) ) ) ) ).

% set_bit_0
thf(fact_2467_unset__bit__Suc,axiom,
    ! [A: $tType] :
      ( ( bit_se359711467146920520ations @ A )
     => ! [N: nat,A3: A] :
          ( ( bit_se2638667681897837118et_bit @ A @ ( suc @ N ) @ A3 )
          = ( plus_plus @ A @ ( modulo_modulo @ A @ A3 @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) @ ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ ( bit_se2638667681897837118et_bit @ A @ N @ ( divide_divide @ A @ A3 @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) ) ) ) ) ) ).

% unset_bit_Suc
thf(fact_2468_flip__bit__Suc,axiom,
    ! [A: $tType] :
      ( ( bit_se359711467146920520ations @ A )
     => ! [N: nat,A3: A] :
          ( ( bit_se8732182000553998342ip_bit @ A @ ( suc @ N ) @ A3 )
          = ( plus_plus @ A @ ( modulo_modulo @ A @ A3 @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) @ ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ ( bit_se8732182000553998342ip_bit @ A @ N @ ( divide_divide @ A @ A3 @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) ) ) ) ) ) ).

% flip_bit_Suc
thf(fact_2469_set__bit__Suc,axiom,
    ! [A: $tType] :
      ( ( bit_se359711467146920520ations @ A )
     => ! [N: nat,A3: A] :
          ( ( bit_se5668285175392031749et_bit @ A @ ( suc @ N ) @ A3 )
          = ( plus_plus @ A @ ( modulo_modulo @ A @ A3 @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) @ ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ ( bit_se5668285175392031749et_bit @ A @ N @ ( divide_divide @ A @ A3 @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) ) ) ) ) ) ).

% set_bit_Suc
thf(fact_2470_signed__take__bit__rec,axiom,
    ! [A: $tType] :
      ( ( bit_ri3973907225187159222ations @ A )
     => ( ( bit_ri4674362597316999326ke_bit @ A )
        = ( ^ [N3: nat,A7: A] :
              ( if @ A
              @ ( N3
                = ( zero_zero @ nat ) )
              @ ( uminus_uminus @ A @ ( modulo_modulo @ A @ A7 @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) )
              @ ( plus_plus @ A @ ( modulo_modulo @ A @ A7 @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) @ ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ ( bit_ri4674362597316999326ke_bit @ A @ ( minus_minus @ nat @ N3 @ ( one_one @ nat ) ) @ ( divide_divide @ A @ A7 @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) ) ) ) ) ) ) ) ).

% signed_take_bit_rec
thf(fact_2471_round__unique,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A,Y: int] :
          ( ( ord_less @ A @ ( minus_minus @ A @ X @ ( divide_divide @ A @ ( one_one @ A ) @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) ) @ ( ring_1_of_int @ A @ Y ) )
         => ( ( ord_less_eq @ A @ ( ring_1_of_int @ A @ Y ) @ ( plus_plus @ A @ X @ ( divide_divide @ A @ ( one_one @ A ) @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) ) )
           => ( ( archimedean_round @ A @ X )
              = Y ) ) ) ) ).

% round_unique
thf(fact_2472_unset__bit__nonnegative__int__iff,axiom,
    ! [N: nat,K2: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ ( bit_se2638667681897837118et_bit @ int @ N @ K2 ) )
      = ( ord_less_eq @ int @ ( zero_zero @ int ) @ K2 ) ) ).

% unset_bit_nonnegative_int_iff
thf(fact_2473_set__bit__nonnegative__int__iff,axiom,
    ! [N: nat,K2: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ ( bit_se5668285175392031749et_bit @ int @ N @ K2 ) )
      = ( ord_less_eq @ int @ ( zero_zero @ int ) @ K2 ) ) ).

% set_bit_nonnegative_int_iff
thf(fact_2474_flip__bit__nonnegative__int__iff,axiom,
    ! [N: nat,K2: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ ( bit_se8732182000553998342ip_bit @ int @ N @ K2 ) )
      = ( ord_less_eq @ int @ ( zero_zero @ int ) @ K2 ) ) ).

% flip_bit_nonnegative_int_iff
thf(fact_2475_unset__bit__negative__int__iff,axiom,
    ! [N: nat,K2: int] :
      ( ( ord_less @ int @ ( bit_se2638667681897837118et_bit @ int @ N @ K2 ) @ ( zero_zero @ int ) )
      = ( ord_less @ int @ K2 @ ( zero_zero @ int ) ) ) ).

% unset_bit_negative_int_iff
thf(fact_2476_set__bit__negative__int__iff,axiom,
    ! [N: nat,K2: int] :
      ( ( ord_less @ int @ ( bit_se5668285175392031749et_bit @ int @ N @ K2 ) @ ( zero_zero @ int ) )
      = ( ord_less @ int @ K2 @ ( zero_zero @ int ) ) ) ).

% set_bit_negative_int_iff
thf(fact_2477_flip__bit__negative__int__iff,axiom,
    ! [N: nat,K2: int] :
      ( ( ord_less @ int @ ( bit_se8732182000553998342ip_bit @ int @ N @ K2 ) @ ( zero_zero @ int ) )
      = ( ord_less @ int @ K2 @ ( zero_zero @ int ) ) ) ).

% flip_bit_negative_int_iff
thf(fact_2478_signed__take__bit__Suc__bit1,axiom,
    ! [N: nat,K2: num] :
      ( ( bit_ri4674362597316999326ke_bit @ int @ ( suc @ N ) @ ( numeral_numeral @ int @ ( bit1 @ K2 ) ) )
      = ( plus_plus @ int @ ( times_times @ int @ ( bit_ri4674362597316999326ke_bit @ int @ N @ ( numeral_numeral @ int @ K2 ) ) @ ( numeral_numeral @ int @ ( bit0 @ one ) ) ) @ ( one_one @ int ) ) ) ).

% signed_take_bit_Suc_bit1
thf(fact_2479_signed__take__bit__Suc__minus__bit1,axiom,
    ! [N: nat,K2: num] :
      ( ( bit_ri4674362597316999326ke_bit @ int @ ( suc @ N ) @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ ( bit1 @ K2 ) ) ) )
      = ( plus_plus @ int @ ( times_times @ int @ ( bit_ri4674362597316999326ke_bit @ int @ N @ ( minus_minus @ int @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ K2 ) ) @ ( one_one @ int ) ) ) @ ( numeral_numeral @ int @ ( bit0 @ one ) ) ) @ ( one_one @ int ) ) ) ).

% signed_take_bit_Suc_minus_bit1
thf(fact_2480_signed__take__bit__add,axiom,
    ! [N: nat,K2: int,L: int] :
      ( ( bit_ri4674362597316999326ke_bit @ int @ N @ ( plus_plus @ int @ ( bit_ri4674362597316999326ke_bit @ int @ N @ K2 ) @ ( bit_ri4674362597316999326ke_bit @ int @ N @ L ) ) )
      = ( bit_ri4674362597316999326ke_bit @ int @ N @ ( plus_plus @ int @ K2 @ L ) ) ) ).

% signed_take_bit_add
thf(fact_2481_unset__bit__less__eq,axiom,
    ! [N: nat,K2: int] : ( ord_less_eq @ int @ ( bit_se2638667681897837118et_bit @ int @ N @ K2 ) @ K2 ) ).

% unset_bit_less_eq
thf(fact_2482_set__bit__greater__eq,axiom,
    ! [K2: int,N: nat] : ( ord_less_eq @ int @ K2 @ ( bit_se5668285175392031749et_bit @ int @ N @ K2 ) ) ).

% set_bit_greater_eq
thf(fact_2483_round__mono,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less_eq @ A @ X @ Y )
         => ( ord_less_eq @ int @ ( archimedean_round @ A @ X ) @ ( archimedean_round @ A @ Y ) ) ) ) ).

% round_mono
thf(fact_2484_floor__le__round,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A] : ( ord_less_eq @ int @ ( archim6421214686448440834_floor @ A @ X ) @ ( archimedean_round @ A @ X ) ) ) ).

% floor_le_round
thf(fact_2485_ceiling__ge__round,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A] : ( ord_less_eq @ int @ ( archimedean_round @ A @ X ) @ ( archimedean_ceiling @ A @ X ) ) ) ).

% ceiling_ge_round
thf(fact_2486_signed__take__bit__int__less__exp,axiom,
    ! [N: nat,K2: int] : ( ord_less @ int @ ( bit_ri4674362597316999326ke_bit @ int @ N @ K2 ) @ ( power_power @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ N ) ) ).

% signed_take_bit_int_less_exp
thf(fact_2487_round__diff__minimal,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [Z4: A,M: int] : ( ord_less_eq @ A @ ( abs_abs @ A @ ( minus_minus @ A @ Z4 @ ( ring_1_of_int @ A @ ( archimedean_round @ A @ Z4 ) ) ) ) @ ( abs_abs @ A @ ( minus_minus @ A @ Z4 @ ( ring_1_of_int @ A @ M ) ) ) ) ) ).

% round_diff_minimal
thf(fact_2488_signed__take__bit__int__greater__eq__self__iff,axiom,
    ! [K2: int,N: nat] :
      ( ( ord_less_eq @ int @ K2 @ ( bit_ri4674362597316999326ke_bit @ int @ N @ K2 ) )
      = ( ord_less @ int @ K2 @ ( power_power @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ N ) ) ) ).

% signed_take_bit_int_greater_eq_self_iff
thf(fact_2489_signed__take__bit__int__less__self__iff,axiom,
    ! [N: nat,K2: int] :
      ( ( ord_less @ int @ ( bit_ri4674362597316999326ke_bit @ int @ N @ K2 ) @ K2 )
      = ( ord_less_eq @ int @ ( power_power @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ N ) @ K2 ) ) ).

% signed_take_bit_int_less_self_iff
thf(fact_2490_signed__take__bit__int__greater__eq__minus__exp,axiom,
    ! [N: nat,K2: int] : ( ord_less_eq @ int @ ( uminus_uminus @ int @ ( power_power @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ N ) ) @ ( bit_ri4674362597316999326ke_bit @ int @ N @ K2 ) ) ).

% signed_take_bit_int_greater_eq_minus_exp
thf(fact_2491_signed__take__bit__int__less__eq__self__iff,axiom,
    ! [N: nat,K2: int] :
      ( ( ord_less_eq @ int @ ( bit_ri4674362597316999326ke_bit @ int @ N @ K2 ) @ K2 )
      = ( ord_less_eq @ int @ ( uminus_uminus @ int @ ( power_power @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ N ) ) @ K2 ) ) ).

% signed_take_bit_int_less_eq_self_iff
thf(fact_2492_signed__take__bit__int__greater__self__iff,axiom,
    ! [K2: int,N: nat] :
      ( ( ord_less @ int @ K2 @ ( bit_ri4674362597316999326ke_bit @ int @ N @ K2 ) )
      = ( ord_less @ int @ K2 @ ( uminus_uminus @ int @ ( power_power @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ N ) ) ) ) ).

% signed_take_bit_int_greater_self_iff
thf(fact_2493_signed__take__bit__int__less__eq,axiom,
    ! [N: nat,K2: int] :
      ( ( ord_less_eq @ int @ ( power_power @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ N ) @ K2 )
     => ( ord_less_eq @ int @ ( bit_ri4674362597316999326ke_bit @ int @ N @ K2 ) @ ( minus_minus @ int @ K2 @ ( power_power @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ ( suc @ N ) ) ) ) ) ).

% signed_take_bit_int_less_eq
thf(fact_2494_signed__take__bit__int__eq__self__iff,axiom,
    ! [N: nat,K2: int] :
      ( ( ( bit_ri4674362597316999326ke_bit @ int @ N @ K2 )
        = K2 )
      = ( ( ord_less_eq @ int @ ( uminus_uminus @ int @ ( power_power @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ N ) ) @ K2 )
        & ( ord_less @ int @ K2 @ ( power_power @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ N ) ) ) ) ).

% signed_take_bit_int_eq_self_iff
thf(fact_2495_signed__take__bit__int__eq__self,axiom,
    ! [N: nat,K2: int] :
      ( ( ord_less_eq @ int @ ( uminus_uminus @ int @ ( power_power @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ N ) ) @ K2 )
     => ( ( ord_less @ int @ K2 @ ( power_power @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ N ) )
       => ( ( bit_ri4674362597316999326ke_bit @ int @ N @ K2 )
          = K2 ) ) ) ).

% signed_take_bit_int_eq_self
thf(fact_2496_signed__take__bit__int__greater__eq,axiom,
    ! [K2: int,N: nat] :
      ( ( ord_less @ int @ K2 @ ( uminus_uminus @ int @ ( power_power @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ N ) ) )
     => ( ord_less_eq @ int @ ( plus_plus @ int @ K2 @ ( power_power @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ ( suc @ N ) ) ) @ ( bit_ri4674362597316999326ke_bit @ int @ N @ K2 ) ) ) ).

% signed_take_bit_int_greater_eq
thf(fact_2497_round__def,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ( ( archimedean_round @ A )
        = ( ^ [X4: A] : ( archim6421214686448440834_floor @ A @ ( plus_plus @ A @ X4 @ ( divide_divide @ A @ ( one_one @ A ) @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) ) ) ) ) ) ).

% round_def
thf(fact_2498_signed__take__bit__Suc,axiom,
    ! [A: $tType] :
      ( ( bit_ri3973907225187159222ations @ A )
     => ! [N: nat,A3: A] :
          ( ( bit_ri4674362597316999326ke_bit @ A @ ( suc @ N ) @ A3 )
          = ( plus_plus @ A @ ( modulo_modulo @ A @ A3 @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) @ ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ ( bit_ri4674362597316999326ke_bit @ A @ N @ ( divide_divide @ A @ A3 @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) ) ) ) ) ) ).

% signed_take_bit_Suc
thf(fact_2499_of__int__round__le,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A] : ( ord_less_eq @ A @ ( ring_1_of_int @ A @ ( archimedean_round @ A @ X ) ) @ ( plus_plus @ A @ X @ ( divide_divide @ A @ ( one_one @ A ) @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) ) ) ) ).

% of_int_round_le
thf(fact_2500_of__int__round__ge,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A] : ( ord_less_eq @ A @ ( minus_minus @ A @ X @ ( divide_divide @ A @ ( one_one @ A ) @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) ) @ ( ring_1_of_int @ A @ ( archimedean_round @ A @ X ) ) ) ) ).

% of_int_round_ge
thf(fact_2501_of__int__round__gt,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A] : ( ord_less @ A @ ( minus_minus @ A @ X @ ( divide_divide @ A @ ( one_one @ A ) @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) ) @ ( ring_1_of_int @ A @ ( archimedean_round @ A @ X ) ) ) ) ).

% of_int_round_gt
thf(fact_2502_of__int__round__abs__le,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A] : ( ord_less_eq @ A @ ( abs_abs @ A @ ( minus_minus @ A @ ( ring_1_of_int @ A @ ( archimedean_round @ A @ X ) ) @ X ) ) @ ( divide_divide @ A @ ( one_one @ A ) @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) ) ) ).

% of_int_round_abs_le
thf(fact_2503_round__unique_H,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [X: A,N: int] :
          ( ( ord_less @ A @ ( abs_abs @ A @ ( minus_minus @ A @ X @ ( ring_1_of_int @ A @ N ) ) ) @ ( divide_divide @ A @ ( one_one @ A ) @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) )
         => ( ( archimedean_round @ A @ X )
            = N ) ) ) ).

% round_unique'
thf(fact_2504_round__altdef,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ( ( archimedean_round @ A )
        = ( ^ [X4: A] : ( if @ int @ ( ord_less_eq @ A @ ( divide_divide @ A @ ( one_one @ A ) @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) @ ( archimedean_frac @ A @ X4 ) ) @ ( archimedean_ceiling @ A @ X4 ) @ ( archim6421214686448440834_floor @ A @ X4 ) ) ) ) ) ).

% round_altdef
thf(fact_2505_divmod__algorithm__code_I8_J,axiom,
    ! [A: $tType] :
      ( ( unique1627219031080169319umeral @ A )
     => ! [M: num,N: num] :
          ( ( ( ord_less @ num @ M @ N )
           => ( ( unique8689654367752047608divmod @ A @ ( bit1 @ M ) @ ( bit1 @ N ) )
              = ( product_Pair @ A @ A @ ( zero_zero @ A ) @ ( numeral_numeral @ A @ ( bit1 @ M ) ) ) ) )
          & ( ~ ( ord_less @ num @ M @ N )
           => ( ( unique8689654367752047608divmod @ A @ ( bit1 @ M ) @ ( bit1 @ N ) )
              = ( unique1321980374590559556d_step @ A @ ( bit1 @ N ) @ ( unique8689654367752047608divmod @ A @ ( bit1 @ M ) @ ( bit0 @ ( bit1 @ N ) ) ) ) ) ) ) ) ).

% divmod_algorithm_code(8)
thf(fact_2506_divmod__algorithm__code_I7_J,axiom,
    ! [A: $tType] :
      ( ( unique1627219031080169319umeral @ A )
     => ! [M: num,N: num] :
          ( ( ( ord_less_eq @ num @ M @ N )
           => ( ( unique8689654367752047608divmod @ A @ ( bit0 @ M ) @ ( bit1 @ N ) )
              = ( product_Pair @ A @ A @ ( zero_zero @ A ) @ ( numeral_numeral @ A @ ( bit0 @ M ) ) ) ) )
          & ( ~ ( ord_less_eq @ num @ M @ N )
           => ( ( unique8689654367752047608divmod @ A @ ( bit0 @ M ) @ ( bit1 @ N ) )
              = ( unique1321980374590559556d_step @ A @ ( bit1 @ N ) @ ( unique8689654367752047608divmod @ A @ ( bit0 @ M ) @ ( bit0 @ ( bit1 @ N ) ) ) ) ) ) ) ) ).

% divmod_algorithm_code(7)
thf(fact_2507_signed__take__bit__numeral__minus__bit1,axiom,
    ! [L: num,K2: num] :
      ( ( bit_ri4674362597316999326ke_bit @ int @ ( numeral_numeral @ nat @ L ) @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ ( bit1 @ K2 ) ) ) )
      = ( plus_plus @ int @ ( times_times @ int @ ( bit_ri4674362597316999326ke_bit @ int @ ( pred_numeral @ L ) @ ( minus_minus @ int @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ K2 ) ) @ ( one_one @ int ) ) ) @ ( numeral_numeral @ int @ ( bit0 @ one ) ) ) @ ( one_one @ int ) ) ) ).

% signed_take_bit_numeral_minus_bit1
thf(fact_2508_concat__bit__Suc,axiom,
    ! [N: nat,K2: int,L: int] :
      ( ( bit_concat_bit @ ( suc @ N ) @ K2 @ L )
      = ( plus_plus @ int @ ( modulo_modulo @ int @ K2 @ ( numeral_numeral @ int @ ( bit0 @ one ) ) ) @ ( times_times @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ ( bit_concat_bit @ N @ ( divide_divide @ int @ K2 @ ( numeral_numeral @ int @ ( bit0 @ one ) ) ) @ L ) ) ) ) ).

% concat_bit_Suc
thf(fact_2509_binomial__code,axiom,
    ( binomial
    = ( ^ [N3: nat,K3: nat] : ( if @ nat @ ( ord_less @ nat @ N3 @ K3 ) @ ( zero_zero @ nat ) @ ( if @ nat @ ( ord_less @ nat @ N3 @ ( times_times @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ K3 ) ) @ ( binomial @ N3 @ ( minus_minus @ nat @ N3 @ K3 ) ) @ ( divide_divide @ nat @ ( set_fo6178422350223883121st_nat @ nat @ ( times_times @ nat ) @ ( plus_plus @ nat @ ( minus_minus @ nat @ N3 @ K3 ) @ ( one_one @ nat ) ) @ N3 @ ( one_one @ nat ) ) @ ( semiring_char_0_fact @ nat @ K3 ) ) ) ) ) ) ).

% binomial_code
thf(fact_2510_signed__take__bit__numeral__bit1,axiom,
    ! [L: num,K2: num] :
      ( ( bit_ri4674362597316999326ke_bit @ int @ ( numeral_numeral @ nat @ L ) @ ( numeral_numeral @ int @ ( bit1 @ K2 ) ) )
      = ( plus_plus @ int @ ( times_times @ int @ ( bit_ri4674362597316999326ke_bit @ int @ ( pred_numeral @ L ) @ ( numeral_numeral @ int @ K2 ) ) @ ( numeral_numeral @ int @ ( bit0 @ one ) ) ) @ ( one_one @ int ) ) ) ).

% signed_take_bit_numeral_bit1
thf(fact_2511_binomial__eq__0__iff,axiom,
    ! [N: nat,K2: nat] :
      ( ( ( binomial @ N @ K2 )
        = ( zero_zero @ nat ) )
      = ( ord_less @ nat @ N @ K2 ) ) ).

% binomial_eq_0_iff
thf(fact_2512_binomial__Suc__Suc,axiom,
    ! [N: nat,K2: nat] :
      ( ( binomial @ ( suc @ N ) @ ( suc @ K2 ) )
      = ( plus_plus @ nat @ ( binomial @ N @ K2 ) @ ( binomial @ N @ ( suc @ K2 ) ) ) ) ).

% binomial_Suc_Suc
thf(fact_2513_concat__bit__nonnegative__iff,axiom,
    ! [N: nat,K2: int,L: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ ( bit_concat_bit @ N @ K2 @ L ) )
      = ( ord_less_eq @ int @ ( zero_zero @ int ) @ L ) ) ).

% concat_bit_nonnegative_iff
thf(fact_2514_concat__bit__negative__iff,axiom,
    ! [N: nat,K2: int,L: int] :
      ( ( ord_less @ int @ ( bit_concat_bit @ N @ K2 @ L ) @ ( zero_zero @ int ) )
      = ( ord_less @ int @ L @ ( zero_zero @ int ) ) ) ).

% concat_bit_negative_iff
thf(fact_2515_zero__less__binomial__iff,axiom,
    ! [N: nat,K2: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ ( binomial @ N @ K2 ) )
      = ( ord_less_eq @ nat @ K2 @ N ) ) ).

% zero_less_binomial_iff
thf(fact_2516_less__numeral__Suc,axiom,
    ! [K2: num,N: nat] :
      ( ( ord_less @ nat @ ( numeral_numeral @ nat @ K2 ) @ ( suc @ N ) )
      = ( ord_less @ nat @ ( pred_numeral @ K2 ) @ N ) ) ).

% less_numeral_Suc
thf(fact_2517_less__Suc__numeral,axiom,
    ! [N: nat,K2: num] :
      ( ( ord_less @ nat @ ( suc @ N ) @ ( numeral_numeral @ nat @ K2 ) )
      = ( ord_less @ nat @ N @ ( pred_numeral @ K2 ) ) ) ).

% less_Suc_numeral
thf(fact_2518_le__numeral__Suc,axiom,
    ! [K2: num,N: nat] :
      ( ( ord_less_eq @ nat @ ( numeral_numeral @ nat @ K2 ) @ ( suc @ N ) )
      = ( ord_less_eq @ nat @ ( pred_numeral @ K2 ) @ N ) ) ).

% le_numeral_Suc
thf(fact_2519_le__Suc__numeral,axiom,
    ! [N: nat,K2: num] :
      ( ( ord_less_eq @ nat @ ( suc @ N ) @ ( numeral_numeral @ nat @ K2 ) )
      = ( ord_less_eq @ nat @ N @ ( pred_numeral @ K2 ) ) ) ).

% le_Suc_numeral
thf(fact_2520_divmod__algorithm__code_I2_J,axiom,
    ! [A: $tType] :
      ( ( unique1627219031080169319umeral @ A )
     => ! [M: num] :
          ( ( unique8689654367752047608divmod @ A @ M @ one )
          = ( product_Pair @ A @ A @ ( numeral_numeral @ A @ M ) @ ( zero_zero @ A ) ) ) ) ).

% divmod_algorithm_code(2)
thf(fact_2521_divmod__algorithm__code_I3_J,axiom,
    ! [A: $tType] :
      ( ( unique1627219031080169319umeral @ A )
     => ! [N: num] :
          ( ( unique8689654367752047608divmod @ A @ one @ ( bit0 @ N ) )
          = ( product_Pair @ A @ A @ ( zero_zero @ A ) @ ( numeral_numeral @ A @ one ) ) ) ) ).

% divmod_algorithm_code(3)
thf(fact_2522_divmod__algorithm__code_I4_J,axiom,
    ! [A: $tType] :
      ( ( unique1627219031080169319umeral @ A )
     => ! [N: num] :
          ( ( unique8689654367752047608divmod @ A @ one @ ( bit1 @ N ) )
          = ( product_Pair @ A @ A @ ( zero_zero @ A ) @ ( numeral_numeral @ A @ one ) ) ) ) ).

% divmod_algorithm_code(4)
thf(fact_2523_concat__bit__assoc,axiom,
    ! [N: nat,K2: int,M: nat,L: int,R3: int] :
      ( ( bit_concat_bit @ N @ K2 @ ( bit_concat_bit @ M @ L @ R3 ) )
      = ( bit_concat_bit @ ( plus_plus @ nat @ M @ N ) @ ( bit_concat_bit @ N @ K2 @ L ) @ R3 ) ) ).

% concat_bit_assoc
thf(fact_2524_binomial__eq__0,axiom,
    ! [N: nat,K2: nat] :
      ( ( ord_less @ nat @ N @ K2 )
     => ( ( binomial @ N @ K2 )
        = ( zero_zero @ nat ) ) ) ).

% binomial_eq_0
thf(fact_2525_binomial__symmetric,axiom,
    ! [K2: nat,N: nat] :
      ( ( ord_less_eq @ nat @ K2 @ N )
     => ( ( binomial @ N @ K2 )
        = ( binomial @ N @ ( minus_minus @ nat @ N @ K2 ) ) ) ) ).

% binomial_symmetric
thf(fact_2526_choose__mult__lemma,axiom,
    ! [M: nat,R3: nat,K2: nat] :
      ( ( times_times @ nat @ ( binomial @ ( plus_plus @ nat @ ( plus_plus @ nat @ M @ R3 ) @ K2 ) @ ( plus_plus @ nat @ M @ K2 ) ) @ ( binomial @ ( plus_plus @ nat @ M @ K2 ) @ K2 ) )
      = ( times_times @ nat @ ( binomial @ ( plus_plus @ nat @ ( plus_plus @ nat @ M @ R3 ) @ K2 ) @ K2 ) @ ( binomial @ ( plus_plus @ nat @ M @ R3 ) @ M ) ) ) ).

% choose_mult_lemma
thf(fact_2527_binomial__le__pow,axiom,
    ! [R3: nat,N: nat] :
      ( ( ord_less_eq @ nat @ R3 @ N )
     => ( ord_less_eq @ nat @ ( binomial @ N @ R3 ) @ ( power_power @ nat @ N @ R3 ) ) ) ).

% binomial_le_pow
thf(fact_2528_zero__less__binomial,axiom,
    ! [K2: nat,N: nat] :
      ( ( ord_less_eq @ nat @ K2 @ N )
     => ( ord_less @ nat @ ( zero_zero @ nat ) @ ( binomial @ N @ K2 ) ) ) ).

% zero_less_binomial
thf(fact_2529_Suc__times__binomial__add,axiom,
    ! [A3: nat,B2: nat] :
      ( ( times_times @ nat @ ( suc @ A3 ) @ ( binomial @ ( suc @ ( plus_plus @ nat @ A3 @ B2 ) ) @ ( suc @ A3 ) ) )
      = ( times_times @ nat @ ( suc @ B2 ) @ ( binomial @ ( suc @ ( plus_plus @ nat @ A3 @ B2 ) ) @ A3 ) ) ) ).

% Suc_times_binomial_add
thf(fact_2530_choose__mult,axiom,
    ! [K2: nat,M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ K2 @ M )
     => ( ( ord_less_eq @ nat @ M @ N )
       => ( ( times_times @ nat @ ( binomial @ N @ M ) @ ( binomial @ M @ K2 ) )
          = ( times_times @ nat @ ( binomial @ N @ K2 ) @ ( binomial @ ( minus_minus @ nat @ N @ K2 ) @ ( minus_minus @ nat @ M @ K2 ) ) ) ) ) ) ).

% choose_mult
thf(fact_2531_binomial__fact__lemma,axiom,
    ! [K2: nat,N: nat] :
      ( ( ord_less_eq @ nat @ K2 @ N )
     => ( ( times_times @ nat @ ( times_times @ nat @ ( semiring_char_0_fact @ nat @ K2 ) @ ( semiring_char_0_fact @ nat @ ( minus_minus @ nat @ N @ K2 ) ) ) @ ( binomial @ N @ K2 ) )
        = ( semiring_char_0_fact @ nat @ N ) ) ) ).

% binomial_fact_lemma
thf(fact_2532_binomial__ge__n__over__k__pow__k,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [K2: nat,N: nat] :
          ( ( ord_less_eq @ nat @ K2 @ N )
         => ( ord_less_eq @ A @ ( power_power @ A @ ( divide_divide @ A @ ( semiring_1_of_nat @ A @ N ) @ ( semiring_1_of_nat @ A @ K2 ) ) @ K2 ) @ ( semiring_1_of_nat @ A @ ( binomial @ N @ K2 ) ) ) ) ) ).

% binomial_ge_n_over_k_pow_k
thf(fact_2533_choose__reduce__nat,axiom,
    ! [N: nat,K2: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
     => ( ( ord_less @ nat @ ( zero_zero @ nat ) @ K2 )
       => ( ( binomial @ N @ K2 )
          = ( plus_plus @ nat @ ( binomial @ ( minus_minus @ nat @ N @ ( one_one @ nat ) ) @ ( minus_minus @ nat @ K2 @ ( one_one @ nat ) ) ) @ ( binomial @ ( minus_minus @ nat @ N @ ( one_one @ nat ) ) @ K2 ) ) ) ) ) ).

% choose_reduce_nat
thf(fact_2534_times__binomial__minus1__eq,axiom,
    ! [K2: nat,N: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ K2 )
     => ( ( times_times @ nat @ K2 @ ( binomial @ N @ K2 ) )
        = ( times_times @ nat @ N @ ( binomial @ ( minus_minus @ nat @ N @ ( one_one @ nat ) ) @ ( minus_minus @ nat @ K2 @ ( one_one @ nat ) ) ) ) ) ) ).

% times_binomial_minus1_eq
thf(fact_2535_binomial__le__pow2,axiom,
    ! [N: nat,K2: nat] : ( ord_less_eq @ nat @ ( binomial @ N @ K2 ) @ ( power_power @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N ) ) ).

% binomial_le_pow2
thf(fact_2536_binomial__altdef__nat,axiom,
    ! [K2: nat,N: nat] :
      ( ( ord_less_eq @ nat @ K2 @ N )
     => ( ( binomial @ N @ K2 )
        = ( divide_divide @ nat @ ( semiring_char_0_fact @ nat @ N ) @ ( times_times @ nat @ ( semiring_char_0_fact @ nat @ K2 ) @ ( semiring_char_0_fact @ nat @ ( minus_minus @ nat @ N @ K2 ) ) ) ) ) ) ).

% binomial_altdef_nat
thf(fact_2537_divmod__def,axiom,
    ! [A: $tType] :
      ( ( unique1627219031080169319umeral @ A )
     => ( ( unique8689654367752047608divmod @ A )
        = ( ^ [M3: num,N3: num] : ( product_Pair @ A @ A @ ( divide_divide @ A @ ( numeral_numeral @ A @ M3 ) @ ( numeral_numeral @ A @ N3 ) ) @ ( modulo_modulo @ A @ ( numeral_numeral @ A @ M3 ) @ ( numeral_numeral @ A @ N3 ) ) ) ) ) ) ).

% divmod_def
thf(fact_2538_binomial__addition__formula,axiom,
    ! [N: nat,K2: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
     => ( ( binomial @ N @ ( suc @ K2 ) )
        = ( plus_plus @ nat @ ( binomial @ ( minus_minus @ nat @ N @ ( one_one @ nat ) ) @ ( suc @ K2 ) ) @ ( binomial @ ( minus_minus @ nat @ N @ ( one_one @ nat ) ) @ K2 ) ) ) ) ).

% binomial_addition_formula
thf(fact_2539_fact__binomial,axiom,
    ! [A: $tType] :
      ( ( field_char_0 @ A )
     => ! [K2: nat,N: nat] :
          ( ( ord_less_eq @ nat @ K2 @ N )
         => ( ( times_times @ A @ ( semiring_char_0_fact @ A @ K2 ) @ ( semiring_1_of_nat @ A @ ( binomial @ N @ K2 ) ) )
            = ( divide_divide @ A @ ( semiring_char_0_fact @ A @ N ) @ ( semiring_char_0_fact @ A @ ( minus_minus @ nat @ N @ K2 ) ) ) ) ) ) ).

% fact_binomial
thf(fact_2540_binomial__fact,axiom,
    ! [A: $tType] :
      ( ( field_char_0 @ A )
     => ! [K2: nat,N: nat] :
          ( ( ord_less_eq @ nat @ K2 @ N )
         => ( ( semiring_1_of_nat @ A @ ( binomial @ N @ K2 ) )
            = ( divide_divide @ A @ ( semiring_char_0_fact @ A @ N ) @ ( times_times @ A @ ( semiring_char_0_fact @ A @ K2 ) @ ( semiring_char_0_fact @ A @ ( minus_minus @ nat @ N @ K2 ) ) ) ) ) ) ) ).

% binomial_fact
thf(fact_2541_divmod__divmod__step,axiom,
    ! [A: $tType] :
      ( ( unique1627219031080169319umeral @ A )
     => ( ( unique8689654367752047608divmod @ A )
        = ( ^ [M3: num,N3: num] : ( if @ ( product_prod @ A @ A ) @ ( ord_less @ num @ M3 @ N3 ) @ ( product_Pair @ A @ A @ ( zero_zero @ A ) @ ( numeral_numeral @ A @ M3 ) ) @ ( unique1321980374590559556d_step @ A @ N3 @ ( unique8689654367752047608divmod @ A @ M3 @ ( bit0 @ N3 ) ) ) ) ) ) ) ).

% divmod_divmod_step
thf(fact_2542_take__bit__numeral__minus__bit1,axiom,
    ! [L: num,K2: num] :
      ( ( bit_se2584673776208193580ke_bit @ int @ ( numeral_numeral @ nat @ L ) @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ ( bit1 @ K2 ) ) ) )
      = ( plus_plus @ int @ ( times_times @ int @ ( bit_se2584673776208193580ke_bit @ int @ ( pred_numeral @ L ) @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ ( inc @ K2 ) ) ) ) @ ( numeral_numeral @ int @ ( bit0 @ one ) ) ) @ ( one_one @ int ) ) ) ).

% take_bit_numeral_minus_bit1
thf(fact_2543_even__succ__mod__exp,axiom,
    ! [A: $tType] :
      ( ( bit_semiring_bits @ A )
     => ! [A3: A,N: nat] :
          ( ( dvd_dvd @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ A3 )
         => ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
           => ( ( modulo_modulo @ A @ ( plus_plus @ A @ ( one_one @ A ) @ A3 ) @ ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ N ) )
              = ( plus_plus @ A @ ( one_one @ A ) @ ( modulo_modulo @ A @ A3 @ ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ N ) ) ) ) ) ) ) ).

% even_succ_mod_exp
thf(fact_2544_even__succ__div__exp,axiom,
    ! [A: $tType] :
      ( ( bit_semiring_bits @ A )
     => ! [A3: A,N: nat] :
          ( ( dvd_dvd @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ A3 )
         => ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
           => ( ( divide_divide @ A @ ( plus_plus @ A @ ( one_one @ A ) @ A3 ) @ ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ N ) )
              = ( divide_divide @ A @ A3 @ ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ N ) ) ) ) ) ) ).

% even_succ_div_exp
thf(fact_2545_divmod__algorithm__code_I6_J,axiom,
    ! [A: $tType] :
      ( ( unique1627219031080169319umeral @ A )
     => ! [M: num,N: num] :
          ( ( unique8689654367752047608divmod @ A @ ( bit1 @ M ) @ ( bit0 @ N ) )
          = ( product_case_prod @ A @ A @ ( product_prod @ A @ A )
            @ ^ [Q8: A,R5: A] : ( product_Pair @ A @ A @ Q8 @ ( plus_plus @ A @ ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ R5 ) @ ( one_one @ A ) ) )
            @ ( unique8689654367752047608divmod @ A @ M @ N ) ) ) ) ).

% divmod_algorithm_code(6)
thf(fact_2546_mask__numeral,axiom,
    ! [A: $tType] :
      ( ( bit_se359711467146920520ations @ A )
     => ! [N: num] :
          ( ( bit_se2239418461657761734s_mask @ A @ ( numeral_numeral @ nat @ N ) )
          = ( plus_plus @ A @ ( one_one @ A ) @ ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ ( bit_se2239418461657761734s_mask @ A @ ( pred_numeral @ N ) ) ) ) ) ) ).

% mask_numeral
thf(fact_2547_take__bit__rec,axiom,
    ! [A: $tType] :
      ( ( bit_se359711467146920520ations @ A )
     => ( ( bit_se2584673776208193580ke_bit @ A )
        = ( ^ [N3: nat,A7: A] :
              ( if @ A
              @ ( N3
                = ( zero_zero @ nat ) )
              @ ( zero_zero @ A )
              @ ( plus_plus @ A @ ( times_times @ A @ ( bit_se2584673776208193580ke_bit @ A @ ( minus_minus @ nat @ N3 @ ( one_one @ nat ) ) @ ( divide_divide @ A @ A7 @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) ) @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) @ ( modulo_modulo @ A @ A7 @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) ) ) ) ) ) ).

% take_bit_rec
thf(fact_2548_nat__dvd__1__iff__1,axiom,
    ! [M: nat] :
      ( ( dvd_dvd @ nat @ M @ ( one_one @ nat ) )
      = ( M
        = ( one_one @ nat ) ) ) ).

% nat_dvd_1_iff_1
thf(fact_2549_dvd__add__triv__left__iff,axiom,
    ! [A: $tType] :
      ( ( comm_s4317794764714335236cancel @ A )
     => ! [A3: A,B2: A] :
          ( ( dvd_dvd @ A @ A3 @ ( plus_plus @ A @ A3 @ B2 ) )
          = ( dvd_dvd @ A @ A3 @ B2 ) ) ) ).

% dvd_add_triv_left_iff
thf(fact_2550_dvd__add__triv__right__iff,axiom,
    ! [A: $tType] :
      ( ( comm_s4317794764714335236cancel @ A )
     => ! [A3: A,B2: A] :
          ( ( dvd_dvd @ A @ A3 @ ( plus_plus @ A @ B2 @ A3 ) )
          = ( dvd_dvd @ A @ A3 @ B2 ) ) ) ).

% dvd_add_triv_right_iff
thf(fact_2551_dvd__1__left,axiom,
    ! [K2: nat] : ( dvd_dvd @ nat @ ( suc @ ( zero_zero @ nat ) ) @ K2 ) ).

% dvd_1_left
thf(fact_2552_dvd__1__iff__1,axiom,
    ! [M: nat] :
      ( ( dvd_dvd @ nat @ M @ ( suc @ ( zero_zero @ nat ) ) )
      = ( M
        = ( suc @ ( zero_zero @ nat ) ) ) ) ).

% dvd_1_iff_1
thf(fact_2553_mask__nat__positive__iff,axiom,
    ! [N: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ ( bit_se2239418461657761734s_mask @ nat @ N ) )
      = ( ord_less @ nat @ ( zero_zero @ nat ) @ N ) ) ).

% mask_nat_positive_iff
thf(fact_2554_case__prod__conv,axiom,
    ! [B: $tType,A: $tType,C: $tType,F3: B > C > A,A3: B,B2: C] :
      ( ( product_case_prod @ B @ C @ A @ F3 @ ( product_Pair @ B @ C @ A3 @ B2 ) )
      = ( F3 @ A3 @ B2 ) ) ).

% case_prod_conv
thf(fact_2555_curry__case__prod,axiom,
    ! [C: $tType,B: $tType,A: $tType,F3: A > B > C] :
      ( ( product_curry @ A @ B @ C @ ( product_case_prod @ A @ B @ C @ F3 ) )
      = F3 ) ).

% curry_case_prod
thf(fact_2556_case__prod__curry,axiom,
    ! [C: $tType,B: $tType,A: $tType,F3: ( product_prod @ A @ B ) > C] :
      ( ( product_case_prod @ A @ B @ C @ ( product_curry @ A @ B @ C @ F3 ) )
      = F3 ) ).

% case_prod_curry
thf(fact_2557_dvd__add__times__triv__left__iff,axiom,
    ! [A: $tType] :
      ( ( comm_s4317794764714335236cancel @ A )
     => ! [A3: A,C3: A,B2: A] :
          ( ( dvd_dvd @ A @ A3 @ ( plus_plus @ A @ ( times_times @ A @ C3 @ A3 ) @ B2 ) )
          = ( dvd_dvd @ A @ A3 @ B2 ) ) ) ).

% dvd_add_times_triv_left_iff
thf(fact_2558_dvd__add__times__triv__right__iff,axiom,
    ! [A: $tType] :
      ( ( comm_s4317794764714335236cancel @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( dvd_dvd @ A @ A3 @ ( plus_plus @ A @ B2 @ ( times_times @ A @ C3 @ A3 ) ) )
          = ( dvd_dvd @ A @ A3 @ B2 ) ) ) ).

% dvd_add_times_triv_right_iff
thf(fact_2559_div__add,axiom,
    ! [A: $tType] :
      ( ( algebraic_semidom @ A )
     => ! [C3: A,A3: A,B2: A] :
          ( ( dvd_dvd @ A @ C3 @ A3 )
         => ( ( dvd_dvd @ A @ C3 @ B2 )
           => ( ( divide_divide @ A @ ( plus_plus @ A @ A3 @ B2 ) @ C3 )
              = ( plus_plus @ A @ ( divide_divide @ A @ A3 @ C3 ) @ ( divide_divide @ A @ B2 @ C3 ) ) ) ) ) ) ).

% div_add
thf(fact_2560_pow__divides__pow__iff,axiom,
    ! [A: $tType] :
      ( ( semiring_gcd @ A )
     => ! [N: nat,A3: A,B2: A] :
          ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
         => ( ( dvd_dvd @ A @ ( power_power @ A @ A3 @ N ) @ ( power_power @ A @ B2 @ N ) )
            = ( dvd_dvd @ A @ A3 @ B2 ) ) ) ) ).

% pow_divides_pow_iff
thf(fact_2561_odd__add,axiom,
    ! [A: $tType] :
      ( ( semiring_parity @ A )
     => ! [A3: A,B2: A] :
          ( ( ~ ( dvd_dvd @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ ( plus_plus @ A @ A3 @ B2 ) ) )
          = ( ( ~ ( dvd_dvd @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ A3 ) )
           != ( ~ ( dvd_dvd @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ B2 ) ) ) ) ) ).

% odd_add
thf(fact_2562_even__add,axiom,
    ! [A: $tType] :
      ( ( semiring_parity @ A )
     => ! [A3: A,B2: A] :
          ( ( dvd_dvd @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ ( plus_plus @ A @ A3 @ B2 ) )
          = ( ( dvd_dvd @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ A3 )
            = ( dvd_dvd @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ B2 ) ) ) ) ).

% even_add
thf(fact_2563_even__plus__one__iff,axiom,
    ! [A: $tType] :
      ( ( semiring_parity @ A )
     => ! [A3: A] :
          ( ( dvd_dvd @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ ( plus_plus @ A @ A3 @ ( one_one @ A ) ) )
          = ( ~ ( dvd_dvd @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ A3 ) ) ) ) ).

% even_plus_one_iff
thf(fact_2564_even__diff,axiom,
    ! [A: $tType] :
      ( ( ring_parity @ A )
     => ! [A3: A,B2: A] :
          ( ( dvd_dvd @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ ( minus_minus @ A @ A3 @ B2 ) )
          = ( dvd_dvd @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ ( plus_plus @ A @ A3 @ B2 ) ) ) ) ).

% even_diff
thf(fact_2565_zero__le__power__eq__numeral,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [A3: A,W2: num] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( power_power @ A @ A3 @ ( numeral_numeral @ nat @ W2 ) ) )
          = ( ( dvd_dvd @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ ( numeral_numeral @ nat @ W2 ) )
            | ( ~ ( dvd_dvd @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ ( numeral_numeral @ nat @ W2 ) )
              & ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 ) ) ) ) ) ).

% zero_le_power_eq_numeral
thf(fact_2566_power__less__zero__eq__numeral,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [A3: A,W2: num] :
          ( ( ord_less @ A @ ( power_power @ A @ A3 @ ( numeral_numeral @ nat @ W2 ) ) @ ( zero_zero @ A ) )
          = ( ~ ( dvd_dvd @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ ( numeral_numeral @ nat @ W2 ) )
            & ( ord_less @ A @ A3 @ ( zero_zero @ A ) ) ) ) ) ).

% power_less_zero_eq_numeral
thf(fact_2567_power__less__zero__eq,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [A3: A,N: nat] :
          ( ( ord_less @ A @ ( power_power @ A @ A3 @ N ) @ ( zero_zero @ A ) )
          = ( ~ ( dvd_dvd @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N )
            & ( ord_less @ A @ A3 @ ( zero_zero @ A ) ) ) ) ) ).

% power_less_zero_eq
thf(fact_2568_even__diff__nat,axiom,
    ! [M: nat,N: nat] :
      ( ( dvd_dvd @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ ( minus_minus @ nat @ M @ N ) )
      = ( ( ord_less @ nat @ M @ N )
        | ( dvd_dvd @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ ( plus_plus @ nat @ M @ N ) ) ) ) ).

% even_diff_nat
thf(fact_2569_odd__succ__div__two,axiom,
    ! [A: $tType] :
      ( ( euclid5411537665997757685th_nat @ A )
     => ! [A3: A] :
          ( ~ ( dvd_dvd @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ A3 )
         => ( ( divide_divide @ A @ ( plus_plus @ A @ A3 @ ( one_one @ A ) ) @ ( numeral_numeral @ A @ ( bit0 @ one ) ) )
            = ( plus_plus @ A @ ( divide_divide @ A @ A3 @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) @ ( one_one @ A ) ) ) ) ) ).

% odd_succ_div_two
thf(fact_2570_even__succ__div__two,axiom,
    ! [A: $tType] :
      ( ( euclid5411537665997757685th_nat @ A )
     => ! [A3: A] :
          ( ( dvd_dvd @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ A3 )
         => ( ( divide_divide @ A @ ( plus_plus @ A @ A3 @ ( one_one @ A ) ) @ ( numeral_numeral @ A @ ( bit0 @ one ) ) )
            = ( divide_divide @ A @ A3 @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) ) ) ) ).

% even_succ_div_two
thf(fact_2571_even__succ__div__2,axiom,
    ! [A: $tType] :
      ( ( bit_semiring_bits @ A )
     => ! [A3: A] :
          ( ( dvd_dvd @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ A3 )
         => ( ( divide_divide @ A @ ( plus_plus @ A @ ( one_one @ A ) @ A3 ) @ ( numeral_numeral @ A @ ( bit0 @ one ) ) )
            = ( divide_divide @ A @ A3 @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) ) ) ) ).

% even_succ_div_2
thf(fact_2572_zero__less__power__eq__numeral,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [A3: A,W2: num] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ ( power_power @ A @ A3 @ ( numeral_numeral @ nat @ W2 ) ) )
          = ( ( ( numeral_numeral @ nat @ W2 )
              = ( zero_zero @ nat ) )
            | ( ( dvd_dvd @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ ( numeral_numeral @ nat @ W2 ) )
              & ( A3
               != ( zero_zero @ A ) ) )
            | ( ~ ( dvd_dvd @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ ( numeral_numeral @ nat @ W2 ) )
              & ( ord_less @ A @ ( zero_zero @ A ) @ A3 ) ) ) ) ) ).

% zero_less_power_eq_numeral
thf(fact_2573_even__power,axiom,
    ! [A: $tType] :
      ( ( semiring_parity @ A )
     => ! [A3: A,N: nat] :
          ( ( dvd_dvd @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ ( power_power @ A @ A3 @ N ) )
          = ( ( dvd_dvd @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ A3 )
            & ( ord_less @ nat @ ( zero_zero @ nat ) @ N ) ) ) ) ).

% even_power
thf(fact_2574_divmod__algorithm__code_I5_J,axiom,
    ! [A: $tType] :
      ( ( unique1627219031080169319umeral @ A )
     => ! [M: num,N: num] :
          ( ( unique8689654367752047608divmod @ A @ ( bit0 @ M ) @ ( bit0 @ N ) )
          = ( product_case_prod @ A @ A @ ( product_prod @ A @ A )
            @ ^ [Q8: A,R5: A] : ( product_Pair @ A @ A @ Q8 @ ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ R5 ) )
            @ ( unique8689654367752047608divmod @ A @ M @ N ) ) ) ) ).

% divmod_algorithm_code(5)
thf(fact_2575_odd__two__times__div__two__succ,axiom,
    ! [A: $tType] :
      ( ( euclid5411537665997757685th_nat @ A )
     => ! [A3: A] :
          ( ~ ( dvd_dvd @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ A3 )
         => ( ( plus_plus @ A @ ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ ( divide_divide @ A @ A3 @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) ) @ ( one_one @ A ) )
            = A3 ) ) ) ).

% odd_two_times_div_two_succ
thf(fact_2576_power__le__zero__eq__numeral,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [A3: A,W2: num] :
          ( ( ord_less_eq @ A @ ( power_power @ A @ A3 @ ( numeral_numeral @ nat @ W2 ) ) @ ( zero_zero @ A ) )
          = ( ( ord_less @ nat @ ( zero_zero @ nat ) @ ( numeral_numeral @ nat @ W2 ) )
            & ( ( ~ ( dvd_dvd @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ ( numeral_numeral @ nat @ W2 ) )
                & ( ord_less_eq @ A @ A3 @ ( zero_zero @ A ) ) )
              | ( ( dvd_dvd @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ ( numeral_numeral @ nat @ W2 ) )
                & ( A3
                  = ( zero_zero @ A ) ) ) ) ) ) ) ).

% power_le_zero_eq_numeral
thf(fact_2577_case__prod__app,axiom,
    ! [A: $tType,D: $tType,C: $tType,B: $tType] :
      ( ( product_case_prod @ B @ C @ ( D > A ) )
      = ( ^ [F4: B > C > D > A,X4: product_prod @ B @ C,Y4: D] :
            ( product_case_prod @ B @ C @ A
            @ ^ [L2: B,R5: C] : ( F4 @ L2 @ R5 @ Y4 )
            @ X4 ) ) ) ).

% case_prod_app
thf(fact_2578_nested__case__prod__simp,axiom,
    ! [A: $tType,D: $tType,C: $tType,B: $tType] :
      ( ( product_case_prod @ B @ C @ ( D > A ) )
      = ( ^ [F4: B > C > D > A,X4: product_prod @ B @ C,Y4: D] :
            ( product_case_prod @ B @ C @ A
            @ ^ [A7: B,B5: C] : ( F4 @ A7 @ B5 @ Y4 )
            @ X4 ) ) ) ).

% nested_case_prod_simp
thf(fact_2579_prod_Ocase__distrib,axiom,
    ! [C: $tType,D: $tType,B: $tType,A: $tType,H: C > D,F3: A > B > C,Prod: product_prod @ A @ B] :
      ( ( H @ ( product_case_prod @ A @ B @ C @ F3 @ Prod ) )
      = ( product_case_prod @ A @ B @ D
        @ ^ [X12: A,X23: B] : ( H @ ( F3 @ X12 @ X23 ) )
        @ Prod ) ) ).

% prod.case_distrib
thf(fact_2580_take__bit__add,axiom,
    ! [A: $tType] :
      ( ( bit_un5681908812861735899ations @ A )
     => ! [N: nat,A3: A,B2: A] :
          ( ( bit_se2584673776208193580ke_bit @ A @ N @ ( plus_plus @ A @ ( bit_se2584673776208193580ke_bit @ A @ N @ A3 ) @ ( bit_se2584673776208193580ke_bit @ A @ N @ B2 ) ) )
          = ( bit_se2584673776208193580ke_bit @ A @ N @ ( plus_plus @ A @ A3 @ B2 ) ) ) ) ).

% take_bit_add
thf(fact_2581_take__bit__tightened,axiom,
    ! [A: $tType] :
      ( ( bit_se359711467146920520ations @ A )
     => ! [N: nat,A3: A,B2: A,M: nat] :
          ( ( ( bit_se2584673776208193580ke_bit @ A @ N @ A3 )
            = ( bit_se2584673776208193580ke_bit @ A @ N @ B2 ) )
         => ( ( ord_less_eq @ nat @ M @ N )
           => ( ( bit_se2584673776208193580ke_bit @ A @ M @ A3 )
              = ( bit_se2584673776208193580ke_bit @ A @ M @ B2 ) ) ) ) ) ).

% take_bit_tightened
thf(fact_2582_take__bit__tightened__less__eq__nat,axiom,
    ! [M: nat,N: nat,Q6: nat] :
      ( ( ord_less_eq @ nat @ M @ N )
     => ( ord_less_eq @ nat @ ( bit_se2584673776208193580ke_bit @ nat @ M @ Q6 ) @ ( bit_se2584673776208193580ke_bit @ nat @ N @ Q6 ) ) ) ).

% take_bit_tightened_less_eq_nat
thf(fact_2583_take__bit__nat__less__eq__self,axiom,
    ! [N: nat,M: nat] : ( ord_less_eq @ nat @ ( bit_se2584673776208193580ke_bit @ nat @ N @ M ) @ M ) ).

% take_bit_nat_less_eq_self
thf(fact_2584_dvd__add,axiom,
    ! [A: $tType] :
      ( ( comm_semiring_1 @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( dvd_dvd @ A @ A3 @ B2 )
         => ( ( dvd_dvd @ A @ A3 @ C3 )
           => ( dvd_dvd @ A @ A3 @ ( plus_plus @ A @ B2 @ C3 ) ) ) ) ) ).

% dvd_add
thf(fact_2585_dvd__add__left__iff,axiom,
    ! [A: $tType] :
      ( ( comm_s4317794764714335236cancel @ A )
     => ! [A3: A,C3: A,B2: A] :
          ( ( dvd_dvd @ A @ A3 @ C3 )
         => ( ( dvd_dvd @ A @ A3 @ ( plus_plus @ A @ B2 @ C3 ) )
            = ( dvd_dvd @ A @ A3 @ B2 ) ) ) ) ).

% dvd_add_left_iff
thf(fact_2586_dvd__add__right__iff,axiom,
    ! [A: $tType] :
      ( ( comm_s4317794764714335236cancel @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( dvd_dvd @ A @ A3 @ B2 )
         => ( ( dvd_dvd @ A @ A3 @ ( plus_plus @ A @ B2 @ C3 ) )
            = ( dvd_dvd @ A @ A3 @ C3 ) ) ) ) ).

% dvd_add_right_iff
thf(fact_2587_old_Oprod_Ocase,axiom,
    ! [A: $tType,C: $tType,B: $tType,F3: A > B > C,X1: A,X2: B] :
      ( ( product_case_prod @ A @ B @ C @ F3 @ ( product_Pair @ A @ B @ X1 @ X2 ) )
      = ( F3 @ X1 @ X2 ) ) ).

% old.prod.case
thf(fact_2588_split__cong,axiom,
    ! [C: $tType,B: $tType,A: $tType,Q6: product_prod @ A @ B,F3: A > B > C,G3: A > B > C,P3: product_prod @ A @ B] :
      ( ! [X3: A,Y3: B] :
          ( ( ( product_Pair @ A @ B @ X3 @ Y3 )
            = Q6 )
         => ( ( F3 @ X3 @ Y3 )
            = ( G3 @ X3 @ Y3 ) ) )
     => ( ( P3 = Q6 )
       => ( ( product_case_prod @ A @ B @ C @ F3 @ P3 )
          = ( product_case_prod @ A @ B @ C @ G3 @ Q6 ) ) ) ) ).

% split_cong
thf(fact_2589_dvd__diff__nat,axiom,
    ! [K2: nat,M: nat,N: nat] :
      ( ( dvd_dvd @ nat @ K2 @ M )
     => ( ( dvd_dvd @ nat @ K2 @ N )
       => ( dvd_dvd @ nat @ K2 @ ( minus_minus @ nat @ M @ N ) ) ) ) ).

% dvd_diff_nat
thf(fact_2590_uminus__dvd__conv_I1_J,axiom,
    ( ( dvd_dvd @ int )
    = ( ^ [D6: int] : ( dvd_dvd @ int @ ( uminus_uminus @ int @ D6 ) ) ) ) ).

% uminus_dvd_conv(1)
thf(fact_2591_uminus__dvd__conv_I2_J,axiom,
    ( ( dvd_dvd @ int )
    = ( ^ [D6: int,T6: int] : ( dvd_dvd @ int @ D6 @ ( uminus_uminus @ int @ T6 ) ) ) ) ).

% uminus_dvd_conv(2)
thf(fact_2592_less__eq__mask,axiom,
    ! [N: nat] : ( ord_less_eq @ nat @ N @ ( bit_se2239418461657761734s_mask @ nat @ N ) ) ).

% less_eq_mask
thf(fact_2593_case__prod__Pair__iden,axiom,
    ! [B: $tType,A: $tType,P3: product_prod @ A @ B] :
      ( ( product_case_prod @ A @ B @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B ) @ P3 )
      = P3 ) ).

% case_prod_Pair_iden
thf(fact_2594_nat__take__bit__eq,axiom,
    ! [K2: int,N: nat] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ K2 )
     => ( ( nat2 @ ( bit_se2584673776208193580ke_bit @ int @ N @ K2 ) )
        = ( bit_se2584673776208193580ke_bit @ nat @ N @ ( nat2 @ K2 ) ) ) ) ).

% nat_take_bit_eq
thf(fact_2595_take__bit__nat__eq,axiom,
    ! [K2: int,N: nat] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ K2 )
     => ( ( bit_se2584673776208193580ke_bit @ nat @ N @ ( nat2 @ K2 ) )
        = ( nat2 @ ( bit_se2584673776208193580ke_bit @ int @ N @ K2 ) ) ) ) ).

% take_bit_nat_eq
thf(fact_2596_case__prodE2,axiom,
    ! [B: $tType,A: $tType,C: $tType,Q2: A > $o,P2: B > C > A,Z4: product_prod @ B @ C] :
      ( ( Q2 @ ( product_case_prod @ B @ C @ A @ P2 @ Z4 ) )
     => ~ ! [X3: B,Y3: C] :
            ( ( Z4
              = ( product_Pair @ B @ C @ X3 @ Y3 ) )
           => ~ ( Q2 @ ( P2 @ X3 @ Y3 ) ) ) ) ).

% case_prodE2
thf(fact_2597_case__prod__eta,axiom,
    ! [C: $tType,B: $tType,A: $tType,F3: ( product_prod @ A @ B ) > C] :
      ( ( product_case_prod @ A @ B @ C
        @ ^ [X4: A,Y4: B] : ( F3 @ ( product_Pair @ A @ B @ X4 @ Y4 ) ) )
      = F3 ) ).

% case_prod_eta
thf(fact_2598_cond__case__prod__eta,axiom,
    ! [C: $tType,B: $tType,A: $tType,F3: A > B > C,G3: ( product_prod @ A @ B ) > C] :
      ( ! [X3: A,Y3: B] :
          ( ( F3 @ X3 @ Y3 )
          = ( G3 @ ( product_Pair @ A @ B @ X3 @ Y3 ) ) )
     => ( ( product_case_prod @ A @ B @ C @ F3 )
        = G3 ) ) ).

% cond_case_prod_eta
thf(fact_2599_subset__divisors__dvd,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ ( set @ A )
            @ ( collect @ A
              @ ^ [C4: A] : ( dvd_dvd @ A @ C4 @ A3 ) )
            @ ( collect @ A
              @ ^ [C4: A] : ( dvd_dvd @ A @ C4 @ B2 ) ) )
          = ( dvd_dvd @ A @ A3 @ B2 ) ) ) ).

% subset_divisors_dvd
thf(fact_2600_take__bit__eq__mask__iff,axiom,
    ! [N: nat,K2: int] :
      ( ( ( bit_se2584673776208193580ke_bit @ int @ N @ K2 )
        = ( bit_se2239418461657761734s_mask @ int @ N ) )
      = ( ( bit_se2584673776208193580ke_bit @ int @ N @ ( plus_plus @ int @ K2 @ ( one_one @ int ) ) )
        = ( zero_zero @ int ) ) ) ).

% take_bit_eq_mask_iff
thf(fact_2601_strict__subset__divisors__dvd,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ ( set @ A )
            @ ( collect @ A
              @ ^ [C4: A] : ( dvd_dvd @ A @ C4 @ A3 ) )
            @ ( collect @ A
              @ ^ [C4: A] : ( dvd_dvd @ A @ C4 @ B2 ) ) )
          = ( ( dvd_dvd @ A @ A3 @ B2 )
            & ~ ( dvd_dvd @ A @ B2 @ A3 ) ) ) ) ).

% strict_subset_divisors_dvd
thf(fact_2602_take__bit__eq__mask__iff__exp__dvd,axiom,
    ! [N: nat,K2: int] :
      ( ( ( bit_se2584673776208193580ke_bit @ int @ N @ K2 )
        = ( bit_se2239418461657761734s_mask @ int @ N ) )
      = ( dvd_dvd @ int @ ( power_power @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ N ) @ ( plus_plus @ int @ K2 @ ( one_one @ int ) ) ) ) ).

% take_bit_eq_mask_iff_exp_dvd
thf(fact_2603_take__bit__tightened__less__eq__int,axiom,
    ! [M: nat,N: nat,K2: int] :
      ( ( ord_less_eq @ nat @ M @ N )
     => ( ord_less_eq @ int @ ( bit_se2584673776208193580ke_bit @ int @ M @ K2 ) @ ( bit_se2584673776208193580ke_bit @ int @ N @ K2 ) ) ) ).

% take_bit_tightened_less_eq_int
thf(fact_2604_take__bit__int__less__eq__self__iff,axiom,
    ! [N: nat,K2: int] :
      ( ( ord_less_eq @ int @ ( bit_se2584673776208193580ke_bit @ int @ N @ K2 ) @ K2 )
      = ( ord_less_eq @ int @ ( zero_zero @ int ) @ K2 ) ) ).

% take_bit_int_less_eq_self_iff
thf(fact_2605_take__bit__nonnegative,axiom,
    ! [N: nat,K2: int] : ( ord_less_eq @ int @ ( zero_zero @ int ) @ ( bit_se2584673776208193580ke_bit @ int @ N @ K2 ) ) ).

% take_bit_nonnegative
thf(fact_2606_take__bit__int__greater__self__iff,axiom,
    ! [K2: int,N: nat] :
      ( ( ord_less @ int @ K2 @ ( bit_se2584673776208193580ke_bit @ int @ N @ K2 ) )
      = ( ord_less @ int @ K2 @ ( zero_zero @ int ) ) ) ).

% take_bit_int_greater_self_iff
thf(fact_2607_not__take__bit__negative,axiom,
    ! [N: nat,K2: int] :
      ~ ( ord_less @ int @ ( bit_se2584673776208193580ke_bit @ int @ N @ K2 ) @ ( zero_zero @ int ) ) ).

% not_take_bit_negative
thf(fact_2608_pinf_I9_J,axiom,
    ! [B: $tType] :
      ( ( ( plus @ B )
        & ( linorder @ B )
        & ( dvd @ B ) )
     => ! [D3: B,S2: B] :
        ? [Z3: B] :
        ! [X6: B] :
          ( ( ord_less @ B @ Z3 @ X6 )
         => ( ( dvd_dvd @ B @ D3 @ ( plus_plus @ B @ X6 @ S2 ) )
            = ( dvd_dvd @ B @ D3 @ ( plus_plus @ B @ X6 @ S2 ) ) ) ) ) ).

% pinf(9)
thf(fact_2609_pinf_I10_J,axiom,
    ! [B: $tType] :
      ( ( ( plus @ B )
        & ( linorder @ B )
        & ( dvd @ B ) )
     => ! [D3: B,S2: B] :
        ? [Z3: B] :
        ! [X6: B] :
          ( ( ord_less @ B @ Z3 @ X6 )
         => ( ( ~ ( dvd_dvd @ B @ D3 @ ( plus_plus @ B @ X6 @ S2 ) ) )
            = ( ~ ( dvd_dvd @ B @ D3 @ ( plus_plus @ B @ X6 @ S2 ) ) ) ) ) ) ).

% pinf(10)
thf(fact_2610_minf_I9_J,axiom,
    ! [B: $tType] :
      ( ( ( plus @ B )
        & ( linorder @ B )
        & ( dvd @ B ) )
     => ! [D3: B,S2: B] :
        ? [Z3: B] :
        ! [X6: B] :
          ( ( ord_less @ B @ X6 @ Z3 )
         => ( ( dvd_dvd @ B @ D3 @ ( plus_plus @ B @ X6 @ S2 ) )
            = ( dvd_dvd @ B @ D3 @ ( plus_plus @ B @ X6 @ S2 ) ) ) ) ) ).

% minf(9)
thf(fact_2611_minf_I10_J,axiom,
    ! [B: $tType] :
      ( ( ( plus @ B )
        & ( linorder @ B )
        & ( dvd @ B ) )
     => ! [D3: B,S2: B] :
        ? [Z3: B] :
        ! [X6: B] :
          ( ( ord_less @ B @ X6 @ Z3 )
         => ( ( ~ ( dvd_dvd @ B @ D3 @ ( plus_plus @ B @ X6 @ S2 ) ) )
            = ( ~ ( dvd_dvd @ B @ D3 @ ( plus_plus @ B @ X6 @ S2 ) ) ) ) ) ) ).

% minf(10)
thf(fact_2612_signed__take__bit__take__bit,axiom,
    ! [A: $tType] :
      ( ( bit_ri3973907225187159222ations @ A )
     => ! [M: nat,N: nat,A3: A] :
          ( ( bit_ri4674362597316999326ke_bit @ A @ M @ ( bit_se2584673776208193580ke_bit @ A @ N @ A3 ) )
          = ( if @ ( A > A ) @ ( ord_less_eq @ nat @ N @ M ) @ ( bit_se2584673776208193580ke_bit @ A @ N ) @ ( bit_ri4674362597316999326ke_bit @ A @ M ) @ A3 ) ) ) ).

% signed_take_bit_take_bit
thf(fact_2613_div__plus__div__distrib__dvd__left,axiom,
    ! [A: $tType] :
      ( ( euclid4440199948858584721cancel @ A )
     => ! [C3: A,A3: A,B2: A] :
          ( ( dvd_dvd @ A @ C3 @ A3 )
         => ( ( divide_divide @ A @ ( plus_plus @ A @ A3 @ B2 ) @ C3 )
            = ( plus_plus @ A @ ( divide_divide @ A @ A3 @ C3 ) @ ( divide_divide @ A @ B2 @ C3 ) ) ) ) ) ).

% div_plus_div_distrib_dvd_left
thf(fact_2614_div__plus__div__distrib__dvd__right,axiom,
    ! [A: $tType] :
      ( ( euclid4440199948858584721cancel @ A )
     => ! [C3: A,B2: A,A3: A] :
          ( ( dvd_dvd @ A @ C3 @ B2 )
         => ( ( divide_divide @ A @ ( plus_plus @ A @ A3 @ B2 ) @ C3 )
            = ( plus_plus @ A @ ( divide_divide @ A @ A3 @ C3 ) @ ( divide_divide @ A @ B2 @ C3 ) ) ) ) ) ).

% div_plus_div_distrib_dvd_right
thf(fact_2615_take__bit__unset__bit__eq,axiom,
    ! [A: $tType] :
      ( ( bit_se359711467146920520ations @ A )
     => ! [N: nat,M: nat,A3: A] :
          ( ( ( ord_less_eq @ nat @ N @ M )
           => ( ( bit_se2584673776208193580ke_bit @ A @ N @ ( bit_se2638667681897837118et_bit @ A @ M @ A3 ) )
              = ( bit_se2584673776208193580ke_bit @ A @ N @ A3 ) ) )
          & ( ~ ( ord_less_eq @ nat @ N @ M )
           => ( ( bit_se2584673776208193580ke_bit @ A @ N @ ( bit_se2638667681897837118et_bit @ A @ M @ A3 ) )
              = ( bit_se2638667681897837118et_bit @ A @ M @ ( bit_se2584673776208193580ke_bit @ A @ N @ A3 ) ) ) ) ) ) ).

% take_bit_unset_bit_eq
thf(fact_2616_take__bit__set__bit__eq,axiom,
    ! [A: $tType] :
      ( ( bit_se359711467146920520ations @ A )
     => ! [N: nat,M: nat,A3: A] :
          ( ( ( ord_less_eq @ nat @ N @ M )
           => ( ( bit_se2584673776208193580ke_bit @ A @ N @ ( bit_se5668285175392031749et_bit @ A @ M @ A3 ) )
              = ( bit_se2584673776208193580ke_bit @ A @ N @ A3 ) ) )
          & ( ~ ( ord_less_eq @ nat @ N @ M )
           => ( ( bit_se2584673776208193580ke_bit @ A @ N @ ( bit_se5668285175392031749et_bit @ A @ M @ A3 ) )
              = ( bit_se5668285175392031749et_bit @ A @ M @ ( bit_se2584673776208193580ke_bit @ A @ N @ A3 ) ) ) ) ) ) ).

% take_bit_set_bit_eq
thf(fact_2617_take__bit__flip__bit__eq,axiom,
    ! [A: $tType] :
      ( ( bit_se359711467146920520ations @ A )
     => ! [N: nat,M: nat,A3: A] :
          ( ( ( ord_less_eq @ nat @ N @ M )
           => ( ( bit_se2584673776208193580ke_bit @ A @ N @ ( bit_se8732182000553998342ip_bit @ A @ M @ A3 ) )
              = ( bit_se2584673776208193580ke_bit @ A @ N @ A3 ) ) )
          & ( ~ ( ord_less_eq @ nat @ N @ M )
           => ( ( bit_se2584673776208193580ke_bit @ A @ N @ ( bit_se8732182000553998342ip_bit @ A @ M @ A3 ) )
              = ( bit_se8732182000553998342ip_bit @ A @ M @ ( bit_se2584673776208193580ke_bit @ A @ N @ A3 ) ) ) ) ) ) ).

% take_bit_flip_bit_eq
thf(fact_2618_nat__dvd__not__less,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ M )
     => ( ( ord_less @ nat @ M @ N )
       => ~ ( dvd_dvd @ nat @ N @ M ) ) ) ).

% nat_dvd_not_less
thf(fact_2619_dvd__pos__nat,axiom,
    ! [N: nat,M: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
     => ( ( dvd_dvd @ nat @ M @ N )
       => ( ord_less @ nat @ ( zero_zero @ nat ) @ M ) ) ) ).

% dvd_pos_nat
thf(fact_2620_le__imp__power__dvd,axiom,
    ! [A: $tType] :
      ( ( comm_semiring_1 @ A )
     => ! [M: nat,N: nat,A3: A] :
          ( ( ord_less_eq @ nat @ M @ N )
         => ( dvd_dvd @ A @ ( power_power @ A @ A3 @ M ) @ ( power_power @ A @ A3 @ N ) ) ) ) ).

% le_imp_power_dvd
thf(fact_2621_power__le__dvd,axiom,
    ! [A: $tType] :
      ( ( comm_semiring_1 @ A )
     => ! [A3: A,N: nat,B2: A,M: nat] :
          ( ( dvd_dvd @ A @ ( power_power @ A @ A3 @ N ) @ B2 )
         => ( ( ord_less_eq @ nat @ M @ N )
           => ( dvd_dvd @ A @ ( power_power @ A @ A3 @ M ) @ B2 ) ) ) ) ).

% power_le_dvd
thf(fact_2622_dvd__power__le,axiom,
    ! [A: $tType] :
      ( ( comm_semiring_1 @ A )
     => ! [X: A,Y: A,N: nat,M: nat] :
          ( ( dvd_dvd @ A @ X @ Y )
         => ( ( ord_less_eq @ nat @ N @ M )
           => ( dvd_dvd @ A @ ( power_power @ A @ X @ N ) @ ( power_power @ A @ Y @ M ) ) ) ) ) ).

% dvd_power_le
thf(fact_2623_dvd__minus__self,axiom,
    ! [M: nat,N: nat] :
      ( ( dvd_dvd @ nat @ M @ ( minus_minus @ nat @ N @ M ) )
      = ( ( ord_less @ nat @ N @ M )
        | ( dvd_dvd @ nat @ M @ N ) ) ) ).

% dvd_minus_self
thf(fact_2624_zdvd__antisym__nonneg,axiom,
    ! [M: int,N: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ M )
     => ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ N )
       => ( ( dvd_dvd @ int @ M @ N )
         => ( ( dvd_dvd @ int @ N @ M )
           => ( M = N ) ) ) ) ) ).

% zdvd_antisym_nonneg
thf(fact_2625_zdvd__not__zless,axiom,
    ! [M: int,N: int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ M )
     => ( ( ord_less @ int @ M @ N )
       => ~ ( dvd_dvd @ int @ N @ M ) ) ) ).

% zdvd_not_zless
thf(fact_2626_less__eq__dvd__minus,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ M @ N )
     => ( ( dvd_dvd @ nat @ M @ N )
        = ( dvd_dvd @ nat @ M @ ( minus_minus @ nat @ N @ M ) ) ) ) ).

% less_eq_dvd_minus
thf(fact_2627_dvd__diffD1,axiom,
    ! [K2: nat,M: nat,N: nat] :
      ( ( dvd_dvd @ nat @ K2 @ ( minus_minus @ nat @ M @ N ) )
     => ( ( dvd_dvd @ nat @ K2 @ M )
       => ( ( ord_less_eq @ nat @ N @ M )
         => ( dvd_dvd @ nat @ K2 @ N ) ) ) ) ).

% dvd_diffD1
thf(fact_2628_dvd__diffD,axiom,
    ! [K2: nat,M: nat,N: nat] :
      ( ( dvd_dvd @ nat @ K2 @ ( minus_minus @ nat @ M @ N ) )
     => ( ( dvd_dvd @ nat @ K2 @ N )
       => ( ( ord_less_eq @ nat @ N @ M )
         => ( dvd_dvd @ nat @ K2 @ M ) ) ) ) ).

% dvd_diffD
thf(fact_2629_zdvd__mono,axiom,
    ! [K2: int,M: int,T5: int] :
      ( ( K2
       != ( zero_zero @ int ) )
     => ( ( dvd_dvd @ int @ M @ T5 )
        = ( dvd_dvd @ int @ ( times_times @ int @ K2 @ M ) @ ( times_times @ int @ K2 @ T5 ) ) ) ) ).

% zdvd_mono
thf(fact_2630_bezout__lemma__nat,axiom,
    ! [D3: nat,A3: nat,B2: nat,X: nat,Y: nat] :
      ( ( dvd_dvd @ nat @ D3 @ A3 )
     => ( ( dvd_dvd @ nat @ D3 @ B2 )
       => ( ( ( ( times_times @ nat @ A3 @ X )
              = ( plus_plus @ nat @ ( times_times @ nat @ B2 @ Y ) @ D3 ) )
            | ( ( times_times @ nat @ B2 @ X )
              = ( plus_plus @ nat @ ( times_times @ nat @ A3 @ Y ) @ D3 ) ) )
         => ? [X3: nat,Y3: nat] :
              ( ( dvd_dvd @ nat @ D3 @ A3 )
              & ( dvd_dvd @ nat @ D3 @ ( plus_plus @ nat @ A3 @ B2 ) )
              & ( ( ( times_times @ nat @ A3 @ X3 )
                  = ( plus_plus @ nat @ ( times_times @ nat @ ( plus_plus @ nat @ A3 @ B2 ) @ Y3 ) @ D3 ) )
                | ( ( times_times @ nat @ ( plus_plus @ nat @ A3 @ B2 ) @ X3 )
                  = ( plus_plus @ nat @ ( times_times @ nat @ A3 @ Y3 ) @ D3 ) ) ) ) ) ) ) ).

% bezout_lemma_nat
thf(fact_2631_bezout__add__nat,axiom,
    ! [A3: nat,B2: nat] :
    ? [D2: nat,X3: nat,Y3: nat] :
      ( ( dvd_dvd @ nat @ D2 @ A3 )
      & ( dvd_dvd @ nat @ D2 @ B2 )
      & ( ( ( times_times @ nat @ A3 @ X3 )
          = ( plus_plus @ nat @ ( times_times @ nat @ B2 @ Y3 ) @ D2 ) )
        | ( ( times_times @ nat @ B2 @ X3 )
          = ( plus_plus @ nat @ ( times_times @ nat @ A3 @ Y3 ) @ D2 ) ) ) ) ).

% bezout_add_nat
thf(fact_2632_zdvd__reduce,axiom,
    ! [K2: int,N: int,M: int] :
      ( ( dvd_dvd @ int @ K2 @ ( plus_plus @ int @ N @ ( times_times @ int @ K2 @ M ) ) )
      = ( dvd_dvd @ int @ K2 @ N ) ) ).

% zdvd_reduce
thf(fact_2633_zdvd__period,axiom,
    ! [A3: int,D3: int,X: int,T5: int,C3: int] :
      ( ( dvd_dvd @ int @ A3 @ D3 )
     => ( ( dvd_dvd @ int @ A3 @ ( plus_plus @ int @ X @ T5 ) )
        = ( dvd_dvd @ int @ A3 @ ( plus_plus @ int @ ( plus_plus @ int @ X @ ( times_times @ int @ C3 @ D3 ) ) @ T5 ) ) ) ) ).

% zdvd_period
thf(fact_2634_fact__dvd,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [N: nat,M: nat] :
          ( ( ord_less_eq @ nat @ N @ M )
         => ( dvd_dvd @ A @ ( semiring_char_0_fact @ A @ N ) @ ( semiring_char_0_fact @ A @ M ) ) ) ) ).

% fact_dvd
thf(fact_2635_uncurry__def,axiom,
    ! [C: $tType,B: $tType,A: $tType] :
      ( ( uncurry @ A @ B @ C )
      = ( product_case_prod @ A @ B @ C ) ) ).

% uncurry_def
thf(fact_2636_internal__case__prod__def,axiom,
    ! [C: $tType,B: $tType,A: $tType] :
      ( ( produc5280177257484947105e_prod @ A @ B @ C )
      = ( product_case_prod @ A @ B @ C ) ) ).

% internal_case_prod_def
thf(fact_2637_mask__nonnegative__int,axiom,
    ! [N: nat] : ( ord_less_eq @ int @ ( zero_zero @ int ) @ ( bit_se2239418461657761734s_mask @ int @ N ) ) ).

% mask_nonnegative_int
thf(fact_2638_not__mask__negative__int,axiom,
    ! [N: nat] :
      ~ ( ord_less @ int @ ( bit_se2239418461657761734s_mask @ int @ N ) @ ( zero_zero @ int ) ) ).

% not_mask_negative_int
thf(fact_2639_nat__dvd__iff,axiom,
    ! [Z4: int,M: nat] :
      ( ( dvd_dvd @ nat @ ( nat2 @ Z4 ) @ M )
      = ( ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ Z4 )
         => ( dvd_dvd @ int @ Z4 @ ( semiring_1_of_nat @ int @ M ) ) )
        & ( ~ ( ord_less_eq @ int @ ( zero_zero @ int ) @ Z4 )
         => ( M
            = ( zero_zero @ nat ) ) ) ) ) ).

% nat_dvd_iff
thf(fact_2640_take__bit__signed__take__bit,axiom,
    ! [A: $tType] :
      ( ( bit_ri3973907225187159222ations @ A )
     => ! [M: nat,N: nat,A3: A] :
          ( ( ord_less_eq @ nat @ M @ ( suc @ N ) )
         => ( ( bit_se2584673776208193580ke_bit @ A @ M @ ( bit_ri4674362597316999326ke_bit @ A @ N @ A3 ) )
            = ( bit_se2584673776208193580ke_bit @ A @ M @ A3 ) ) ) ) ).

% take_bit_signed_take_bit
thf(fact_2641_unity__coeff__ex,axiom,
    ! [A: $tType] :
      ( ( ( dvd @ A )
        & ( semiring_0 @ A ) )
     => ! [P2: A > $o,L: A] :
          ( ( ? [X4: A] : ( P2 @ ( times_times @ A @ L @ X4 ) ) )
          = ( ? [X4: A] :
                ( ( dvd_dvd @ A @ L @ ( plus_plus @ A @ X4 @ ( zero_zero @ A ) ) )
                & ( P2 @ X4 ) ) ) ) ) ).

% unity_coeff_ex
thf(fact_2642_inf__period_I3_J,axiom,
    ! [A: $tType] :
      ( ( ( comm_ring @ A )
        & ( dvd @ A ) )
     => ! [D3: A,D5: A,T5: A] :
          ( ( dvd_dvd @ A @ D3 @ D5 )
         => ! [X6: A,K4: A] :
              ( ( dvd_dvd @ A @ D3 @ ( plus_plus @ A @ X6 @ T5 ) )
              = ( dvd_dvd @ A @ D3 @ ( plus_plus @ A @ ( minus_minus @ A @ X6 @ ( times_times @ A @ K4 @ D5 ) ) @ T5 ) ) ) ) ) ).

% inf_period(3)
thf(fact_2643_inf__period_I4_J,axiom,
    ! [A: $tType] :
      ( ( ( comm_ring @ A )
        & ( dvd @ A ) )
     => ! [D3: A,D5: A,T5: A] :
          ( ( dvd_dvd @ A @ D3 @ D5 )
         => ! [X6: A,K4: A] :
              ( ( ~ ( dvd_dvd @ A @ D3 @ ( plus_plus @ A @ X6 @ T5 ) ) )
              = ( ~ ( dvd_dvd @ A @ D3 @ ( plus_plus @ A @ ( minus_minus @ A @ X6 @ ( times_times @ A @ K4 @ D5 ) ) @ T5 ) ) ) ) ) ) ).

% inf_period(4)
thf(fact_2644_dvd__imp__le,axiom,
    ! [K2: nat,N: nat] :
      ( ( dvd_dvd @ nat @ K2 @ N )
     => ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
       => ( ord_less_eq @ nat @ K2 @ N ) ) ) ).

% dvd_imp_le
thf(fact_2645_dvd__mult__cancel,axiom,
    ! [K2: nat,M: nat,N: nat] :
      ( ( dvd_dvd @ nat @ ( times_times @ nat @ K2 @ M ) @ ( times_times @ nat @ K2 @ N ) )
     => ( ( ord_less @ nat @ ( zero_zero @ nat ) @ K2 )
       => ( dvd_dvd @ nat @ M @ N ) ) ) ).

% dvd_mult_cancel
thf(fact_2646_nat__mult__dvd__cancel1,axiom,
    ! [K2: nat,M: nat,N: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ K2 )
     => ( ( dvd_dvd @ nat @ ( times_times @ nat @ K2 @ M ) @ ( times_times @ nat @ K2 @ N ) )
        = ( dvd_dvd @ nat @ M @ N ) ) ) ).

% nat_mult_dvd_cancel1
thf(fact_2647_bezout__add__strong__nat,axiom,
    ! [A3: nat,B2: nat] :
      ( ( A3
       != ( zero_zero @ nat ) )
     => ? [D2: nat,X3: nat,Y3: nat] :
          ( ( dvd_dvd @ nat @ D2 @ A3 )
          & ( dvd_dvd @ nat @ D2 @ B2 )
          & ( ( times_times @ nat @ A3 @ X3 )
            = ( plus_plus @ nat @ ( times_times @ nat @ B2 @ Y3 ) @ D2 ) ) ) ) ).

% bezout_add_strong_nat
thf(fact_2648_zdvd__imp__le,axiom,
    ! [Z4: int,N: int] :
      ( ( dvd_dvd @ int @ Z4 @ N )
     => ( ( ord_less @ int @ ( zero_zero @ int ) @ N )
       => ( ord_less_eq @ int @ Z4 @ N ) ) ) ).

% zdvd_imp_le
thf(fact_2649_fact__fact__dvd__fact,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [K2: nat,N: nat] : ( dvd_dvd @ A @ ( times_times @ A @ ( semiring_char_0_fact @ A @ K2 ) @ ( semiring_char_0_fact @ A @ N ) ) @ ( semiring_char_0_fact @ A @ ( plus_plus @ nat @ K2 @ N ) ) ) ) ).

% fact_fact_dvd_fact
thf(fact_2650_mod__greater__zero__iff__not__dvd,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ ( modulo_modulo @ nat @ M @ N ) )
      = ( ~ ( dvd_dvd @ nat @ N @ M ) ) ) ).

% mod_greater_zero_iff_not_dvd
thf(fact_2651_dvd__imp__le__int,axiom,
    ! [I2: int,D3: int] :
      ( ( I2
       != ( zero_zero @ int ) )
     => ( ( dvd_dvd @ int @ D3 @ I2 )
       => ( ord_less_eq @ int @ ( abs_abs @ int @ D3 ) @ ( abs_abs @ int @ I2 ) ) ) ) ).

% dvd_imp_le_int
thf(fact_2652_mod__eq__dvd__iff__nat,axiom,
    ! [N: nat,M: nat,Q6: nat] :
      ( ( ord_less_eq @ nat @ N @ M )
     => ( ( ( modulo_modulo @ nat @ M @ Q6 )
          = ( modulo_modulo @ nat @ N @ Q6 ) )
        = ( dvd_dvd @ nat @ Q6 @ ( minus_minus @ nat @ M @ N ) ) ) ) ).

% mod_eq_dvd_iff_nat
thf(fact_2653_dvd__fact,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ ( one_one @ nat ) @ M )
     => ( ( ord_less_eq @ nat @ M @ N )
       => ( dvd_dvd @ nat @ M @ ( semiring_char_0_fact @ nat @ N ) ) ) ) ).

% dvd_fact
thf(fact_2654_less__mask,axiom,
    ! [N: nat] :
      ( ( ord_less @ nat @ ( suc @ ( zero_zero @ nat ) ) @ N )
     => ( ord_less @ nat @ N @ ( bit_se2239418461657761734s_mask @ nat @ N ) ) ) ).

% less_mask
thf(fact_2655_even__nat__iff,axiom,
    ! [K2: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ K2 )
     => ( ( dvd_dvd @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ ( nat2 @ K2 ) )
        = ( dvd_dvd @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ K2 ) ) ) ).

% even_nat_iff
thf(fact_2656_gcd__nat_Oordering__top__axioms,axiom,
    ( ordering_top @ nat @ ( dvd_dvd @ nat )
    @ ^ [M3: nat,N3: nat] :
        ( ( dvd_dvd @ nat @ M3 @ N3 )
        & ( M3 != N3 ) )
    @ ( zero_zero @ nat ) ) ).

% gcd_nat.ordering_top_axioms
thf(fact_2657_odd__even__add,axiom,
    ! [A: $tType] :
      ( ( semiring_parity @ A )
     => ! [A3: A,B2: A] :
          ( ~ ( dvd_dvd @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ A3 )
         => ( ~ ( dvd_dvd @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ B2 )
           => ( dvd_dvd @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ ( plus_plus @ A @ A3 @ B2 ) ) ) ) ) ).

% odd_even_add
thf(fact_2658_dvd__power__iff,axiom,
    ! [A: $tType] :
      ( ( algebraic_semidom @ A )
     => ! [X: A,M: nat,N: nat] :
          ( ( X
           != ( zero_zero @ A ) )
         => ( ( dvd_dvd @ A @ ( power_power @ A @ X @ M ) @ ( power_power @ A @ X @ N ) )
            = ( ( dvd_dvd @ A @ X @ ( one_one @ A ) )
              | ( ord_less_eq @ nat @ M @ N ) ) ) ) ) ).

% dvd_power_iff
thf(fact_2659_dvd__power,axiom,
    ! [A: $tType] :
      ( ( comm_semiring_1 @ A )
     => ! [N: nat,X: A] :
          ( ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
            | ( X
              = ( one_one @ A ) ) )
         => ( dvd_dvd @ A @ X @ ( power_power @ A @ X @ N ) ) ) ) ).

% dvd_power
thf(fact_2660_dvd__mult__cancel1,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ M )
     => ( ( dvd_dvd @ nat @ ( times_times @ nat @ M @ N ) @ M )
        = ( N
          = ( one_one @ nat ) ) ) ) ).

% dvd_mult_cancel1
thf(fact_2661_dvd__mult__cancel2,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ M )
     => ( ( dvd_dvd @ nat @ ( times_times @ nat @ N @ M ) @ M )
        = ( N
          = ( one_one @ nat ) ) ) ) ).

% dvd_mult_cancel2
thf(fact_2662_choose__dvd,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [K2: nat,N: nat] :
          ( ( ord_less_eq @ nat @ K2 @ N )
         => ( dvd_dvd @ A @ ( times_times @ A @ ( semiring_char_0_fact @ A @ K2 ) @ ( semiring_char_0_fact @ A @ ( minus_minus @ nat @ N @ K2 ) ) ) @ ( semiring_char_0_fact @ A @ N ) ) ) ) ).

% choose_dvd
thf(fact_2663_even__even__mod__4__iff,axiom,
    ! [N: nat] :
      ( ( dvd_dvd @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N )
      = ( dvd_dvd @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ ( modulo_modulo @ nat @ N @ ( numeral_numeral @ nat @ ( bit0 @ ( bit0 @ one ) ) ) ) ) ) ).

% even_even_mod_4_iff
thf(fact_2664_dvd__minus__add,axiom,
    ! [Q6: nat,N: nat,R3: nat,M: nat] :
      ( ( ord_less_eq @ nat @ Q6 @ N )
     => ( ( ord_less_eq @ nat @ Q6 @ ( times_times @ nat @ R3 @ M ) )
       => ( ( dvd_dvd @ nat @ M @ ( minus_minus @ nat @ N @ Q6 ) )
          = ( dvd_dvd @ nat @ M @ ( plus_plus @ nat @ N @ ( minus_minus @ nat @ ( times_times @ nat @ R3 @ M ) @ Q6 ) ) ) ) ) ) ).

% dvd_minus_add
thf(fact_2665_mod__nat__eqI,axiom,
    ! [R3: nat,N: nat,M: nat] :
      ( ( ord_less @ nat @ R3 @ N )
     => ( ( ord_less_eq @ nat @ R3 @ M )
       => ( ( dvd_dvd @ nat @ N @ ( minus_minus @ nat @ M @ R3 ) )
         => ( ( modulo_modulo @ nat @ M @ N )
            = R3 ) ) ) ) ).

% mod_nat_eqI
thf(fact_2666_mod__int__pos__iff,axiom,
    ! [K2: int,L: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ ( modulo_modulo @ int @ K2 @ L ) )
      = ( ( dvd_dvd @ int @ L @ K2 )
        | ( ( L
            = ( zero_zero @ int ) )
          & ( ord_less_eq @ int @ ( zero_zero @ int ) @ K2 ) )
        | ( ord_less @ int @ ( zero_zero @ int ) @ L ) ) ) ).

% mod_int_pos_iff
thf(fact_2667_power__dvd__imp__le,axiom,
    ! [I2: nat,M: nat,N: nat] :
      ( ( dvd_dvd @ nat @ ( power_power @ nat @ I2 @ M ) @ ( power_power @ nat @ I2 @ N ) )
     => ( ( ord_less @ nat @ ( one_one @ nat ) @ I2 )
       => ( ord_less_eq @ nat @ M @ N ) ) ) ).

% power_dvd_imp_le
thf(fact_2668_take__bit__nat__eq__self,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less @ nat @ M @ ( power_power @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N ) )
     => ( ( bit_se2584673776208193580ke_bit @ nat @ N @ M )
        = M ) ) ).

% take_bit_nat_eq_self
thf(fact_2669_take__bit__nat__less__exp,axiom,
    ! [N: nat,M: nat] : ( ord_less @ nat @ ( bit_se2584673776208193580ke_bit @ nat @ N @ M ) @ ( power_power @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N ) ) ).

% take_bit_nat_less_exp
thf(fact_2670_take__bit__nat__eq__self__iff,axiom,
    ! [N: nat,M: nat] :
      ( ( ( bit_se2584673776208193580ke_bit @ nat @ N @ M )
        = M )
      = ( ord_less @ nat @ M @ ( power_power @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N ) ) ) ).

% take_bit_nat_eq_self_iff
thf(fact_2671_take__bit__int__less__exp,axiom,
    ! [N: nat,K2: int] : ( ord_less @ int @ ( bit_se2584673776208193580ke_bit @ int @ N @ K2 ) @ ( power_power @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ N ) ) ).

% take_bit_int_less_exp
thf(fact_2672_power__mono__odd,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [N: nat,A3: A,B2: A] :
          ( ~ ( dvd_dvd @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N )
         => ( ( ord_less_eq @ A @ A3 @ B2 )
           => ( ord_less_eq @ A @ ( power_power @ A @ A3 @ N ) @ ( power_power @ A @ B2 @ N ) ) ) ) ) ).

% power_mono_odd
thf(fact_2673_odd__pos,axiom,
    ! [N: nat] :
      ( ~ ( dvd_dvd @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N )
     => ( ord_less @ nat @ ( zero_zero @ nat ) @ N ) ) ).

% odd_pos
thf(fact_2674_even__diff__iff,axiom,
    ! [K2: int,L: int] :
      ( ( dvd_dvd @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ ( minus_minus @ int @ K2 @ L ) )
      = ( dvd_dvd @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ ( plus_plus @ int @ K2 @ L ) ) ) ).

% even_diff_iff
thf(fact_2675_even__add__abs__iff,axiom,
    ! [K2: int,L: int] :
      ( ( dvd_dvd @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ ( plus_plus @ int @ K2 @ ( abs_abs @ int @ L ) ) )
      = ( dvd_dvd @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ ( plus_plus @ int @ K2 @ L ) ) ) ).

% even_add_abs_iff
thf(fact_2676_even__abs__add__iff,axiom,
    ! [K2: int,L: int] :
      ( ( dvd_dvd @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ ( plus_plus @ int @ ( abs_abs @ int @ K2 ) @ L ) )
      = ( dvd_dvd @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ ( plus_plus @ int @ K2 @ L ) ) ) ).

% even_abs_add_iff
thf(fact_2677_dvd__power__iff__le,axiom,
    ! [K2: nat,M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ K2 )
     => ( ( dvd_dvd @ nat @ ( power_power @ nat @ K2 @ M ) @ ( power_power @ nat @ K2 @ N ) )
        = ( ord_less_eq @ nat @ M @ N ) ) ) ).

% dvd_power_iff_le
thf(fact_2678_take__bit__nat__less__self__iff,axiom,
    ! [N: nat,M: nat] :
      ( ( ord_less @ nat @ ( bit_se2584673776208193580ke_bit @ nat @ N @ M ) @ M )
      = ( ord_less_eq @ nat @ ( power_power @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N ) @ M ) ) ).

% take_bit_nat_less_self_iff
thf(fact_2679_mask__nat__less__exp,axiom,
    ! [N: nat] : ( ord_less @ nat @ ( bit_se2239418461657761734s_mask @ nat @ N ) @ ( power_power @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N ) ) ).

% mask_nat_less_exp
thf(fact_2680_take__bit__int__greater__eq__self__iff,axiom,
    ! [K2: int,N: nat] :
      ( ( ord_less_eq @ int @ K2 @ ( bit_se2584673776208193580ke_bit @ int @ N @ K2 ) )
      = ( ord_less @ int @ K2 @ ( power_power @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ N ) ) ) ).

% take_bit_int_greater_eq_self_iff
thf(fact_2681_take__bit__int__less__self__iff,axiom,
    ! [N: nat,K2: int] :
      ( ( ord_less @ int @ ( bit_se2584673776208193580ke_bit @ int @ N @ K2 ) @ K2 )
      = ( ord_less_eq @ int @ ( power_power @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ N ) @ K2 ) ) ).

% take_bit_int_less_self_iff
thf(fact_2682_oddE,axiom,
    ! [A: $tType] :
      ( ( semiring_parity @ A )
     => ! [A3: A] :
          ( ~ ( dvd_dvd @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ A3 )
         => ~ ! [B4: A] :
                ( A3
               != ( plus_plus @ A @ ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ B4 ) @ ( one_one @ A ) ) ) ) ) ).

% oddE
thf(fact_2683_zero__le__power__eq,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [A3: A,N: nat] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( power_power @ A @ A3 @ N ) )
          = ( ( dvd_dvd @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N )
            | ( ~ ( dvd_dvd @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N )
              & ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 ) ) ) ) ) ).

% zero_le_power_eq
thf(fact_2684_zero__le__odd__power,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [N: nat,A3: A] :
          ( ~ ( dvd_dvd @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N )
         => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( power_power @ A @ A3 @ N ) )
            = ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 ) ) ) ) ).

% zero_le_odd_power
thf(fact_2685_zero__le__even__power,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [N: nat,A3: A] :
          ( ( dvd_dvd @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N )
         => ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( power_power @ A @ A3 @ N ) ) ) ) ).

% zero_le_even_power
thf(fact_2686_power__mono__even,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [N: nat,A3: A,B2: A] :
          ( ( dvd_dvd @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N )
         => ( ( ord_less_eq @ A @ ( abs_abs @ A @ A3 ) @ ( abs_abs @ A @ B2 ) )
           => ( ord_less_eq @ A @ ( power_power @ A @ A3 @ N ) @ ( power_power @ A @ B2 @ N ) ) ) ) ) ).

% power_mono_even
thf(fact_2687_take__bit__int__eq__self,axiom,
    ! [K2: int,N: nat] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ K2 )
     => ( ( ord_less @ int @ K2 @ ( power_power @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ N ) )
       => ( ( bit_se2584673776208193580ke_bit @ int @ N @ K2 )
          = K2 ) ) ) ).

% take_bit_int_eq_self
thf(fact_2688_take__bit__int__eq__self__iff,axiom,
    ! [N: nat,K2: int] :
      ( ( ( bit_se2584673776208193580ke_bit @ int @ N @ K2 )
        = K2 )
      = ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ K2 )
        & ( ord_less @ int @ K2 @ ( power_power @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ N ) ) ) ) ).

% take_bit_int_eq_self_iff
thf(fact_2689_take__bit__incr__eq,axiom,
    ! [N: nat,K2: int] :
      ( ( ( bit_se2584673776208193580ke_bit @ int @ N @ K2 )
       != ( minus_minus @ int @ ( power_power @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ N ) @ ( one_one @ int ) ) )
     => ( ( bit_se2584673776208193580ke_bit @ int @ N @ ( plus_plus @ int @ K2 @ ( one_one @ int ) ) )
        = ( plus_plus @ int @ ( one_one @ int ) @ ( bit_se2584673776208193580ke_bit @ int @ N @ K2 ) ) ) ) ).

% take_bit_incr_eq
thf(fact_2690_zero__less__power__eq,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [A3: A,N: nat] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ ( power_power @ A @ A3 @ N ) )
          = ( ( N
              = ( zero_zero @ nat ) )
            | ( ( dvd_dvd @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N )
              & ( A3
               != ( zero_zero @ A ) ) )
            | ( ~ ( dvd_dvd @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N )
              & ( ord_less @ A @ ( zero_zero @ A ) @ A3 ) ) ) ) ) ).

% zero_less_power_eq
thf(fact_2691_take__bit__Suc__bit1,axiom,
    ! [A: $tType] :
      ( ( bit_un5681908812861735899ations @ A )
     => ! [N: nat,K2: num] :
          ( ( bit_se2584673776208193580ke_bit @ A @ ( suc @ N ) @ ( numeral_numeral @ A @ ( bit1 @ K2 ) ) )
          = ( plus_plus @ A @ ( times_times @ A @ ( bit_se2584673776208193580ke_bit @ A @ N @ ( numeral_numeral @ A @ K2 ) ) @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) @ ( one_one @ A ) ) ) ) ).

% take_bit_Suc_bit1
thf(fact_2692_take__bit__Suc,axiom,
    ! [A: $tType] :
      ( ( bit_se359711467146920520ations @ A )
     => ! [N: nat,A3: A] :
          ( ( bit_se2584673776208193580ke_bit @ A @ ( suc @ N ) @ A3 )
          = ( plus_plus @ A @ ( times_times @ A @ ( bit_se2584673776208193580ke_bit @ A @ N @ ( divide_divide @ A @ A3 @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) ) @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) @ ( modulo_modulo @ A @ A3 @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) ) ) ) ).

% take_bit_Suc
thf(fact_2693_divmod__step__nat__def,axiom,
    ( ( unique1321980374590559556d_step @ nat )
    = ( ^ [L2: num] :
          ( product_case_prod @ nat @ nat @ ( product_prod @ nat @ nat )
          @ ^ [Q8: nat,R5: nat] : ( if @ ( product_prod @ nat @ nat ) @ ( ord_less_eq @ nat @ ( numeral_numeral @ nat @ L2 ) @ R5 ) @ ( product_Pair @ nat @ nat @ ( plus_plus @ nat @ ( times_times @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ Q8 ) @ ( one_one @ nat ) ) @ ( minus_minus @ nat @ R5 @ ( numeral_numeral @ nat @ L2 ) ) ) @ ( product_Pair @ nat @ nat @ ( times_times @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ Q8 ) @ R5 ) ) ) ) ) ).

% divmod_step_nat_def
thf(fact_2694_take__bit__int__less__eq,axiom,
    ! [N: nat,K2: int] :
      ( ( ord_less_eq @ int @ ( power_power @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ N ) @ K2 )
     => ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
       => ( ord_less_eq @ int @ ( bit_se2584673776208193580ke_bit @ int @ N @ K2 ) @ ( minus_minus @ int @ K2 @ ( power_power @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ N ) ) ) ) ) ).

% take_bit_int_less_eq
thf(fact_2695_take__bit__int__greater__eq,axiom,
    ! [K2: int,N: nat] :
      ( ( ord_less @ int @ K2 @ ( zero_zero @ int ) )
     => ( ord_less_eq @ int @ ( plus_plus @ int @ K2 @ ( power_power @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ N ) ) @ ( bit_se2584673776208193580ke_bit @ int @ N @ K2 ) ) ) ).

% take_bit_int_greater_eq
thf(fact_2696_even__mask__div__iff_H,axiom,
    ! [A: $tType] :
      ( ( euclid5411537665997757685th_nat @ A )
     => ! [M: nat,N: nat] :
          ( ( dvd_dvd @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ ( divide_divide @ A @ ( minus_minus @ A @ ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ M ) @ ( one_one @ A ) ) @ ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ N ) ) )
          = ( ord_less_eq @ nat @ M @ N ) ) ) ).

% even_mask_div_iff'
thf(fact_2697_signed__take__bit__eq__take__bit__shift,axiom,
    ( ( bit_ri4674362597316999326ke_bit @ int )
    = ( ^ [N3: nat,K3: int] : ( minus_minus @ int @ ( bit_se2584673776208193580ke_bit @ int @ ( suc @ N3 ) @ ( plus_plus @ int @ K3 @ ( power_power @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ N3 ) ) ) @ ( power_power @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ N3 ) ) ) ) ).

% signed_take_bit_eq_take_bit_shift
thf(fact_2698_power__le__zero__eq,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [A3: A,N: nat] :
          ( ( ord_less_eq @ A @ ( power_power @ A @ A3 @ N ) @ ( zero_zero @ A ) )
          = ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
            & ( ( ~ ( dvd_dvd @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N )
                & ( ord_less_eq @ A @ A3 @ ( zero_zero @ A ) ) )
              | ( ( dvd_dvd @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N )
                & ( A3
                  = ( zero_zero @ A ) ) ) ) ) ) ) ).

% power_le_zero_eq
thf(fact_2699_even__mod__4__div__2,axiom,
    ! [N: nat] :
      ( ( ( modulo_modulo @ nat @ N @ ( numeral_numeral @ nat @ ( bit0 @ ( bit0 @ one ) ) ) )
        = ( suc @ ( zero_zero @ nat ) ) )
     => ( dvd_dvd @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ ( divide_divide @ nat @ ( minus_minus @ nat @ N @ ( suc @ ( zero_zero @ nat ) ) ) @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) ) ) ).

% even_mod_4_div_2
thf(fact_2700_take__bit__numeral__bit1,axiom,
    ! [A: $tType] :
      ( ( bit_un5681908812861735899ations @ A )
     => ! [L: num,K2: num] :
          ( ( bit_se2584673776208193580ke_bit @ A @ ( numeral_numeral @ nat @ L ) @ ( numeral_numeral @ A @ ( bit1 @ K2 ) ) )
          = ( plus_plus @ A @ ( times_times @ A @ ( bit_se2584673776208193580ke_bit @ A @ ( pred_numeral @ L ) @ ( numeral_numeral @ A @ K2 ) ) @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) @ ( one_one @ A ) ) ) ) ).

% take_bit_numeral_bit1
thf(fact_2701_divmod__step__int__def,axiom,
    ( ( unique1321980374590559556d_step @ int )
    = ( ^ [L2: num] :
          ( product_case_prod @ int @ int @ ( product_prod @ int @ int )
          @ ^ [Q8: int,R5: int] : ( if @ ( product_prod @ int @ int ) @ ( ord_less_eq @ int @ ( numeral_numeral @ int @ L2 ) @ R5 ) @ ( product_Pair @ int @ int @ ( plus_plus @ int @ ( times_times @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ Q8 ) @ ( one_one @ int ) ) @ ( minus_minus @ int @ R5 @ ( numeral_numeral @ int @ L2 ) ) ) @ ( product_Pair @ int @ int @ ( times_times @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ Q8 ) @ R5 ) ) ) ) ) ).

% divmod_step_int_def
thf(fact_2702_take__bit__minus__small__eq,axiom,
    ! [K2: int,N: nat] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ K2 )
     => ( ( ord_less_eq @ int @ K2 @ ( power_power @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ N ) )
       => ( ( bit_se2584673776208193580ke_bit @ int @ N @ ( uminus_uminus @ int @ K2 ) )
          = ( minus_minus @ int @ ( power_power @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ N ) @ K2 ) ) ) ) ).

% take_bit_minus_small_eq
thf(fact_2703_even__mask__div__iff,axiom,
    ! [A: $tType] :
      ( ( bit_semiring_bits @ A )
     => ! [M: nat,N: nat] :
          ( ( dvd_dvd @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ ( divide_divide @ A @ ( minus_minus @ A @ ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ M ) @ ( one_one @ A ) ) @ ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ N ) ) )
          = ( ( ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ N )
              = ( zero_zero @ A ) )
            | ( ord_less_eq @ nat @ M @ N ) ) ) ) ).

% even_mask_div_iff
thf(fact_2704_odd__mod__4__div__2,axiom,
    ! [N: nat] :
      ( ( ( modulo_modulo @ nat @ N @ ( numeral_numeral @ nat @ ( bit0 @ ( bit0 @ one ) ) ) )
        = ( numeral_numeral @ nat @ ( bit1 @ one ) ) )
     => ~ ( dvd_dvd @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ ( divide_divide @ nat @ ( minus_minus @ nat @ N @ ( suc @ ( zero_zero @ nat ) ) ) @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) ) ) ).

% odd_mod_4_div_2
thf(fact_2705_take__bit__Suc__minus__bit1,axiom,
    ! [N: nat,K2: num] :
      ( ( bit_se2584673776208193580ke_bit @ int @ ( suc @ N ) @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ ( bit1 @ K2 ) ) ) )
      = ( plus_plus @ int @ ( times_times @ int @ ( bit_se2584673776208193580ke_bit @ int @ N @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ ( inc @ K2 ) ) ) ) @ ( numeral_numeral @ int @ ( bit0 @ one ) ) ) @ ( one_one @ int ) ) ) ).

% take_bit_Suc_minus_bit1
thf(fact_2706_even__mult__exp__div__exp__iff,axiom,
    ! [A: $tType] :
      ( ( bit_semiring_bits @ A )
     => ! [A3: A,M: nat,N: nat] :
          ( ( dvd_dvd @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ ( divide_divide @ A @ ( times_times @ A @ A3 @ ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ M ) ) @ ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ N ) ) )
          = ( ( ord_less @ nat @ N @ M )
            | ( ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ N )
              = ( zero_zero @ A ) )
            | ( ( ord_less_eq @ nat @ M @ N )
              & ( dvd_dvd @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ ( divide_divide @ A @ A3 @ ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ ( minus_minus @ nat @ N @ M ) ) ) ) ) ) ) ) ).

% even_mult_exp_div_exp_iff
thf(fact_2707_divmod__step__def,axiom,
    ! [A: $tType] :
      ( ( unique1627219031080169319umeral @ A )
     => ( ( unique1321980374590559556d_step @ A )
        = ( ^ [L2: num] :
              ( product_case_prod @ A @ A @ ( product_prod @ A @ A )
              @ ^ [Q8: A,R5: A] : ( if @ ( product_prod @ A @ A ) @ ( ord_less_eq @ A @ ( numeral_numeral @ A @ L2 ) @ R5 ) @ ( product_Pair @ A @ A @ ( plus_plus @ A @ ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ Q8 ) @ ( one_one @ A ) ) @ ( minus_minus @ A @ R5 @ ( numeral_numeral @ A @ L2 ) ) ) @ ( product_Pair @ A @ A @ ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ Q8 ) @ R5 ) ) ) ) ) ) ).

% divmod_step_def
thf(fact_2708_take__bit__numeral__minus__numeral__int,axiom,
    ! [M: num,N: num] :
      ( ( bit_se2584673776208193580ke_bit @ int @ ( numeral_numeral @ nat @ M ) @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ N ) ) )
      = ( case_option @ int @ num @ ( zero_zero @ int )
        @ ^ [Q8: num] : ( bit_se2584673776208193580ke_bit @ int @ ( numeral_numeral @ nat @ M ) @ ( minus_minus @ int @ ( power_power @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ ( numeral_numeral @ nat @ M ) ) @ ( numeral_numeral @ int @ Q8 ) ) )
        @ ( bit_take_bit_num @ ( numeral_numeral @ nat @ M ) @ N ) ) ) ).

% take_bit_numeral_minus_numeral_int
thf(fact_2709_divmod__nat__if,axiom,
    ( divmod_nat
    = ( ^ [M3: nat,N3: nat] :
          ( if @ ( product_prod @ nat @ nat )
          @ ( ( N3
              = ( zero_zero @ nat ) )
            | ( ord_less @ nat @ M3 @ N3 ) )
          @ ( product_Pair @ nat @ nat @ ( zero_zero @ nat ) @ M3 )
          @ ( product_case_prod @ nat @ nat @ ( product_prod @ nat @ nat )
            @ ^ [Q8: nat] : ( product_Pair @ nat @ nat @ ( suc @ Q8 ) )
            @ ( divmod_nat @ ( minus_minus @ nat @ M3 @ N3 ) @ N3 ) ) ) ) ) ).

% divmod_nat_if
thf(fact_2710_flip__bit__0,axiom,
    ! [A: $tType] :
      ( ( bit_se359711467146920520ations @ A )
     => ! [A3: A] :
          ( ( bit_se8732182000553998342ip_bit @ A @ ( zero_zero @ nat ) @ A3 )
          = ( plus_plus @ A @ ( zero_neq_one_of_bool @ A @ ( dvd_dvd @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ A3 ) ) @ ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ ( divide_divide @ A @ A3 @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) ) ) ) ) ).

% flip_bit_0
thf(fact_2711_num_Osize__gen_I3_J,axiom,
    ! [X32: num] :
      ( ( size_num @ ( bit1 @ X32 ) )
      = ( plus_plus @ nat @ ( size_num @ X32 ) @ ( suc @ ( zero_zero @ nat ) ) ) ) ).

% num.size_gen(3)
thf(fact_2712_num_Osize__gen_I2_J,axiom,
    ! [X2: num] :
      ( ( size_num @ ( bit0 @ X2 ) )
      = ( plus_plus @ nat @ ( size_num @ X2 ) @ ( suc @ ( zero_zero @ nat ) ) ) ) ).

% num.size_gen(2)
thf(fact_2713_and__int__unfold,axiom,
    ( ( bit_se5824344872417868541ns_and @ int )
    = ( ^ [K3: int,L2: int] :
          ( if @ int
          @ ( ( K3
              = ( zero_zero @ int ) )
            | ( L2
              = ( zero_zero @ int ) ) )
          @ ( zero_zero @ int )
          @ ( if @ int
            @ ( K3
              = ( uminus_uminus @ int @ ( one_one @ int ) ) )
            @ L2
            @ ( if @ int
              @ ( L2
                = ( uminus_uminus @ int @ ( one_one @ int ) ) )
              @ K3
              @ ( plus_plus @ int @ ( times_times @ int @ ( modulo_modulo @ int @ K3 @ ( numeral_numeral @ int @ ( bit0 @ one ) ) ) @ ( modulo_modulo @ int @ L2 @ ( numeral_numeral @ int @ ( bit0 @ one ) ) ) ) @ ( times_times @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ ( bit_se5824344872417868541ns_and @ int @ ( divide_divide @ int @ K3 @ ( numeral_numeral @ int @ ( bit0 @ one ) ) ) @ ( divide_divide @ int @ L2 @ ( numeral_numeral @ int @ ( bit0 @ one ) ) ) ) ) ) ) ) ) ) ) ).

% and_int_unfold
thf(fact_2714_case__prodI2,axiom,
    ! [B: $tType,A: $tType,P3: product_prod @ A @ B,C3: A > B > $o] :
      ( ! [A5: A,B4: B] :
          ( ( P3
            = ( product_Pair @ A @ B @ A5 @ B4 ) )
         => ( C3 @ A5 @ B4 ) )
     => ( product_case_prod @ A @ B @ $o @ C3 @ P3 ) ) ).

% case_prodI2
thf(fact_2715_case__prodI,axiom,
    ! [A: $tType,B: $tType,F3: A > B > $o,A3: A,B2: B] :
      ( ( F3 @ A3 @ B2 )
     => ( product_case_prod @ A @ B @ $o @ F3 @ ( product_Pair @ A @ B @ A3 @ B2 ) ) ) ).

% case_prodI
thf(fact_2716_mem__case__prodI2,axiom,
    ! [C: $tType,B: $tType,A: $tType,P3: product_prod @ A @ B,Z4: C,C3: A > B > ( set @ C )] :
      ( ! [A5: A,B4: B] :
          ( ( P3
            = ( product_Pair @ A @ B @ A5 @ B4 ) )
         => ( member @ C @ Z4 @ ( C3 @ A5 @ B4 ) ) )
     => ( member @ C @ Z4 @ ( product_case_prod @ A @ B @ ( set @ C ) @ C3 @ P3 ) ) ) ).

% mem_case_prodI2
thf(fact_2717_mem__case__prodI,axiom,
    ! [A: $tType,B: $tType,C: $tType,Z4: A,C3: B > C > ( set @ A ),A3: B,B2: C] :
      ( ( member @ A @ Z4 @ ( C3 @ A3 @ B2 ) )
     => ( member @ A @ Z4 @ ( product_case_prod @ B @ C @ ( set @ A ) @ C3 @ ( product_Pair @ B @ C @ A3 @ B2 ) ) ) ) ).

% mem_case_prodI
thf(fact_2718_case__prodI2_H,axiom,
    ! [A: $tType,B: $tType,C: $tType,P3: product_prod @ A @ B,C3: A > B > C > $o,X: C] :
      ( ! [A5: A,B4: B] :
          ( ( ( product_Pair @ A @ B @ A5 @ B4 )
            = P3 )
         => ( C3 @ A5 @ B4 @ X ) )
     => ( product_case_prod @ A @ B @ ( C > $o ) @ C3 @ P3 @ X ) ) ).

% case_prodI2'
thf(fact_2719_of__bool__less__eq__iff,axiom,
    ! [A: $tType] :
      ( ( linord181362715937106298miring @ A )
     => ! [P2: $o,Q2: $o] :
          ( ( ord_less_eq @ A @ ( zero_neq_one_of_bool @ A @ P2 ) @ ( zero_neq_one_of_bool @ A @ Q2 ) )
          = ( P2
           => Q2 ) ) ) ).

% of_bool_less_eq_iff
thf(fact_2720_of__bool__less__iff,axiom,
    ! [A: $tType] :
      ( ( linord181362715937106298miring @ A )
     => ! [P2: $o,Q2: $o] :
          ( ( ord_less @ A @ ( zero_neq_one_of_bool @ A @ P2 ) @ ( zero_neq_one_of_bool @ A @ Q2 ) )
          = ( ~ P2
            & Q2 ) ) ) ).

% of_bool_less_iff
thf(fact_2721_of__nat__of__bool,axiom,
    ! [A: $tType] :
      ( ( semiring_1 @ A )
     => ! [P2: $o] :
          ( ( semiring_1_of_nat @ A @ ( zero_neq_one_of_bool @ nat @ P2 ) )
          = ( zero_neq_one_of_bool @ A @ P2 ) ) ) ).

% of_nat_of_bool
thf(fact_2722_zero__less__of__bool__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [P2: $o] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ ( zero_neq_one_of_bool @ A @ P2 ) )
          = P2 ) ) ).

% zero_less_of_bool_iff
thf(fact_2723_of__bool__less__one__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [P2: $o] :
          ( ( ord_less @ A @ ( zero_neq_one_of_bool @ A @ P2 ) @ ( one_one @ A ) )
          = ~ P2 ) ) ).

% of_bool_less_one_iff
thf(fact_2724_and__nonnegative__int__iff,axiom,
    ! [K2: int,L: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ ( bit_se5824344872417868541ns_and @ int @ K2 @ L ) )
      = ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ K2 )
        | ( ord_less_eq @ int @ ( zero_zero @ int ) @ L ) ) ) ).

% and_nonnegative_int_iff
thf(fact_2725_and__negative__int__iff,axiom,
    ! [K2: int,L: int] :
      ( ( ord_less @ int @ ( bit_se5824344872417868541ns_and @ int @ K2 @ L ) @ ( zero_zero @ int ) )
      = ( ( ord_less @ int @ K2 @ ( zero_zero @ int ) )
        & ( ord_less @ int @ L @ ( zero_zero @ int ) ) ) ) ).

% and_negative_int_iff
thf(fact_2726_take__bit__num__simps_I3_J,axiom,
    ! [N: nat,M: num] :
      ( ( bit_take_bit_num @ ( suc @ N ) @ ( bit0 @ M ) )
      = ( case_option @ ( option @ num ) @ num @ ( none @ num )
        @ ^ [Q8: num] : ( some @ num @ ( bit0 @ Q8 ) )
        @ ( bit_take_bit_num @ N @ M ) ) ) ).

% take_bit_num_simps(3)
thf(fact_2727_take__bit__of__Suc__0,axiom,
    ! [N: nat] :
      ( ( bit_se2584673776208193580ke_bit @ nat @ N @ ( suc @ ( zero_zero @ nat ) ) )
      = ( zero_neq_one_of_bool @ nat @ ( ord_less @ nat @ ( zero_zero @ nat ) @ N ) ) ) ).

% take_bit_of_Suc_0
thf(fact_2728_take__bit__num__simps_I4_J,axiom,
    ! [N: nat,M: num] :
      ( ( bit_take_bit_num @ ( suc @ N ) @ ( bit1 @ M ) )
      = ( some @ num @ ( case_option @ num @ num @ one @ bit1 @ ( bit_take_bit_num @ N @ M ) ) ) ) ).

% take_bit_num_simps(4)
thf(fact_2729_take__bit__num__simps_I6_J,axiom,
    ! [R3: num,M: num] :
      ( ( bit_take_bit_num @ ( numeral_numeral @ nat @ R3 ) @ ( bit0 @ M ) )
      = ( case_option @ ( option @ num ) @ num @ ( none @ num )
        @ ^ [Q8: num] : ( some @ num @ ( bit0 @ Q8 ) )
        @ ( bit_take_bit_num @ ( pred_numeral @ R3 ) @ M ) ) ) ).

% take_bit_num_simps(6)
thf(fact_2730_take__bit__of__1,axiom,
    ! [A: $tType] :
      ( ( bit_se359711467146920520ations @ A )
     => ! [N: nat] :
          ( ( bit_se2584673776208193580ke_bit @ A @ N @ ( one_one @ A ) )
          = ( zero_neq_one_of_bool @ A @ ( ord_less @ nat @ ( zero_zero @ nat ) @ N ) ) ) ) ).

% take_bit_of_1
thf(fact_2731_sgn__of__nat,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [N: nat] :
          ( ( sgn_sgn @ A @ ( semiring_1_of_nat @ A @ N ) )
          = ( zero_neq_one_of_bool @ A @ ( ord_less @ nat @ ( zero_zero @ nat ) @ N ) ) ) ) ).

% sgn_of_nat
thf(fact_2732_take__bit__num__simps_I7_J,axiom,
    ! [R3: num,M: num] :
      ( ( bit_take_bit_num @ ( numeral_numeral @ nat @ R3 ) @ ( bit1 @ M ) )
      = ( some @ num @ ( case_option @ num @ num @ one @ bit1 @ ( bit_take_bit_num @ ( pred_numeral @ R3 ) @ M ) ) ) ) ).

% take_bit_num_simps(7)
thf(fact_2733_take__bit__numeral__numeral,axiom,
    ! [A: $tType] :
      ( ( bit_se359711467146920520ations @ A )
     => ! [M: num,N: num] :
          ( ( bit_se2584673776208193580ke_bit @ A @ ( numeral_numeral @ nat @ M ) @ ( numeral_numeral @ A @ N ) )
          = ( case_option @ A @ num @ ( zero_zero @ A ) @ ( numeral_numeral @ A ) @ ( bit_take_bit_num @ ( numeral_numeral @ nat @ M ) @ N ) ) ) ) ).

% take_bit_numeral_numeral
thf(fact_2734_and__numerals_I7_J,axiom,
    ! [A: $tType] :
      ( ( bit_un5681908812861735899ations @ A )
     => ! [X: num,Y: num] :
          ( ( bit_se5824344872417868541ns_and @ A @ ( numeral_numeral @ A @ ( bit1 @ X ) ) @ ( numeral_numeral @ A @ ( bit1 @ Y ) ) )
          = ( plus_plus @ A @ ( one_one @ A ) @ ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ ( bit_se5824344872417868541ns_and @ A @ ( numeral_numeral @ A @ X ) @ ( numeral_numeral @ A @ Y ) ) ) ) ) ) ).

% and_numerals(7)
thf(fact_2735_take__bit__of__exp,axiom,
    ! [A: $tType] :
      ( ( bit_un5681908812861735899ations @ A )
     => ! [M: nat,N: nat] :
          ( ( bit_se2584673776208193580ke_bit @ A @ M @ ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ N ) )
          = ( times_times @ A @ ( zero_neq_one_of_bool @ A @ ( ord_less @ nat @ N @ M ) ) @ ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ N ) ) ) ) ).

% take_bit_of_exp
thf(fact_2736_take__bit__of__2,axiom,
    ! [A: $tType] :
      ( ( bit_un5681908812861735899ations @ A )
     => ! [N: nat] :
          ( ( bit_se2584673776208193580ke_bit @ A @ N @ ( numeral_numeral @ A @ ( bit0 @ one ) ) )
          = ( times_times @ A @ ( zero_neq_one_of_bool @ A @ ( ord_less_eq @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N ) ) @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) ) ) ).

% take_bit_of_2
thf(fact_2737_one__mod__2__pow__eq,axiom,
    ! [A: $tType] :
      ( ( euclid5411537665997757685th_nat @ A )
     => ! [N: nat] :
          ( ( modulo_modulo @ A @ ( one_one @ A ) @ ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ N ) )
          = ( zero_neq_one_of_bool @ A @ ( ord_less @ nat @ ( zero_zero @ nat ) @ N ) ) ) ) ).

% one_mod_2_pow_eq
thf(fact_2738_same__fst__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( same_fst @ A @ B )
      = ( ^ [P5: A > $o,R2: A > ( set @ ( product_prod @ B @ B ) )] :
            ( collect @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) )
            @ ( product_case_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) @ $o
              @ ( product_case_prod @ A @ B @ ( ( product_prod @ A @ B ) > $o )
                @ ^ [X8: A,Y9: B] :
                    ( product_case_prod @ A @ B @ $o
                    @ ^ [X4: A,Y4: B] :
                        ( ( X8 = X4 )
                        & ( P5 @ X4 )
                        & ( member @ ( product_prod @ B @ B ) @ ( product_Pair @ B @ B @ Y9 @ Y4 ) @ ( R2 @ X4 ) ) ) ) ) ) ) ) ) ).

% same_fst_def
thf(fact_2739_dvd__antisym,axiom,
    ! [M: nat,N: nat] :
      ( ( dvd_dvd @ nat @ M @ N )
     => ( ( dvd_dvd @ nat @ N @ M )
       => ( M = N ) ) ) ).

% dvd_antisym
thf(fact_2740_lex__prod__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( lex_prod @ A @ B )
      = ( ^ [Ra: set @ ( product_prod @ A @ A ),Rb: set @ ( product_prod @ B @ B )] :
            ( collect @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) )
            @ ( product_case_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) @ $o
              @ ( product_case_prod @ A @ B @ ( ( product_prod @ A @ B ) > $o )
                @ ^ [A7: A,B5: B] :
                    ( product_case_prod @ A @ B @ $o
                    @ ^ [A11: A,B9: B] :
                        ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A7 @ A11 ) @ Ra )
                        | ( ( A7 = A11 )
                          & ( member @ ( product_prod @ B @ B ) @ ( product_Pair @ B @ B @ B5 @ B9 ) @ Rb ) ) ) ) ) ) ) ) ) ).

% lex_prod_def
thf(fact_2741_mem__case__prodE,axiom,
    ! [B: $tType,A: $tType,C: $tType,Z4: A,C3: B > C > ( set @ A ),P3: product_prod @ B @ C] :
      ( ( member @ A @ Z4 @ ( product_case_prod @ B @ C @ ( set @ A ) @ C3 @ P3 ) )
     => ~ ! [X3: B,Y3: C] :
            ( ( P3
              = ( product_Pair @ B @ C @ X3 @ Y3 ) )
           => ~ ( member @ A @ Z4 @ ( C3 @ X3 @ Y3 ) ) ) ) ).

% mem_case_prodE
thf(fact_2742_case__prodE,axiom,
    ! [A: $tType,B: $tType,C3: A > B > $o,P3: product_prod @ A @ B] :
      ( ( product_case_prod @ A @ B @ $o @ C3 @ P3 )
     => ~ ! [X3: A,Y3: B] :
            ( ( P3
              = ( product_Pair @ A @ B @ X3 @ Y3 ) )
           => ~ ( C3 @ X3 @ Y3 ) ) ) ).

% case_prodE
thf(fact_2743_case__prodD,axiom,
    ! [A: $tType,B: $tType,F3: A > B > $o,A3: A,B2: B] :
      ( ( product_case_prod @ A @ B @ $o @ F3 @ ( product_Pair @ A @ B @ A3 @ B2 ) )
     => ( F3 @ A3 @ B2 ) ) ).

% case_prodD
thf(fact_2744_case__prodE_H,axiom,
    ! [B: $tType,A: $tType,C: $tType,C3: A > B > C > $o,P3: product_prod @ A @ B,Z4: C] :
      ( ( product_case_prod @ A @ B @ ( C > $o ) @ C3 @ P3 @ Z4 )
     => ~ ! [X3: A,Y3: B] :
            ( ( P3
              = ( product_Pair @ A @ B @ X3 @ Y3 ) )
           => ~ ( C3 @ X3 @ Y3 @ Z4 ) ) ) ).

% case_prodE'
thf(fact_2745_case__prodD_H,axiom,
    ! [B: $tType,A: $tType,C: $tType,R4: A > B > C > $o,A3: A,B2: B,C3: C] :
      ( ( product_case_prod @ A @ B @ ( C > $o ) @ R4 @ ( product_Pair @ A @ B @ A3 @ B2 ) @ C3 )
     => ( R4 @ A3 @ B2 @ C3 ) ) ).

% case_prodD'
thf(fact_2746_zero__less__eq__of__bool,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [P2: $o] : ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( zero_neq_one_of_bool @ A @ P2 ) ) ) ).

% zero_less_eq_of_bool
thf(fact_2747_of__bool__less__eq__one,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [P2: $o] : ( ord_less_eq @ A @ ( zero_neq_one_of_bool @ A @ P2 ) @ ( one_one @ A ) ) ) ).

% of_bool_less_eq_one
thf(fact_2748_AND__lower,axiom,
    ! [X: int,Y: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ X )
     => ( ord_less_eq @ int @ ( zero_zero @ int ) @ ( bit_se5824344872417868541ns_and @ int @ X @ Y ) ) ) ).

% AND_lower
thf(fact_2749_AND__upper1,axiom,
    ! [X: int,Y: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ X )
     => ( ord_less_eq @ int @ ( bit_se5824344872417868541ns_and @ int @ X @ Y ) @ X ) ) ).

% AND_upper1
thf(fact_2750_AND__upper2,axiom,
    ! [Y: int,X: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ Y )
     => ( ord_less_eq @ int @ ( bit_se5824344872417868541ns_and @ int @ X @ Y ) @ Y ) ) ).

% AND_upper2
thf(fact_2751_AND__upper1_H,axiom,
    ! [Y: int,Z4: int,Ya: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ Y )
     => ( ( ord_less_eq @ int @ Y @ Z4 )
       => ( ord_less_eq @ int @ ( bit_se5824344872417868541ns_and @ int @ Y @ Ya ) @ Z4 ) ) ) ).

% AND_upper1'
thf(fact_2752_AND__upper2_H,axiom,
    ! [Y: int,Z4: int,X: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ Y )
     => ( ( ord_less_eq @ int @ Y @ Z4 )
       => ( ord_less_eq @ int @ ( bit_se5824344872417868541ns_and @ int @ X @ Y ) @ Z4 ) ) ) ).

% AND_upper2'
thf(fact_2753_Collect__case__prod__mono,axiom,
    ! [B: $tType,A: $tType,A6: A > B > $o,B6: A > B > $o] :
      ( ( ord_less_eq @ ( A > B > $o ) @ A6 @ B6 )
     => ( ord_less_eq @ ( set @ ( product_prod @ A @ B ) ) @ ( collect @ ( product_prod @ A @ B ) @ ( product_case_prod @ A @ B @ $o @ A6 ) ) @ ( collect @ ( product_prod @ A @ B ) @ ( product_case_prod @ A @ B @ $o @ B6 ) ) ) ) ).

% Collect_case_prod_mono
thf(fact_2754_execute__bind__case,axiom,
    ! [A: $tType,B: $tType,F3: heap_Time_Heap @ B,G3: B > ( heap_Time_Heap @ A ),H: heap_ext @ product_unit] :
      ( ( heap_Time_execute @ A @ ( heap_Time_bind @ B @ A @ F3 @ G3 ) @ H )
      = ( case_option @ ( option @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) @ ( product_prod @ B @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( none @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) )
        @ ( product_case_prod @ B @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ ( option @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) )
          @ ^ [X4: B] :
              ( product_case_prod @ ( heap_ext @ product_unit ) @ nat @ ( option @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) )
              @ ^ [H8: heap_ext @ product_unit,N3: nat] : ( heap_Time_timeFrame @ A @ N3 @ ( heap_Time_execute @ A @ ( G3 @ X4 ) @ H8 ) ) ) )
        @ ( heap_Time_execute @ B @ F3 @ H ) ) ) ).

% execute_bind_case
thf(fact_2755_map__to__set__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( map_to_set @ A @ B )
      = ( ^ [M3: A > ( option @ B )] :
            ( collect @ ( product_prod @ A @ B )
            @ ( product_case_prod @ A @ B @ $o
              @ ^ [K3: A,V3: B] :
                  ( ( M3 @ K3 )
                  = ( some @ B @ V3 ) ) ) ) ) ) ).

% map_to_set_def
thf(fact_2756_and__int__rec,axiom,
    ( ( bit_se5824344872417868541ns_and @ int )
    = ( ^ [K3: int,L2: int] :
          ( plus_plus @ int
          @ ( zero_neq_one_of_bool @ int
            @ ( ~ ( dvd_dvd @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ K3 )
              & ~ ( dvd_dvd @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ L2 ) ) )
          @ ( times_times @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ ( bit_se5824344872417868541ns_and @ int @ ( divide_divide @ int @ K3 @ ( numeral_numeral @ int @ ( bit0 @ one ) ) ) @ ( divide_divide @ int @ L2 @ ( numeral_numeral @ int @ ( bit0 @ one ) ) ) ) ) ) ) ) ).

% and_int_rec
thf(fact_2757_AND__upper2_H_H,axiom,
    ! [Y: int,Z4: int,X: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ Y )
     => ( ( ord_less @ int @ Y @ Z4 )
       => ( ord_less @ int @ ( bit_se5824344872417868541ns_and @ int @ X @ Y ) @ Z4 ) ) ) ).

% AND_upper2''
thf(fact_2758_AND__upper1_H_H,axiom,
    ! [Y: int,Z4: int,Ya: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ Y )
     => ( ( ord_less @ int @ Y @ Z4 )
       => ( ord_less @ int @ ( bit_se5824344872417868541ns_and @ int @ Y @ Ya ) @ Z4 ) ) ) ).

% AND_upper1''
thf(fact_2759_and__less__eq,axiom,
    ! [L: int,K2: int] :
      ( ( ord_less @ int @ L @ ( zero_zero @ int ) )
     => ( ord_less_eq @ int @ ( bit_se5824344872417868541ns_and @ int @ K2 @ L ) @ K2 ) ) ).

% and_less_eq
thf(fact_2760_Heap__Time__Monad_Obind__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( heap_Time_bind @ A @ B )
      = ( ^ [F4: heap_Time_Heap @ A,G4: A > ( heap_Time_Heap @ B )] :
            ( heap_Time_Heap2 @ B
            @ ^ [H7: heap_ext @ product_unit] :
                ( case_option @ ( option @ ( product_prod @ B @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( none @ ( product_prod @ B @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) )
                @ ( product_case_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ ( option @ ( product_prod @ B @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) )
                  @ ^ [R5: A] :
                      ( product_case_prod @ ( heap_ext @ product_unit ) @ nat @ ( option @ ( product_prod @ B @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) )
                      @ ^ [H8: heap_ext @ product_unit,N3: nat] : ( heap_Time_timeFrame @ B @ N3 @ ( heap_Time_execute @ B @ ( G4 @ R5 ) @ H8 ) ) ) )
                @ ( heap_Time_execute @ A @ F4 @ H7 ) ) ) ) ) ).

% Heap_Time_Monad.bind_def
thf(fact_2761_rel__of__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( rel_of @ A @ B )
      = ( ^ [M3: A > ( option @ B ),P5: ( product_prod @ A @ B ) > $o] :
            ( collect @ ( product_prod @ A @ B )
            @ ( product_case_prod @ A @ B @ $o
              @ ^ [K3: A,V3: B] :
                  ( ( ( M3 @ K3 )
                    = ( some @ B @ V3 ) )
                  & ( P5 @ ( product_Pair @ A @ B @ K3 @ V3 ) ) ) ) ) ) ) ).

% rel_of_def
thf(fact_2762_bits__induct,axiom,
    ! [A: $tType] :
      ( ( bit_semiring_bits @ A )
     => ! [P2: A > $o,A3: A] :
          ( ! [A5: A] :
              ( ( ( divide_divide @ A @ A5 @ ( numeral_numeral @ A @ ( bit0 @ one ) ) )
                = A5 )
             => ( P2 @ A5 ) )
         => ( ! [A5: A,B4: $o] :
                ( ( P2 @ A5 )
               => ( ( ( divide_divide @ A @ ( plus_plus @ A @ ( zero_neq_one_of_bool @ A @ B4 ) @ ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ A5 ) ) @ ( numeral_numeral @ A @ ( bit0 @ one ) ) )
                    = A5 )
                 => ( P2 @ ( plus_plus @ A @ ( zero_neq_one_of_bool @ A @ B4 ) @ ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ A5 ) ) ) ) )
           => ( P2 @ A3 ) ) ) ) ).

% bits_induct
thf(fact_2763_exp__mod__exp,axiom,
    ! [A: $tType] :
      ( ( euclid5411537665997757685th_nat @ A )
     => ! [M: nat,N: nat] :
          ( ( modulo_modulo @ A @ ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ M ) @ ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ N ) )
          = ( times_times @ A @ ( zero_neq_one_of_bool @ A @ ( ord_less @ nat @ M @ N ) ) @ ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ M ) ) ) ) ).

% exp_mod_exp
thf(fact_2764_exp__div__exp__eq,axiom,
    ! [A: $tType] :
      ( ( bit_semiring_bits @ A )
     => ! [M: nat,N: nat] :
          ( ( divide_divide @ A @ ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ M ) @ ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ N ) )
          = ( times_times @ A
            @ ( zero_neq_one_of_bool @ A
              @ ( ( ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ M )
                 != ( zero_zero @ A ) )
                & ( ord_less_eq @ nat @ N @ M ) ) )
            @ ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ ( minus_minus @ nat @ M @ N ) ) ) ) ) ).

% exp_div_exp_eq
thf(fact_2765_divide__int__unfold,axiom,
    ! [L: int,K2: int,N: nat,M: nat] :
      ( ( ( ( ( sgn_sgn @ int @ L )
            = ( zero_zero @ int ) )
          | ( ( sgn_sgn @ int @ K2 )
            = ( zero_zero @ int ) )
          | ( N
            = ( zero_zero @ nat ) ) )
       => ( ( divide_divide @ int @ ( times_times @ int @ ( sgn_sgn @ int @ K2 ) @ ( semiring_1_of_nat @ int @ M ) ) @ ( times_times @ int @ ( sgn_sgn @ int @ L ) @ ( semiring_1_of_nat @ int @ N ) ) )
          = ( zero_zero @ int ) ) )
      & ( ~ ( ( ( sgn_sgn @ int @ L )
              = ( zero_zero @ int ) )
            | ( ( sgn_sgn @ int @ K2 )
              = ( zero_zero @ int ) )
            | ( N
              = ( zero_zero @ nat ) ) )
       => ( ( ( ( sgn_sgn @ int @ K2 )
              = ( sgn_sgn @ int @ L ) )
           => ( ( divide_divide @ int @ ( times_times @ int @ ( sgn_sgn @ int @ K2 ) @ ( semiring_1_of_nat @ int @ M ) ) @ ( times_times @ int @ ( sgn_sgn @ int @ L ) @ ( semiring_1_of_nat @ int @ N ) ) )
              = ( semiring_1_of_nat @ int @ ( divide_divide @ nat @ M @ N ) ) ) )
          & ( ( ( sgn_sgn @ int @ K2 )
             != ( sgn_sgn @ int @ L ) )
           => ( ( divide_divide @ int @ ( times_times @ int @ ( sgn_sgn @ int @ K2 ) @ ( semiring_1_of_nat @ int @ M ) ) @ ( times_times @ int @ ( sgn_sgn @ int @ L ) @ ( semiring_1_of_nat @ int @ N ) ) )
              = ( uminus_uminus @ int
                @ ( semiring_1_of_nat @ int
                  @ ( plus_plus @ nat @ ( divide_divide @ nat @ M @ N )
                    @ ( zero_neq_one_of_bool @ nat
                      @ ~ ( dvd_dvd @ nat @ N @ M ) ) ) ) ) ) ) ) ) ) ).

% divide_int_unfold
thf(fact_2766_divide__int__def,axiom,
    ( ( divide_divide @ int )
    = ( ^ [K3: int,L2: int] :
          ( if @ int
          @ ( L2
            = ( zero_zero @ int ) )
          @ ( zero_zero @ int )
          @ ( if @ int
            @ ( ( sgn_sgn @ int @ K3 )
              = ( sgn_sgn @ int @ L2 ) )
            @ ( semiring_1_of_nat @ int @ ( divide_divide @ nat @ ( nat2 @ ( abs_abs @ int @ K3 ) ) @ ( nat2 @ ( abs_abs @ int @ L2 ) ) ) )
            @ ( uminus_uminus @ int
              @ ( semiring_1_of_nat @ int
                @ ( plus_plus @ nat @ ( divide_divide @ nat @ ( nat2 @ ( abs_abs @ int @ K3 ) ) @ ( nat2 @ ( abs_abs @ int @ L2 ) ) )
                  @ ( zero_neq_one_of_bool @ nat
                    @ ~ ( dvd_dvd @ int @ L2 @ K3 ) ) ) ) ) ) ) ) ) ).

% divide_int_def
thf(fact_2767_mlex__eq,axiom,
    ! [A: $tType] :
      ( ( mlex_prod @ A )
      = ( ^ [F4: A > nat,R2: set @ ( product_prod @ A @ A )] :
            ( collect @ ( product_prod @ A @ A )
            @ ( product_case_prod @ A @ A @ $o
              @ ^ [X4: A,Y4: A] :
                  ( ( ord_less @ nat @ ( F4 @ X4 ) @ ( F4 @ Y4 ) )
                  | ( ( ord_less_eq @ nat @ ( F4 @ X4 ) @ ( F4 @ Y4 ) )
                    & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X4 @ Y4 ) @ R2 ) ) ) ) ) ) ) ).

% mlex_eq
thf(fact_2768_and__minus__numerals_I4_J,axiom,
    ! [M: num,N: num] :
      ( ( bit_se5824344872417868541ns_and @ int @ ( numeral_numeral @ int @ M ) @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ ( bit1 @ N ) ) ) )
      = ( case_option @ int @ num @ ( zero_zero @ int ) @ ( numeral_numeral @ int ) @ ( bit_and_not_num @ M @ ( bit0 @ N ) ) ) ) ).

% and_minus_numerals(4)
thf(fact_2769_and__minus__numerals_I8_J,axiom,
    ! [N: num,M: num] :
      ( ( bit_se5824344872417868541ns_and @ int @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ ( bit1 @ N ) ) ) @ ( numeral_numeral @ int @ M ) )
      = ( case_option @ int @ num @ ( zero_zero @ int ) @ ( numeral_numeral @ int ) @ ( bit_and_not_num @ M @ ( bit0 @ N ) ) ) ) ).

% and_minus_numerals(8)
thf(fact_2770_and__int_Osimps,axiom,
    ( ( bit_se5824344872417868541ns_and @ int )
    = ( ^ [K3: int,L2: int] :
          ( if @ int
          @ ( ( member @ int @ K3 @ ( insert @ int @ ( zero_zero @ int ) @ ( insert @ int @ ( uminus_uminus @ int @ ( one_one @ int ) ) @ ( bot_bot @ ( set @ int ) ) ) ) )
            & ( member @ int @ L2 @ ( insert @ int @ ( zero_zero @ int ) @ ( insert @ int @ ( uminus_uminus @ int @ ( one_one @ int ) ) @ ( bot_bot @ ( set @ int ) ) ) ) ) )
          @ ( uminus_uminus @ int
            @ ( zero_neq_one_of_bool @ int
              @ ( ~ ( dvd_dvd @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ K3 )
                & ~ ( dvd_dvd @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ L2 ) ) ) )
          @ ( plus_plus @ int
            @ ( zero_neq_one_of_bool @ int
              @ ( ~ ( dvd_dvd @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ K3 )
                & ~ ( dvd_dvd @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ L2 ) ) )
            @ ( times_times @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ ( bit_se5824344872417868541ns_and @ int @ ( divide_divide @ int @ K3 @ ( numeral_numeral @ int @ ( bit0 @ one ) ) ) @ ( divide_divide @ int @ L2 @ ( numeral_numeral @ int @ ( bit0 @ one ) ) ) ) ) ) ) ) ) ).

% and_int.simps
thf(fact_2771_and__int_Oelims,axiom,
    ! [X: int,Xa: int,Y: int] :
      ( ( ( bit_se5824344872417868541ns_and @ int @ X @ Xa )
        = Y )
     => ( ( ( ( member @ int @ X @ ( insert @ int @ ( zero_zero @ int ) @ ( insert @ int @ ( uminus_uminus @ int @ ( one_one @ int ) ) @ ( bot_bot @ ( set @ int ) ) ) ) )
            & ( member @ int @ Xa @ ( insert @ int @ ( zero_zero @ int ) @ ( insert @ int @ ( uminus_uminus @ int @ ( one_one @ int ) ) @ ( bot_bot @ ( set @ int ) ) ) ) ) )
         => ( Y
            = ( uminus_uminus @ int
              @ ( zero_neq_one_of_bool @ int
                @ ( ~ ( dvd_dvd @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ X )
                  & ~ ( dvd_dvd @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ Xa ) ) ) ) ) )
        & ( ~ ( ( member @ int @ X @ ( insert @ int @ ( zero_zero @ int ) @ ( insert @ int @ ( uminus_uminus @ int @ ( one_one @ int ) ) @ ( bot_bot @ ( set @ int ) ) ) ) )
              & ( member @ int @ Xa @ ( insert @ int @ ( zero_zero @ int ) @ ( insert @ int @ ( uminus_uminus @ int @ ( one_one @ int ) ) @ ( bot_bot @ ( set @ int ) ) ) ) ) )
         => ( Y
            = ( plus_plus @ int
              @ ( zero_neq_one_of_bool @ int
                @ ( ~ ( dvd_dvd @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ X )
                  & ~ ( dvd_dvd @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ Xa ) ) )
              @ ( times_times @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ ( bit_se5824344872417868541ns_and @ int @ ( divide_divide @ int @ X @ ( numeral_numeral @ int @ ( bit0 @ one ) ) ) @ ( divide_divide @ int @ Xa @ ( numeral_numeral @ int @ ( bit0 @ one ) ) ) ) ) ) ) ) ) ) ).

% and_int.elims
thf(fact_2772_Divides_Oadjust__div__eq,axiom,
    ! [Q6: int,R3: int] :
      ( ( adjust_div @ ( product_Pair @ int @ int @ Q6 @ R3 ) )
      = ( plus_plus @ int @ Q6
        @ ( zero_neq_one_of_bool @ int
          @ ( R3
           != ( zero_zero @ int ) ) ) ) ) ).

% Divides.adjust_div_eq
thf(fact_2773_insert__absorb2,axiom,
    ! [A: $tType,X: A,A6: set @ A] :
      ( ( insert @ A @ X @ ( insert @ A @ X @ A6 ) )
      = ( insert @ A @ X @ A6 ) ) ).

% insert_absorb2
thf(fact_2774_insert__iff,axiom,
    ! [A: $tType,A3: A,B2: A,A6: set @ A] :
      ( ( member @ A @ A3 @ ( insert @ A @ B2 @ A6 ) )
      = ( ( A3 = B2 )
        | ( member @ A @ A3 @ A6 ) ) ) ).

% insert_iff
thf(fact_2775_insertCI,axiom,
    ! [A: $tType,A3: A,B6: set @ A,B2: A] :
      ( ( ~ ( member @ A @ A3 @ B6 )
       => ( A3 = B2 ) )
     => ( member @ A @ A3 @ ( insert @ A @ B2 @ B6 ) ) ) ).

% insertCI
thf(fact_2776_split__part,axiom,
    ! [B: $tType,A: $tType,P2: $o,Q2: A > B > $o] :
      ( ( product_case_prod @ A @ B @ $o
        @ ^ [A7: A,B5: B] :
            ( P2
            & ( Q2 @ A7 @ B5 ) ) )
      = ( ^ [Ab: product_prod @ A @ B] :
            ( P2
            & ( product_case_prod @ A @ B @ $o @ Q2 @ Ab ) ) ) ) ).

% split_part
thf(fact_2777_singletonI,axiom,
    ! [A: $tType,A3: A] : ( member @ A @ A3 @ ( insert @ A @ A3 @ ( bot_bot @ ( set @ A ) ) ) ) ).

% singletonI
thf(fact_2778_insert__subset,axiom,
    ! [A: $tType,X: A,A6: set @ A,B6: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ ( insert @ A @ X @ A6 ) @ B6 )
      = ( ( member @ A @ X @ B6 )
        & ( ord_less_eq @ ( set @ A ) @ A6 @ B6 ) ) ) ).

% insert_subset
thf(fact_2779_Int__insert__right__if1,axiom,
    ! [A: $tType,A3: A,A6: set @ A,B6: set @ A] :
      ( ( member @ A @ A3 @ A6 )
     => ( ( inf_inf @ ( set @ A ) @ A6 @ ( insert @ A @ A3 @ B6 ) )
        = ( insert @ A @ A3 @ ( inf_inf @ ( set @ A ) @ A6 @ B6 ) ) ) ) ).

% Int_insert_right_if1
thf(fact_2780_Int__insert__right__if0,axiom,
    ! [A: $tType,A3: A,A6: set @ A,B6: set @ A] :
      ( ~ ( member @ A @ A3 @ A6 )
     => ( ( inf_inf @ ( set @ A ) @ A6 @ ( insert @ A @ A3 @ B6 ) )
        = ( inf_inf @ ( set @ A ) @ A6 @ B6 ) ) ) ).

% Int_insert_right_if0
thf(fact_2781_insert__inter__insert,axiom,
    ! [A: $tType,A3: A,A6: set @ A,B6: set @ A] :
      ( ( inf_inf @ ( set @ A ) @ ( insert @ A @ A3 @ A6 ) @ ( insert @ A @ A3 @ B6 ) )
      = ( insert @ A @ A3 @ ( inf_inf @ ( set @ A ) @ A6 @ B6 ) ) ) ).

% insert_inter_insert
thf(fact_2782_Int__insert__left__if1,axiom,
    ! [A: $tType,A3: A,C5: set @ A,B6: set @ A] :
      ( ( member @ A @ A3 @ C5 )
     => ( ( inf_inf @ ( set @ A ) @ ( insert @ A @ A3 @ B6 ) @ C5 )
        = ( insert @ A @ A3 @ ( inf_inf @ ( set @ A ) @ B6 @ C5 ) ) ) ) ).

% Int_insert_left_if1
thf(fact_2783_Int__insert__left__if0,axiom,
    ! [A: $tType,A3: A,C5: set @ A,B6: set @ A] :
      ( ~ ( member @ A @ A3 @ C5 )
     => ( ( inf_inf @ ( set @ A ) @ ( insert @ A @ A3 @ B6 ) @ C5 )
        = ( inf_inf @ ( set @ A ) @ B6 @ C5 ) ) ) ).

% Int_insert_left_if0
thf(fact_2784_Un__insert__left,axiom,
    ! [A: $tType,A3: A,B6: set @ A,C5: set @ A] :
      ( ( sup_sup @ ( set @ A ) @ ( insert @ A @ A3 @ B6 ) @ C5 )
      = ( insert @ A @ A3 @ ( sup_sup @ ( set @ A ) @ B6 @ C5 ) ) ) ).

% Un_insert_left
thf(fact_2785_Un__insert__right,axiom,
    ! [A: $tType,A6: set @ A,A3: A,B6: set @ A] :
      ( ( sup_sup @ ( set @ A ) @ A6 @ ( insert @ A @ A3 @ B6 ) )
      = ( insert @ A @ A3 @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) ) ) ).

% Un_insert_right
thf(fact_2786_insert__Diff1,axiom,
    ! [A: $tType,X: A,B6: set @ A,A6: set @ A] :
      ( ( member @ A @ X @ B6 )
     => ( ( minus_minus @ ( set @ A ) @ ( insert @ A @ X @ A6 ) @ B6 )
        = ( minus_minus @ ( set @ A ) @ A6 @ B6 ) ) ) ).

% insert_Diff1
thf(fact_2787_Diff__insert0,axiom,
    ! [A: $tType,X: A,A6: set @ A,B6: set @ A] :
      ( ~ ( member @ A @ X @ A6 )
     => ( ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ X @ B6 ) )
        = ( minus_minus @ ( set @ A ) @ A6 @ B6 ) ) ) ).

% Diff_insert0
thf(fact_2788_singleton__conv,axiom,
    ! [A: $tType,A3: A] :
      ( ( collect @ A
        @ ^ [X4: A] : X4 = A3 )
      = ( insert @ A @ A3 @ ( bot_bot @ ( set @ A ) ) ) ) ).

% singleton_conv
thf(fact_2789_singleton__conv2,axiom,
    ! [A: $tType,A3: A] :
      ( ( collect @ A
        @ ( ^ [Y6: A,Z5: A] : Y6 = Z5
          @ A3 ) )
      = ( insert @ A @ A3 @ ( bot_bot @ ( set @ A ) ) ) ) ).

% singleton_conv2
thf(fact_2790_singleton__insert__inj__eq_H,axiom,
    ! [A: $tType,A3: A,A6: set @ A,B2: A] :
      ( ( ( insert @ A @ A3 @ A6 )
        = ( insert @ A @ B2 @ ( bot_bot @ ( set @ A ) ) ) )
      = ( ( A3 = B2 )
        & ( ord_less_eq @ ( set @ A ) @ A6 @ ( insert @ A @ B2 @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ).

% singleton_insert_inj_eq'
thf(fact_2791_singleton__insert__inj__eq,axiom,
    ! [A: $tType,B2: A,A3: A,A6: set @ A] :
      ( ( ( insert @ A @ B2 @ ( bot_bot @ ( set @ A ) ) )
        = ( insert @ A @ A3 @ A6 ) )
      = ( ( A3 = B2 )
        & ( ord_less_eq @ ( set @ A ) @ A6 @ ( insert @ A @ B2 @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ).

% singleton_insert_inj_eq
thf(fact_2792_disjoint__insert_I2_J,axiom,
    ! [A: $tType,A6: set @ A,B2: A,B6: set @ A] :
      ( ( ( bot_bot @ ( set @ A ) )
        = ( inf_inf @ ( set @ A ) @ A6 @ ( insert @ A @ B2 @ B6 ) ) )
      = ( ~ ( member @ A @ B2 @ A6 )
        & ( ( bot_bot @ ( set @ A ) )
          = ( inf_inf @ ( set @ A ) @ A6 @ B6 ) ) ) ) ).

% disjoint_insert(2)
thf(fact_2793_disjoint__insert_I1_J,axiom,
    ! [A: $tType,B6: set @ A,A3: A,A6: set @ A] :
      ( ( ( inf_inf @ ( set @ A ) @ B6 @ ( insert @ A @ A3 @ A6 ) )
        = ( bot_bot @ ( set @ A ) ) )
      = ( ~ ( member @ A @ A3 @ B6 )
        & ( ( inf_inf @ ( set @ A ) @ B6 @ A6 )
          = ( bot_bot @ ( set @ A ) ) ) ) ) ).

% disjoint_insert(1)
thf(fact_2794_insert__disjoint_I2_J,axiom,
    ! [A: $tType,A3: A,A6: set @ A,B6: set @ A] :
      ( ( ( bot_bot @ ( set @ A ) )
        = ( inf_inf @ ( set @ A ) @ ( insert @ A @ A3 @ A6 ) @ B6 ) )
      = ( ~ ( member @ A @ A3 @ B6 )
        & ( ( bot_bot @ ( set @ A ) )
          = ( inf_inf @ ( set @ A ) @ A6 @ B6 ) ) ) ) ).

% insert_disjoint(2)
thf(fact_2795_insert__disjoint_I1_J,axiom,
    ! [A: $tType,A3: A,A6: set @ A,B6: set @ A] :
      ( ( ( inf_inf @ ( set @ A ) @ ( insert @ A @ A3 @ A6 ) @ B6 )
        = ( bot_bot @ ( set @ A ) ) )
      = ( ~ ( member @ A @ A3 @ B6 )
        & ( ( inf_inf @ ( set @ A ) @ A6 @ B6 )
          = ( bot_bot @ ( set @ A ) ) ) ) ) ).

% insert_disjoint(1)
thf(fact_2796_insert__Diff__single,axiom,
    ! [A: $tType,A3: A,A6: set @ A] :
      ( ( insert @ A @ A3 @ ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ A3 @ ( bot_bot @ ( set @ A ) ) ) ) )
      = ( insert @ A @ A3 @ A6 ) ) ).

% insert_Diff_single
thf(fact_2797_subset__Compl__singleton,axiom,
    ! [A: $tType,A6: set @ A,B2: A] :
      ( ( ord_less_eq @ ( set @ A ) @ A6 @ ( uminus_uminus @ ( set @ A ) @ ( insert @ A @ B2 @ ( bot_bot @ ( set @ A ) ) ) ) )
      = ( ~ ( member @ A @ B2 @ A6 ) ) ) ).

% subset_Compl_singleton
thf(fact_2798_prod_Odisc__eq__case,axiom,
    ! [B: $tType,A: $tType,Prod: product_prod @ A @ B] :
      ( product_case_prod @ A @ B @ $o
      @ ^ [Uu2: A,Uv2: B] : $true
      @ Prod ) ).

% prod.disc_eq_case
thf(fact_2799_mk__disjoint__insert,axiom,
    ! [A: $tType,A3: A,A6: set @ A] :
      ( ( member @ A @ A3 @ A6 )
     => ? [B10: set @ A] :
          ( ( A6
            = ( insert @ A @ A3 @ B10 ) )
          & ~ ( member @ A @ A3 @ B10 ) ) ) ).

% mk_disjoint_insert
thf(fact_2800_insert__commute,axiom,
    ! [A: $tType,X: A,Y: A,A6: set @ A] :
      ( ( insert @ A @ X @ ( insert @ A @ Y @ A6 ) )
      = ( insert @ A @ Y @ ( insert @ A @ X @ A6 ) ) ) ).

% insert_commute
thf(fact_2801_insert__eq__iff,axiom,
    ! [A: $tType,A3: A,A6: set @ A,B2: A,B6: set @ A] :
      ( ~ ( member @ A @ A3 @ A6 )
     => ( ~ ( member @ A @ B2 @ B6 )
       => ( ( ( insert @ A @ A3 @ A6 )
            = ( insert @ A @ B2 @ B6 ) )
          = ( ( ( A3 = B2 )
             => ( A6 = B6 ) )
            & ( ( A3 != B2 )
             => ? [C6: set @ A] :
                  ( ( A6
                    = ( insert @ A @ B2 @ C6 ) )
                  & ~ ( member @ A @ B2 @ C6 )
                  & ( B6
                    = ( insert @ A @ A3 @ C6 ) )
                  & ~ ( member @ A @ A3 @ C6 ) ) ) ) ) ) ) ).

% insert_eq_iff
thf(fact_2802_insert__absorb,axiom,
    ! [A: $tType,A3: A,A6: set @ A] :
      ( ( member @ A @ A3 @ A6 )
     => ( ( insert @ A @ A3 @ A6 )
        = A6 ) ) ).

% insert_absorb
thf(fact_2803_insert__ident,axiom,
    ! [A: $tType,X: A,A6: set @ A,B6: set @ A] :
      ( ~ ( member @ A @ X @ A6 )
     => ( ~ ( member @ A @ X @ B6 )
       => ( ( ( insert @ A @ X @ A6 )
            = ( insert @ A @ X @ B6 ) )
          = ( A6 = B6 ) ) ) ) ).

% insert_ident
thf(fact_2804_Set_Oset__insert,axiom,
    ! [A: $tType,X: A,A6: set @ A] :
      ( ( member @ A @ X @ A6 )
     => ~ ! [B10: set @ A] :
            ( ( A6
              = ( insert @ A @ X @ B10 ) )
           => ( member @ A @ X @ B10 ) ) ) ).

% Set.set_insert
thf(fact_2805_insertI2,axiom,
    ! [A: $tType,A3: A,B6: set @ A,B2: A] :
      ( ( member @ A @ A3 @ B6 )
     => ( member @ A @ A3 @ ( insert @ A @ B2 @ B6 ) ) ) ).

% insertI2
thf(fact_2806_insertI1,axiom,
    ! [A: $tType,A3: A,B6: set @ A] : ( member @ A @ A3 @ ( insert @ A @ A3 @ B6 ) ) ).

% insertI1
thf(fact_2807_insertE,axiom,
    ! [A: $tType,A3: A,B2: A,A6: set @ A] :
      ( ( member @ A @ A3 @ ( insert @ A @ B2 @ A6 ) )
     => ( ( A3 != B2 )
       => ( member @ A @ A3 @ A6 ) ) ) ).

% insertE
thf(fact_2808_insert__compr,axiom,
    ! [A: $tType] :
      ( ( insert @ A )
      = ( ^ [A7: A,B7: set @ A] :
            ( collect @ A
            @ ^ [X4: A] :
                ( ( X4 = A7 )
                | ( member @ A @ X4 @ B7 ) ) ) ) ) ).

% insert_compr
thf(fact_2809_insert__Collect,axiom,
    ! [A: $tType,A3: A,P2: A > $o] :
      ( ( insert @ A @ A3 @ ( collect @ A @ P2 ) )
      = ( collect @ A
        @ ^ [U2: A] :
            ( ( U2 != A3 )
           => ( P2 @ U2 ) ) ) ) ).

% insert_Collect
thf(fact_2810_singleton__inject,axiom,
    ! [A: $tType,A3: A,B2: A] :
      ( ( ( insert @ A @ A3 @ ( bot_bot @ ( set @ A ) ) )
        = ( insert @ A @ B2 @ ( bot_bot @ ( set @ A ) ) ) )
     => ( A3 = B2 ) ) ).

% singleton_inject
thf(fact_2811_insert__not__empty,axiom,
    ! [A: $tType,A3: A,A6: set @ A] :
      ( ( insert @ A @ A3 @ A6 )
     != ( bot_bot @ ( set @ A ) ) ) ).

% insert_not_empty
thf(fact_2812_doubleton__eq__iff,axiom,
    ! [A: $tType,A3: A,B2: A,C3: A,D3: A] :
      ( ( ( insert @ A @ A3 @ ( insert @ A @ B2 @ ( bot_bot @ ( set @ A ) ) ) )
        = ( insert @ A @ C3 @ ( insert @ A @ D3 @ ( bot_bot @ ( set @ A ) ) ) ) )
      = ( ( ( A3 = C3 )
          & ( B2 = D3 ) )
        | ( ( A3 = D3 )
          & ( B2 = C3 ) ) ) ) ).

% doubleton_eq_iff
thf(fact_2813_singleton__iff,axiom,
    ! [A: $tType,B2: A,A3: A] :
      ( ( member @ A @ B2 @ ( insert @ A @ A3 @ ( bot_bot @ ( set @ A ) ) ) )
      = ( B2 = A3 ) ) ).

% singleton_iff
thf(fact_2814_singletonD,axiom,
    ! [A: $tType,B2: A,A3: A] :
      ( ( member @ A @ B2 @ ( insert @ A @ A3 @ ( bot_bot @ ( set @ A ) ) ) )
     => ( B2 = A3 ) ) ).

% singletonD
thf(fact_2815_insert__mono,axiom,
    ! [A: $tType,C5: set @ A,D5: set @ A,A3: A] :
      ( ( ord_less_eq @ ( set @ A ) @ C5 @ D5 )
     => ( ord_less_eq @ ( set @ A ) @ ( insert @ A @ A3 @ C5 ) @ ( insert @ A @ A3 @ D5 ) ) ) ).

% insert_mono
thf(fact_2816_subset__insert,axiom,
    ! [A: $tType,X: A,A6: set @ A,B6: set @ A] :
      ( ~ ( member @ A @ X @ A6 )
     => ( ( ord_less_eq @ ( set @ A ) @ A6 @ ( insert @ A @ X @ B6 ) )
        = ( ord_less_eq @ ( set @ A ) @ A6 @ B6 ) ) ) ).

% subset_insert
thf(fact_2817_subset__insertI,axiom,
    ! [A: $tType,B6: set @ A,A3: A] : ( ord_less_eq @ ( set @ A ) @ B6 @ ( insert @ A @ A3 @ B6 ) ) ).

% subset_insertI
thf(fact_2818_subset__insertI2,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A,B2: A] :
      ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
     => ( ord_less_eq @ ( set @ A ) @ A6 @ ( insert @ A @ B2 @ B6 ) ) ) ).

% subset_insertI2
thf(fact_2819_insert__subsetI,axiom,
    ! [A: $tType,X: A,A6: set @ A,X7: set @ A] :
      ( ( member @ A @ X @ A6 )
     => ( ( ord_less_eq @ ( set @ A ) @ X7 @ A6 )
       => ( ord_less_eq @ ( set @ A ) @ ( insert @ A @ X @ X7 ) @ A6 ) ) ) ).

% insert_subsetI
thf(fact_2820_Int__insert__right,axiom,
    ! [A: $tType,A3: A,A6: set @ A,B6: set @ A] :
      ( ( ( member @ A @ A3 @ A6 )
       => ( ( inf_inf @ ( set @ A ) @ A6 @ ( insert @ A @ A3 @ B6 ) )
          = ( insert @ A @ A3 @ ( inf_inf @ ( set @ A ) @ A6 @ B6 ) ) ) )
      & ( ~ ( member @ A @ A3 @ A6 )
       => ( ( inf_inf @ ( set @ A ) @ A6 @ ( insert @ A @ A3 @ B6 ) )
          = ( inf_inf @ ( set @ A ) @ A6 @ B6 ) ) ) ) ).

% Int_insert_right
thf(fact_2821_Int__insert__left,axiom,
    ! [A: $tType,A3: A,C5: set @ A,B6: set @ A] :
      ( ( ( member @ A @ A3 @ C5 )
       => ( ( inf_inf @ ( set @ A ) @ ( insert @ A @ A3 @ B6 ) @ C5 )
          = ( insert @ A @ A3 @ ( inf_inf @ ( set @ A ) @ B6 @ C5 ) ) ) )
      & ( ~ ( member @ A @ A3 @ C5 )
       => ( ( inf_inf @ ( set @ A ) @ ( insert @ A @ A3 @ B6 ) @ C5 )
          = ( inf_inf @ ( set @ A ) @ B6 @ C5 ) ) ) ) ).

% Int_insert_left
thf(fact_2822_insert__Diff__if,axiom,
    ! [A: $tType,X: A,B6: set @ A,A6: set @ A] :
      ( ( ( member @ A @ X @ B6 )
       => ( ( minus_minus @ ( set @ A ) @ ( insert @ A @ X @ A6 ) @ B6 )
          = ( minus_minus @ ( set @ A ) @ A6 @ B6 ) ) )
      & ( ~ ( member @ A @ X @ B6 )
       => ( ( minus_minus @ ( set @ A ) @ ( insert @ A @ X @ A6 ) @ B6 )
          = ( insert @ A @ X @ ( minus_minus @ ( set @ A ) @ A6 @ B6 ) ) ) ) ) ).

% insert_Diff_if
thf(fact_2823_Collect__conv__if,axiom,
    ! [A: $tType,P2: A > $o,A3: A] :
      ( ( ( P2 @ A3 )
       => ( ( collect @ A
            @ ^ [X4: A] :
                ( ( X4 = A3 )
                & ( P2 @ X4 ) ) )
          = ( insert @ A @ A3 @ ( bot_bot @ ( set @ A ) ) ) ) )
      & ( ~ ( P2 @ A3 )
       => ( ( collect @ A
            @ ^ [X4: A] :
                ( ( X4 = A3 )
                & ( P2 @ X4 ) ) )
          = ( bot_bot @ ( set @ A ) ) ) ) ) ).

% Collect_conv_if
thf(fact_2824_Collect__conv__if2,axiom,
    ! [A: $tType,P2: A > $o,A3: A] :
      ( ( ( P2 @ A3 )
       => ( ( collect @ A
            @ ^ [X4: A] :
                ( ( A3 = X4 )
                & ( P2 @ X4 ) ) )
          = ( insert @ A @ A3 @ ( bot_bot @ ( set @ A ) ) ) ) )
      & ( ~ ( P2 @ A3 )
       => ( ( collect @ A
            @ ^ [X4: A] :
                ( ( A3 = X4 )
                & ( P2 @ X4 ) ) )
          = ( bot_bot @ ( set @ A ) ) ) ) ) ).

% Collect_conv_if2
thf(fact_2825_insert__def,axiom,
    ! [A: $tType] :
      ( ( insert @ A )
      = ( ^ [A7: A] :
            ( sup_sup @ ( set @ A )
            @ ( collect @ A
              @ ^ [X4: A] : X4 = A7 ) ) ) ) ).

% insert_def
thf(fact_2826_subset__singleton__iff,axiom,
    ! [A: $tType,X7: set @ A,A3: A] :
      ( ( ord_less_eq @ ( set @ A ) @ X7 @ ( insert @ A @ A3 @ ( bot_bot @ ( set @ A ) ) ) )
      = ( ( X7
          = ( bot_bot @ ( set @ A ) ) )
        | ( X7
          = ( insert @ A @ A3 @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ).

% subset_singleton_iff
thf(fact_2827_subset__singletonD,axiom,
    ! [A: $tType,A6: set @ A,X: A] :
      ( ( ord_less_eq @ ( set @ A ) @ A6 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) )
     => ( ( A6
          = ( bot_bot @ ( set @ A ) ) )
        | ( A6
          = ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ).

% subset_singletonD
thf(fact_2828_insert__is__Un,axiom,
    ! [A: $tType] :
      ( ( insert @ A )
      = ( ^ [A7: A] : ( sup_sup @ ( set @ A ) @ ( insert @ A @ A7 @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ).

% insert_is_Un
thf(fact_2829_Un__singleton__iff,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A,X: A] :
      ( ( ( sup_sup @ ( set @ A ) @ A6 @ B6 )
        = ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) )
      = ( ( ( A6
            = ( bot_bot @ ( set @ A ) ) )
          & ( B6
            = ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) ) )
        | ( ( A6
            = ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) )
          & ( B6
            = ( bot_bot @ ( set @ A ) ) ) )
        | ( ( A6
            = ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) )
          & ( B6
            = ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ) ).

% Un_singleton_iff
thf(fact_2830_singleton__Un__iff,axiom,
    ! [A: $tType,X: A,A6: set @ A,B6: set @ A] :
      ( ( ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) )
        = ( sup_sup @ ( set @ A ) @ A6 @ B6 ) )
      = ( ( ( A6
            = ( bot_bot @ ( set @ A ) ) )
          & ( B6
            = ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) ) )
        | ( ( A6
            = ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) )
          & ( B6
            = ( bot_bot @ ( set @ A ) ) ) )
        | ( ( A6
            = ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) )
          & ( B6
            = ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ) ).

% singleton_Un_iff
thf(fact_2831_set__minus__singleton__eq,axiom,
    ! [A: $tType,X: A,X7: set @ A] :
      ( ~ ( member @ A @ X @ X7 )
     => ( ( minus_minus @ ( set @ A ) @ X7 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) )
        = X7 ) ) ).

% set_minus_singleton_eq
thf(fact_2832_insert__minus__eq,axiom,
    ! [A: $tType,X: A,Y: A,A6: set @ A] :
      ( ( X != Y )
     => ( ( minus_minus @ ( set @ A ) @ ( insert @ A @ X @ A6 ) @ ( insert @ A @ Y @ ( bot_bot @ ( set @ A ) ) ) )
        = ( insert @ A @ X @ ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ Y @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ) ).

% insert_minus_eq
thf(fact_2833_Diff__insert__absorb,axiom,
    ! [A: $tType,X: A,A6: set @ A] :
      ( ~ ( member @ A @ X @ A6 )
     => ( ( minus_minus @ ( set @ A ) @ ( insert @ A @ X @ A6 ) @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) )
        = A6 ) ) ).

% Diff_insert_absorb
thf(fact_2834_Diff__insert2,axiom,
    ! [A: $tType,A6: set @ A,A3: A,B6: set @ A] :
      ( ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ A3 @ B6 ) )
      = ( minus_minus @ ( set @ A ) @ ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ A3 @ ( bot_bot @ ( set @ A ) ) ) ) @ B6 ) ) ).

% Diff_insert2
thf(fact_2835_insert__Diff,axiom,
    ! [A: $tType,A3: A,A6: set @ A] :
      ( ( member @ A @ A3 @ A6 )
     => ( ( insert @ A @ A3 @ ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ A3 @ ( bot_bot @ ( set @ A ) ) ) ) )
        = A6 ) ) ).

% insert_Diff
thf(fact_2836_Diff__insert,axiom,
    ! [A: $tType,A6: set @ A,A3: A,B6: set @ A] :
      ( ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ A3 @ B6 ) )
      = ( minus_minus @ ( set @ A ) @ ( minus_minus @ ( set @ A ) @ A6 @ B6 ) @ ( insert @ A @ A3 @ ( bot_bot @ ( set @ A ) ) ) ) ) ).

% Diff_insert
thf(fact_2837_subset__Diff__insert,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A,X: A,C5: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ A6 @ ( minus_minus @ ( set @ A ) @ B6 @ ( insert @ A @ X @ C5 ) ) )
      = ( ( ord_less_eq @ ( set @ A ) @ A6 @ ( minus_minus @ ( set @ A ) @ B6 @ C5 ) )
        & ~ ( member @ A @ X @ A6 ) ) ) ).

% subset_Diff_insert
thf(fact_2838_subset__insert__iff,axiom,
    ! [A: $tType,A6: set @ A,X: A,B6: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ A6 @ ( insert @ A @ X @ B6 ) )
      = ( ( ( member @ A @ X @ A6 )
         => ( ord_less_eq @ ( set @ A ) @ ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) ) @ B6 ) )
        & ( ~ ( member @ A @ X @ A6 )
         => ( ord_less_eq @ ( set @ A ) @ A6 @ B6 ) ) ) ) ).

% subset_insert_iff
thf(fact_2839_Diff__single__insert,axiom,
    ! [A: $tType,A6: set @ A,X: A,B6: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) ) @ B6 )
     => ( ord_less_eq @ ( set @ A ) @ A6 @ ( insert @ A @ X @ B6 ) ) ) ).

% Diff_single_insert
thf(fact_2840_remove__subset,axiom,
    ! [A: $tType,X: A,S: set @ A] :
      ( ( member @ A @ X @ S )
     => ( ord_less @ ( set @ A ) @ ( minus_minus @ ( set @ A ) @ S @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) ) @ S ) ) ).

% remove_subset
thf(fact_2841_Compl__insert,axiom,
    ! [A: $tType,X: A,A6: set @ A] :
      ( ( uminus_uminus @ ( set @ A ) @ ( insert @ A @ X @ A6 ) )
      = ( minus_minus @ ( set @ A ) @ ( uminus_uminus @ ( set @ A ) @ A6 ) @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) ) ) ).

% Compl_insert
thf(fact_2842_psubset__insert__iff,axiom,
    ! [A: $tType,A6: set @ A,X: A,B6: set @ A] :
      ( ( ord_less @ ( set @ A ) @ A6 @ ( insert @ A @ X @ B6 ) )
      = ( ( ( member @ A @ X @ B6 )
         => ( ord_less @ ( set @ A ) @ A6 @ B6 ) )
        & ( ~ ( member @ A @ X @ B6 )
         => ( ( ( member @ A @ X @ A6 )
             => ( ord_less @ ( set @ A ) @ ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) ) @ B6 ) )
            & ( ~ ( member @ A @ X @ A6 )
             => ( ord_less_eq @ ( set @ A ) @ A6 @ B6 ) ) ) ) ) ) ).

% psubset_insert_iff
thf(fact_2843_and__not__num_Osimps_I8_J,axiom,
    ! [M: num,N: num] :
      ( ( bit_and_not_num @ ( bit1 @ M ) @ ( bit0 @ N ) )
      = ( case_option @ ( option @ num ) @ num @ ( some @ num @ one )
        @ ^ [N9: num] : ( some @ num @ ( bit1 @ N9 ) )
        @ ( bit_and_not_num @ M @ N ) ) ) ).

% and_not_num.simps(8)
thf(fact_2844_Divides_Oadjust__div__def,axiom,
    ( adjust_div
    = ( product_case_prod @ int @ int @ int
      @ ^ [Q8: int,R5: int] :
          ( plus_plus @ int @ Q8
          @ ( zero_neq_one_of_bool @ int
            @ ( R5
             != ( zero_zero @ int ) ) ) ) ) ) ).

% Divides.adjust_div_def
thf(fact_2845_and__nat__rec,axiom,
    ( ( bit_se5824344872417868541ns_and @ nat )
    = ( ^ [M3: nat,N3: nat] :
          ( plus_plus @ nat
          @ ( zero_neq_one_of_bool @ nat
            @ ( ~ ( dvd_dvd @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ M3 )
              & ~ ( dvd_dvd @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N3 ) ) )
          @ ( times_times @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ ( bit_se5824344872417868541ns_and @ nat @ ( divide_divide @ nat @ M3 @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) @ ( divide_divide @ nat @ N3 @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) ) ) ) ) ) ).

% and_nat_rec
thf(fact_2846_and__nat__unfold,axiom,
    ( ( bit_se5824344872417868541ns_and @ nat )
    = ( ^ [M3: nat,N3: nat] :
          ( if @ nat
          @ ( ( M3
              = ( zero_zero @ nat ) )
            | ( N3
              = ( zero_zero @ nat ) ) )
          @ ( zero_zero @ nat )
          @ ( plus_plus @ nat @ ( times_times @ nat @ ( modulo_modulo @ nat @ M3 @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) @ ( modulo_modulo @ nat @ N3 @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) ) @ ( times_times @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ ( bit_se5824344872417868541ns_and @ nat @ ( divide_divide @ nat @ M3 @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) @ ( divide_divide @ nat @ N3 @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) ) ) ) ) ) ) ).

% and_nat_unfold
thf(fact_2847_and__int_Opelims,axiom,
    ! [X: int,Xa: int,Y: int] :
      ( ( ( bit_se5824344872417868541ns_and @ int @ X @ Xa )
        = Y )
     => ( ( accp @ ( product_prod @ int @ int ) @ bit_and_int_rel @ ( product_Pair @ int @ int @ X @ Xa ) )
       => ~ ( ( ( ( ( member @ int @ X @ ( insert @ int @ ( zero_zero @ int ) @ ( insert @ int @ ( uminus_uminus @ int @ ( one_one @ int ) ) @ ( bot_bot @ ( set @ int ) ) ) ) )
                  & ( member @ int @ Xa @ ( insert @ int @ ( zero_zero @ int ) @ ( insert @ int @ ( uminus_uminus @ int @ ( one_one @ int ) ) @ ( bot_bot @ ( set @ int ) ) ) ) ) )
               => ( Y
                  = ( uminus_uminus @ int
                    @ ( zero_neq_one_of_bool @ int
                      @ ( ~ ( dvd_dvd @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ X )
                        & ~ ( dvd_dvd @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ Xa ) ) ) ) ) )
              & ( ~ ( ( member @ int @ X @ ( insert @ int @ ( zero_zero @ int ) @ ( insert @ int @ ( uminus_uminus @ int @ ( one_one @ int ) ) @ ( bot_bot @ ( set @ int ) ) ) ) )
                    & ( member @ int @ Xa @ ( insert @ int @ ( zero_zero @ int ) @ ( insert @ int @ ( uminus_uminus @ int @ ( one_one @ int ) ) @ ( bot_bot @ ( set @ int ) ) ) ) ) )
               => ( Y
                  = ( plus_plus @ int
                    @ ( zero_neq_one_of_bool @ int
                      @ ( ~ ( dvd_dvd @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ X )
                        & ~ ( dvd_dvd @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ Xa ) ) )
                    @ ( times_times @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ ( bit_se5824344872417868541ns_and @ int @ ( divide_divide @ int @ X @ ( numeral_numeral @ int @ ( bit0 @ one ) ) ) @ ( divide_divide @ int @ Xa @ ( numeral_numeral @ int @ ( bit0 @ one ) ) ) ) ) ) ) ) )
           => ~ ( accp @ ( product_prod @ int @ int ) @ bit_and_int_rel @ ( product_Pair @ int @ int @ X @ Xa ) ) ) ) ) ).

% and_int.pelims
thf(fact_2848_and__int_Opsimps,axiom,
    ! [K2: int,L: int] :
      ( ( accp @ ( product_prod @ int @ int ) @ bit_and_int_rel @ ( product_Pair @ int @ int @ K2 @ L ) )
     => ( ( ( ( member @ int @ K2 @ ( insert @ int @ ( zero_zero @ int ) @ ( insert @ int @ ( uminus_uminus @ int @ ( one_one @ int ) ) @ ( bot_bot @ ( set @ int ) ) ) ) )
            & ( member @ int @ L @ ( insert @ int @ ( zero_zero @ int ) @ ( insert @ int @ ( uminus_uminus @ int @ ( one_one @ int ) ) @ ( bot_bot @ ( set @ int ) ) ) ) ) )
         => ( ( bit_se5824344872417868541ns_and @ int @ K2 @ L )
            = ( uminus_uminus @ int
              @ ( zero_neq_one_of_bool @ int
                @ ( ~ ( dvd_dvd @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ K2 )
                  & ~ ( dvd_dvd @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ L ) ) ) ) ) )
        & ( ~ ( ( member @ int @ K2 @ ( insert @ int @ ( zero_zero @ int ) @ ( insert @ int @ ( uminus_uminus @ int @ ( one_one @ int ) ) @ ( bot_bot @ ( set @ int ) ) ) ) )
              & ( member @ int @ L @ ( insert @ int @ ( zero_zero @ int ) @ ( insert @ int @ ( uminus_uminus @ int @ ( one_one @ int ) ) @ ( bot_bot @ ( set @ int ) ) ) ) ) )
         => ( ( bit_se5824344872417868541ns_and @ int @ K2 @ L )
            = ( plus_plus @ int
              @ ( zero_neq_one_of_bool @ int
                @ ( ~ ( dvd_dvd @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ K2 )
                  & ~ ( dvd_dvd @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ L ) ) )
              @ ( times_times @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ ( bit_se5824344872417868541ns_and @ int @ ( divide_divide @ int @ K2 @ ( numeral_numeral @ int @ ( bit0 @ one ) ) ) @ ( divide_divide @ int @ L @ ( numeral_numeral @ int @ ( bit0 @ one ) ) ) ) ) ) ) ) ) ) ).

% and_int.psimps
thf(fact_2849_and__minus__numerals_I7_J,axiom,
    ! [N: num,M: num] :
      ( ( bit_se5824344872417868541ns_and @ int @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ ( bit0 @ N ) ) ) @ ( numeral_numeral @ int @ M ) )
      = ( case_option @ int @ num @ ( zero_zero @ int ) @ ( numeral_numeral @ int ) @ ( bit_and_not_num @ M @ ( bitM @ N ) ) ) ) ).

% and_minus_numerals(7)
thf(fact_2850_and__minus__numerals_I3_J,axiom,
    ! [M: num,N: num] :
      ( ( bit_se5824344872417868541ns_and @ int @ ( numeral_numeral @ int @ M ) @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ ( bit0 @ N ) ) ) )
      = ( case_option @ int @ num @ ( zero_zero @ int ) @ ( numeral_numeral @ int ) @ ( bit_and_not_num @ M @ ( bitM @ N ) ) ) ) ).

% and_minus_numerals(3)
thf(fact_2851_int__ge__less__than2__def,axiom,
    ( int_ge_less_than2
    = ( ^ [D6: int] :
          ( collect @ ( product_prod @ int @ int )
          @ ( product_case_prod @ int @ int @ $o
            @ ^ [Z9: int,Z2: int] :
                ( ( ord_less_eq @ int @ D6 @ Z2 )
                & ( ord_less @ int @ Z9 @ Z2 ) ) ) ) ) ) ).

% int_ge_less_than2_def
thf(fact_2852_trancl__single,axiom,
    ! [A: $tType,A3: A,B2: A] :
      ( ( transitive_trancl @ A @ ( insert @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ ( bot_bot @ ( set @ ( product_prod @ A @ A ) ) ) ) )
      = ( insert @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ ( bot_bot @ ( set @ ( product_prod @ A @ A ) ) ) ) ) ).

% trancl_single
thf(fact_2853_trancl__sub__insert__trancl,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A ),X: product_prod @ A @ A] : ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ ( transitive_trancl @ A @ R4 ) @ ( transitive_trancl @ A @ ( insert @ ( product_prod @ A @ A ) @ X @ R4 ) ) ) ).

% trancl_sub_insert_trancl
thf(fact_2854_one__plus__BitM,axiom,
    ! [N: num] :
      ( ( plus_plus @ num @ one @ ( bitM @ N ) )
      = ( bit0 @ N ) ) ).

% one_plus_BitM
thf(fact_2855_BitM__plus__one,axiom,
    ! [N: num] :
      ( ( plus_plus @ num @ ( bitM @ N ) @ one )
      = ( bit0 @ N ) ) ).

% BitM_plus_one
thf(fact_2856_trancl__insert2,axiom,
    ! [A: $tType,A3: A,B2: A,R3: set @ ( product_prod @ A @ A )] :
      ( ( transitive_trancl @ A @ ( insert @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ R3 ) )
      = ( sup_sup @ ( set @ ( product_prod @ A @ A ) ) @ ( transitive_trancl @ A @ R3 )
        @ ( collect @ ( product_prod @ A @ A )
          @ ( product_case_prod @ A @ A @ $o
            @ ^ [X4: A,Y4: A] :
                ( ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X4 @ A3 ) @ ( transitive_trancl @ A @ R3 ) )
                  | ( X4 = A3 ) )
                & ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ B2 @ Y4 ) @ ( transitive_trancl @ A @ R3 ) )
                  | ( Y4 = B2 ) ) ) ) ) ) ) ).

% trancl_insert2
thf(fact_2857_int__ge__less__than__def,axiom,
    ( int_ge_less_than
    = ( ^ [D6: int] :
          ( collect @ ( product_prod @ int @ int )
          @ ( product_case_prod @ int @ int @ $o
            @ ^ [Z9: int,Z2: int] :
                ( ( ord_less_eq @ int @ D6 @ Z9 )
                & ( ord_less @ int @ Z9 @ Z2 ) ) ) ) ) ) ).

% int_ge_less_than_def
thf(fact_2858_sngr__assn__raw_Osimps,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [R3: ref @ A,X: A,H: heap_ext @ product_unit,As: set @ nat] :
          ( ( sngr_assn_raw @ A @ R3 @ X @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ As ) )
          = ( ( ( ref_get @ A @ H @ R3 )
              = X )
            & ( As
              = ( insert @ nat @ ( addr_of_ref @ A @ R3 ) @ ( bot_bot @ ( set @ nat ) ) ) )
            & ( ord_less @ nat @ ( addr_of_ref @ A @ R3 ) @ ( lim @ product_unit @ H ) ) ) ) ) ).

% sngr_assn_raw.simps
thf(fact_2859_sngr__assn__raw_Oelims_I1_J,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [X: ref @ A,Xa: A,Xb: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ),Y: $o] :
          ( ( ( sngr_assn_raw @ A @ X @ Xa @ Xb )
            = Y )
         => ~ ! [H2: heap_ext @ product_unit,As2: set @ nat] :
                ( ( Xb
                  = ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
               => ( Y
                  = ( ~ ( ( ( ref_get @ A @ H2 @ X )
                          = Xa )
                        & ( As2
                          = ( insert @ nat @ ( addr_of_ref @ A @ X ) @ ( bot_bot @ ( set @ nat ) ) ) )
                        & ( ord_less @ nat @ ( addr_of_ref @ A @ X ) @ ( lim @ product_unit @ H2 ) ) ) ) ) ) ) ) ).

% sngr_assn_raw.elims(1)
thf(fact_2860_sngr__assn__raw_Oelims_I2_J,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [X: ref @ A,Xa: A,Xb: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
          ( ( sngr_assn_raw @ A @ X @ Xa @ Xb )
         => ~ ! [H2: heap_ext @ product_unit,As2: set @ nat] :
                ( ( Xb
                  = ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
               => ~ ( ( ( ref_get @ A @ H2 @ X )
                      = Xa )
                    & ( As2
                      = ( insert @ nat @ ( addr_of_ref @ A @ X ) @ ( bot_bot @ ( set @ nat ) ) ) )
                    & ( ord_less @ nat @ ( addr_of_ref @ A @ X ) @ ( lim @ product_unit @ H2 ) ) ) ) ) ) ).

% sngr_assn_raw.elims(2)
thf(fact_2861_sngr__assn__def,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ( ( sngr_assn @ A )
        = ( ^ [R5: ref @ A,X4: A] : ( abs_assn @ ( sngr_assn_raw @ A @ R5 @ X4 ) ) ) ) ) ).

% sngr_assn_def
thf(fact_2862_sngr__assn__raw_Oelims_I3_J,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [X: ref @ A,Xa: A,Xb: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
          ( ~ ( sngr_assn_raw @ A @ X @ Xa @ Xb )
         => ~ ! [H2: heap_ext @ product_unit,As2: set @ nat] :
                ( ( Xb
                  = ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
               => ( ( ( ref_get @ A @ H2 @ X )
                    = Xa )
                  & ( As2
                    = ( insert @ nat @ ( addr_of_ref @ A @ X ) @ ( bot_bot @ ( set @ nat ) ) ) )
                  & ( ord_less @ nat @ ( addr_of_ref @ A @ X ) @ ( lim @ product_unit @ H2 ) ) ) ) ) ) ).

% sngr_assn_raw.elims(3)
thf(fact_2863_sngr__assn__raw_Opelims_I1_J,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [X: ref @ A,Xa: A,Xb: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ),Y: $o] :
          ( ( ( sngr_assn_raw @ A @ X @ Xa @ Xb )
            = Y )
         => ( ( accp @ ( product_prod @ ( ref @ A ) @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) ) @ ( sngr_assn_raw_rel @ A ) @ ( product_Pair @ ( ref @ A ) @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) @ X @ ( product_Pair @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) @ Xa @ Xb ) ) )
           => ~ ! [H2: heap_ext @ product_unit,As2: set @ nat] :
                  ( ( Xb
                    = ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
                 => ( ( Y
                      = ( ( ( ref_get @ A @ H2 @ X )
                          = Xa )
                        & ( As2
                          = ( insert @ nat @ ( addr_of_ref @ A @ X ) @ ( bot_bot @ ( set @ nat ) ) ) )
                        & ( ord_less @ nat @ ( addr_of_ref @ A @ X ) @ ( lim @ product_unit @ H2 ) ) ) )
                   => ~ ( accp @ ( product_prod @ ( ref @ A ) @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) ) @ ( sngr_assn_raw_rel @ A ) @ ( product_Pair @ ( ref @ A ) @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) @ X @ ( product_Pair @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) @ Xa @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) ) ) ) ) ) ) ) ) ).

% sngr_assn_raw.pelims(1)
thf(fact_2864_sngr__assn__raw_Opelims_I2_J,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [X: ref @ A,Xa: A,Xb: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
          ( ( sngr_assn_raw @ A @ X @ Xa @ Xb )
         => ( ( accp @ ( product_prod @ ( ref @ A ) @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) ) @ ( sngr_assn_raw_rel @ A ) @ ( product_Pair @ ( ref @ A ) @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) @ X @ ( product_Pair @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) @ Xa @ Xb ) ) )
           => ~ ! [H2: heap_ext @ product_unit,As2: set @ nat] :
                  ( ( Xb
                    = ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
                 => ( ( accp @ ( product_prod @ ( ref @ A ) @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) ) @ ( sngr_assn_raw_rel @ A ) @ ( product_Pair @ ( ref @ A ) @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) @ X @ ( product_Pair @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) @ Xa @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) ) ) )
                   => ~ ( ( ( ref_get @ A @ H2 @ X )
                          = Xa )
                        & ( As2
                          = ( insert @ nat @ ( addr_of_ref @ A @ X ) @ ( bot_bot @ ( set @ nat ) ) ) )
                        & ( ord_less @ nat @ ( addr_of_ref @ A @ X ) @ ( lim @ product_unit @ H2 ) ) ) ) ) ) ) ) ).

% sngr_assn_raw.pelims(2)
thf(fact_2865_sngr__assn__raw_Opelims_I3_J,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [X: ref @ A,Xa: A,Xb: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
          ( ~ ( sngr_assn_raw @ A @ X @ Xa @ Xb )
         => ( ( accp @ ( product_prod @ ( ref @ A ) @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) ) @ ( sngr_assn_raw_rel @ A ) @ ( product_Pair @ ( ref @ A ) @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) @ X @ ( product_Pair @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) @ Xa @ Xb ) ) )
           => ~ ! [H2: heap_ext @ product_unit,As2: set @ nat] :
                  ( ( Xb
                    = ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
                 => ( ( accp @ ( product_prod @ ( ref @ A ) @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) ) @ ( sngr_assn_raw_rel @ A ) @ ( product_Pair @ ( ref @ A ) @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) @ X @ ( product_Pair @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) @ Xa @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) ) ) )
                   => ( ( ( ref_get @ A @ H2 @ X )
                        = Xa )
                      & ( As2
                        = ( insert @ nat @ ( addr_of_ref @ A @ X ) @ ( bot_bot @ ( set @ nat ) ) ) )
                      & ( ord_less @ nat @ ( addr_of_ref @ A @ X ) @ ( lim @ product_unit @ H2 ) ) ) ) ) ) ) ) ).

% sngr_assn_raw.pelims(3)
thf(fact_2866_log_Osimps,axiom,
    ( log
    = ( ^ [B5: code_natural,I: code_natural] :
          ( if @ code_natural
          @ ( ( ord_less_eq @ code_natural @ B5 @ ( one_one @ code_natural ) )
            | ( ord_less @ code_natural @ I @ B5 ) )
          @ ( one_one @ code_natural )
          @ ( plus_plus @ code_natural @ ( one_one @ code_natural ) @ ( log @ B5 @ ( divide_divide @ code_natural @ I @ B5 ) ) ) ) ) ) ).

% log.simps
thf(fact_2867_log_Oelims,axiom,
    ! [X: code_natural,Xa: code_natural,Y: code_natural] :
      ( ( ( log @ X @ Xa )
        = Y )
     => ( ( ( ( ord_less_eq @ code_natural @ X @ ( one_one @ code_natural ) )
            | ( ord_less @ code_natural @ Xa @ X ) )
         => ( Y
            = ( one_one @ code_natural ) ) )
        & ( ~ ( ( ord_less_eq @ code_natural @ X @ ( one_one @ code_natural ) )
              | ( ord_less @ code_natural @ Xa @ X ) )
         => ( Y
            = ( plus_plus @ code_natural @ ( one_one @ code_natural ) @ ( log @ X @ ( divide_divide @ code_natural @ Xa @ X ) ) ) ) ) ) ) ).

% log.elims
thf(fact_2868_log_Opelims,axiom,
    ! [X: code_natural,Xa: code_natural,Y: code_natural] :
      ( ( ( log @ X @ Xa )
        = Y )
     => ( ( accp @ ( product_prod @ code_natural @ code_natural ) @ log_rel @ ( product_Pair @ code_natural @ code_natural @ X @ Xa ) )
       => ~ ( ( ( ( ( ord_less_eq @ code_natural @ X @ ( one_one @ code_natural ) )
                  | ( ord_less @ code_natural @ Xa @ X ) )
               => ( Y
                  = ( one_one @ code_natural ) ) )
              & ( ~ ( ( ord_less_eq @ code_natural @ X @ ( one_one @ code_natural ) )
                    | ( ord_less @ code_natural @ Xa @ X ) )
               => ( Y
                  = ( plus_plus @ code_natural @ ( one_one @ code_natural ) @ ( log @ X @ ( divide_divide @ code_natural @ Xa @ X ) ) ) ) ) )
           => ~ ( accp @ ( product_prod @ code_natural @ code_natural ) @ log_rel @ ( product_Pair @ code_natural @ code_natural @ X @ Xa ) ) ) ) ) ).

% log.pelims
thf(fact_2869_minus__shift__def,axiom,
    ( minus_shift
    = ( ^ [R5: code_natural,K3: code_natural,L2: code_natural] : ( if @ code_natural @ ( ord_less @ code_natural @ K3 @ L2 ) @ ( minus_minus @ code_natural @ ( plus_plus @ code_natural @ R5 @ K3 ) @ L2 ) @ ( minus_minus @ code_natural @ K3 @ L2 ) ) ) ) ).

% minus_shift_def
thf(fact_2870_next_Osimps,axiom,
    ! [V2: code_natural,W2: code_natural] :
      ( ( next @ ( product_Pair @ code_natural @ code_natural @ V2 @ W2 ) )
      = ( product_Pair @ code_natural @ ( product_prod @ code_natural @ code_natural ) @ ( plus_plus @ code_natural @ ( minus_shift @ ( numeral_numeral @ code_natural @ ( bit0 @ ( bit1 @ ( bit0 @ ( bit1 @ ( bit0 @ ( bit1 @ ( bit0 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ one ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) @ ( minus_shift @ ( numeral_numeral @ code_natural @ ( bit1 @ ( bit1 @ ( bit0 @ ( bit1 @ ( bit0 @ ( bit1 @ ( bit0 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ one ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) @ ( times_times @ code_natural @ ( modulo_modulo @ code_natural @ V2 @ ( numeral_numeral @ code_natural @ ( bit0 @ ( bit0 @ ( bit1 @ ( bit0 @ ( bit0 @ ( bit1 @ ( bit0 @ ( bit1 @ ( bit1 @ ( bit0 @ ( bit0 @ ( bit0 @ ( bit1 @ ( bit0 @ ( bit1 @ one ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) @ ( numeral_numeral @ code_natural @ ( bit0 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit0 @ ( bit0 @ ( bit1 @ ( bit0 @ ( bit0 @ ( bit0 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit0 @ ( bit0 @ one ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) @ ( times_times @ code_natural @ ( divide_divide @ code_natural @ V2 @ ( numeral_numeral @ code_natural @ ( bit0 @ ( bit0 @ ( bit1 @ ( bit0 @ ( bit0 @ ( bit1 @ ( bit0 @ ( bit1 @ ( bit1 @ ( bit0 @ ( bit0 @ ( bit0 @ ( bit1 @ ( bit0 @ ( bit1 @ one ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) @ ( numeral_numeral @ code_natural @ ( bit1 @ ( bit1 @ ( bit0 @ ( bit0 @ ( bit1 @ ( bit1 @ ( bit0 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit0 @ one ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) @ ( plus_plus @ code_natural @ ( minus_shift @ ( numeral_numeral @ code_natural @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit0 @ ( bit0 @ ( bit0 @ ( bit0 @ ( bit0 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ one ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) @ ( times_times @ code_natural @ ( modulo_modulo @ code_natural @ W2 @ ( numeral_numeral @ code_natural @ ( bit0 @ ( bit1 @ ( bit1 @ ( bit0 @ ( bit0 @ ( bit1 @ ( bit0 @ ( bit0 @ ( bit0 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit0 @ ( bit0 @ ( bit1 @ one ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) @ ( numeral_numeral @ code_natural @ ( bit0 @ ( bit0 @ ( bit1 @ ( bit0 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit0 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit0 @ ( bit0 @ one ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) @ ( times_times @ code_natural @ ( divide_divide @ code_natural @ W2 @ ( numeral_numeral @ code_natural @ ( bit0 @ ( bit1 @ ( bit1 @ ( bit0 @ ( bit0 @ ( bit1 @ ( bit0 @ ( bit0 @ ( bit0 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit0 @ ( bit0 @ ( bit1 @ one ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) @ ( numeral_numeral @ code_natural @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit0 @ ( bit0 @ ( bit1 @ ( bit1 @ ( bit0 @ ( bit1 @ ( bit1 @ one ) ) ) ) ) ) ) ) ) ) ) ) ) ) @ ( one_one @ code_natural ) ) ) @ ( one_one @ code_natural ) ) @ ( product_Pair @ code_natural @ code_natural @ ( minus_shift @ ( numeral_numeral @ code_natural @ ( bit1 @ ( bit1 @ ( bit0 @ ( bit1 @ ( bit0 @ ( bit1 @ ( bit0 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ one ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) @ ( times_times @ code_natural @ ( modulo_modulo @ code_natural @ V2 @ ( numeral_numeral @ code_natural @ ( bit0 @ ( bit0 @ ( bit1 @ ( bit0 @ ( bit0 @ ( bit1 @ ( bit0 @ ( bit1 @ ( bit1 @ ( bit0 @ ( bit0 @ ( bit0 @ ( bit1 @ ( bit0 @ ( bit1 @ one ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) @ ( numeral_numeral @ code_natural @ ( bit0 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit0 @ ( bit0 @ ( bit1 @ ( bit0 @ ( bit0 @ ( bit0 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit0 @ ( bit0 @ one ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) @ ( times_times @ code_natural @ ( divide_divide @ code_natural @ V2 @ ( numeral_numeral @ code_natural @ ( bit0 @ ( bit0 @ ( bit1 @ ( bit0 @ ( bit0 @ ( bit1 @ ( bit0 @ ( bit1 @ ( bit1 @ ( bit0 @ ( bit0 @ ( bit0 @ ( bit1 @ ( bit0 @ ( bit1 @ one ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) @ ( numeral_numeral @ code_natural @ ( bit1 @ ( bit1 @ ( bit0 @ ( bit0 @ ( bit1 @ ( bit1 @ ( bit0 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit0 @ one ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) @ ( minus_shift @ ( numeral_numeral @ code_natural @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit0 @ ( bit0 @ ( bit0 @ ( bit0 @ ( bit0 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ one ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) @ ( times_times @ code_natural @ ( modulo_modulo @ code_natural @ W2 @ ( numeral_numeral @ code_natural @ ( bit0 @ ( bit1 @ ( bit1 @ ( bit0 @ ( bit0 @ ( bit1 @ ( bit0 @ ( bit0 @ ( bit0 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit0 @ ( bit0 @ ( bit1 @ one ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) @ ( numeral_numeral @ code_natural @ ( bit0 @ ( bit0 @ ( bit1 @ ( bit0 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit0 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit0 @ ( bit0 @ one ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) @ ( times_times @ code_natural @ ( divide_divide @ code_natural @ W2 @ ( numeral_numeral @ code_natural @ ( bit0 @ ( bit1 @ ( bit1 @ ( bit0 @ ( bit0 @ ( bit1 @ ( bit0 @ ( bit0 @ ( bit0 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit0 @ ( bit0 @ ( bit1 @ one ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) @ ( numeral_numeral @ code_natural @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit0 @ ( bit0 @ ( bit1 @ ( bit1 @ ( bit0 @ ( bit1 @ ( bit1 @ one ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ).

% next.simps
thf(fact_2871_set__decode__def,axiom,
    ( nat_set_decode
    = ( ^ [X4: nat] :
          ( collect @ nat
          @ ^ [N3: nat] :
              ~ ( dvd_dvd @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ ( divide_divide @ nat @ X4 @ ( power_power @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N3 ) ) ) ) ) ) ).

% set_decode_def
thf(fact_2872_set__decode__plus__power__2,axiom,
    ! [N: nat,Z4: nat] :
      ( ~ ( member @ nat @ N @ ( nat_set_decode @ Z4 ) )
     => ( ( nat_set_decode @ ( plus_plus @ nat @ ( power_power @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N ) @ Z4 ) )
        = ( insert @ nat @ N @ ( nat_set_decode @ Z4 ) ) ) ) ).

% set_decode_plus_power_2
thf(fact_2873_subset__decode__imp__le,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less_eq @ ( set @ nat ) @ ( nat_set_decode @ M ) @ ( nat_set_decode @ N ) )
     => ( ord_less_eq @ nat @ M @ N ) ) ).

% subset_decode_imp_le
thf(fact_2874_take__bit__Suc__from__most,axiom,
    ! [N: nat,K2: int] :
      ( ( bit_se2584673776208193580ke_bit @ int @ ( suc @ N ) @ K2 )
      = ( plus_plus @ int @ ( times_times @ int @ ( power_power @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ N ) @ ( zero_neq_one_of_bool @ int @ ( bit_se5641148757651400278ts_bit @ int @ K2 @ N ) ) ) @ ( bit_se2584673776208193580ke_bit @ int @ N @ K2 ) ) ) ).

% take_bit_Suc_from_most
thf(fact_2875_Random_Orange__def,axiom,
    ( range
    = ( ^ [K3: code_natural] :
          ( product_scomp @ ( product_prod @ code_natural @ code_natural ) @ code_natural @ ( product_prod @ code_natural @ code_natural ) @ ( product_prod @ code_natural @ ( product_prod @ code_natural @ code_natural ) )
          @ ( iterate @ code_natural @ ( product_prod @ code_natural @ code_natural ) @ ( log @ ( numeral_numeral @ code_natural @ ( bit1 @ ( bit0 @ ( bit0 @ ( bit1 @ ( bit0 @ ( bit1 @ ( bit0 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ one ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) @ K3 )
            @ ^ [L2: code_natural] :
                ( product_scomp @ ( product_prod @ code_natural @ code_natural ) @ code_natural @ ( product_prod @ code_natural @ code_natural ) @ ( product_prod @ code_natural @ ( product_prod @ code_natural @ code_natural ) ) @ next
                @ ^ [V3: code_natural] : ( product_Pair @ code_natural @ ( product_prod @ code_natural @ code_natural ) @ ( plus_plus @ code_natural @ V3 @ ( times_times @ code_natural @ L2 @ ( numeral_numeral @ code_natural @ ( bit1 @ ( bit0 @ ( bit0 @ ( bit1 @ ( bit0 @ ( bit1 @ ( bit0 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ one ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) )
            @ ( one_one @ code_natural ) )
          @ ^ [V3: code_natural] : ( product_Pair @ code_natural @ ( product_prod @ code_natural @ code_natural ) @ ( modulo_modulo @ code_natural @ V3 @ K3 ) ) ) ) ) ).

% Random.range_def
thf(fact_2876_xor__Suc__0__eq,axiom,
    ! [N: nat] :
      ( ( bit_se5824344971392196577ns_xor @ nat @ N @ ( suc @ ( zero_zero @ nat ) ) )
      = ( minus_minus @ nat @ ( plus_plus @ nat @ N @ ( zero_neq_one_of_bool @ nat @ ( dvd_dvd @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N ) ) )
        @ ( zero_neq_one_of_bool @ nat
          @ ~ ( dvd_dvd @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N ) ) ) ) ).

% xor_Suc_0_eq
thf(fact_2877_Suc__0__xor__eq,axiom,
    ! [N: nat] :
      ( ( bit_se5824344971392196577ns_xor @ nat @ ( suc @ ( zero_zero @ nat ) ) @ N )
      = ( minus_minus @ nat @ ( plus_plus @ nat @ N @ ( zero_neq_one_of_bool @ nat @ ( dvd_dvd @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N ) ) )
        @ ( zero_neq_one_of_bool @ nat
          @ ~ ( dvd_dvd @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N ) ) ) ) ).

% Suc_0_xor_eq
thf(fact_2878_horner__sum__of__bool__2__less,axiom,
    ! [Bs: list @ $o] : ( ord_less @ int @ ( groups4207007520872428315er_sum @ $o @ int @ ( zero_neq_one_of_bool @ int ) @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ Bs ) @ ( power_power @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ ( size_size @ ( list @ $o ) @ Bs ) ) ) ).

% horner_sum_of_bool_2_less
thf(fact_2879_scomp__apply,axiom,
    ! [A: $tType,D: $tType,C: $tType,B: $tType] :
      ( ( product_scomp @ B @ C @ D @ A )
      = ( ^ [F4: B > ( product_prod @ C @ D ),G4: C > D > A,X4: B] : ( product_case_prod @ C @ D @ A @ G4 @ ( F4 @ X4 ) ) ) ) ).

% scomp_apply
thf(fact_2880_signed__take__bit__nonnegative__iff,axiom,
    ! [N: nat,K2: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ ( bit_ri4674362597316999326ke_bit @ int @ N @ K2 ) )
      = ( ~ ( bit_se5641148757651400278ts_bit @ int @ K2 @ N ) ) ) ).

% signed_take_bit_nonnegative_iff
thf(fact_2881_signed__take__bit__negative__iff,axiom,
    ! [N: nat,K2: int] :
      ( ( ord_less @ int @ ( bit_ri4674362597316999326ke_bit @ int @ N @ K2 ) @ ( zero_zero @ int ) )
      = ( bit_se5641148757651400278ts_bit @ int @ K2 @ N ) ) ).

% signed_take_bit_negative_iff
thf(fact_2882_xor__numerals_I4_J,axiom,
    ! [A: $tType] :
      ( ( bit_un5681908812861735899ations @ A )
     => ! [X: num,Y: num] :
          ( ( bit_se5824344971392196577ns_xor @ A @ ( numeral_numeral @ A @ ( bit0 @ X ) ) @ ( numeral_numeral @ A @ ( bit1 @ Y ) ) )
          = ( plus_plus @ A @ ( one_one @ A ) @ ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ ( bit_se5824344971392196577ns_xor @ A @ ( numeral_numeral @ A @ X ) @ ( numeral_numeral @ A @ Y ) ) ) ) ) ) ).

% xor_numerals(4)
thf(fact_2883_xor__numerals_I6_J,axiom,
    ! [A: $tType] :
      ( ( bit_un5681908812861735899ations @ A )
     => ! [X: num,Y: num] :
          ( ( bit_se5824344971392196577ns_xor @ A @ ( numeral_numeral @ A @ ( bit1 @ X ) ) @ ( numeral_numeral @ A @ ( bit0 @ Y ) ) )
          = ( plus_plus @ A @ ( one_one @ A ) @ ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ ( bit_se5824344971392196577ns_xor @ A @ ( numeral_numeral @ A @ X ) @ ( numeral_numeral @ A @ Y ) ) ) ) ) ) ).

% xor_numerals(6)
thf(fact_2884_scomp__scomp,axiom,
    ! [A: $tType,C: $tType,D: $tType,B: $tType,F2: $tType,E: $tType,F3: A > ( product_prod @ E @ F2 ),G3: E > F2 > ( product_prod @ C @ D ),H: C > D > B] :
      ( ( product_scomp @ A @ C @ D @ B @ ( product_scomp @ A @ E @ F2 @ ( product_prod @ C @ D ) @ F3 @ G3 ) @ H )
      = ( product_scomp @ A @ E @ F2 @ B @ F3
        @ ^ [X4: E] : ( product_scomp @ F2 @ C @ D @ B @ ( G3 @ X4 ) @ H ) ) ) ).

% scomp_scomp
thf(fact_2885_bit__disjunctive__add__iff,axiom,
    ! [A: $tType] :
      ( ( bit_semiring_bits @ A )
     => ! [A3: A,B2: A,N: nat] :
          ( ! [N4: nat] :
              ( ~ ( bit_se5641148757651400278ts_bit @ A @ A3 @ N4 )
              | ~ ( bit_se5641148757651400278ts_bit @ A @ B2 @ N4 ) )
         => ( ( bit_se5641148757651400278ts_bit @ A @ ( plus_plus @ A @ A3 @ B2 ) @ N )
            = ( ( bit_se5641148757651400278ts_bit @ A @ A3 @ N )
              | ( bit_se5641148757651400278ts_bit @ A @ B2 @ N ) ) ) ) ) ).

% bit_disjunctive_add_iff
thf(fact_2886_scomp__Pair,axiom,
    ! [C: $tType,B: $tType,A: $tType,X: A > ( product_prod @ B @ C )] :
      ( ( product_scomp @ A @ B @ C @ ( product_prod @ B @ C ) @ X @ ( product_Pair @ B @ C ) )
      = X ) ).

% scomp_Pair
thf(fact_2887_Pair__scomp,axiom,
    ! [A: $tType,B: $tType,C: $tType,X: C,F3: C > A > B] :
      ( ( product_scomp @ A @ C @ A @ B @ ( product_Pair @ C @ A @ X ) @ F3 )
      = ( F3 @ X ) ) ).

% Pair_scomp
thf(fact_2888_bit__take__bit__iff,axiom,
    ! [A: $tType] :
      ( ( bit_se359711467146920520ations @ A )
     => ! [M: nat,A3: A,N: nat] :
          ( ( bit_se5641148757651400278ts_bit @ A @ ( bit_se2584673776208193580ke_bit @ A @ M @ A3 ) @ N )
          = ( ( ord_less @ nat @ N @ M )
            & ( bit_se5641148757651400278ts_bit @ A @ A3 @ N ) ) ) ) ).

% bit_take_bit_iff
thf(fact_2889_scomp__def,axiom,
    ! [D: $tType,C: $tType,B: $tType,A: $tType] :
      ( ( product_scomp @ A @ B @ C @ D )
      = ( ^ [F4: A > ( product_prod @ B @ C ),G4: B > C > D,X4: A] : ( product_case_prod @ B @ C @ D @ G4 @ ( F4 @ X4 ) ) ) ) ).

% scomp_def
thf(fact_2890_bit__horner__sum__bit__iff,axiom,
    ! [A: $tType] :
      ( ( bit_un5681908812861735899ations @ A )
     => ! [Bs: list @ $o,N: nat] :
          ( ( bit_se5641148757651400278ts_bit @ A @ ( groups4207007520872428315er_sum @ $o @ A @ ( zero_neq_one_of_bool @ A ) @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ Bs ) @ N )
          = ( ( ord_less @ nat @ N @ ( size_size @ ( list @ $o ) @ Bs ) )
            & ( nth @ $o @ Bs @ N ) ) ) ) ).

% bit_horner_sum_bit_iff
thf(fact_2891_iterate_Osimps,axiom,
    ! [B: $tType,A: $tType] :
      ( ( iterate @ B @ A )
      = ( ^ [K3: code_natural,F4: B > A > ( product_prod @ B @ A ),X4: B] :
            ( if @ ( A > ( product_prod @ B @ A ) )
            @ ( K3
              = ( zero_zero @ code_natural ) )
            @ ( product_Pair @ B @ A @ X4 )
            @ ( product_scomp @ A @ B @ A @ ( product_prod @ B @ A ) @ ( F4 @ X4 ) @ ( iterate @ B @ A @ ( minus_minus @ code_natural @ K3 @ ( one_one @ code_natural ) ) @ F4 ) ) ) ) ) ).

% iterate.simps
thf(fact_2892_iterate_Oelims,axiom,
    ! [A: $tType,B: $tType,X: code_natural,Xa: B > A > ( product_prod @ B @ A ),Xb: B,Y: A > ( product_prod @ B @ A )] :
      ( ( ( iterate @ B @ A @ X @ Xa @ Xb )
        = Y )
     => ( ( ( X
            = ( zero_zero @ code_natural ) )
         => ( Y
            = ( product_Pair @ B @ A @ Xb ) ) )
        & ( ( X
           != ( zero_zero @ code_natural ) )
         => ( Y
            = ( product_scomp @ A @ B @ A @ ( product_prod @ B @ A ) @ ( Xa @ Xb ) @ ( iterate @ B @ A @ ( minus_minus @ code_natural @ X @ ( one_one @ code_natural ) ) @ Xa ) ) ) ) ) ) ).

% iterate.elims
thf(fact_2893_bit__imp__take__bit__positive,axiom,
    ! [N: nat,M: nat,K2: int] :
      ( ( ord_less @ nat @ N @ M )
     => ( ( bit_se5641148757651400278ts_bit @ int @ K2 @ N )
       => ( ord_less @ int @ ( zero_zero @ int ) @ ( bit_se2584673776208193580ke_bit @ int @ M @ K2 ) ) ) ) ).

% bit_imp_take_bit_positive
thf(fact_2894_bit__concat__bit__iff,axiom,
    ! [M: nat,K2: int,L: int,N: nat] :
      ( ( bit_se5641148757651400278ts_bit @ int @ ( bit_concat_bit @ M @ K2 @ L ) @ N )
      = ( ( ( ord_less @ nat @ N @ M )
          & ( bit_se5641148757651400278ts_bit @ int @ K2 @ N ) )
        | ( ( ord_less_eq @ nat @ M @ N )
          & ( bit_se5641148757651400278ts_bit @ int @ L @ ( minus_minus @ nat @ N @ M ) ) ) ) ) ).

% bit_concat_bit_iff
thf(fact_2895_int__bit__bound,axiom,
    ! [K2: int] :
      ~ ! [N4: nat] :
          ( ! [M4: nat] :
              ( ( ord_less_eq @ nat @ N4 @ M4 )
             => ( ( bit_se5641148757651400278ts_bit @ int @ K2 @ M4 )
                = ( bit_se5641148757651400278ts_bit @ int @ K2 @ N4 ) ) )
         => ~ ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N4 )
             => ( ( bit_se5641148757651400278ts_bit @ int @ K2 @ ( minus_minus @ nat @ N4 @ ( one_one @ nat ) ) )
                = ( ~ ( bit_se5641148757651400278ts_bit @ int @ K2 @ N4 ) ) ) ) ) ).

% int_bit_bound
thf(fact_2896_even__bit__succ__iff,axiom,
    ! [A: $tType] :
      ( ( bit_semiring_bits @ A )
     => ! [A3: A,N: nat] :
          ( ( dvd_dvd @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ A3 )
         => ( ( bit_se5641148757651400278ts_bit @ A @ ( plus_plus @ A @ ( one_one @ A ) @ A3 ) @ N )
            = ( ( bit_se5641148757651400278ts_bit @ A @ A3 @ N )
              | ( N
                = ( zero_zero @ nat ) ) ) ) ) ) ).

% even_bit_succ_iff
thf(fact_2897_bit__sum__mult__2__cases,axiom,
    ! [A: $tType] :
      ( ( bit_se359711467146920520ations @ A )
     => ! [A3: A,B2: A,N: nat] :
          ( ! [J3: nat] :
              ~ ( bit_se5641148757651400278ts_bit @ A @ A3 @ ( suc @ J3 ) )
         => ( ( bit_se5641148757651400278ts_bit @ A @ ( plus_plus @ A @ A3 @ ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ B2 ) ) @ N )
            = ( ( ( N
                  = ( zero_zero @ nat ) )
               => ~ ( dvd_dvd @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ A3 ) )
              & ( ( N
                 != ( zero_zero @ nat ) )
               => ( bit_se5641148757651400278ts_bit @ A @ ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ B2 ) @ N ) ) ) ) ) ) ).

% bit_sum_mult_2_cases
thf(fact_2898_xor__nat__unfold,axiom,
    ( ( bit_se5824344971392196577ns_xor @ nat )
    = ( ^ [M3: nat,N3: nat] :
          ( if @ nat
          @ ( M3
            = ( zero_zero @ nat ) )
          @ N3
          @ ( if @ nat
            @ ( N3
              = ( zero_zero @ nat ) )
            @ M3
            @ ( plus_plus @ nat @ ( modulo_modulo @ nat @ ( plus_plus @ nat @ ( modulo_modulo @ nat @ M3 @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) @ ( modulo_modulo @ nat @ N3 @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) ) @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) @ ( times_times @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ ( bit_se5824344971392196577ns_xor @ nat @ ( divide_divide @ nat @ M3 @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) @ ( divide_divide @ nat @ N3 @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) ) ) ) ) ) ) ) ).

% xor_nat_unfold
thf(fact_2899_xor__nat__rec,axiom,
    ( ( bit_se5824344971392196577ns_xor @ nat )
    = ( ^ [M3: nat,N3: nat] :
          ( plus_plus @ nat
          @ ( zero_neq_one_of_bool @ nat
            @ ( ( ~ ( dvd_dvd @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ M3 ) )
             != ( ~ ( dvd_dvd @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N3 ) ) ) )
          @ ( times_times @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ ( bit_se5824344971392196577ns_xor @ nat @ ( divide_divide @ nat @ M3 @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) @ ( divide_divide @ nat @ N3 @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) ) ) ) ) ) ).

% xor_nat_rec
thf(fact_2900_xor__one__eq,axiom,
    ! [A: $tType] :
      ( ( bit_se359711467146920520ations @ A )
     => ! [A3: A] :
          ( ( bit_se5824344971392196577ns_xor @ A @ A3 @ ( one_one @ A ) )
          = ( minus_minus @ A @ ( plus_plus @ A @ A3 @ ( zero_neq_one_of_bool @ A @ ( dvd_dvd @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ A3 ) ) )
            @ ( zero_neq_one_of_bool @ A
              @ ~ ( dvd_dvd @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ A3 ) ) ) ) ) ).

% xor_one_eq
thf(fact_2901_one__xor__eq,axiom,
    ! [A: $tType] :
      ( ( bit_se359711467146920520ations @ A )
     => ! [A3: A] :
          ( ( bit_se5824344971392196577ns_xor @ A @ ( one_one @ A ) @ A3 )
          = ( minus_minus @ A @ ( plus_plus @ A @ A3 @ ( zero_neq_one_of_bool @ A @ ( dvd_dvd @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ A3 ) ) )
            @ ( zero_neq_one_of_bool @ A
              @ ~ ( dvd_dvd @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ A3 ) ) ) ) ) ).

% one_xor_eq
thf(fact_2902_set__bit__eq,axiom,
    ( ( bit_se5668285175392031749et_bit @ int )
    = ( ^ [N3: nat,K3: int] :
          ( plus_plus @ int @ K3
          @ ( times_times @ int
            @ ( zero_neq_one_of_bool @ int
              @ ~ ( bit_se5641148757651400278ts_bit @ int @ K3 @ N3 ) )
            @ ( power_power @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ N3 ) ) ) ) ) ).

% set_bit_eq
thf(fact_2903_horner__sum__simps_I2_J,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_semiring_0 @ A )
     => ! [F3: B > A,A3: A,X: B,Xs: list @ B] :
          ( ( groups4207007520872428315er_sum @ B @ A @ F3 @ A3 @ ( cons @ B @ X @ Xs ) )
          = ( plus_plus @ A @ ( F3 @ X ) @ ( times_times @ A @ A3 @ ( groups4207007520872428315er_sum @ B @ A @ F3 @ A3 @ Xs ) ) ) ) ) ).

% horner_sum_simps(2)
thf(fact_2904_iterate_Opelims,axiom,
    ! [A: $tType,B: $tType,X: code_natural,Xa: B > A > ( product_prod @ B @ A ),Xb: B,Y: A > ( product_prod @ B @ A )] :
      ( ( ( iterate @ B @ A @ X @ Xa @ Xb )
        = Y )
     => ( ( accp @ ( product_prod @ code_natural @ ( product_prod @ ( B > A > ( product_prod @ B @ A ) ) @ B ) ) @ ( iterate_rel @ B @ A ) @ ( product_Pair @ code_natural @ ( product_prod @ ( B > A > ( product_prod @ B @ A ) ) @ B ) @ X @ ( product_Pair @ ( B > A > ( product_prod @ B @ A ) ) @ B @ Xa @ Xb ) ) )
       => ~ ( ( ( ( X
                  = ( zero_zero @ code_natural ) )
               => ( Y
                  = ( product_Pair @ B @ A @ Xb ) ) )
              & ( ( X
                 != ( zero_zero @ code_natural ) )
               => ( Y
                  = ( product_scomp @ A @ B @ A @ ( product_prod @ B @ A ) @ ( Xa @ Xb ) @ ( iterate @ B @ A @ ( minus_minus @ code_natural @ X @ ( one_one @ code_natural ) ) @ Xa ) ) ) ) )
           => ~ ( accp @ ( product_prod @ code_natural @ ( product_prod @ ( B > A > ( product_prod @ B @ A ) ) @ B ) ) @ ( iterate_rel @ B @ A ) @ ( product_Pair @ code_natural @ ( product_prod @ ( B > A > ( product_prod @ B @ A ) ) @ B ) @ X @ ( product_Pair @ ( B > A > ( product_prod @ B @ A ) ) @ B @ Xa @ Xb ) ) ) ) ) ) ).

% iterate.pelims
thf(fact_2905_the__elem__eq,axiom,
    ! [A: $tType,X: A] :
      ( ( the_elem @ A @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) )
      = X ) ).

% the_elem_eq
thf(fact_2906_inc__shift__def,axiom,
    ( inc_shift
    = ( ^ [V3: code_natural,K3: code_natural] : ( if @ code_natural @ ( V3 = K3 ) @ ( one_one @ code_natural ) @ ( plus_plus @ code_natural @ K3 @ ( one_one @ code_natural ) ) ) ) ) ).

% inc_shift_def
thf(fact_2907_divmod__step__integer__def,axiom,
    ( ( unique1321980374590559556d_step @ code_integer )
    = ( ^ [L2: num] :
          ( product_case_prod @ code_integer @ code_integer @ ( product_prod @ code_integer @ code_integer )
          @ ^ [Q8: code_integer,R5: code_integer] : ( if @ ( product_prod @ code_integer @ code_integer ) @ ( ord_less_eq @ code_integer @ ( numeral_numeral @ code_integer @ L2 ) @ R5 ) @ ( product_Pair @ code_integer @ code_integer @ ( plus_plus @ code_integer @ ( times_times @ code_integer @ ( numeral_numeral @ code_integer @ ( bit0 @ one ) ) @ Q8 ) @ ( one_one @ code_integer ) ) @ ( minus_minus @ code_integer @ R5 @ ( numeral_numeral @ code_integer @ L2 ) ) ) @ ( product_Pair @ code_integer @ code_integer @ ( times_times @ code_integer @ ( numeral_numeral @ code_integer @ ( bit0 @ one ) ) @ Q8 ) @ R5 ) ) ) ) ) ).

% divmod_step_integer_def
thf(fact_2908_xor__nonnegative__int__iff,axiom,
    ! [K2: int,L: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ ( bit_se5824344971392196577ns_xor @ int @ K2 @ L ) )
      = ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ K2 )
        = ( ord_less_eq @ int @ ( zero_zero @ int ) @ L ) ) ) ).

% xor_nonnegative_int_iff
thf(fact_2909_xor__negative__int__iff,axiom,
    ! [K2: int,L: int] :
      ( ( ord_less @ int @ ( bit_se5824344971392196577ns_xor @ int @ K2 @ L ) @ ( zero_zero @ int ) )
      = ( ( ord_less @ int @ K2 @ ( zero_zero @ int ) )
       != ( ord_less @ int @ L @ ( zero_zero @ int ) ) ) ) ).

% xor_negative_int_iff
thf(fact_2910_less__eq__integer__code_I1_J,axiom,
    ord_less_eq @ code_integer @ ( zero_zero @ code_integer ) @ ( zero_zero @ code_integer ) ).

% less_eq_integer_code(1)
thf(fact_2911_plus__integer__code_I2_J,axiom,
    ! [L: code_integer] :
      ( ( plus_plus @ code_integer @ ( zero_zero @ code_integer ) @ L )
      = L ) ).

% plus_integer_code(2)
thf(fact_2912_plus__integer__code_I1_J,axiom,
    ! [K2: code_integer] :
      ( ( plus_plus @ code_integer @ K2 @ ( zero_zero @ code_integer ) )
      = K2 ) ).

% plus_integer_code(1)
thf(fact_2913_sgn__integer__code,axiom,
    ( ( sgn_sgn @ code_integer )
    = ( ^ [K3: code_integer] :
          ( if @ code_integer
          @ ( K3
            = ( zero_zero @ code_integer ) )
          @ ( zero_zero @ code_integer )
          @ ( if @ code_integer @ ( ord_less @ code_integer @ K3 @ ( zero_zero @ code_integer ) ) @ ( uminus_uminus @ code_integer @ ( one_one @ code_integer ) ) @ ( one_one @ code_integer ) ) ) ) ) ).

% sgn_integer_code
thf(fact_2914_XOR__lower,axiom,
    ! [X: int,Y: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ X )
     => ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ Y )
       => ( ord_less_eq @ int @ ( zero_zero @ int ) @ ( bit_se5824344971392196577ns_xor @ int @ X @ Y ) ) ) ) ).

% XOR_lower
thf(fact_2915_bit__nat__iff,axiom,
    ! [K2: int,N: nat] :
      ( ( bit_se5641148757651400278ts_bit @ nat @ ( nat2 @ K2 ) @ N )
      = ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ K2 )
        & ( bit_se5641148757651400278ts_bit @ int @ K2 @ N ) ) ) ).

% bit_nat_iff
thf(fact_2916_XOR__upper,axiom,
    ! [X: int,N: nat,Y: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ X )
     => ( ( ord_less @ int @ X @ ( power_power @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ N ) )
       => ( ( ord_less @ int @ Y @ ( power_power @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ N ) )
         => ( ord_less @ int @ ( bit_se5824344971392196577ns_xor @ int @ X @ Y ) @ ( power_power @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ N ) ) ) ) ) ).

% XOR_upper
thf(fact_2917_xor__int__rec,axiom,
    ( ( bit_se5824344971392196577ns_xor @ int )
    = ( ^ [K3: int,L2: int] :
          ( plus_plus @ int
          @ ( zero_neq_one_of_bool @ int
            @ ( ( ~ ( dvd_dvd @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ K3 ) )
             != ( ~ ( dvd_dvd @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ L2 ) ) ) )
          @ ( times_times @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ ( bit_se5824344971392196577ns_xor @ int @ ( divide_divide @ int @ K3 @ ( numeral_numeral @ int @ ( bit0 @ one ) ) ) @ ( divide_divide @ int @ L2 @ ( numeral_numeral @ int @ ( bit0 @ one ) ) ) ) ) ) ) ) ).

% xor_int_rec
thf(fact_2918_integer__of__int__code,axiom,
    ( code_integer_of_int
    = ( ^ [K3: int] :
          ( if @ code_integer @ ( ord_less @ int @ K3 @ ( zero_zero @ int ) ) @ ( uminus_uminus @ code_integer @ ( code_integer_of_int @ ( uminus_uminus @ int @ K3 ) ) )
          @ ( if @ code_integer
            @ ( K3
              = ( zero_zero @ int ) )
            @ ( zero_zero @ code_integer )
            @ ( if @ code_integer
              @ ( ( modulo_modulo @ int @ K3 @ ( numeral_numeral @ int @ ( bit0 @ one ) ) )
                = ( zero_zero @ int ) )
              @ ( times_times @ code_integer @ ( numeral_numeral @ code_integer @ ( bit0 @ one ) ) @ ( code_integer_of_int @ ( divide_divide @ int @ K3 @ ( numeral_numeral @ int @ ( bit0 @ one ) ) ) ) )
              @ ( plus_plus @ code_integer @ ( times_times @ code_integer @ ( numeral_numeral @ code_integer @ ( bit0 @ one ) ) @ ( code_integer_of_int @ ( divide_divide @ int @ K3 @ ( numeral_numeral @ int @ ( bit0 @ one ) ) ) ) ) @ ( one_one @ code_integer ) ) ) ) ) ) ) ).

% integer_of_int_code
thf(fact_2919_xor__int__unfold,axiom,
    ( ( bit_se5824344971392196577ns_xor @ int )
    = ( ^ [K3: int,L2: int] :
          ( if @ int
          @ ( K3
            = ( uminus_uminus @ int @ ( one_one @ int ) ) )
          @ ( bit_ri4277139882892585799ns_not @ int @ L2 )
          @ ( if @ int
            @ ( L2
              = ( uminus_uminus @ int @ ( one_one @ int ) ) )
            @ ( bit_ri4277139882892585799ns_not @ int @ K3 )
            @ ( if @ int
              @ ( K3
                = ( zero_zero @ int ) )
              @ L2
              @ ( if @ int
                @ ( L2
                  = ( zero_zero @ int ) )
                @ K3
                @ ( plus_plus @ int @ ( abs_abs @ int @ ( minus_minus @ int @ ( modulo_modulo @ int @ K3 @ ( numeral_numeral @ int @ ( bit0 @ one ) ) ) @ ( modulo_modulo @ int @ L2 @ ( numeral_numeral @ int @ ( bit0 @ one ) ) ) ) ) @ ( times_times @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ ( bit_se5824344971392196577ns_xor @ int @ ( divide_divide @ int @ K3 @ ( numeral_numeral @ int @ ( bit0 @ one ) ) ) @ ( divide_divide @ int @ L2 @ ( numeral_numeral @ int @ ( bit0 @ one ) ) ) ) ) ) ) ) ) ) ) ) ).

% xor_int_unfold
thf(fact_2920_is__singleton__the__elem,axiom,
    ! [A: $tType] :
      ( ( is_singleton @ A )
      = ( ^ [A8: set @ A] :
            ( A8
            = ( insert @ A @ ( the_elem @ A @ A8 ) @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ).

% is_singleton_the_elem
thf(fact_2921_integer__of__num_I3_J,axiom,
    ! [N: num] :
      ( ( code_integer_of_num @ ( bit1 @ N ) )
      = ( plus_plus @ code_integer @ ( plus_plus @ code_integer @ ( code_integer_of_num @ N ) @ ( code_integer_of_num @ N ) ) @ ( one_one @ code_integer ) ) ) ).

% integer_of_num(3)
thf(fact_2922_take__bit__num__code,axiom,
    ( bit_take_bit_num
    = ( ^ [N3: nat,M3: num] :
          ( product_case_prod @ nat @ num @ ( option @ num )
          @ ^ [A7: nat,X4: num] :
              ( case_nat @ ( option @ num ) @ ( none @ num )
              @ ^ [O: nat] :
                  ( case_num @ ( option @ num ) @ ( some @ num @ one )
                  @ ^ [P7: num] :
                      ( case_option @ ( option @ num ) @ num @ ( none @ num )
                      @ ^ [Q8: num] : ( some @ num @ ( bit0 @ Q8 ) )
                      @ ( bit_take_bit_num @ O @ P7 ) )
                  @ ^ [P7: num] : ( some @ num @ ( case_option @ num @ num @ one @ bit1 @ ( bit_take_bit_num @ O @ P7 ) ) )
                  @ X4 )
              @ A7 )
          @ ( product_Pair @ nat @ num @ N3 @ M3 ) ) ) ) ).

% take_bit_num_code
thf(fact_2923_is__singletonI,axiom,
    ! [A: $tType,X: A] : ( is_singleton @ A @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) ) ).

% is_singletonI
thf(fact_2924_case__nat__numeral,axiom,
    ! [A: $tType,A3: A,F3: nat > A,V2: num] :
      ( ( case_nat @ A @ A3 @ F3 @ ( numeral_numeral @ nat @ V2 ) )
      = ( F3 @ ( pred_numeral @ V2 ) ) ) ).

% case_nat_numeral
thf(fact_2925_not__nonnegative__int__iff,axiom,
    ! [K2: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ ( bit_ri4277139882892585799ns_not @ int @ K2 ) )
      = ( ord_less @ int @ K2 @ ( zero_zero @ int ) ) ) ).

% not_nonnegative_int_iff
thf(fact_2926_not__negative__int__iff,axiom,
    ! [K2: int] :
      ( ( ord_less @ int @ ( bit_ri4277139882892585799ns_not @ int @ K2 ) @ ( zero_zero @ int ) )
      = ( ord_less_eq @ int @ ( zero_zero @ int ) @ K2 ) ) ).

% not_negative_int_iff
thf(fact_2927_case__nat__add__eq__if,axiom,
    ! [A: $tType,A3: A,F3: nat > A,V2: num,N: nat] :
      ( ( case_nat @ A @ A3 @ F3 @ ( plus_plus @ nat @ ( numeral_numeral @ nat @ V2 ) @ N ) )
      = ( F3 @ ( plus_plus @ nat @ ( pred_numeral @ V2 ) @ N ) ) ) ).

% case_nat_add_eq_if
thf(fact_2928_abs__integer__code,axiom,
    ( ( abs_abs @ code_integer )
    = ( ^ [K3: code_integer] : ( if @ code_integer @ ( ord_less @ code_integer @ K3 @ ( zero_zero @ code_integer ) ) @ ( uminus_uminus @ code_integer @ K3 ) @ K3 ) ) ) ).

% abs_integer_code
thf(fact_2929_less__integer__code_I1_J,axiom,
    ~ ( ord_less @ code_integer @ ( zero_zero @ code_integer ) @ ( zero_zero @ code_integer ) ) ).

% less_integer_code(1)
thf(fact_2930_less__integer_Oabs__eq,axiom,
    ! [Xa: int,X: int] :
      ( ( ord_less @ code_integer @ ( code_integer_of_int @ Xa ) @ ( code_integer_of_int @ X ) )
      = ( ord_less @ int @ Xa @ X ) ) ).

% less_integer.abs_eq
thf(fact_2931_nat_Ocase__distrib,axiom,
    ! [B: $tType,A: $tType,H: A > B,F1: A,F22: nat > A,Nat: nat] :
      ( ( H @ ( case_nat @ A @ F1 @ F22 @ Nat ) )
      = ( case_nat @ B @ ( H @ F1 )
        @ ^ [X4: nat] : ( H @ ( F22 @ X4 ) )
        @ Nat ) ) ).

% nat.case_distrib
thf(fact_2932_num_Ocase__distrib,axiom,
    ! [B: $tType,A: $tType,H: A > B,F1: A,F22: num > A,F32: num > A,Num: num] :
      ( ( H @ ( case_num @ A @ F1 @ F22 @ F32 @ Num ) )
      = ( case_num @ B @ ( H @ F1 )
        @ ^ [X4: num] : ( H @ ( F22 @ X4 ) )
        @ ^ [X4: num] : ( H @ ( F32 @ X4 ) )
        @ Num ) ) ).

% num.case_distrib
thf(fact_2933_old_Onat_Osimps_I4_J,axiom,
    ! [A: $tType,F1: A,F22: nat > A] :
      ( ( case_nat @ A @ F1 @ F22 @ ( zero_zero @ nat ) )
      = F1 ) ).

% old.nat.simps(4)
thf(fact_2934_old_Onat_Osimps_I5_J,axiom,
    ! [A: $tType,F1: A,F22: nat > A,X2: nat] :
      ( ( case_nat @ A @ F1 @ F22 @ ( suc @ X2 ) )
      = ( F22 @ X2 ) ) ).

% old.nat.simps(5)
thf(fact_2935_not__add__distrib,axiom,
    ! [A: $tType] :
      ( ( bit_ri3973907225187159222ations @ A )
     => ! [A3: A,B2: A] :
          ( ( bit_ri4277139882892585799ns_not @ A @ ( plus_plus @ A @ A3 @ B2 ) )
          = ( minus_minus @ A @ ( bit_ri4277139882892585799ns_not @ A @ A3 ) @ B2 ) ) ) ).

% not_add_distrib
thf(fact_2936_not__diff__distrib,axiom,
    ! [A: $tType] :
      ( ( bit_ri3973907225187159222ations @ A )
     => ! [A3: A,B2: A] :
          ( ( bit_ri4277139882892585799ns_not @ A @ ( minus_minus @ A @ A3 @ B2 ) )
          = ( plus_plus @ A @ ( bit_ri4277139882892585799ns_not @ A @ A3 ) @ B2 ) ) ) ).

% not_diff_distrib
thf(fact_2937_plus__integer_Oabs__eq,axiom,
    ! [Xa: int,X: int] :
      ( ( plus_plus @ code_integer @ ( code_integer_of_int @ Xa ) @ ( code_integer_of_int @ X ) )
      = ( code_integer_of_int @ ( plus_plus @ int @ Xa @ X ) ) ) ).

% plus_integer.abs_eq
thf(fact_2938_less__eq__integer_Oabs__eq,axiom,
    ! [Xa: int,X: int] :
      ( ( ord_less_eq @ code_integer @ ( code_integer_of_int @ Xa ) @ ( code_integer_of_int @ X ) )
      = ( ord_less_eq @ int @ Xa @ X ) ) ).

% less_eq_integer.abs_eq
thf(fact_2939_verit__eq__simplify_I17_J,axiom,
    ! [A: $tType,F1: A,F22: num > A,F32: num > A,X2: num] :
      ( ( case_num @ A @ F1 @ F22 @ F32 @ ( bit0 @ X2 ) )
      = ( F22 @ X2 ) ) ).

% verit_eq_simplify(17)
thf(fact_2940_verit__eq__simplify_I16_J,axiom,
    ! [A: $tType,F1: A,F22: num > A,F32: num > A] :
      ( ( case_num @ A @ F1 @ F22 @ F32 @ one )
      = F1 ) ).

% verit_eq_simplify(16)
thf(fact_2941_verit__eq__simplify_I18_J,axiom,
    ! [A: $tType,F1: A,F22: num > A,F32: num > A,X32: num] :
      ( ( case_num @ A @ F1 @ F22 @ F32 @ ( bit1 @ X32 ) )
      = ( F32 @ X32 ) ) ).

% verit_eq_simplify(18)
thf(fact_2942_is__singletonI_H,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ( A6
       != ( bot_bot @ ( set @ A ) ) )
     => ( ! [X3: A,Y3: A] :
            ( ( member @ A @ X3 @ A6 )
           => ( ( member @ A @ Y3 @ A6 )
             => ( X3 = Y3 ) ) )
       => ( is_singleton @ A @ A6 ) ) ) ).

% is_singletonI'
thf(fact_2943_minus__eq__not__plus__1,axiom,
    ! [A: $tType] :
      ( ( bit_ri3973907225187159222ations @ A )
     => ( ( uminus_uminus @ A )
        = ( ^ [A7: A] : ( plus_plus @ A @ ( bit_ri4277139882892585799ns_not @ A @ A7 ) @ ( one_one @ A ) ) ) ) ) ).

% minus_eq_not_plus_1
thf(fact_2944_nth__Cons,axiom,
    ! [A: $tType,X: A,Xs: list @ A,N: nat] :
      ( ( nth @ A @ ( cons @ A @ X @ Xs ) @ N )
      = ( case_nat @ A @ X @ ( nth @ A @ Xs ) @ N ) ) ).

% nth_Cons
thf(fact_2945_take__bit__not__mask__eq__0,axiom,
    ! [A: $tType] :
      ( ( bit_ri3973907225187159222ations @ A )
     => ! [M: nat,N: nat] :
          ( ( ord_less_eq @ nat @ M @ N )
         => ( ( bit_se2584673776208193580ke_bit @ A @ M @ ( bit_ri4277139882892585799ns_not @ A @ ( bit_se2239418461657761734s_mask @ A @ N ) ) )
            = ( zero_zero @ A ) ) ) ) ).

% take_bit_not_mask_eq_0
thf(fact_2946_is__singleton__def,axiom,
    ! [A: $tType] :
      ( ( is_singleton @ A )
      = ( ^ [A8: set @ A] :
          ? [X4: A] :
            ( A8
            = ( insert @ A @ X4 @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ).

% is_singleton_def
thf(fact_2947_is__singletonE,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ( is_singleton @ A @ A6 )
     => ~ ! [X3: A] :
            ( A6
           != ( insert @ A @ X3 @ ( bot_bot @ ( set @ A ) ) ) ) ) ).

% is_singletonE
thf(fact_2948_integer__of__num_I2_J,axiom,
    ! [N: num] :
      ( ( code_integer_of_num @ ( bit0 @ N ) )
      = ( plus_plus @ code_integer @ ( code_integer_of_num @ N ) @ ( code_integer_of_num @ N ) ) ) ).

% integer_of_num(2)
thf(fact_2949_int__numeral__not__and__num,axiom,
    ! [M: num,N: num] :
      ( ( bit_se5824344872417868541ns_and @ int @ ( bit_ri4277139882892585799ns_not @ int @ ( numeral_numeral @ int @ M ) ) @ ( numeral_numeral @ int @ N ) )
      = ( case_option @ int @ num @ ( zero_zero @ int ) @ ( numeral_numeral @ int ) @ ( bit_and_not_num @ N @ M ) ) ) ).

% int_numeral_not_and_num
thf(fact_2950_int__numeral__and__not__num,axiom,
    ! [M: num,N: num] :
      ( ( bit_se5824344872417868541ns_and @ int @ ( numeral_numeral @ int @ M ) @ ( bit_ri4277139882892585799ns_not @ int @ ( numeral_numeral @ int @ N ) ) )
      = ( case_option @ int @ num @ ( zero_zero @ int ) @ ( numeral_numeral @ int ) @ ( bit_and_not_num @ M @ N ) ) ) ).

% int_numeral_and_not_num
thf(fact_2951_and__not__numerals_I8_J,axiom,
    ! [M: num,N: num] :
      ( ( bit_se5824344872417868541ns_and @ int @ ( numeral_numeral @ int @ ( bit1 @ M ) ) @ ( bit_ri4277139882892585799ns_not @ int @ ( numeral_numeral @ int @ ( bit0 @ N ) ) ) )
      = ( plus_plus @ int @ ( one_one @ int ) @ ( times_times @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ ( bit_se5824344872417868541ns_and @ int @ ( numeral_numeral @ int @ M ) @ ( bit_ri4277139882892585799ns_not @ int @ ( numeral_numeral @ int @ N ) ) ) ) ) ) ).

% and_not_numerals(8)
thf(fact_2952_not__int__rec,axiom,
    ( ( bit_ri4277139882892585799ns_not @ int )
    = ( ^ [K3: int] : ( plus_plus @ int @ ( zero_neq_one_of_bool @ int @ ( dvd_dvd @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ K3 ) ) @ ( times_times @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ ( bit_ri4277139882892585799ns_not @ int @ ( divide_divide @ int @ K3 @ ( numeral_numeral @ int @ ( bit0 @ one ) ) ) ) ) ) ) ) ).

% not_int_rec
thf(fact_2953_num__of__integer__code,axiom,
    ( code_num_of_integer
    = ( ^ [K3: code_integer] :
          ( if @ num @ ( ord_less_eq @ code_integer @ K3 @ ( one_one @ code_integer ) ) @ one
          @ ( product_case_prod @ code_integer @ code_integer @ num
            @ ^ [L2: code_integer,J: code_integer] :
                ( if @ num
                @ ( J
                  = ( zero_zero @ code_integer ) )
                @ ( plus_plus @ num @ ( code_num_of_integer @ L2 ) @ ( code_num_of_integer @ L2 ) )
                @ ( plus_plus @ num @ ( plus_plus @ num @ ( code_num_of_integer @ L2 ) @ ( code_num_of_integer @ L2 ) ) @ one ) )
            @ ( code_divmod_integer @ K3 @ ( numeral_numeral @ code_integer @ ( bit0 @ one ) ) ) ) ) ) ) ).

% num_of_integer_code
thf(fact_2954_int__of__integer__code,axiom,
    ( code_int_of_integer
    = ( ^ [K3: code_integer] :
          ( if @ int @ ( ord_less @ code_integer @ K3 @ ( zero_zero @ code_integer ) ) @ ( uminus_uminus @ int @ ( code_int_of_integer @ ( uminus_uminus @ code_integer @ K3 ) ) )
          @ ( if @ int
            @ ( K3
              = ( zero_zero @ code_integer ) )
            @ ( zero_zero @ int )
            @ ( product_case_prod @ code_integer @ code_integer @ int
              @ ^ [L2: code_integer,J: code_integer] :
                  ( if @ int
                  @ ( J
                    = ( zero_zero @ code_integer ) )
                  @ ( times_times @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ ( code_int_of_integer @ L2 ) )
                  @ ( plus_plus @ int @ ( times_times @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ ( code_int_of_integer @ L2 ) ) @ ( one_one @ int ) ) )
              @ ( code_divmod_integer @ K3 @ ( numeral_numeral @ code_integer @ ( bit0 @ one ) ) ) ) ) ) ) ) ).

% int_of_integer_code
thf(fact_2955_nat_Osplit__sels_I2_J,axiom,
    ! [A: $tType,P2: A > $o,F1: A,F22: nat > A,Nat: nat] :
      ( ( P2 @ ( case_nat @ A @ F1 @ F22 @ Nat ) )
      = ( ~ ( ( ( Nat
                = ( zero_zero @ nat ) )
              & ~ ( P2 @ F1 ) )
            | ( ( Nat
                = ( suc @ ( pred @ Nat ) ) )
              & ~ ( P2 @ ( F22 @ ( pred @ Nat ) ) ) ) ) ) ) ).

% nat.split_sels(2)
thf(fact_2956_nat_Osplit__sels_I1_J,axiom,
    ! [A: $tType,P2: A > $o,F1: A,F22: nat > A,Nat: nat] :
      ( ( P2 @ ( case_nat @ A @ F1 @ F22 @ Nat ) )
      = ( ( ( Nat
            = ( zero_zero @ nat ) )
         => ( P2 @ F1 ) )
        & ( ( Nat
            = ( suc @ ( pred @ Nat ) ) )
         => ( P2 @ ( F22 @ ( pred @ Nat ) ) ) ) ) ) ).

% nat.split_sels(1)
thf(fact_2957_mask__eq__sum__exp__nat,axiom,
    ! [N: nat] :
      ( ( minus_minus @ nat @ ( power_power @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N ) @ ( suc @ ( zero_zero @ nat ) ) )
      = ( groups7311177749621191930dd_sum @ nat @ nat @ ( power_power @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) )
        @ ( collect @ nat
          @ ^ [Q8: nat] : ( ord_less @ nat @ Q8 @ N ) ) ) ) ).

% mask_eq_sum_exp_nat
thf(fact_2958_of__int__sum,axiom,
    ! [A: $tType,B: $tType] :
      ( ( ring_1 @ A )
     => ! [F3: B > int,A6: set @ B] :
          ( ( ring_1_of_int @ A @ ( groups7311177749621191930dd_sum @ B @ int @ F3 @ A6 ) )
          = ( groups7311177749621191930dd_sum @ B @ A
            @ ^ [X4: B] : ( ring_1_of_int @ A @ ( F3 @ X4 ) )
            @ A6 ) ) ) ).

% of_int_sum
thf(fact_2959_plus__integer_Orep__eq,axiom,
    ! [X: code_integer,Xa: code_integer] :
      ( ( code_int_of_integer @ ( plus_plus @ code_integer @ X @ Xa ) )
      = ( plus_plus @ int @ ( code_int_of_integer @ X ) @ ( code_int_of_integer @ Xa ) ) ) ).

% plus_integer.rep_eq
thf(fact_2960_of__nat__sum,axiom,
    ! [A: $tType,B: $tType] :
      ( ( semiring_1 @ A )
     => ! [F3: B > nat,A6: set @ B] :
          ( ( semiring_1_of_nat @ A @ ( groups7311177749621191930dd_sum @ B @ nat @ F3 @ A6 ) )
          = ( groups7311177749621191930dd_sum @ B @ A
            @ ^ [X4: B] : ( semiring_1_of_nat @ A @ ( F3 @ X4 ) )
            @ A6 ) ) ) ).

% of_nat_sum
thf(fact_2961_pred__def,axiom,
    ( pred
    = ( case_nat @ nat @ ( zero_zero @ nat )
      @ ^ [X23: nat] : X23 ) ) ).

% pred_def
thf(fact_2962_mod__sum__eq,axiom,
    ! [B: $tType,A: $tType] :
      ( ( euclid4440199948858584721cancel @ A )
     => ! [F3: B > A,A3: A,A6: set @ B] :
          ( ( modulo_modulo @ A
            @ ( groups7311177749621191930dd_sum @ B @ A
              @ ^ [I: B] : ( modulo_modulo @ A @ ( F3 @ I ) @ A3 )
              @ A6 )
            @ A3 )
          = ( modulo_modulo @ A @ ( groups7311177749621191930dd_sum @ B @ A @ F3 @ A6 ) @ A3 ) ) ) ).

% mod_sum_eq
thf(fact_2963_nat_Odisc__eq__case_I2_J,axiom,
    ! [Nat: nat] :
      ( ( Nat
       != ( zero_zero @ nat ) )
      = ( case_nat @ $o @ $false
        @ ^ [Uu2: nat] : $true
        @ Nat ) ) ).

% nat.disc_eq_case(2)
thf(fact_2964_nat_Odisc__eq__case_I1_J,axiom,
    ! [Nat: nat] :
      ( ( Nat
        = ( zero_zero @ nat ) )
      = ( case_nat @ $o @ $true
        @ ^ [Uu2: nat] : $false
        @ Nat ) ) ).

% nat.disc_eq_case(1)
thf(fact_2965_integer__less__iff,axiom,
    ( ( ord_less @ code_integer )
    = ( ^ [K3: code_integer,L2: code_integer] : ( ord_less @ int @ ( code_int_of_integer @ K3 ) @ ( code_int_of_integer @ L2 ) ) ) ) ).

% integer_less_iff
thf(fact_2966_less__integer_Orep__eq,axiom,
    ( ( ord_less @ code_integer )
    = ( ^ [X4: code_integer,Xa2: code_integer] : ( ord_less @ int @ ( code_int_of_integer @ X4 ) @ ( code_int_of_integer @ Xa2 ) ) ) ) ).

% less_integer.rep_eq
thf(fact_2967_int__of__integer__less__iff,axiom,
    ! [X: code_integer,Y: code_integer] :
      ( ( ord_less @ int @ ( code_int_of_integer @ X ) @ ( code_int_of_integer @ Y ) )
      = ( ord_less @ code_integer @ X @ Y ) ) ).

% int_of_integer_less_iff
thf(fact_2968_integer__less__eq__iff,axiom,
    ( ( ord_less_eq @ code_integer )
    = ( ^ [K3: code_integer,L2: code_integer] : ( ord_less_eq @ int @ ( code_int_of_integer @ K3 ) @ ( code_int_of_integer @ L2 ) ) ) ) ).

% integer_less_eq_iff
thf(fact_2969_less__eq__integer_Orep__eq,axiom,
    ( ( ord_less_eq @ code_integer )
    = ( ^ [X4: code_integer,Xa2: code_integer] : ( ord_less_eq @ int @ ( code_int_of_integer @ X4 ) @ ( code_int_of_integer @ Xa2 ) ) ) ) ).

% less_eq_integer.rep_eq
thf(fact_2970_sum__power__add,axiom,
    ! [A: $tType] :
      ( ( ( monoid_mult @ A )
        & ( comm_ring @ A ) )
     => ! [X: A,M: nat,I5: set @ nat] :
          ( ( groups7311177749621191930dd_sum @ nat @ A
            @ ^ [I: nat] : ( power_power @ A @ X @ ( plus_plus @ nat @ M @ I ) )
            @ I5 )
          = ( times_times @ A @ ( power_power @ A @ X @ M ) @ ( groups7311177749621191930dd_sum @ nat @ A @ ( power_power @ A @ X ) @ I5 ) ) ) ) ).

% sum_power_add
thf(fact_2971_less__eq__nat_Osimps_I2_J,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ ( suc @ M ) @ N )
      = ( case_nat @ $o @ $false @ ( ord_less_eq @ nat @ M ) @ N ) ) ).

% less_eq_nat.simps(2)
thf(fact_2972_diff__Suc,axiom,
    ! [M: nat,N: nat] :
      ( ( minus_minus @ nat @ M @ ( suc @ N ) )
      = ( case_nat @ nat @ ( zero_zero @ nat )
        @ ^ [K3: nat] : K3
        @ ( minus_minus @ nat @ M @ N ) ) ) ).

% diff_Suc
thf(fact_2973_bit__numeral__rec_I1_J,axiom,
    ! [A: $tType] :
      ( ( bit_un5681908812861735899ations @ A )
     => ! [W2: num,N: nat] :
          ( ( bit_se5641148757651400278ts_bit @ A @ ( numeral_numeral @ A @ ( bit0 @ W2 ) ) @ N )
          = ( case_nat @ $o @ $false @ ( bit_se5641148757651400278ts_bit @ A @ ( numeral_numeral @ A @ W2 ) ) @ N ) ) ) ).

% bit_numeral_rec(1)
thf(fact_2974_bit__numeral__rec_I2_J,axiom,
    ! [A: $tType] :
      ( ( bit_un5681908812861735899ations @ A )
     => ! [W2: num,N: nat] :
          ( ( bit_se5641148757651400278ts_bit @ A @ ( numeral_numeral @ A @ ( bit1 @ W2 ) ) @ N )
          = ( case_nat @ $o @ $true @ ( bit_se5641148757651400278ts_bit @ A @ ( numeral_numeral @ A @ W2 ) ) @ N ) ) ) ).

% bit_numeral_rec(2)
thf(fact_2975_mask__eq__sum__exp,axiom,
    ! [A: $tType] :
      ( ( semiring_parity @ A )
     => ! [N: nat] :
          ( ( minus_minus @ A @ ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ N ) @ ( one_one @ A ) )
          = ( groups7311177749621191930dd_sum @ nat @ A @ ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) )
            @ ( collect @ nat
              @ ^ [Q8: nat] : ( ord_less @ nat @ Q8 @ N ) ) ) ) ) ).

% mask_eq_sum_exp
thf(fact_2976_sum__abs__ge__zero,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ordere166539214618696060dd_abs @ B )
     => ! [F3: A > B,A6: set @ A] :
          ( ord_less_eq @ B @ ( zero_zero @ B )
          @ ( groups7311177749621191930dd_sum @ A @ B
            @ ^ [I: A] : ( abs_abs @ B @ ( F3 @ I ) )
            @ A6 ) ) ) ).

% sum_abs_ge_zero
thf(fact_2977_sum__abs,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ordere166539214618696060dd_abs @ B )
     => ! [F3: A > B,A6: set @ A] :
          ( ord_less_eq @ B @ ( abs_abs @ B @ ( groups7311177749621191930dd_sum @ A @ B @ F3 @ A6 ) )
          @ ( groups7311177749621191930dd_sum @ A @ B
            @ ^ [I: A] : ( abs_abs @ B @ ( F3 @ I ) )
            @ A6 ) ) ) ).

% sum_abs
thf(fact_2978_convex__sum__bound__le,axiom,
    ! [A: $tType,B: $tType] :
      ( ( linordered_idom @ B )
     => ! [I5: set @ A,X: A > B,A3: A > B,B2: B,Delta: B] :
          ( ! [I3: A] :
              ( ( member @ A @ I3 @ I5 )
             => ( ord_less_eq @ B @ ( zero_zero @ B ) @ ( X @ I3 ) ) )
         => ( ( ( groups7311177749621191930dd_sum @ A @ B @ X @ I5 )
              = ( one_one @ B ) )
           => ( ! [I3: A] :
                  ( ( member @ A @ I3 @ I5 )
                 => ( ord_less_eq @ B @ ( abs_abs @ B @ ( minus_minus @ B @ ( A3 @ I3 ) @ B2 ) ) @ Delta ) )
             => ( ord_less_eq @ B
                @ ( abs_abs @ B
                  @ ( minus_minus @ B
                    @ ( groups7311177749621191930dd_sum @ A @ B
                      @ ^ [I: A] : ( times_times @ B @ ( A3 @ I ) @ ( X @ I ) )
                      @ I5 )
                    @ B2 ) )
                @ Delta ) ) ) ) ) ).

% convex_sum_bound_le
thf(fact_2979_abs__sum__abs,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ordere166539214618696060dd_abs @ B )
     => ! [F3: A > B,A6: set @ A] :
          ( ( abs_abs @ B
            @ ( groups7311177749621191930dd_sum @ A @ B
              @ ^ [A7: A] : ( abs_abs @ B @ ( F3 @ A7 ) )
              @ A6 ) )
          = ( groups7311177749621191930dd_sum @ A @ B
            @ ^ [A7: A] : ( abs_abs @ B @ ( F3 @ A7 ) )
            @ A6 ) ) ) ).

% abs_sum_abs
thf(fact_2980_sum_Oneutral__const,axiom,
    ! [B: $tType,A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [A6: set @ B] :
          ( ( groups7311177749621191930dd_sum @ B @ A
            @ ^ [Uu2: B] : ( zero_zero @ A )
            @ A6 )
          = ( zero_zero @ A ) ) ) ).

% sum.neutral_const
thf(fact_2981_int__sum,axiom,
    ! [B: $tType,F3: B > nat,A6: set @ B] :
      ( ( semiring_1_of_nat @ int @ ( groups7311177749621191930dd_sum @ B @ nat @ F3 @ A6 ) )
      = ( groups7311177749621191930dd_sum @ B @ int
        @ ^ [X4: B] : ( semiring_1_of_nat @ int @ ( F3 @ X4 ) )
        @ A6 ) ) ).

% int_sum
thf(fact_2982_sum_Oswap,axiom,
    ! [A: $tType,B: $tType,C: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [G3: B > C > A,B6: set @ C,A6: set @ B] :
          ( ( groups7311177749621191930dd_sum @ B @ A
            @ ^ [I: B] : ( groups7311177749621191930dd_sum @ C @ A @ ( G3 @ I ) @ B6 )
            @ A6 )
          = ( groups7311177749621191930dd_sum @ C @ A
            @ ^ [J: C] :
                ( groups7311177749621191930dd_sum @ B @ A
                @ ^ [I: B] : ( G3 @ I @ J )
                @ A6 )
            @ B6 ) ) ) ).

% sum.swap
thf(fact_2983_sum__mono,axiom,
    ! [A: $tType,B: $tType] :
      ( ( ordere6911136660526730532id_add @ A )
     => ! [K5: set @ B,F3: B > A,G3: B > A] :
          ( ! [I3: B] :
              ( ( member @ B @ I3 @ K5 )
             => ( ord_less_eq @ A @ ( F3 @ I3 ) @ ( G3 @ I3 ) ) )
         => ( ord_less_eq @ A @ ( groups7311177749621191930dd_sum @ B @ A @ F3 @ K5 ) @ ( groups7311177749621191930dd_sum @ B @ A @ G3 @ K5 ) ) ) ) ).

% sum_mono
thf(fact_2984_sum_Odistrib,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [G3: B > A,H: B > A,A6: set @ B] :
          ( ( groups7311177749621191930dd_sum @ B @ A
            @ ^ [X4: B] : ( plus_plus @ A @ ( G3 @ X4 ) @ ( H @ X4 ) )
            @ A6 )
          = ( plus_plus @ A @ ( groups7311177749621191930dd_sum @ B @ A @ G3 @ A6 ) @ ( groups7311177749621191930dd_sum @ B @ A @ H @ A6 ) ) ) ) ).

% sum.distrib
thf(fact_2985_sum__product,axiom,
    ! [B: $tType,C: $tType,A: $tType] :
      ( ( semiring_0 @ B )
     => ! [F3: A > B,A6: set @ A,G3: C > B,B6: set @ C] :
          ( ( times_times @ B @ ( groups7311177749621191930dd_sum @ A @ B @ F3 @ A6 ) @ ( groups7311177749621191930dd_sum @ C @ B @ G3 @ B6 ) )
          = ( groups7311177749621191930dd_sum @ A @ B
            @ ^ [I: A] :
                ( groups7311177749621191930dd_sum @ C @ B
                @ ^ [J: C] : ( times_times @ B @ ( F3 @ I ) @ ( G3 @ J ) )
                @ B6 )
            @ A6 ) ) ) ).

% sum_product
thf(fact_2986_sum__distrib__right,axiom,
    ! [A: $tType,B: $tType] :
      ( ( semiring_0 @ A )
     => ! [F3: B > A,A6: set @ B,R3: A] :
          ( ( times_times @ A @ ( groups7311177749621191930dd_sum @ B @ A @ F3 @ A6 ) @ R3 )
          = ( groups7311177749621191930dd_sum @ B @ A
            @ ^ [N3: B] : ( times_times @ A @ ( F3 @ N3 ) @ R3 )
            @ A6 ) ) ) ).

% sum_distrib_right
thf(fact_2987_sum__distrib__left,axiom,
    ! [A: $tType,B: $tType] :
      ( ( semiring_0 @ A )
     => ! [R3: A,F3: B > A,A6: set @ B] :
          ( ( times_times @ A @ R3 @ ( groups7311177749621191930dd_sum @ B @ A @ F3 @ A6 ) )
          = ( groups7311177749621191930dd_sum @ B @ A
            @ ^ [N3: B] : ( times_times @ A @ R3 @ ( F3 @ N3 ) )
            @ A6 ) ) ) ).

% sum_distrib_left
thf(fact_2988_sum__subtractf,axiom,
    ! [A: $tType,B: $tType] :
      ( ( ab_group_add @ A )
     => ! [F3: B > A,G3: B > A,A6: set @ B] :
          ( ( groups7311177749621191930dd_sum @ B @ A
            @ ^ [X4: B] : ( minus_minus @ A @ ( F3 @ X4 ) @ ( G3 @ X4 ) )
            @ A6 )
          = ( minus_minus @ A @ ( groups7311177749621191930dd_sum @ B @ A @ F3 @ A6 ) @ ( groups7311177749621191930dd_sum @ B @ A @ G3 @ A6 ) ) ) ) ).

% sum_subtractf
thf(fact_2989_sum__negf,axiom,
    ! [A: $tType,B: $tType] :
      ( ( ab_group_add @ A )
     => ! [F3: B > A,A6: set @ B] :
          ( ( groups7311177749621191930dd_sum @ B @ A
            @ ^ [X4: B] : ( uminus_uminus @ A @ ( F3 @ X4 ) )
            @ A6 )
          = ( uminus_uminus @ A @ ( groups7311177749621191930dd_sum @ B @ A @ F3 @ A6 ) ) ) ) ).

% sum_negf
thf(fact_2990_sum__divide__distrib,axiom,
    ! [A: $tType,B: $tType] :
      ( ( field @ A )
     => ! [F3: B > A,A6: set @ B,R3: A] :
          ( ( divide_divide @ A @ ( groups7311177749621191930dd_sum @ B @ A @ F3 @ A6 ) @ R3 )
          = ( groups7311177749621191930dd_sum @ B @ A
            @ ^ [N3: B] : ( divide_divide @ A @ ( F3 @ N3 ) @ R3 )
            @ A6 ) ) ) ).

% sum_divide_distrib
thf(fact_2991_sum__nonpos,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ordere6911136660526730532id_add @ A )
     => ! [A6: set @ B,F3: B > A] :
          ( ! [X3: B] :
              ( ( member @ B @ X3 @ A6 )
             => ( ord_less_eq @ A @ ( F3 @ X3 ) @ ( zero_zero @ A ) ) )
         => ( ord_less_eq @ A @ ( groups7311177749621191930dd_sum @ B @ A @ F3 @ A6 ) @ ( zero_zero @ A ) ) ) ) ).

% sum_nonpos
thf(fact_2992_sum__nonneg,axiom,
    ! [A: $tType,B: $tType] :
      ( ( ordere6911136660526730532id_add @ A )
     => ! [A6: set @ B,F3: B > A] :
          ( ! [X3: B] :
              ( ( member @ B @ X3 @ A6 )
             => ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( F3 @ X3 ) ) )
         => ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( groups7311177749621191930dd_sum @ B @ A @ F3 @ A6 ) ) ) ) ).

% sum_nonneg
thf(fact_2993_sum__subtractf__nat,axiom,
    ! [A: $tType,A6: set @ A,G3: A > nat,F3: A > nat] :
      ( ! [X3: A] :
          ( ( member @ A @ X3 @ A6 )
         => ( ord_less_eq @ nat @ ( G3 @ X3 ) @ ( F3 @ X3 ) ) )
     => ( ( groups7311177749621191930dd_sum @ A @ nat
          @ ^ [X4: A] : ( minus_minus @ nat @ ( F3 @ X4 ) @ ( G3 @ X4 ) )
          @ A6 )
        = ( minus_minus @ nat @ ( groups7311177749621191930dd_sum @ A @ nat @ F3 @ A6 ) @ ( groups7311177749621191930dd_sum @ A @ nat @ G3 @ A6 ) ) ) ) ).

% sum_subtractf_nat
thf(fact_2994_sum__comp__morphism,axiom,
    ! [A: $tType,B: $tType,C: $tType] :
      ( ( ( comm_monoid_add @ B )
        & ( comm_monoid_add @ A ) )
     => ! [H: B > A,G3: C > B,A6: set @ C] :
          ( ( ( H @ ( zero_zero @ B ) )
            = ( zero_zero @ A ) )
         => ( ! [X3: B,Y3: B] :
                ( ( H @ ( plus_plus @ B @ X3 @ Y3 ) )
                = ( plus_plus @ A @ ( H @ X3 ) @ ( H @ Y3 ) ) )
           => ( ( groups7311177749621191930dd_sum @ C @ A @ ( comp @ B @ A @ C @ H @ G3 ) @ A6 )
              = ( H @ ( groups7311177749621191930dd_sum @ C @ B @ G3 @ A6 ) ) ) ) ) ) ).

% sum_comp_morphism
thf(fact_2995_sum__SucD,axiom,
    ! [A: $tType,F3: A > nat,A6: set @ A,N: nat] :
      ( ( ( groups7311177749621191930dd_sum @ A @ nat @ F3 @ A6 )
        = ( suc @ N ) )
     => ? [X3: A] :
          ( ( member @ A @ X3 @ A6 )
          & ( ord_less @ nat @ ( zero_zero @ nat ) @ ( F3 @ X3 ) ) ) ) ).

% sum_SucD
thf(fact_2996_nat__of__integer__code,axiom,
    ( code_nat_of_integer
    = ( ^ [K3: code_integer] :
          ( if @ nat @ ( ord_less_eq @ code_integer @ K3 @ ( zero_zero @ code_integer ) ) @ ( zero_zero @ nat )
          @ ( product_case_prod @ code_integer @ code_integer @ nat
            @ ^ [L2: code_integer,J: code_integer] :
                ( if @ nat
                @ ( J
                  = ( zero_zero @ code_integer ) )
                @ ( plus_plus @ nat @ ( code_nat_of_integer @ L2 ) @ ( code_nat_of_integer @ L2 ) )
                @ ( plus_plus @ nat @ ( plus_plus @ nat @ ( code_nat_of_integer @ L2 ) @ ( code_nat_of_integer @ L2 ) ) @ ( one_one @ nat ) ) )
            @ ( code_divmod_integer @ K3 @ ( numeral_numeral @ code_integer @ ( bit0 @ one ) ) ) ) ) ) ) ).

% nat_of_integer_code
thf(fact_2997_choose__odd__sum,axiom,
    ! [A: $tType] :
      ( ( comm_ring_1 @ A )
     => ! [N: nat] :
          ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
         => ( ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) )
              @ ( groups7311177749621191930dd_sum @ nat @ A
                @ ^ [I: nat] :
                    ( if @ A
                    @ ~ ( dvd_dvd @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ I )
                    @ ( semiring_1_of_nat @ A @ ( binomial @ N @ I ) )
                    @ ( zero_zero @ A ) )
                @ ( set_ord_atMost @ nat @ N ) ) )
            = ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ N ) ) ) ) ).

% choose_odd_sum
thf(fact_2998_choose__even__sum,axiom,
    ! [A: $tType] :
      ( ( comm_ring_1 @ A )
     => ! [N: nat] :
          ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
         => ( ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) )
              @ ( groups7311177749621191930dd_sum @ nat @ A
                @ ^ [I: nat] : ( if @ A @ ( dvd_dvd @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ I ) @ ( semiring_1_of_nat @ A @ ( binomial @ N @ I ) ) @ ( zero_zero @ A ) )
                @ ( set_ord_atMost @ nat @ N ) ) )
            = ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ N ) ) ) ) ).

% choose_even_sum
thf(fact_2999_gbinomial__partial__row__sum,axiom,
    ! [A: $tType] :
      ( ( field_char_0 @ A )
     => ! [A3: A,M: nat] :
          ( ( groups7311177749621191930dd_sum @ nat @ A
            @ ^ [K3: nat] : ( times_times @ A @ ( gbinomial @ A @ A3 @ K3 ) @ ( minus_minus @ A @ ( divide_divide @ A @ A3 @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) @ ( semiring_1_of_nat @ A @ K3 ) ) )
            @ ( set_ord_atMost @ nat @ M ) )
          = ( times_times @ A @ ( divide_divide @ A @ ( plus_plus @ A @ ( semiring_1_of_nat @ A @ M ) @ ( one_one @ A ) ) @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) @ ( gbinomial @ A @ A3 @ ( plus_plus @ nat @ M @ ( one_one @ nat ) ) ) ) ) ) ).

% gbinomial_partial_row_sum
thf(fact_3000_sum__gp,axiom,
    ! [A: $tType] :
      ( ( ( division_ring @ A )
        & ( comm_ring @ A ) )
     => ! [N: nat,M: nat,X: A] :
          ( ( ( ord_less @ nat @ N @ M )
           => ( ( groups7311177749621191930dd_sum @ nat @ A @ ( power_power @ A @ X ) @ ( set_or1337092689740270186AtMost @ nat @ M @ N ) )
              = ( zero_zero @ A ) ) )
          & ( ~ ( ord_less @ nat @ N @ M )
           => ( ( ( X
                  = ( one_one @ A ) )
               => ( ( groups7311177749621191930dd_sum @ nat @ A @ ( power_power @ A @ X ) @ ( set_or1337092689740270186AtMost @ nat @ M @ N ) )
                  = ( semiring_1_of_nat @ A @ ( minus_minus @ nat @ ( plus_plus @ nat @ N @ ( one_one @ nat ) ) @ M ) ) ) )
              & ( ( X
                 != ( one_one @ A ) )
               => ( ( groups7311177749621191930dd_sum @ nat @ A @ ( power_power @ A @ X ) @ ( set_or1337092689740270186AtMost @ nat @ M @ N ) )
                  = ( divide_divide @ A @ ( minus_minus @ A @ ( power_power @ A @ X @ M ) @ ( power_power @ A @ X @ ( suc @ N ) ) ) @ ( minus_minus @ A @ ( one_one @ A ) @ X ) ) ) ) ) ) ) ) ).

% sum_gp
thf(fact_3001_Icc__eq__Icc,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [L: A,H: A,L4: A,H5: A] :
          ( ( ( set_or1337092689740270186AtMost @ A @ L @ H )
            = ( set_or1337092689740270186AtMost @ A @ L4 @ H5 ) )
          = ( ( ( L = L4 )
              & ( H = H5 ) )
            | ( ~ ( ord_less_eq @ A @ L @ H )
              & ~ ( ord_less_eq @ A @ L4 @ H5 ) ) ) ) ) ).

% Icc_eq_Icc
thf(fact_3002_atLeastAtMost__iff,axiom,
    ! [A: $tType] :
      ( ( ord @ A )
     => ! [I2: A,L: A,U: A] :
          ( ( member @ A @ I2 @ ( set_or1337092689740270186AtMost @ A @ L @ U ) )
          = ( ( ord_less_eq @ A @ L @ I2 )
            & ( ord_less_eq @ A @ I2 @ U ) ) ) ) ).

% atLeastAtMost_iff
thf(fact_3003_atMost__iff,axiom,
    ! [A: $tType] :
      ( ( ord @ A )
     => ! [I2: A,K2: A] :
          ( ( member @ A @ I2 @ ( set_ord_atMost @ A @ K2 ) )
          = ( ord_less_eq @ A @ I2 @ K2 ) ) ) ).

% atMost_iff
thf(fact_3004_atLeastatMost__empty__iff,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [A3: A,B2: A] :
          ( ( ( set_or1337092689740270186AtMost @ A @ A3 @ B2 )
            = ( bot_bot @ ( set @ A ) ) )
          = ( ~ ( ord_less_eq @ A @ A3 @ B2 ) ) ) ) ).

% atLeastatMost_empty_iff
thf(fact_3005_atLeastatMost__empty__iff2,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [A3: A,B2: A] :
          ( ( ( bot_bot @ ( set @ A ) )
            = ( set_or1337092689740270186AtMost @ A @ A3 @ B2 ) )
          = ( ~ ( ord_less_eq @ A @ A3 @ B2 ) ) ) ) ).

% atLeastatMost_empty_iff2
thf(fact_3006_atLeastatMost__empty,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [B2: A,A3: A] :
          ( ( ord_less @ A @ B2 @ A3 )
         => ( ( set_or1337092689740270186AtMost @ A @ A3 @ B2 )
            = ( bot_bot @ ( set @ A ) ) ) ) ) ).

% atLeastatMost_empty
thf(fact_3007_atLeastatMost__subset__iff,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [A3: A,B2: A,C3: A,D3: A] :
          ( ( ord_less_eq @ ( set @ A ) @ ( set_or1337092689740270186AtMost @ A @ A3 @ B2 ) @ ( set_or1337092689740270186AtMost @ A @ C3 @ D3 ) )
          = ( ~ ( ord_less_eq @ A @ A3 @ B2 )
            | ( ( ord_less_eq @ A @ C3 @ A3 )
              & ( ord_less_eq @ A @ B2 @ D3 ) ) ) ) ) ).

% atLeastatMost_subset_iff
thf(fact_3008_atMost__subset__iff,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less_eq @ ( set @ A ) @ ( set_ord_atMost @ A @ X ) @ ( set_ord_atMost @ A @ Y ) )
          = ( ord_less_eq @ A @ X @ Y ) ) ) ).

% atMost_subset_iff
thf(fact_3009_Icc__subset__Iic__iff,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [L: A,H: A,H5: A] :
          ( ( ord_less_eq @ ( set @ A ) @ ( set_or1337092689740270186AtMost @ A @ L @ H ) @ ( set_ord_atMost @ A @ H5 ) )
          = ( ~ ( ord_less_eq @ A @ L @ H )
            | ( ord_less_eq @ A @ H @ H5 ) ) ) ) ).

% Icc_subset_Iic_iff
thf(fact_3010_sum_OatMost__Suc,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [G3: nat > A,N: nat] :
          ( ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_ord_atMost @ nat @ ( suc @ N ) ) )
          = ( plus_plus @ A @ ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_ord_atMost @ nat @ N ) ) @ ( G3 @ ( suc @ N ) ) ) ) ) ).

% sum.atMost_Suc
thf(fact_3011_nat__of__integer__non__positive,axiom,
    ! [K2: code_integer] :
      ( ( ord_less_eq @ code_integer @ K2 @ ( zero_zero @ code_integer ) )
     => ( ( code_nat_of_integer @ K2 )
        = ( zero_zero @ nat ) ) ) ).

% nat_of_integer_non_positive
thf(fact_3012_sum_Ocl__ivl__Suc,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [N: nat,M: nat,G3: nat > A] :
          ( ( ( ord_less @ nat @ ( suc @ N ) @ M )
           => ( ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ M @ ( suc @ N ) ) )
              = ( zero_zero @ A ) ) )
          & ( ~ ( ord_less @ nat @ ( suc @ N ) @ M )
           => ( ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ M @ ( suc @ N ) ) )
              = ( plus_plus @ A @ ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ M @ N ) ) @ ( G3 @ ( suc @ N ) ) ) ) ) ) ) ).

% sum.cl_ivl_Suc
thf(fact_3013_not__Iic__le__Icc,axiom,
    ! [A: $tType] :
      ( ( no_bot @ A )
     => ! [H: A,L4: A,H5: A] :
          ~ ( ord_less_eq @ ( set @ A ) @ ( set_ord_atMost @ A @ H ) @ ( set_or1337092689740270186AtMost @ A @ L4 @ H5 ) ) ) ).

% not_Iic_le_Icc
thf(fact_3014_atMost__def,axiom,
    ! [A: $tType] :
      ( ( ord @ A )
     => ( ( set_ord_atMost @ A )
        = ( ^ [U2: A] :
              ( collect @ A
              @ ^ [X4: A] : ( ord_less_eq @ A @ X4 @ U2 ) ) ) ) ) ).

% atMost_def
thf(fact_3015_ivl__disj__un__two__touch_I4_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [L: A,M: A,U: A] :
          ( ( ord_less_eq @ A @ L @ M )
         => ( ( ord_less_eq @ A @ M @ U )
           => ( ( sup_sup @ ( set @ A ) @ ( set_or1337092689740270186AtMost @ A @ L @ M ) @ ( set_or1337092689740270186AtMost @ A @ M @ U ) )
              = ( set_or1337092689740270186AtMost @ A @ L @ U ) ) ) ) ) ).

% ivl_disj_un_two_touch(4)
thf(fact_3016_ex__nat__less,axiom,
    ! [N: nat,P2: nat > $o] :
      ( ( ? [M3: nat] :
            ( ( ord_less_eq @ nat @ M3 @ N )
            & ( P2 @ M3 ) ) )
      = ( ? [X4: nat] :
            ( ( member @ nat @ X4 @ ( set_or1337092689740270186AtMost @ nat @ ( zero_zero @ nat ) @ N ) )
            & ( P2 @ X4 ) ) ) ) ).

% ex_nat_less
thf(fact_3017_all__nat__less,axiom,
    ! [N: nat,P2: nat > $o] :
      ( ( ! [M3: nat] :
            ( ( ord_less_eq @ nat @ M3 @ N )
           => ( P2 @ M3 ) ) )
      = ( ! [X4: nat] :
            ( ( member @ nat @ X4 @ ( set_or1337092689740270186AtMost @ nat @ ( zero_zero @ nat ) @ N ) )
           => ( P2 @ X4 ) ) ) ) ).

% all_nat_less
thf(fact_3018_sum_OatLeastAtMost__shift__bounds,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [G3: nat > A,M: nat,K2: nat,N: nat] :
          ( ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ ( plus_plus @ nat @ M @ K2 ) @ ( plus_plus @ nat @ N @ K2 ) ) )
          = ( groups7311177749621191930dd_sum @ nat @ A @ ( comp @ nat @ A @ nat @ G3 @ ( plus_plus @ nat @ K2 ) ) @ ( set_or1337092689740270186AtMost @ nat @ M @ N ) ) ) ) ).

% sum.atLeastAtMost_shift_bounds
thf(fact_3019_sum_Oshift__bounds__cl__Suc__ivl,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [G3: nat > A,M: nat,N: nat] :
          ( ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ ( suc @ M ) @ ( suc @ N ) ) )
          = ( groups7311177749621191930dd_sum @ nat @ A
            @ ^ [I: nat] : ( G3 @ ( suc @ I ) )
            @ ( set_or1337092689740270186AtMost @ nat @ M @ N ) ) ) ) ).

% sum.shift_bounds_cl_Suc_ivl
thf(fact_3020_sum_Oshift__bounds__cl__nat__ivl,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [G3: nat > A,M: nat,K2: nat,N: nat] :
          ( ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ ( plus_plus @ nat @ M @ K2 ) @ ( plus_plus @ nat @ N @ K2 ) ) )
          = ( groups7311177749621191930dd_sum @ nat @ A
            @ ^ [I: nat] : ( G3 @ ( plus_plus @ nat @ I @ K2 ) )
            @ ( set_or1337092689740270186AtMost @ nat @ M @ N ) ) ) ) ).

% sum.shift_bounds_cl_nat_ivl
thf(fact_3021_sum__power__shift,axiom,
    ! [A: $tType] :
      ( ( ( monoid_mult @ A )
        & ( comm_ring @ A ) )
     => ! [M: nat,N: nat,X: A] :
          ( ( ord_less_eq @ nat @ M @ N )
         => ( ( groups7311177749621191930dd_sum @ nat @ A @ ( power_power @ A @ X ) @ ( set_or1337092689740270186AtMost @ nat @ M @ N ) )
            = ( times_times @ A @ ( power_power @ A @ X @ M ) @ ( groups7311177749621191930dd_sum @ nat @ A @ ( power_power @ A @ X ) @ ( set_ord_atMost @ nat @ ( minus_minus @ nat @ N @ M ) ) ) ) ) ) ) ).

% sum_power_shift
thf(fact_3022_atLeastatMost__psubset__iff,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [A3: A,B2: A,C3: A,D3: A] :
          ( ( ord_less @ ( set @ A ) @ ( set_or1337092689740270186AtMost @ A @ A3 @ B2 ) @ ( set_or1337092689740270186AtMost @ A @ C3 @ D3 ) )
          = ( ( ~ ( ord_less_eq @ A @ A3 @ B2 )
              | ( ( ord_less_eq @ A @ C3 @ A3 )
                & ( ord_less_eq @ A @ B2 @ D3 )
                & ( ( ord_less @ A @ C3 @ A3 )
                  | ( ord_less @ A @ B2 @ D3 ) ) ) )
            & ( ord_less_eq @ A @ C3 @ D3 ) ) ) ) ).

% atLeastatMost_psubset_iff
thf(fact_3023_Icc__eq__insert__lb__nat,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ M @ N )
     => ( ( set_or1337092689740270186AtMost @ nat @ M @ N )
        = ( insert @ nat @ M @ ( set_or1337092689740270186AtMost @ nat @ ( suc @ M ) @ N ) ) ) ) ).

% Icc_eq_insert_lb_nat
thf(fact_3024_atLeastAtMostSuc__conv,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ M @ ( suc @ N ) )
     => ( ( set_or1337092689740270186AtMost @ nat @ M @ ( suc @ N ) )
        = ( insert @ nat @ ( suc @ N ) @ ( set_or1337092689740270186AtMost @ nat @ M @ N ) ) ) ) ).

% atLeastAtMostSuc_conv
thf(fact_3025_atLeastAtMost__insertL,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ M @ N )
     => ( ( insert @ nat @ M @ ( set_or1337092689740270186AtMost @ nat @ ( suc @ M ) @ N ) )
        = ( set_or1337092689740270186AtMost @ nat @ M @ N ) ) ) ).

% atLeastAtMost_insertL
thf(fact_3026_sum_OatLeastAtMost__rev,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [G3: nat > A,N: nat,M: nat] :
          ( ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ N @ M ) )
          = ( groups7311177749621191930dd_sum @ nat @ A
            @ ^ [I: nat] : ( G3 @ ( minus_minus @ nat @ ( plus_plus @ nat @ M @ N ) @ I ) )
            @ ( set_or1337092689740270186AtMost @ nat @ N @ M ) ) ) ) ).

% sum.atLeastAtMost_rev
thf(fact_3027_sum__choose__upper,axiom,
    ! [M: nat,N: nat] :
      ( ( groups7311177749621191930dd_sum @ nat @ nat
        @ ^ [K3: nat] : ( binomial @ K3 @ M )
        @ ( set_ord_atMost @ nat @ N ) )
      = ( binomial @ ( suc @ N ) @ ( suc @ M ) ) ) ).

% sum_choose_upper
thf(fact_3028_sum_OatLeast0__atMost__Suc__shift,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [G3: nat > A,N: nat] :
          ( ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ ( zero_zero @ nat ) @ ( suc @ N ) ) )
          = ( plus_plus @ A @ ( G3 @ ( zero_zero @ nat ) ) @ ( groups7311177749621191930dd_sum @ nat @ A @ ( comp @ nat @ A @ nat @ G3 @ suc ) @ ( set_or1337092689740270186AtMost @ nat @ ( zero_zero @ nat ) @ N ) ) ) ) ) ).

% sum.atLeast0_atMost_Suc_shift
thf(fact_3029_sum_OatLeast0__atMost__Suc,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [G3: nat > A,N: nat] :
          ( ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ ( zero_zero @ nat ) @ ( suc @ N ) ) )
          = ( plus_plus @ A @ ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ ( zero_zero @ nat ) @ N ) ) @ ( G3 @ ( suc @ N ) ) ) ) ) ).

% sum.atLeast0_atMost_Suc
thf(fact_3030_sum_Onat__ivl__Suc_H,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [M: nat,N: nat,G3: nat > A] :
          ( ( ord_less_eq @ nat @ M @ ( suc @ N ) )
         => ( ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ M @ ( suc @ N ) ) )
            = ( plus_plus @ A @ ( G3 @ ( suc @ N ) ) @ ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ M @ N ) ) ) ) ) ) ).

% sum.nat_ivl_Suc'
thf(fact_3031_sum_OatLeast__Suc__atMost,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [M: nat,N: nat,G3: nat > A] :
          ( ( ord_less_eq @ nat @ M @ N )
         => ( ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ M @ N ) )
            = ( plus_plus @ A @ ( G3 @ M ) @ ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ ( suc @ M ) @ N ) ) ) ) ) ) ).

% sum.atLeast_Suc_atMost
thf(fact_3032_sum_OatMost__Suc__shift,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [G3: nat > A,N: nat] :
          ( ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_ord_atMost @ nat @ ( suc @ N ) ) )
          = ( plus_plus @ A @ ( G3 @ ( zero_zero @ nat ) )
            @ ( groups7311177749621191930dd_sum @ nat @ A
              @ ^ [I: nat] : ( G3 @ ( suc @ I ) )
              @ ( set_ord_atMost @ nat @ N ) ) ) ) ) ).

% sum.atMost_Suc_shift
thf(fact_3033_sum__telescope,axiom,
    ! [A: $tType] :
      ( ( ab_group_add @ A )
     => ! [F3: nat > A,I2: nat] :
          ( ( groups7311177749621191930dd_sum @ nat @ A
            @ ^ [I: nat] : ( minus_minus @ A @ ( F3 @ I ) @ ( F3 @ ( suc @ I ) ) )
            @ ( set_ord_atMost @ nat @ I2 ) )
          = ( minus_minus @ A @ ( F3 @ ( zero_zero @ nat ) ) @ ( F3 @ ( suc @ I2 ) ) ) ) ) ).

% sum_telescope
thf(fact_3034_sum_OSuc__reindex__ivl,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [M: nat,N: nat,G3: nat > A] :
          ( ( ord_less_eq @ nat @ M @ N )
         => ( ( plus_plus @ A @ ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ M @ N ) ) @ ( G3 @ ( suc @ N ) ) )
            = ( plus_plus @ A @ ( G3 @ M )
              @ ( groups7311177749621191930dd_sum @ nat @ A
                @ ^ [I: nat] : ( G3 @ ( suc @ I ) )
                @ ( set_or1337092689740270186AtMost @ nat @ M @ N ) ) ) ) ) ) ).

% sum.Suc_reindex_ivl
thf(fact_3035_sum__Suc__diff,axiom,
    ! [A: $tType] :
      ( ( ab_group_add @ A )
     => ! [M: nat,N: nat,F3: nat > A] :
          ( ( ord_less_eq @ nat @ M @ ( suc @ N ) )
         => ( ( groups7311177749621191930dd_sum @ nat @ A
              @ ^ [I: nat] : ( minus_minus @ A @ ( F3 @ ( suc @ I ) ) @ ( F3 @ I ) )
              @ ( set_or1337092689740270186AtMost @ nat @ M @ N ) )
            = ( minus_minus @ A @ ( F3 @ ( suc @ N ) ) @ ( F3 @ M ) ) ) ) ) ).

% sum_Suc_diff
thf(fact_3036_sum_OatLeast__atMost__pred__shift,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [G3: nat > A,M: nat,N: nat] :
          ( ( groups7311177749621191930dd_sum @ nat @ A
            @ ( comp @ nat @ A @ nat @ G3
              @ ^ [N3: nat] : ( minus_minus @ nat @ N3 @ ( suc @ ( zero_zero @ nat ) ) ) )
            @ ( set_or1337092689740270186AtMost @ nat @ ( suc @ M ) @ ( suc @ N ) ) )
          = ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ M @ N ) ) ) ) ).

% sum.atLeast_atMost_pred_shift
thf(fact_3037_sum__choose__lower,axiom,
    ! [R3: nat,N: nat] :
      ( ( groups7311177749621191930dd_sum @ nat @ nat
        @ ^ [K3: nat] : ( binomial @ ( plus_plus @ nat @ R3 @ K3 ) @ K3 )
        @ ( set_ord_atMost @ nat @ N ) )
      = ( binomial @ ( suc @ ( plus_plus @ nat @ R3 @ N ) ) @ N ) ) ).

% sum_choose_lower
thf(fact_3038_choose__rising__sum_I1_J,axiom,
    ! [N: nat,M: nat] :
      ( ( groups7311177749621191930dd_sum @ nat @ nat
        @ ^ [J: nat] : ( binomial @ ( plus_plus @ nat @ N @ J ) @ N )
        @ ( set_ord_atMost @ nat @ M ) )
      = ( binomial @ ( plus_plus @ nat @ ( plus_plus @ nat @ N @ M ) @ ( one_one @ nat ) ) @ ( plus_plus @ nat @ N @ ( one_one @ nat ) ) ) ) ).

% choose_rising_sum(1)
thf(fact_3039_choose__rising__sum_I2_J,axiom,
    ! [N: nat,M: nat] :
      ( ( groups7311177749621191930dd_sum @ nat @ nat
        @ ^ [J: nat] : ( binomial @ ( plus_plus @ nat @ N @ J ) @ N )
        @ ( set_ord_atMost @ nat @ M ) )
      = ( binomial @ ( plus_plus @ nat @ ( plus_plus @ nat @ N @ M ) @ ( one_one @ nat ) ) @ M ) ) ).

% choose_rising_sum(2)
thf(fact_3040_sum__atLeastAtMost__code,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [F3: nat > A,A3: nat,B2: nat] :
          ( ( groups7311177749621191930dd_sum @ nat @ A @ F3 @ ( set_or1337092689740270186AtMost @ nat @ A3 @ B2 ) )
          = ( set_fo6178422350223883121st_nat @ A
            @ ^ [A7: nat] : ( plus_plus @ A @ ( F3 @ A7 ) )
            @ A3
            @ B2
            @ ( zero_zero @ A ) ) ) ) ).

% sum_atLeastAtMost_code
thf(fact_3041_sum_Oub__add__nat,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [M: nat,N: nat,G3: nat > A,P3: nat] :
          ( ( ord_less_eq @ nat @ M @ ( plus_plus @ nat @ N @ ( one_one @ nat ) ) )
         => ( ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ M @ ( plus_plus @ nat @ N @ P3 ) ) )
            = ( plus_plus @ A @ ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ M @ N ) ) @ ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ ( plus_plus @ nat @ N @ ( one_one @ nat ) ) @ ( plus_plus @ nat @ N @ P3 ) ) ) ) ) ) ) ).

% sum.ub_add_nat
thf(fact_3042_sum_OatLeastAtMost__shift__0,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [M: nat,N: nat,G3: nat > A] :
          ( ( ord_less_eq @ nat @ M @ N )
         => ( ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ M @ N ) )
            = ( groups7311177749621191930dd_sum @ nat @ A @ ( comp @ nat @ A @ nat @ G3 @ ( plus_plus @ nat @ M ) ) @ ( set_or1337092689740270186AtMost @ nat @ ( zero_zero @ nat ) @ ( minus_minus @ nat @ N @ M ) ) ) ) ) ) ).

% sum.atLeastAtMost_shift_0
thf(fact_3043_gbinomial__parallel__sum,axiom,
    ! [A: $tType] :
      ( ( field_char_0 @ A )
     => ! [A3: A,N: nat] :
          ( ( groups7311177749621191930dd_sum @ nat @ A
            @ ^ [K3: nat] : ( gbinomial @ A @ ( plus_plus @ A @ A3 @ ( semiring_1_of_nat @ A @ K3 ) ) @ K3 )
            @ ( set_ord_atMost @ nat @ N ) )
          = ( gbinomial @ A @ ( plus_plus @ A @ ( plus_plus @ A @ A3 @ ( semiring_1_of_nat @ A @ N ) ) @ ( one_one @ A ) ) @ N ) ) ) ).

% gbinomial_parallel_sum
thf(fact_3044_sum_Otriangle__reindex__eq,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [G3: nat > nat > A,N: nat] :
          ( ( groups7311177749621191930dd_sum @ ( product_prod @ nat @ nat ) @ A @ ( product_case_prod @ nat @ nat @ A @ G3 )
            @ ( collect @ ( product_prod @ nat @ nat )
              @ ( product_case_prod @ nat @ nat @ $o
                @ ^ [I: nat,J: nat] : ( ord_less_eq @ nat @ ( plus_plus @ nat @ I @ J ) @ N ) ) ) )
          = ( groups7311177749621191930dd_sum @ nat @ A
            @ ^ [K3: nat] :
                ( groups7311177749621191930dd_sum @ nat @ A
                @ ^ [I: nat] : ( G3 @ I @ ( minus_minus @ nat @ K3 @ I ) )
                @ ( set_ord_atMost @ nat @ K3 ) )
            @ ( set_ord_atMost @ nat @ N ) ) ) ) ).

% sum.triangle_reindex_eq
thf(fact_3045_sum__choose__diagonal,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ M @ N )
     => ( ( groups7311177749621191930dd_sum @ nat @ nat
          @ ^ [K3: nat] : ( binomial @ ( minus_minus @ nat @ N @ K3 ) @ ( minus_minus @ nat @ M @ K3 ) )
          @ ( set_ord_atMost @ nat @ M ) )
        = ( binomial @ ( suc @ N ) @ M ) ) ) ).

% sum_choose_diagonal
thf(fact_3046_vandermonde,axiom,
    ! [M: nat,N: nat,R3: nat] :
      ( ( groups7311177749621191930dd_sum @ nat @ nat
        @ ^ [K3: nat] : ( times_times @ nat @ ( binomial @ M @ K3 ) @ ( binomial @ N @ ( minus_minus @ nat @ R3 @ K3 ) ) )
        @ ( set_ord_atMost @ nat @ R3 ) )
      = ( binomial @ ( plus_plus @ nat @ M @ N ) @ R3 ) ) ).

% vandermonde
thf(fact_3047_sum__gp__basic,axiom,
    ! [A: $tType] :
      ( ( ( monoid_mult @ A )
        & ( comm_ring @ A ) )
     => ! [X: A,N: nat] :
          ( ( times_times @ A @ ( minus_minus @ A @ ( one_one @ A ) @ X ) @ ( groups7311177749621191930dd_sum @ nat @ A @ ( power_power @ A @ X ) @ ( set_ord_atMost @ nat @ N ) ) )
          = ( minus_minus @ A @ ( one_one @ A ) @ ( power_power @ A @ X @ ( suc @ N ) ) ) ) ) ).

% sum_gp_basic
thf(fact_3048_sum__natinterval__diff,axiom,
    ! [A: $tType] :
      ( ( ab_group_add @ A )
     => ! [M: nat,N: nat,F3: nat > A] :
          ( ( ( ord_less_eq @ nat @ M @ N )
           => ( ( groups7311177749621191930dd_sum @ nat @ A
                @ ^ [K3: nat] : ( minus_minus @ A @ ( F3 @ K3 ) @ ( F3 @ ( plus_plus @ nat @ K3 @ ( one_one @ nat ) ) ) )
                @ ( set_or1337092689740270186AtMost @ nat @ M @ N ) )
              = ( minus_minus @ A @ ( F3 @ M ) @ ( F3 @ ( plus_plus @ nat @ N @ ( one_one @ nat ) ) ) ) ) )
          & ( ~ ( ord_less_eq @ nat @ M @ N )
           => ( ( groups7311177749621191930dd_sum @ nat @ A
                @ ^ [K3: nat] : ( minus_minus @ A @ ( F3 @ K3 ) @ ( F3 @ ( plus_plus @ nat @ K3 @ ( one_one @ nat ) ) ) )
                @ ( set_or1337092689740270186AtMost @ nat @ M @ N ) )
              = ( zero_zero @ A ) ) ) ) ) ).

% sum_natinterval_diff
thf(fact_3049_sum__telescope_H_H,axiom,
    ! [A: $tType] :
      ( ( ab_group_add @ A )
     => ! [M: nat,N: nat,F3: nat > A] :
          ( ( ord_less_eq @ nat @ M @ N )
         => ( ( groups7311177749621191930dd_sum @ nat @ A
              @ ^ [K3: nat] : ( minus_minus @ A @ ( F3 @ K3 ) @ ( F3 @ ( minus_minus @ nat @ K3 @ ( one_one @ nat ) ) ) )
              @ ( set_or1337092689740270186AtMost @ nat @ ( suc @ M ) @ N ) )
            = ( minus_minus @ A @ ( F3 @ N ) @ ( F3 @ M ) ) ) ) ) ).

% sum_telescope''
thf(fact_3050_choose__row__sum,axiom,
    ! [N: nat] :
      ( ( groups7311177749621191930dd_sum @ nat @ nat @ ( binomial @ N ) @ ( set_ord_atMost @ nat @ N ) )
      = ( power_power @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N ) ) ).

% choose_row_sum
thf(fact_3051_binomial,axiom,
    ! [A3: nat,B2: nat,N: nat] :
      ( ( power_power @ nat @ ( plus_plus @ nat @ A3 @ B2 ) @ N )
      = ( groups7311177749621191930dd_sum @ nat @ nat
        @ ^ [K3: nat] : ( times_times @ nat @ ( times_times @ nat @ ( semiring_1_of_nat @ nat @ ( binomial @ N @ K3 ) ) @ ( power_power @ nat @ A3 @ K3 ) ) @ ( power_power @ nat @ B2 @ ( minus_minus @ nat @ N @ K3 ) ) )
        @ ( set_ord_atMost @ nat @ N ) ) ) ).

% binomial
thf(fact_3052_sum_Oin__pairs__0,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [G3: nat > A,N: nat] :
          ( ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_ord_atMost @ nat @ ( suc @ ( times_times @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N ) ) ) )
          = ( groups7311177749621191930dd_sum @ nat @ A
            @ ^ [I: nat] : ( plus_plus @ A @ ( G3 @ ( times_times @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ I ) ) @ ( G3 @ ( suc @ ( times_times @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ I ) ) ) )
            @ ( set_ord_atMost @ nat @ N ) ) ) ) ).

% sum.in_pairs_0
thf(fact_3053_nat__of__integer__less__iff,axiom,
    ! [X: code_integer,Y: code_integer] :
      ( ( ord_less_eq @ code_integer @ ( zero_zero @ code_integer ) @ X )
     => ( ( ord_less_eq @ code_integer @ ( zero_zero @ code_integer ) @ Y )
       => ( ( ord_less @ nat @ ( code_nat_of_integer @ X ) @ ( code_nat_of_integer @ Y ) )
          = ( ord_less @ code_integer @ X @ Y ) ) ) ) ).

% nat_of_integer_less_iff
thf(fact_3054_gbinomial__sum__lower__neg,axiom,
    ! [A: $tType] :
      ( ( field_char_0 @ A )
     => ! [A3: A,M: nat] :
          ( ( groups7311177749621191930dd_sum @ nat @ A
            @ ^ [K3: nat] : ( times_times @ A @ ( gbinomial @ A @ A3 @ K3 ) @ ( power_power @ A @ ( uminus_uminus @ A @ ( one_one @ A ) ) @ K3 ) )
            @ ( set_ord_atMost @ nat @ M ) )
          = ( times_times @ A @ ( power_power @ A @ ( uminus_uminus @ A @ ( one_one @ A ) ) @ M ) @ ( gbinomial @ A @ ( minus_minus @ A @ A3 @ ( one_one @ A ) ) @ M ) ) ) ) ).

% gbinomial_sum_lower_neg
thf(fact_3055_binomial__ring,axiom,
    ! [A: $tType] :
      ( ( comm_semiring_1 @ A )
     => ! [A3: A,B2: A,N: nat] :
          ( ( power_power @ A @ ( plus_plus @ A @ A3 @ B2 ) @ N )
          = ( groups7311177749621191930dd_sum @ nat @ A
            @ ^ [K3: nat] : ( times_times @ A @ ( times_times @ A @ ( semiring_1_of_nat @ A @ ( binomial @ N @ K3 ) ) @ ( power_power @ A @ A3 @ K3 ) ) @ ( power_power @ A @ B2 @ ( minus_minus @ nat @ N @ K3 ) ) )
            @ ( set_ord_atMost @ nat @ N ) ) ) ) ).

% binomial_ring
thf(fact_3056_sum__gp__multiplied,axiom,
    ! [A: $tType] :
      ( ( ( monoid_mult @ A )
        & ( comm_ring @ A ) )
     => ! [M: nat,N: nat,X: A] :
          ( ( ord_less_eq @ nat @ M @ N )
         => ( ( times_times @ A @ ( minus_minus @ A @ ( one_one @ A ) @ X ) @ ( groups7311177749621191930dd_sum @ nat @ A @ ( power_power @ A @ X ) @ ( set_or1337092689740270186AtMost @ nat @ M @ N ) ) )
            = ( minus_minus @ A @ ( power_power @ A @ X @ M ) @ ( power_power @ A @ X @ ( suc @ N ) ) ) ) ) ) ).

% sum_gp_multiplied
thf(fact_3057_pochhammer__binomial__sum,axiom,
    ! [A: $tType] :
      ( ( comm_ring_1 @ A )
     => ! [A3: A,B2: A,N: nat] :
          ( ( comm_s3205402744901411588hammer @ A @ ( plus_plus @ A @ A3 @ B2 ) @ N )
          = ( groups7311177749621191930dd_sum @ nat @ A
            @ ^ [K3: nat] : ( times_times @ A @ ( times_times @ A @ ( semiring_1_of_nat @ A @ ( binomial @ N @ K3 ) ) @ ( comm_s3205402744901411588hammer @ A @ A3 @ K3 ) ) @ ( comm_s3205402744901411588hammer @ A @ B2 @ ( minus_minus @ nat @ N @ K3 ) ) )
            @ ( set_ord_atMost @ nat @ N ) ) ) ) ).

% pochhammer_binomial_sum
thf(fact_3058_sum_Oin__pairs,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [G3: nat > A,M: nat,N: nat] :
          ( ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ ( times_times @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ M ) @ ( suc @ ( times_times @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N ) ) ) )
          = ( groups7311177749621191930dd_sum @ nat @ A
            @ ^ [I: nat] : ( plus_plus @ A @ ( G3 @ ( times_times @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ I ) ) @ ( G3 @ ( suc @ ( times_times @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ I ) ) ) )
            @ ( set_or1337092689740270186AtMost @ nat @ M @ N ) ) ) ) ).

% sum.in_pairs
thf(fact_3059_choose__square__sum,axiom,
    ! [N: nat] :
      ( ( groups7311177749621191930dd_sum @ nat @ nat
        @ ^ [K3: nat] : ( power_power @ nat @ ( binomial @ N @ K3 ) @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) )
        @ ( set_ord_atMost @ nat @ N ) )
      = ( binomial @ ( times_times @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N ) @ N ) ) ).

% choose_square_sum
thf(fact_3060_sum_Ozero__middle,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [P3: nat,K2: nat,G3: nat > A,H: nat > A] :
          ( ( ord_less_eq @ nat @ ( one_one @ nat ) @ P3 )
         => ( ( ord_less_eq @ nat @ K2 @ P3 )
           => ( ( groups7311177749621191930dd_sum @ nat @ A
                @ ^ [J: nat] : ( if @ A @ ( ord_less @ nat @ J @ K2 ) @ ( G3 @ J ) @ ( if @ A @ ( J = K2 ) @ ( zero_zero @ A ) @ ( H @ ( minus_minus @ nat @ J @ ( suc @ ( zero_zero @ nat ) ) ) ) ) )
                @ ( set_ord_atMost @ nat @ P3 ) )
              = ( groups7311177749621191930dd_sum @ nat @ A
                @ ^ [J: nat] : ( if @ A @ ( ord_less @ nat @ J @ K2 ) @ ( G3 @ J ) @ ( H @ J ) )
                @ ( set_ord_atMost @ nat @ ( minus_minus @ nat @ P3 @ ( suc @ ( zero_zero @ nat ) ) ) ) ) ) ) ) ) ).

% sum.zero_middle
thf(fact_3061_gbinomial__partial__sum__poly,axiom,
    ! [A: $tType] :
      ( ( field_char_0 @ A )
     => ! [M: nat,A3: A,X: A,Y: A] :
          ( ( groups7311177749621191930dd_sum @ nat @ A
            @ ^ [K3: nat] : ( times_times @ A @ ( times_times @ A @ ( gbinomial @ A @ ( plus_plus @ A @ ( semiring_1_of_nat @ A @ M ) @ A3 ) @ K3 ) @ ( power_power @ A @ X @ K3 ) ) @ ( power_power @ A @ Y @ ( minus_minus @ nat @ M @ K3 ) ) )
            @ ( set_ord_atMost @ nat @ M ) )
          = ( groups7311177749621191930dd_sum @ nat @ A
            @ ^ [K3: nat] : ( times_times @ A @ ( times_times @ A @ ( gbinomial @ A @ ( uminus_uminus @ A @ A3 ) @ K3 ) @ ( power_power @ A @ ( uminus_uminus @ A @ X ) @ K3 ) ) @ ( power_power @ A @ ( plus_plus @ A @ X @ Y ) @ ( minus_minus @ nat @ M @ K3 ) ) )
            @ ( set_ord_atMost @ nat @ M ) ) ) ) ).

% gbinomial_partial_sum_poly
thf(fact_3062_gbinomial__sum__up__index,axiom,
    ! [A: $tType] :
      ( ( field_char_0 @ A )
     => ! [K2: nat,N: nat] :
          ( ( groups7311177749621191930dd_sum @ nat @ A
            @ ^ [J: nat] : ( gbinomial @ A @ ( semiring_1_of_nat @ A @ J ) @ K2 )
            @ ( set_or1337092689740270186AtMost @ nat @ ( zero_zero @ nat ) @ N ) )
          = ( gbinomial @ A @ ( plus_plus @ A @ ( semiring_1_of_nat @ A @ N ) @ ( one_one @ A ) ) @ ( plus_plus @ nat @ K2 @ ( one_one @ nat ) ) ) ) ) ).

% gbinomial_sum_up_index
thf(fact_3063_gauss__sum__nat,axiom,
    ! [N: nat] :
      ( ( groups7311177749621191930dd_sum @ nat @ nat
        @ ^ [X4: nat] : X4
        @ ( set_or1337092689740270186AtMost @ nat @ ( zero_zero @ nat ) @ N ) )
      = ( divide_divide @ nat @ ( times_times @ nat @ N @ ( suc @ N ) ) @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) ) ).

% gauss_sum_nat
thf(fact_3064_sum__gp0,axiom,
    ! [A: $tType] :
      ( ( ( division_ring @ A )
        & ( comm_ring @ A ) )
     => ! [X: A,N: nat] :
          ( ( ( X
              = ( one_one @ A ) )
           => ( ( groups7311177749621191930dd_sum @ nat @ A @ ( power_power @ A @ X ) @ ( set_ord_atMost @ nat @ N ) )
              = ( semiring_1_of_nat @ A @ ( plus_plus @ nat @ N @ ( one_one @ nat ) ) ) ) )
          & ( ( X
             != ( one_one @ A ) )
           => ( ( groups7311177749621191930dd_sum @ nat @ A @ ( power_power @ A @ X ) @ ( set_ord_atMost @ nat @ N ) )
              = ( divide_divide @ A @ ( minus_minus @ A @ ( one_one @ A ) @ ( power_power @ A @ X @ ( suc @ N ) ) ) @ ( minus_minus @ A @ ( one_one @ A ) @ X ) ) ) ) ) ) ).

% sum_gp0
thf(fact_3065_gbinomial__partial__sum__poly__xpos,axiom,
    ! [A: $tType] :
      ( ( field_char_0 @ A )
     => ! [M: nat,A3: A,X: A,Y: A] :
          ( ( groups7311177749621191930dd_sum @ nat @ A
            @ ^ [K3: nat] : ( times_times @ A @ ( times_times @ A @ ( gbinomial @ A @ ( plus_plus @ A @ ( semiring_1_of_nat @ A @ M ) @ A3 ) @ K3 ) @ ( power_power @ A @ X @ K3 ) ) @ ( power_power @ A @ Y @ ( minus_minus @ nat @ M @ K3 ) ) )
            @ ( set_ord_atMost @ nat @ M ) )
          = ( groups7311177749621191930dd_sum @ nat @ A
            @ ^ [K3: nat] : ( times_times @ A @ ( times_times @ A @ ( gbinomial @ A @ ( minus_minus @ A @ ( plus_plus @ A @ ( semiring_1_of_nat @ A @ K3 ) @ A3 ) @ ( one_one @ A ) ) @ K3 ) @ ( power_power @ A @ X @ K3 ) ) @ ( power_power @ A @ ( plus_plus @ A @ X @ Y ) @ ( minus_minus @ nat @ M @ K3 ) ) )
            @ ( set_ord_atMost @ nat @ M ) ) ) ) ).

% gbinomial_partial_sum_poly_xpos
thf(fact_3066_choose__alternating__linear__sum,axiom,
    ! [A: $tType] :
      ( ( comm_ring_1 @ A )
     => ! [N: nat] :
          ( ( N
           != ( one_one @ nat ) )
         => ( ( groups7311177749621191930dd_sum @ nat @ A
              @ ^ [I: nat] : ( times_times @ A @ ( times_times @ A @ ( power_power @ A @ ( uminus_uminus @ A @ ( one_one @ A ) ) @ I ) @ ( semiring_1_of_nat @ A @ I ) ) @ ( semiring_1_of_nat @ A @ ( binomial @ N @ I ) ) )
              @ ( set_ord_atMost @ nat @ N ) )
            = ( zero_zero @ A ) ) ) ) ).

% choose_alternating_linear_sum
thf(fact_3067_gbinomial__sum__nat__pow2,axiom,
    ! [A: $tType] :
      ( ( field_char_0 @ A )
     => ! [M: nat] :
          ( ( groups7311177749621191930dd_sum @ nat @ A
            @ ^ [K3: nat] : ( divide_divide @ A @ ( gbinomial @ A @ ( semiring_1_of_nat @ A @ ( plus_plus @ nat @ M @ K3 ) ) @ K3 ) @ ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ K3 ) )
            @ ( set_ord_atMost @ nat @ M ) )
          = ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ M ) ) ) ).

% gbinomial_sum_nat_pow2
thf(fact_3068_double__arith__series,axiom,
    ! [A: $tType] :
      ( ( comm_semiring_1 @ A )
     => ! [A3: A,D3: A,N: nat] :
          ( ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) )
            @ ( groups7311177749621191930dd_sum @ nat @ A
              @ ^ [I: nat] : ( plus_plus @ A @ A3 @ ( times_times @ A @ ( semiring_1_of_nat @ A @ I ) @ D3 ) )
              @ ( set_or1337092689740270186AtMost @ nat @ ( zero_zero @ nat ) @ N ) ) )
          = ( times_times @ A @ ( plus_plus @ A @ ( semiring_1_of_nat @ A @ N ) @ ( one_one @ A ) ) @ ( plus_plus @ A @ ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ A3 ) @ ( times_times @ A @ ( semiring_1_of_nat @ A @ N ) @ D3 ) ) ) ) ) ).

% double_arith_series
thf(fact_3069_double__gauss__sum,axiom,
    ! [A: $tType] :
      ( ( comm_semiring_1 @ A )
     => ! [N: nat] :
          ( ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ ( groups7311177749621191930dd_sum @ nat @ A @ ( semiring_1_of_nat @ A ) @ ( set_or1337092689740270186AtMost @ nat @ ( zero_zero @ nat ) @ N ) ) )
          = ( times_times @ A @ ( semiring_1_of_nat @ A @ N ) @ ( plus_plus @ A @ ( semiring_1_of_nat @ A @ N ) @ ( one_one @ A ) ) ) ) ) ).

% double_gauss_sum
thf(fact_3070_binomial__r__part__sum,axiom,
    ! [M: nat] :
      ( ( groups7311177749621191930dd_sum @ nat @ nat @ ( binomial @ ( plus_plus @ nat @ ( times_times @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ M ) @ ( one_one @ nat ) ) ) @ ( set_ord_atMost @ nat @ M ) )
      = ( power_power @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ ( times_times @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ M ) ) ) ).

% binomial_r_part_sum
thf(fact_3071_choose__linear__sum,axiom,
    ! [N: nat] :
      ( ( groups7311177749621191930dd_sum @ nat @ nat
        @ ^ [I: nat] : ( times_times @ nat @ I @ ( binomial @ N @ I ) )
        @ ( set_ord_atMost @ nat @ N ) )
      = ( times_times @ nat @ N @ ( power_power @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ ( minus_minus @ nat @ N @ ( one_one @ nat ) ) ) ) ) ).

% choose_linear_sum
thf(fact_3072_arith__series__nat,axiom,
    ! [A3: nat,D3: nat,N: nat] :
      ( ( groups7311177749621191930dd_sum @ nat @ nat
        @ ^ [I: nat] : ( plus_plus @ nat @ A3 @ ( times_times @ nat @ I @ D3 ) )
        @ ( set_or1337092689740270186AtMost @ nat @ ( zero_zero @ nat ) @ N ) )
      = ( divide_divide @ nat @ ( times_times @ nat @ ( suc @ N ) @ ( plus_plus @ nat @ ( times_times @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ A3 ) @ ( times_times @ nat @ N @ D3 ) ) ) @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) ) ).

% arith_series_nat
thf(fact_3073_Sum__Icc__nat,axiom,
    ! [M: nat,N: nat] :
      ( ( groups7311177749621191930dd_sum @ nat @ nat
        @ ^ [X4: nat] : X4
        @ ( set_or1337092689740270186AtMost @ nat @ M @ N ) )
      = ( divide_divide @ nat @ ( minus_minus @ nat @ ( times_times @ nat @ N @ ( plus_plus @ nat @ N @ ( one_one @ nat ) ) ) @ ( times_times @ nat @ M @ ( minus_minus @ nat @ M @ ( one_one @ nat ) ) ) ) @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) ) ).

% Sum_Icc_nat
thf(fact_3074_choose__alternating__sum,axiom,
    ! [A: $tType] :
      ( ( comm_ring_1 @ A )
     => ! [N: nat] :
          ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
         => ( ( groups7311177749621191930dd_sum @ nat @ A
              @ ^ [I: nat] : ( times_times @ A @ ( power_power @ A @ ( uminus_uminus @ A @ ( one_one @ A ) ) @ I ) @ ( semiring_1_of_nat @ A @ ( binomial @ N @ I ) ) )
              @ ( set_ord_atMost @ nat @ N ) )
            = ( zero_zero @ A ) ) ) ) ).

% choose_alternating_sum
thf(fact_3075_double__gauss__sum__from__Suc__0,axiom,
    ! [A: $tType] :
      ( ( comm_semiring_1 @ A )
     => ! [N: nat] :
          ( ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ ( groups7311177749621191930dd_sum @ nat @ A @ ( semiring_1_of_nat @ A ) @ ( set_or1337092689740270186AtMost @ nat @ ( suc @ ( zero_zero @ nat ) ) @ N ) ) )
          = ( times_times @ A @ ( semiring_1_of_nat @ A @ N ) @ ( plus_plus @ A @ ( semiring_1_of_nat @ A @ N ) @ ( one_one @ A ) ) ) ) ) ).

% double_gauss_sum_from_Suc_0
thf(fact_3076_arith__series,axiom,
    ! [A: $tType] :
      ( ( euclid5411537665997757685th_nat @ A )
     => ! [A3: A,D3: A,N: nat] :
          ( ( groups7311177749621191930dd_sum @ nat @ A
            @ ^ [I: nat] : ( plus_plus @ A @ A3 @ ( times_times @ A @ ( semiring_1_of_nat @ A @ I ) @ D3 ) )
            @ ( set_or1337092689740270186AtMost @ nat @ ( zero_zero @ nat ) @ N ) )
          = ( divide_divide @ A @ ( times_times @ A @ ( plus_plus @ A @ ( semiring_1_of_nat @ A @ N ) @ ( one_one @ A ) ) @ ( plus_plus @ A @ ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ A3 ) @ ( times_times @ A @ ( semiring_1_of_nat @ A @ N ) @ D3 ) ) ) @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) ) ) ).

% arith_series
thf(fact_3077_gauss__sum,axiom,
    ! [A: $tType] :
      ( ( euclid5411537665997757685th_nat @ A )
     => ! [N: nat] :
          ( ( groups7311177749621191930dd_sum @ nat @ A @ ( semiring_1_of_nat @ A ) @ ( set_or1337092689740270186AtMost @ nat @ ( zero_zero @ nat ) @ N ) )
          = ( divide_divide @ A @ ( times_times @ A @ ( semiring_1_of_nat @ A @ N ) @ ( plus_plus @ A @ ( semiring_1_of_nat @ A @ N ) @ ( one_one @ A ) ) ) @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) ) ) ).

% gauss_sum
thf(fact_3078_sum__gp__offset,axiom,
    ! [A: $tType] :
      ( ( ( division_ring @ A )
        & ( comm_ring @ A ) )
     => ! [X: A,M: nat,N: nat] :
          ( ( ( X
              = ( one_one @ A ) )
           => ( ( groups7311177749621191930dd_sum @ nat @ A @ ( power_power @ A @ X ) @ ( set_or1337092689740270186AtMost @ nat @ M @ ( plus_plus @ nat @ M @ N ) ) )
              = ( plus_plus @ A @ ( semiring_1_of_nat @ A @ N ) @ ( one_one @ A ) ) ) )
          & ( ( X
             != ( one_one @ A ) )
           => ( ( groups7311177749621191930dd_sum @ nat @ A @ ( power_power @ A @ X ) @ ( set_or1337092689740270186AtMost @ nat @ M @ ( plus_plus @ nat @ M @ N ) ) )
              = ( divide_divide @ A @ ( times_times @ A @ ( power_power @ A @ X @ M ) @ ( minus_minus @ A @ ( one_one @ A ) @ ( power_power @ A @ X @ ( suc @ N ) ) ) ) @ ( minus_minus @ A @ ( one_one @ A ) @ X ) ) ) ) ) ) ).

% sum_gp_offset
thf(fact_3079_gauss__sum__from__Suc__0,axiom,
    ! [A: $tType] :
      ( ( euclid5411537665997757685th_nat @ A )
     => ! [N: nat] :
          ( ( groups7311177749621191930dd_sum @ nat @ A @ ( semiring_1_of_nat @ A ) @ ( set_or1337092689740270186AtMost @ nat @ ( suc @ ( zero_zero @ nat ) ) @ N ) )
          = ( divide_divide @ A @ ( times_times @ A @ ( semiring_1_of_nat @ A @ N ) @ ( plus_plus @ A @ ( semiring_1_of_nat @ A @ N ) @ ( one_one @ A ) ) ) @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) ) ) ).

% gauss_sum_from_Suc_0
thf(fact_3080_gchoose__row__sum__weighted,axiom,
    ! [A: $tType] :
      ( ( field_char_0 @ A )
     => ! [R3: A,M: nat] :
          ( ( groups7311177749621191930dd_sum @ nat @ A
            @ ^ [K3: nat] : ( times_times @ A @ ( gbinomial @ A @ R3 @ K3 ) @ ( minus_minus @ A @ ( divide_divide @ A @ R3 @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) @ ( semiring_1_of_nat @ A @ K3 ) ) )
            @ ( set_or1337092689740270186AtMost @ nat @ ( zero_zero @ nat ) @ M ) )
          = ( times_times @ A @ ( divide_divide @ A @ ( semiring_1_of_nat @ A @ ( suc @ M ) ) @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) @ ( gbinomial @ A @ R3 @ ( suc @ M ) ) ) ) ) ).

% gchoose_row_sum_weighted
thf(fact_3081_gbinomial__r__part__sum,axiom,
    ! [A: $tType] :
      ( ( field_char_0 @ A )
     => ! [M: nat] :
          ( ( groups7311177749621191930dd_sum @ nat @ A @ ( gbinomial @ A @ ( plus_plus @ A @ ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ ( semiring_1_of_nat @ A @ M ) ) @ ( one_one @ A ) ) ) @ ( set_ord_atMost @ nat @ M ) )
          = ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ ( times_times @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ M ) ) ) ) ).

% gbinomial_r_part_sum
thf(fact_3082_pochhammer__times__pochhammer__half,axiom,
    ! [A: $tType] :
      ( ( field_char_0 @ A )
     => ! [Z4: A,N: nat] :
          ( ( times_times @ A @ ( comm_s3205402744901411588hammer @ A @ Z4 @ ( suc @ N ) ) @ ( comm_s3205402744901411588hammer @ A @ ( plus_plus @ A @ Z4 @ ( divide_divide @ A @ ( one_one @ A ) @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) ) @ ( suc @ N ) ) )
          = ( groups7121269368397514597t_prod @ nat @ A
            @ ^ [K3: nat] : ( plus_plus @ A @ Z4 @ ( divide_divide @ A @ ( semiring_1_of_nat @ A @ K3 ) @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) )
            @ ( set_or1337092689740270186AtMost @ nat @ ( zero_zero @ nat ) @ ( plus_plus @ nat @ ( times_times @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N ) @ ( one_one @ nat ) ) ) ) ) ) ).

% pochhammer_times_pochhammer_half
thf(fact_3083_divmod__integer__eq__cases,axiom,
    ( code_divmod_integer
    = ( ^ [K3: code_integer,L2: code_integer] :
          ( if @ ( product_prod @ code_integer @ code_integer )
          @ ( K3
            = ( zero_zero @ code_integer ) )
          @ ( product_Pair @ code_integer @ code_integer @ ( zero_zero @ code_integer ) @ ( zero_zero @ code_integer ) )
          @ ( if @ ( product_prod @ code_integer @ code_integer )
            @ ( L2
              = ( zero_zero @ code_integer ) )
            @ ( product_Pair @ code_integer @ code_integer @ ( zero_zero @ code_integer ) @ K3 )
            @ ( comp @ code_integer @ ( ( product_prod @ code_integer @ code_integer ) > ( product_prod @ code_integer @ code_integer ) ) @ code_integer @ ( comp @ ( code_integer > code_integer ) @ ( ( product_prod @ code_integer @ code_integer ) > ( product_prod @ code_integer @ code_integer ) ) @ code_integer @ ( product_apsnd @ code_integer @ code_integer @ code_integer ) @ ( times_times @ code_integer ) ) @ ( sgn_sgn @ code_integer ) @ L2
              @ ( if @ ( product_prod @ code_integer @ code_integer )
                @ ( ( sgn_sgn @ code_integer @ K3 )
                  = ( sgn_sgn @ code_integer @ L2 ) )
                @ ( code_divmod_abs @ K3 @ L2 )
                @ ( product_case_prod @ code_integer @ code_integer @ ( product_prod @ code_integer @ code_integer )
                  @ ^ [R5: code_integer,S5: code_integer] :
                      ( if @ ( product_prod @ code_integer @ code_integer )
                      @ ( S5
                        = ( zero_zero @ code_integer ) )
                      @ ( product_Pair @ code_integer @ code_integer @ ( uminus_uminus @ code_integer @ R5 ) @ ( zero_zero @ code_integer ) )
                      @ ( product_Pair @ code_integer @ code_integer @ ( minus_minus @ code_integer @ ( uminus_uminus @ code_integer @ R5 ) @ ( one_one @ code_integer ) ) @ ( minus_minus @ code_integer @ ( abs_abs @ code_integer @ L2 ) @ S5 ) ) )
                  @ ( code_divmod_abs @ K3 @ L2 ) ) ) ) ) ) ) ) ).

% divmod_integer_eq_cases
thf(fact_3084_Sum__Icc__int,axiom,
    ! [M: int,N: int] :
      ( ( ord_less_eq @ int @ M @ N )
     => ( ( groups7311177749621191930dd_sum @ int @ int
          @ ^ [X4: int] : X4
          @ ( set_or1337092689740270186AtMost @ int @ M @ N ) )
        = ( divide_divide @ int @ ( minus_minus @ int @ ( times_times @ int @ N @ ( plus_plus @ int @ N @ ( one_one @ int ) ) ) @ ( times_times @ int @ M @ ( minus_minus @ int @ M @ ( one_one @ int ) ) ) ) @ ( numeral_numeral @ int @ ( bit0 @ one ) ) ) ) ) ).

% Sum_Icc_int
thf(fact_3085_Sum__Ico__nat,axiom,
    ! [M: nat,N: nat] :
      ( ( groups7311177749621191930dd_sum @ nat @ nat
        @ ^ [X4: nat] : X4
        @ ( set_or7035219750837199246ssThan @ nat @ M @ N ) )
      = ( divide_divide @ nat @ ( minus_minus @ nat @ ( times_times @ nat @ N @ ( minus_minus @ nat @ N @ ( one_one @ nat ) ) ) @ ( times_times @ nat @ M @ ( minus_minus @ nat @ M @ ( one_one @ nat ) ) ) ) @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) ) ).

% Sum_Ico_nat
thf(fact_3086_sum__power2,axiom,
    ! [K2: nat] :
      ( ( groups7311177749621191930dd_sum @ nat @ nat @ ( power_power @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) @ ( set_or7035219750837199246ssThan @ nat @ ( zero_zero @ nat ) @ K2 ) )
      = ( minus_minus @ nat @ ( power_power @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ K2 ) @ ( one_one @ nat ) ) ) ).

% sum_power2
thf(fact_3087_of__nat__id,axiom,
    ( ( semiring_1_of_nat @ nat )
    = ( ^ [N3: nat] : N3 ) ) ).

% of_nat_id
thf(fact_3088_apsnd__conv,axiom,
    ! [A: $tType,B: $tType,C: $tType,F3: C > B,X: A,Y: C] :
      ( ( product_apsnd @ C @ B @ A @ F3 @ ( product_Pair @ A @ C @ X @ Y ) )
      = ( product_Pair @ A @ B @ X @ ( F3 @ Y ) ) ) ).

% apsnd_conv
thf(fact_3089_prod_Oneutral__const,axiom,
    ! [B: $tType,A: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [A6: set @ B] :
          ( ( groups7121269368397514597t_prod @ B @ A
            @ ^ [Uu2: B] : ( one_one @ A )
            @ A6 )
          = ( one_one @ A ) ) ) ).

% prod.neutral_const
thf(fact_3090_of__nat__prod,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_semiring_1 @ A )
     => ! [F3: B > nat,A6: set @ B] :
          ( ( semiring_1_of_nat @ A @ ( groups7121269368397514597t_prod @ B @ nat @ F3 @ A6 ) )
          = ( groups7121269368397514597t_prod @ B @ A
            @ ^ [X4: B] : ( semiring_1_of_nat @ A @ ( F3 @ X4 ) )
            @ A6 ) ) ) ).

% of_nat_prod
thf(fact_3091_of__int__prod,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_ring_1 @ A )
     => ! [F3: B > int,A6: set @ B] :
          ( ( ring_1_of_int @ A @ ( groups7121269368397514597t_prod @ B @ int @ F3 @ A6 ) )
          = ( groups7121269368397514597t_prod @ B @ A
            @ ^ [X4: B] : ( ring_1_of_int @ A @ ( F3 @ X4 ) )
            @ A6 ) ) ) ).

% of_int_prod
thf(fact_3092_atLeastLessThan__iff,axiom,
    ! [A: $tType] :
      ( ( ord @ A )
     => ! [I2: A,L: A,U: A] :
          ( ( member @ A @ I2 @ ( set_or7035219750837199246ssThan @ A @ L @ U ) )
          = ( ( ord_less_eq @ A @ L @ I2 )
            & ( ord_less @ A @ I2 @ U ) ) ) ) ).

% atLeastLessThan_iff
thf(fact_3093_atLeastLessThan__empty,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [B2: A,A3: A] :
          ( ( ord_less_eq @ A @ B2 @ A3 )
         => ( ( set_or7035219750837199246ssThan @ A @ A3 @ B2 )
            = ( bot_bot @ ( set @ A ) ) ) ) ) ).

% atLeastLessThan_empty
thf(fact_3094_atLeastLessThan__empty__iff2,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [A3: A,B2: A] :
          ( ( ( bot_bot @ ( set @ A ) )
            = ( set_or7035219750837199246ssThan @ A @ A3 @ B2 ) )
          = ( ~ ( ord_less @ A @ A3 @ B2 ) ) ) ) ).

% atLeastLessThan_empty_iff2
thf(fact_3095_atLeastLessThan__empty__iff,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [A3: A,B2: A] :
          ( ( ( set_or7035219750837199246ssThan @ A @ A3 @ B2 )
            = ( bot_bot @ ( set @ A ) ) )
          = ( ~ ( ord_less @ A @ A3 @ B2 ) ) ) ) ).

% atLeastLessThan_empty_iff
thf(fact_3096_ivl__subset,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [I2: A,J2: A,M: A,N: A] :
          ( ( ord_less_eq @ ( set @ A ) @ ( set_or7035219750837199246ssThan @ A @ I2 @ J2 ) @ ( set_or7035219750837199246ssThan @ A @ M @ N ) )
          = ( ( ord_less_eq @ A @ J2 @ I2 )
            | ( ( ord_less_eq @ A @ M @ I2 )
              & ( ord_less_eq @ A @ J2 @ N ) ) ) ) ) ).

% ivl_subset
thf(fact_3097_ivl__diff,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [I2: A,N: A,M: A] :
          ( ( ord_less_eq @ A @ I2 @ N )
         => ( ( minus_minus @ ( set @ A ) @ ( set_or7035219750837199246ssThan @ A @ I2 @ M ) @ ( set_or7035219750837199246ssThan @ A @ I2 @ N ) )
            = ( set_or7035219750837199246ssThan @ A @ N @ M ) ) ) ) ).

% ivl_diff
thf(fact_3098_sum_Oop__ivl__Suc,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [N: nat,M: nat,G3: nat > A] :
          ( ( ( ord_less @ nat @ N @ M )
           => ( ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or7035219750837199246ssThan @ nat @ M @ ( suc @ N ) ) )
              = ( zero_zero @ A ) ) )
          & ( ~ ( ord_less @ nat @ N @ M )
           => ( ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or7035219750837199246ssThan @ nat @ M @ ( suc @ N ) ) )
              = ( plus_plus @ A @ ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or7035219750837199246ssThan @ nat @ M @ N ) ) @ ( G3 @ N ) ) ) ) ) ) ).

% sum.op_ivl_Suc
thf(fact_3099_prod_Ocl__ivl__Suc,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [N: nat,M: nat,G3: nat > A] :
          ( ( ( ord_less @ nat @ ( suc @ N ) @ M )
           => ( ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ M @ ( suc @ N ) ) )
              = ( one_one @ A ) ) )
          & ( ~ ( ord_less @ nat @ ( suc @ N ) @ M )
           => ( ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ M @ ( suc @ N ) ) )
              = ( times_times @ A @ ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ M @ N ) ) @ ( G3 @ ( suc @ N ) ) ) ) ) ) ) ).

% prod.cl_ivl_Suc
thf(fact_3100_prod_Oop__ivl__Suc,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [N: nat,M: nat,G3: nat > A] :
          ( ( ( ord_less @ nat @ N @ M )
           => ( ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_or7035219750837199246ssThan @ nat @ M @ ( suc @ N ) ) )
              = ( one_one @ A ) ) )
          & ( ~ ( ord_less @ nat @ N @ M )
           => ( ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_or7035219750837199246ssThan @ nat @ M @ ( suc @ N ) ) )
              = ( times_times @ A @ ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_or7035219750837199246ssThan @ nat @ M @ N ) ) @ ( G3 @ N ) ) ) ) ) ) ).

% prod.op_ivl_Suc
thf(fact_3101_prod_Oshift__bounds__nat__ivl,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [G3: nat > A,M: nat,K2: nat,N: nat] :
          ( ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_or7035219750837199246ssThan @ nat @ ( plus_plus @ nat @ M @ K2 ) @ ( plus_plus @ nat @ N @ K2 ) ) )
          = ( groups7121269368397514597t_prod @ nat @ A
            @ ^ [I: nat] : ( G3 @ ( plus_plus @ nat @ I @ K2 ) )
            @ ( set_or7035219750837199246ssThan @ nat @ M @ N ) ) ) ) ).

% prod.shift_bounds_nat_ivl
thf(fact_3102_prod_OatLeastLessThan__shift__bounds,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [G3: nat > A,M: nat,K2: nat,N: nat] :
          ( ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_or7035219750837199246ssThan @ nat @ ( plus_plus @ nat @ M @ K2 ) @ ( plus_plus @ nat @ N @ K2 ) ) )
          = ( groups7121269368397514597t_prod @ nat @ A @ ( comp @ nat @ A @ nat @ G3 @ ( plus_plus @ nat @ K2 ) ) @ ( set_or7035219750837199246ssThan @ nat @ M @ N ) ) ) ) ).

% prod.atLeastLessThan_shift_bounds
thf(fact_3103_prod_OatLeastLessThan__concat,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [M: nat,N: nat,P3: nat,G3: nat > A] :
          ( ( ord_less_eq @ nat @ M @ N )
         => ( ( ord_less_eq @ nat @ N @ P3 )
           => ( ( times_times @ A @ ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_or7035219750837199246ssThan @ nat @ M @ N ) ) @ ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_or7035219750837199246ssThan @ nat @ N @ P3 ) ) )
              = ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_or7035219750837199246ssThan @ nat @ M @ P3 ) ) ) ) ) ) ).

% prod.atLeastLessThan_concat
thf(fact_3104_prod_Oshift__bounds__Suc__ivl,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [G3: nat > A,M: nat,N: nat] :
          ( ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_or7035219750837199246ssThan @ nat @ ( suc @ M ) @ ( suc @ N ) ) )
          = ( groups7121269368397514597t_prod @ nat @ A
            @ ^ [I: nat] : ( G3 @ ( suc @ I ) )
            @ ( set_or7035219750837199246ssThan @ nat @ M @ N ) ) ) ) ).

% prod.shift_bounds_Suc_ivl
thf(fact_3105_atLeastLessThan__eq__iff,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A3: A,B2: A,C3: A,D3: A] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ( ( ord_less @ A @ C3 @ D3 )
           => ( ( ( set_or7035219750837199246ssThan @ A @ A3 @ B2 )
                = ( set_or7035219750837199246ssThan @ A @ C3 @ D3 ) )
              = ( ( A3 = C3 )
                & ( B2 = D3 ) ) ) ) ) ) ).

% atLeastLessThan_eq_iff
thf(fact_3106_atLeastLessThan__inj_I1_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A3: A,B2: A,C3: A,D3: A] :
          ( ( ( set_or7035219750837199246ssThan @ A @ A3 @ B2 )
            = ( set_or7035219750837199246ssThan @ A @ C3 @ D3 ) )
         => ( ( ord_less @ A @ A3 @ B2 )
           => ( ( ord_less @ A @ C3 @ D3 )
             => ( A3 = C3 ) ) ) ) ) ).

% atLeastLessThan_inj(1)
thf(fact_3107_atLeastLessThan__inj_I2_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A3: A,B2: A,C3: A,D3: A] :
          ( ( ( set_or7035219750837199246ssThan @ A @ A3 @ B2 )
            = ( set_or7035219750837199246ssThan @ A @ C3 @ D3 ) )
         => ( ( ord_less @ A @ A3 @ B2 )
           => ( ( ord_less @ A @ C3 @ D3 )
             => ( B2 = D3 ) ) ) ) ) ).

% atLeastLessThan_inj(2)
thf(fact_3108_prod_Oivl__cong,axiom,
    ! [A: $tType,B: $tType] :
      ( ( ( ord @ B )
        & ( comm_monoid_mult @ A ) )
     => ! [A3: B,C3: B,B2: B,D3: B,G3: B > A,H: B > A] :
          ( ( A3 = C3 )
         => ( ( B2 = D3 )
           => ( ! [X3: B] :
                  ( ( ord_less_eq @ B @ C3 @ X3 )
                 => ( ( ord_less @ B @ X3 @ D3 )
                   => ( ( G3 @ X3 )
                      = ( H @ X3 ) ) ) )
             => ( ( groups7121269368397514597t_prod @ B @ A @ G3 @ ( set_or7035219750837199246ssThan @ B @ A3 @ B2 ) )
                = ( groups7121269368397514597t_prod @ B @ A @ H @ ( set_or7035219750837199246ssThan @ B @ C3 @ D3 ) ) ) ) ) ) ) ).

% prod.ivl_cong
thf(fact_3109_prod_Oswap,axiom,
    ! [A: $tType,B: $tType,C: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [G3: B > C > A,B6: set @ C,A6: set @ B] :
          ( ( groups7121269368397514597t_prod @ B @ A
            @ ^ [I: B] : ( groups7121269368397514597t_prod @ C @ A @ ( G3 @ I ) @ B6 )
            @ A6 )
          = ( groups7121269368397514597t_prod @ C @ A
            @ ^ [J: C] :
                ( groups7121269368397514597t_prod @ B @ A
                @ ^ [I: B] : ( G3 @ I @ J )
                @ A6 )
            @ B6 ) ) ) ).

% prod.swap
thf(fact_3110_prod_Odistrib,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [G3: B > A,H: B > A,A6: set @ B] :
          ( ( groups7121269368397514597t_prod @ B @ A
            @ ^ [X4: B] : ( times_times @ A @ ( G3 @ X4 ) @ ( H @ X4 ) )
            @ A6 )
          = ( times_times @ A @ ( groups7121269368397514597t_prod @ B @ A @ G3 @ A6 ) @ ( groups7121269368397514597t_prod @ B @ A @ H @ A6 ) ) ) ) ).

% prod.distrib
thf(fact_3111_prod_OatLeast__Suc__lessThan,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [M: nat,N: nat,G3: nat > A] :
          ( ( ord_less @ nat @ M @ N )
         => ( ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_or7035219750837199246ssThan @ nat @ M @ N ) )
            = ( times_times @ A @ ( G3 @ M ) @ ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_or7035219750837199246ssThan @ nat @ ( suc @ M ) @ N ) ) ) ) ) ) ).

% prod.atLeast_Suc_lessThan
thf(fact_3112_prod_OatLeastLessThan__Suc,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [A3: nat,B2: nat,G3: nat > A] :
          ( ( ord_less_eq @ nat @ A3 @ B2 )
         => ( ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_or7035219750837199246ssThan @ nat @ A3 @ ( suc @ B2 ) ) )
            = ( times_times @ A @ ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_or7035219750837199246ssThan @ nat @ A3 @ B2 ) ) @ ( G3 @ B2 ) ) ) ) ) ).

% prod.atLeastLessThan_Suc
thf(fact_3113_prod__dividef,axiom,
    ! [A: $tType,B: $tType] :
      ( ( field @ A )
     => ! [F3: B > A,G3: B > A,A6: set @ B] :
          ( ( groups7121269368397514597t_prod @ B @ A
            @ ^ [X4: B] : ( divide_divide @ A @ ( F3 @ X4 ) @ ( G3 @ X4 ) )
            @ A6 )
          = ( divide_divide @ A @ ( groups7121269368397514597t_prod @ B @ A @ F3 @ A6 ) @ ( groups7121269368397514597t_prod @ B @ A @ G3 @ A6 ) ) ) ) ).

% prod_dividef
thf(fact_3114_prod__power__distrib,axiom,
    ! [B: $tType,A: $tType] :
      ( ( comm_semiring_1 @ B )
     => ! [F3: A > B,A6: set @ A,N: nat] :
          ( ( power_power @ B @ ( groups7121269368397514597t_prod @ A @ B @ F3 @ A6 ) @ N )
          = ( groups7121269368397514597t_prod @ A @ B
            @ ^ [X4: A] : ( power_power @ B @ ( F3 @ X4 ) @ N )
            @ A6 ) ) ) ).

% prod_power_distrib
thf(fact_3115_prod_OatLeastLessThan__shift__0,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [G3: nat > A,M: nat,N: nat] :
          ( ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_or7035219750837199246ssThan @ nat @ M @ N ) )
          = ( groups7121269368397514597t_prod @ nat @ A @ ( comp @ nat @ A @ nat @ G3 @ ( plus_plus @ nat @ M ) ) @ ( set_or7035219750837199246ssThan @ nat @ ( zero_zero @ nat ) @ ( minus_minus @ nat @ N @ M ) ) ) ) ) ).

% prod.atLeastLessThan_shift_0
thf(fact_3116_mod__prod__eq,axiom,
    ! [B: $tType,A: $tType] :
      ( ( euclid4440199948858584721cancel @ A )
     => ! [F3: B > A,A3: A,A6: set @ B] :
          ( ( modulo_modulo @ A
            @ ( groups7121269368397514597t_prod @ B @ A
              @ ^ [I: B] : ( modulo_modulo @ A @ ( F3 @ I ) @ A3 )
              @ A6 )
            @ A3 )
          = ( modulo_modulo @ A @ ( groups7121269368397514597t_prod @ B @ A @ F3 @ A6 ) @ A3 ) ) ) ).

% mod_prod_eq
thf(fact_3117_prod_Olast__plus,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [M: nat,N: nat,G3: nat > A] :
          ( ( ord_less_eq @ nat @ M @ N )
         => ( ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ M @ N ) )
            = ( times_times @ A @ ( G3 @ N ) @ ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_or7035219750837199246ssThan @ nat @ M @ N ) ) ) ) ) ) ).

% prod.last_plus
thf(fact_3118_abs__prod,axiom,
    ! [A: $tType,B: $tType] :
      ( ( linordered_field @ A )
     => ! [F3: B > A,A6: set @ B] :
          ( ( abs_abs @ A @ ( groups7121269368397514597t_prod @ B @ A @ F3 @ A6 ) )
          = ( groups7121269368397514597t_prod @ B @ A
            @ ^ [X4: B] : ( abs_abs @ A @ ( F3 @ X4 ) )
            @ A6 ) ) ) ).

% abs_prod
thf(fact_3119_prod_OatLeast__lessThan__pred__shift,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [G3: nat > A,M: nat,N: nat] :
          ( ( groups7121269368397514597t_prod @ nat @ A
            @ ( comp @ nat @ A @ nat @ G3
              @ ^ [N3: nat] : ( minus_minus @ nat @ N3 @ ( suc @ ( zero_zero @ nat ) ) ) )
            @ ( set_or7035219750837199246ssThan @ nat @ ( suc @ M ) @ ( suc @ N ) ) )
          = ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_or7035219750837199246ssThan @ nat @ M @ N ) ) ) ) ).

% prod.atLeast_lessThan_pred_shift
thf(fact_3120_prod_OatLeastLessThan__rev,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [G3: nat > A,N: nat,M: nat] :
          ( ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_or7035219750837199246ssThan @ nat @ N @ M ) )
          = ( groups7121269368397514597t_prod @ nat @ A
            @ ^ [I: nat] : ( G3 @ ( minus_minus @ nat @ ( plus_plus @ nat @ M @ N ) @ ( suc @ I ) ) )
            @ ( set_or7035219750837199246ssThan @ nat @ N @ M ) ) ) ) ).

% prod.atLeastLessThan_rev
thf(fact_3121_prod_Onested__swap,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [A3: nat > nat > A,N: nat] :
          ( ( groups7121269368397514597t_prod @ nat @ A
            @ ^ [I: nat] : ( groups7121269368397514597t_prod @ nat @ A @ ( A3 @ I ) @ ( set_or7035219750837199246ssThan @ nat @ ( zero_zero @ nat ) @ I ) )
            @ ( set_or1337092689740270186AtMost @ nat @ ( zero_zero @ nat ) @ N ) )
          = ( groups7121269368397514597t_prod @ nat @ A
            @ ^ [J: nat] :
                ( groups7121269368397514597t_prod @ nat @ A
                @ ^ [I: nat] : ( A3 @ I @ J )
                @ ( set_or1337092689740270186AtMost @ nat @ ( suc @ J ) @ N ) )
            @ ( set_or7035219750837199246ssThan @ nat @ ( zero_zero @ nat ) @ N ) ) ) ) ).

% prod.nested_swap
thf(fact_3122_apsnd__compose,axiom,
    ! [C: $tType,B: $tType,D: $tType,A: $tType,F3: C > B,G3: D > C,X: product_prod @ A @ D] :
      ( ( product_apsnd @ C @ B @ A @ F3 @ ( product_apsnd @ D @ C @ A @ G3 @ X ) )
      = ( product_apsnd @ D @ B @ A @ ( comp @ C @ B @ D @ F3 @ G3 ) @ X ) ) ).

% apsnd_compose
thf(fact_3123_prod__nonneg,axiom,
    ! [A: $tType,B: $tType] :
      ( ( linordered_semidom @ A )
     => ! [A6: set @ B,F3: B > A] :
          ( ! [X3: B] :
              ( ( member @ B @ X3 @ A6 )
             => ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( F3 @ X3 ) ) )
         => ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( groups7121269368397514597t_prod @ B @ A @ F3 @ A6 ) ) ) ) ).

% prod_nonneg
thf(fact_3124_prod__mono,axiom,
    ! [A: $tType,B: $tType] :
      ( ( linordered_semidom @ A )
     => ! [A6: set @ B,F3: B > A,G3: B > A] :
          ( ! [I3: B] :
              ( ( member @ B @ I3 @ A6 )
             => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( F3 @ I3 ) )
                & ( ord_less_eq @ A @ ( F3 @ I3 ) @ ( G3 @ I3 ) ) ) )
         => ( ord_less_eq @ A @ ( groups7121269368397514597t_prod @ B @ A @ F3 @ A6 ) @ ( groups7121269368397514597t_prod @ B @ A @ G3 @ A6 ) ) ) ) ).

% prod_mono
thf(fact_3125_prod_Ohead__if,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [N: nat,M: nat,G3: nat > A] :
          ( ( ( ord_less @ nat @ N @ M )
           => ( ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ M @ N ) )
              = ( one_one @ A ) ) )
          & ( ~ ( ord_less @ nat @ N @ M )
           => ( ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ M @ N ) )
              = ( times_times @ A @ ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_or7035219750837199246ssThan @ nat @ M @ N ) ) @ ( G3 @ N ) ) ) ) ) ) ).

% prod.head_if
thf(fact_3126_prod__pos,axiom,
    ! [A: $tType,B: $tType] :
      ( ( linordered_semidom @ A )
     => ! [A6: set @ B,F3: B > A] :
          ( ! [X3: B] :
              ( ( member @ B @ X3 @ A6 )
             => ( ord_less @ A @ ( zero_zero @ A ) @ ( F3 @ X3 ) ) )
         => ( ord_less @ A @ ( zero_zero @ A ) @ ( groups7121269368397514597t_prod @ B @ A @ F3 @ A6 ) ) ) ) ).

% prod_pos
thf(fact_3127_prod__ge__1,axiom,
    ! [A: $tType,B: $tType] :
      ( ( linord181362715937106298miring @ A )
     => ! [A6: set @ B,F3: B > A] :
          ( ! [X3: B] :
              ( ( member @ B @ X3 @ A6 )
             => ( ord_less_eq @ A @ ( one_one @ A ) @ ( F3 @ X3 ) ) )
         => ( ord_less_eq @ A @ ( one_one @ A ) @ ( groups7121269368397514597t_prod @ B @ A @ F3 @ A6 ) ) ) ) ).

% prod_ge_1
thf(fact_3128_atLeastLessThan__subset__iff,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A3: A,B2: A,C3: A,D3: A] :
          ( ( ord_less_eq @ ( set @ A ) @ ( set_or7035219750837199246ssThan @ A @ A3 @ B2 ) @ ( set_or7035219750837199246ssThan @ A @ C3 @ D3 ) )
         => ( ( ord_less_eq @ A @ B2 @ A3 )
            | ( ( ord_less_eq @ A @ C3 @ A3 )
              & ( ord_less_eq @ A @ B2 @ D3 ) ) ) ) ) ).

% atLeastLessThan_subset_iff
thf(fact_3129_prod_OatLeastAtMost__shift__bounds,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [G3: nat > A,M: nat,K2: nat,N: nat] :
          ( ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ ( plus_plus @ nat @ M @ K2 ) @ ( plus_plus @ nat @ N @ K2 ) ) )
          = ( groups7121269368397514597t_prod @ nat @ A @ ( comp @ nat @ A @ nat @ G3 @ ( plus_plus @ nat @ K2 ) ) @ ( set_or1337092689740270186AtMost @ nat @ M @ N ) ) ) ) ).

% prod.atLeastAtMost_shift_bounds
thf(fact_3130_ivl__disj__un__two_I3_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [L: A,M: A,U: A] :
          ( ( ord_less_eq @ A @ L @ M )
         => ( ( ord_less_eq @ A @ M @ U )
           => ( ( sup_sup @ ( set @ A ) @ ( set_or7035219750837199246ssThan @ A @ L @ M ) @ ( set_or7035219750837199246ssThan @ A @ M @ U ) )
              = ( set_or7035219750837199246ssThan @ A @ L @ U ) ) ) ) ) ).

% ivl_disj_un_two(3)
thf(fact_3131_all__nat__less__eq,axiom,
    ! [N: nat,P2: nat > $o] :
      ( ( ! [M3: nat] :
            ( ( ord_less @ nat @ M3 @ N )
           => ( P2 @ M3 ) ) )
      = ( ! [X4: nat] :
            ( ( member @ nat @ X4 @ ( set_or7035219750837199246ssThan @ nat @ ( zero_zero @ nat ) @ N ) )
           => ( P2 @ X4 ) ) ) ) ).

% all_nat_less_eq
thf(fact_3132_ex__nat__less__eq,axiom,
    ! [N: nat,P2: nat > $o] :
      ( ( ? [M3: nat] :
            ( ( ord_less @ nat @ M3 @ N )
            & ( P2 @ M3 ) ) )
      = ( ? [X4: nat] :
            ( ( member @ nat @ X4 @ ( set_or7035219750837199246ssThan @ nat @ ( zero_zero @ nat ) @ N ) )
            & ( P2 @ X4 ) ) ) ) ).

% ex_nat_less_eq
thf(fact_3133_prod_OatLeastLessThan__rev__at__least__Suc__atMost,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [G3: nat > A,N: nat,M: nat] :
          ( ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_or7035219750837199246ssThan @ nat @ N @ M ) )
          = ( groups7121269368397514597t_prod @ nat @ A
            @ ^ [I: nat] : ( G3 @ ( minus_minus @ nat @ ( plus_plus @ nat @ M @ N ) @ I ) )
            @ ( set_or1337092689740270186AtMost @ nat @ ( suc @ N ) @ M ) ) ) ) ).

% prod.atLeastLessThan_rev_at_least_Suc_atMost
thf(fact_3134_pochhammer__prod,axiom,
    ! [A: $tType] :
      ( ( comm_semiring_1 @ A )
     => ( ( comm_s3205402744901411588hammer @ A )
        = ( ^ [A7: A,N3: nat] :
              ( groups7121269368397514597t_prod @ nat @ A
              @ ^ [I: nat] : ( plus_plus @ A @ A7 @ ( semiring_1_of_nat @ A @ I ) )
              @ ( set_or7035219750837199246ssThan @ nat @ ( zero_zero @ nat ) @ N3 ) ) ) ) ) ).

% pochhammer_prod
thf(fact_3135_fact__prod__rev,axiom,
    ! [A: $tType] :
      ( ( semiring_char_0 @ A )
     => ( ( semiring_char_0_fact @ A )
        = ( ^ [N3: nat] : ( semiring_1_of_nat @ A @ ( groups7121269368397514597t_prod @ nat @ nat @ ( minus_minus @ nat @ N3 ) @ ( set_or7035219750837199246ssThan @ nat @ ( zero_zero @ nat ) @ N3 ) ) ) ) ) ) ).

% fact_prod_rev
thf(fact_3136_sum_OatLeastLessThan__shift__bounds,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [G3: nat > A,M: nat,K2: nat,N: nat] :
          ( ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or7035219750837199246ssThan @ nat @ ( plus_plus @ nat @ M @ K2 ) @ ( plus_plus @ nat @ N @ K2 ) ) )
          = ( groups7311177749621191930dd_sum @ nat @ A @ ( comp @ nat @ A @ nat @ G3 @ ( plus_plus @ nat @ K2 ) ) @ ( set_or7035219750837199246ssThan @ nat @ M @ N ) ) ) ) ).

% sum.atLeastLessThan_shift_bounds
thf(fact_3137_prod_Oshift__bounds__cl__Suc__ivl,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [G3: nat > A,M: nat,N: nat] :
          ( ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ ( suc @ M ) @ ( suc @ N ) ) )
          = ( groups7121269368397514597t_prod @ nat @ A
            @ ^ [I: nat] : ( G3 @ ( suc @ I ) )
            @ ( set_or1337092689740270186AtMost @ nat @ M @ N ) ) ) ) ).

% prod.shift_bounds_cl_Suc_ivl
thf(fact_3138_power__sum,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [C3: A,F3: B > nat,A6: set @ B] :
          ( ( power_power @ A @ C3 @ ( groups7311177749621191930dd_sum @ B @ nat @ F3 @ A6 ) )
          = ( groups7121269368397514597t_prod @ B @ A
            @ ^ [A7: B] : ( power_power @ A @ C3 @ ( F3 @ A7 ) )
            @ A6 ) ) ) ).

% power_sum
thf(fact_3139_prod_Oshift__bounds__cl__nat__ivl,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [G3: nat > A,M: nat,K2: nat,N: nat] :
          ( ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ ( plus_plus @ nat @ M @ K2 ) @ ( plus_plus @ nat @ N @ K2 ) ) )
          = ( groups7121269368397514597t_prod @ nat @ A
            @ ^ [I: nat] : ( G3 @ ( plus_plus @ nat @ I @ K2 ) )
            @ ( set_or1337092689740270186AtMost @ nat @ M @ N ) ) ) ) ).

% prod.shift_bounds_cl_nat_ivl
thf(fact_3140_sum_Oshift__bounds__Suc__ivl,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [G3: nat > A,M: nat,N: nat] :
          ( ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or7035219750837199246ssThan @ nat @ ( suc @ M ) @ ( suc @ N ) ) )
          = ( groups7311177749621191930dd_sum @ nat @ A
            @ ^ [I: nat] : ( G3 @ ( suc @ I ) )
            @ ( set_or7035219750837199246ssThan @ nat @ M @ N ) ) ) ) ).

% sum.shift_bounds_Suc_ivl
thf(fact_3141_sum_Oshift__bounds__nat__ivl,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [G3: nat > A,M: nat,K2: nat,N: nat] :
          ( ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or7035219750837199246ssThan @ nat @ ( plus_plus @ nat @ M @ K2 ) @ ( plus_plus @ nat @ N @ K2 ) ) )
          = ( groups7311177749621191930dd_sum @ nat @ A
            @ ^ [I: nat] : ( G3 @ ( plus_plus @ nat @ I @ K2 ) )
            @ ( set_or7035219750837199246ssThan @ nat @ M @ N ) ) ) ) ).

% sum.shift_bounds_nat_ivl
thf(fact_3142_prod__le__1,axiom,
    ! [B: $tType,A: $tType] :
      ( ( linord181362715937106298miring @ A )
     => ! [A6: set @ B,F3: B > A] :
          ( ! [X3: B] :
              ( ( member @ B @ X3 @ A6 )
             => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( F3 @ X3 ) )
                & ( ord_less_eq @ A @ ( F3 @ X3 ) @ ( one_one @ A ) ) ) )
         => ( ord_less_eq @ A @ ( groups7121269368397514597t_prod @ B @ A @ F3 @ A6 ) @ ( one_one @ A ) ) ) ) ).

% prod_le_1
thf(fact_3143_fact__split,axiom,
    ! [A: $tType] :
      ( ( semiring_char_0 @ A )
     => ! [K2: nat,N: nat] :
          ( ( ord_less_eq @ nat @ K2 @ N )
         => ( ( semiring_char_0_fact @ A @ N )
            = ( times_times @ A @ ( semiring_1_of_nat @ A @ ( groups7121269368397514597t_prod @ nat @ nat @ suc @ ( set_or7035219750837199246ssThan @ nat @ ( minus_minus @ nat @ N @ K2 ) @ N ) ) ) @ ( semiring_char_0_fact @ A @ ( minus_minus @ nat @ N @ K2 ) ) ) ) ) ) ).

% fact_split
thf(fact_3144_sum_Oivl__cong,axiom,
    ! [A: $tType,B: $tType] :
      ( ( ( ord @ B )
        & ( comm_monoid_add @ A ) )
     => ! [A3: B,C3: B,B2: B,D3: B,G3: B > A,H: B > A] :
          ( ( A3 = C3 )
         => ( ( B2 = D3 )
           => ( ! [X3: B] :
                  ( ( ord_less_eq @ B @ C3 @ X3 )
                 => ( ( ord_less @ B @ X3 @ D3 )
                   => ( ( G3 @ X3 )
                      = ( H @ X3 ) ) ) )
             => ( ( groups7311177749621191930dd_sum @ B @ A @ G3 @ ( set_or7035219750837199246ssThan @ B @ A3 @ B2 ) )
                = ( groups7311177749621191930dd_sum @ B @ A @ H @ ( set_or7035219750837199246ssThan @ B @ C3 @ D3 ) ) ) ) ) ) ) ).

% sum.ivl_cong
thf(fact_3145_gbinomial__altdef__of__nat,axiom,
    ! [A: $tType] :
      ( ( field_char_0 @ A )
     => ( ( gbinomial @ A )
        = ( ^ [A7: A,K3: nat] :
              ( groups7121269368397514597t_prod @ nat @ A
              @ ^ [I: nat] : ( divide_divide @ A @ ( minus_minus @ A @ A7 @ ( semiring_1_of_nat @ A @ I ) ) @ ( semiring_1_of_nat @ A @ ( minus_minus @ nat @ K3 @ I ) ) )
              @ ( set_or7035219750837199246ssThan @ nat @ ( zero_zero @ nat ) @ K3 ) ) ) ) ) ).

% gbinomial_altdef_of_nat
thf(fact_3146_binomial__altdef__of__nat,axiom,
    ! [A: $tType] :
      ( ( field_char_0 @ A )
     => ! [K2: nat,N: nat] :
          ( ( ord_less_eq @ nat @ K2 @ N )
         => ( ( semiring_1_of_nat @ A @ ( binomial @ N @ K2 ) )
            = ( groups7121269368397514597t_prod @ nat @ A
              @ ^ [I: nat] : ( divide_divide @ A @ ( semiring_1_of_nat @ A @ ( minus_minus @ nat @ N @ I ) ) @ ( semiring_1_of_nat @ A @ ( minus_minus @ nat @ K2 @ I ) ) )
              @ ( set_or7035219750837199246ssThan @ nat @ ( zero_zero @ nat ) @ K2 ) ) ) ) ) ).

% binomial_altdef_of_nat
thf(fact_3147_ivl__disj__un__two_I7_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [L: A,M: A,U: A] :
          ( ( ord_less_eq @ A @ L @ M )
         => ( ( ord_less_eq @ A @ M @ U )
           => ( ( sup_sup @ ( set @ A ) @ ( set_or7035219750837199246ssThan @ A @ L @ M ) @ ( set_or1337092689740270186AtMost @ A @ M @ U ) )
              = ( set_or1337092689740270186AtMost @ A @ L @ U ) ) ) ) ) ).

% ivl_disj_un_two(7)
thf(fact_3148_gbinomial__mult__fact,axiom,
    ! [A: $tType] :
      ( ( field_char_0 @ A )
     => ! [K2: nat,A3: A] :
          ( ( times_times @ A @ ( semiring_char_0_fact @ A @ K2 ) @ ( gbinomial @ A @ A3 @ K2 ) )
          = ( groups7121269368397514597t_prod @ nat @ A
            @ ^ [I: nat] : ( minus_minus @ A @ A3 @ ( semiring_1_of_nat @ A @ I ) )
            @ ( set_or7035219750837199246ssThan @ nat @ ( zero_zero @ nat ) @ K2 ) ) ) ) ).

% gbinomial_mult_fact
thf(fact_3149_gbinomial__mult__fact_H,axiom,
    ! [A: $tType] :
      ( ( field_char_0 @ A )
     => ! [A3: A,K2: nat] :
          ( ( times_times @ A @ ( gbinomial @ A @ A3 @ K2 ) @ ( semiring_char_0_fact @ A @ K2 ) )
          = ( groups7121269368397514597t_prod @ nat @ A
            @ ^ [I: nat] : ( minus_minus @ A @ A3 @ ( semiring_1_of_nat @ A @ I ) )
            @ ( set_or7035219750837199246ssThan @ nat @ ( zero_zero @ nat ) @ K2 ) ) ) ) ).

% gbinomial_mult_fact'
thf(fact_3150_gbinomial__prod__rev,axiom,
    ! [A: $tType] :
      ( ( ( semiring_char_0 @ A )
        & ( semidom_divide @ A ) )
     => ( ( gbinomial @ A )
        = ( ^ [A7: A,K3: nat] :
              ( divide_divide @ A
              @ ( groups7121269368397514597t_prod @ nat @ A
                @ ^ [I: nat] : ( minus_minus @ A @ A7 @ ( semiring_1_of_nat @ A @ I ) )
                @ ( set_or7035219750837199246ssThan @ nat @ ( zero_zero @ nat ) @ K3 ) )
              @ ( semiring_char_0_fact @ A @ K3 ) ) ) ) ) ).

% gbinomial_prod_rev
thf(fact_3151_sum_OatLeastLessThan__concat,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [M: nat,N: nat,P3: nat,G3: nat > A] :
          ( ( ord_less_eq @ nat @ M @ N )
         => ( ( ord_less_eq @ nat @ N @ P3 )
           => ( ( plus_plus @ A @ ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or7035219750837199246ssThan @ nat @ M @ N ) ) @ ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or7035219750837199246ssThan @ nat @ N @ P3 ) ) )
              = ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or7035219750837199246ssThan @ nat @ M @ P3 ) ) ) ) ) ) ).

% sum.atLeastLessThan_concat
thf(fact_3152_sum__diff__nat__ivl,axiom,
    ! [A: $tType] :
      ( ( ab_group_add @ A )
     => ! [M: nat,N: nat,P3: nat,F3: nat > A] :
          ( ( ord_less_eq @ nat @ M @ N )
         => ( ( ord_less_eq @ nat @ N @ P3 )
           => ( ( minus_minus @ A @ ( groups7311177749621191930dd_sum @ nat @ A @ F3 @ ( set_or7035219750837199246ssThan @ nat @ M @ P3 ) ) @ ( groups7311177749621191930dd_sum @ nat @ A @ F3 @ ( set_or7035219750837199246ssThan @ nat @ M @ N ) ) )
              = ( groups7311177749621191930dd_sum @ nat @ A @ F3 @ ( set_or7035219750837199246ssThan @ nat @ N @ P3 ) ) ) ) ) ) ).

% sum_diff_nat_ivl
thf(fact_3153_bset_I1_J,axiom,
    ! [D5: int,B6: set @ int,P2: int > $o,Q2: int > $o] :
      ( ! [X3: int] :
          ( ! [Xa3: int] :
              ( ( member @ int @ Xa3 @ ( set_or1337092689740270186AtMost @ int @ ( one_one @ int ) @ D5 ) )
             => ! [Xb2: int] :
                  ( ( member @ int @ Xb2 @ B6 )
                 => ( X3
                   != ( plus_plus @ int @ Xb2 @ Xa3 ) ) ) )
         => ( ( P2 @ X3 )
           => ( P2 @ ( minus_minus @ int @ X3 @ D5 ) ) ) )
     => ( ! [X3: int] :
            ( ! [Xa3: int] :
                ( ( member @ int @ Xa3 @ ( set_or1337092689740270186AtMost @ int @ ( one_one @ int ) @ D5 ) )
               => ! [Xb2: int] :
                    ( ( member @ int @ Xb2 @ B6 )
                   => ( X3
                     != ( plus_plus @ int @ Xb2 @ Xa3 ) ) ) )
           => ( ( Q2 @ X3 )
             => ( Q2 @ ( minus_minus @ int @ X3 @ D5 ) ) ) )
       => ! [X6: int] :
            ( ! [Xa4: int] :
                ( ( member @ int @ Xa4 @ ( set_or1337092689740270186AtMost @ int @ ( one_one @ int ) @ D5 ) )
               => ! [Xb3: int] :
                    ( ( member @ int @ Xb3 @ B6 )
                   => ( X6
                     != ( plus_plus @ int @ Xb3 @ Xa4 ) ) ) )
           => ( ( ( P2 @ X6 )
                & ( Q2 @ X6 ) )
             => ( ( P2 @ ( minus_minus @ int @ X6 @ D5 ) )
                & ( Q2 @ ( minus_minus @ int @ X6 @ D5 ) ) ) ) ) ) ) ).

% bset(1)
thf(fact_3154_bset_I2_J,axiom,
    ! [D5: int,B6: set @ int,P2: int > $o,Q2: int > $o] :
      ( ! [X3: int] :
          ( ! [Xa3: int] :
              ( ( member @ int @ Xa3 @ ( set_or1337092689740270186AtMost @ int @ ( one_one @ int ) @ D5 ) )
             => ! [Xb2: int] :
                  ( ( member @ int @ Xb2 @ B6 )
                 => ( X3
                   != ( plus_plus @ int @ Xb2 @ Xa3 ) ) ) )
         => ( ( P2 @ X3 )
           => ( P2 @ ( minus_minus @ int @ X3 @ D5 ) ) ) )
     => ( ! [X3: int] :
            ( ! [Xa3: int] :
                ( ( member @ int @ Xa3 @ ( set_or1337092689740270186AtMost @ int @ ( one_one @ int ) @ D5 ) )
               => ! [Xb2: int] :
                    ( ( member @ int @ Xb2 @ B6 )
                   => ( X3
                     != ( plus_plus @ int @ Xb2 @ Xa3 ) ) ) )
           => ( ( Q2 @ X3 )
             => ( Q2 @ ( minus_minus @ int @ X3 @ D5 ) ) ) )
       => ! [X6: int] :
            ( ! [Xa4: int] :
                ( ( member @ int @ Xa4 @ ( set_or1337092689740270186AtMost @ int @ ( one_one @ int ) @ D5 ) )
               => ! [Xb3: int] :
                    ( ( member @ int @ Xb3 @ B6 )
                   => ( X6
                     != ( plus_plus @ int @ Xb3 @ Xa4 ) ) ) )
           => ( ( ( P2 @ X6 )
                | ( Q2 @ X6 ) )
             => ( ( P2 @ ( minus_minus @ int @ X6 @ D5 ) )
                | ( Q2 @ ( minus_minus @ int @ X6 @ D5 ) ) ) ) ) ) ) ).

% bset(2)
thf(fact_3155_aset_I1_J,axiom,
    ! [D5: int,A6: set @ int,P2: int > $o,Q2: int > $o] :
      ( ! [X3: int] :
          ( ! [Xa3: int] :
              ( ( member @ int @ Xa3 @ ( set_or1337092689740270186AtMost @ int @ ( one_one @ int ) @ D5 ) )
             => ! [Xb2: int] :
                  ( ( member @ int @ Xb2 @ A6 )
                 => ( X3
                   != ( minus_minus @ int @ Xb2 @ Xa3 ) ) ) )
         => ( ( P2 @ X3 )
           => ( P2 @ ( plus_plus @ int @ X3 @ D5 ) ) ) )
     => ( ! [X3: int] :
            ( ! [Xa3: int] :
                ( ( member @ int @ Xa3 @ ( set_or1337092689740270186AtMost @ int @ ( one_one @ int ) @ D5 ) )
               => ! [Xb2: int] :
                    ( ( member @ int @ Xb2 @ A6 )
                   => ( X3
                     != ( minus_minus @ int @ Xb2 @ Xa3 ) ) ) )
           => ( ( Q2 @ X3 )
             => ( Q2 @ ( plus_plus @ int @ X3 @ D5 ) ) ) )
       => ! [X6: int] :
            ( ! [Xa4: int] :
                ( ( member @ int @ Xa4 @ ( set_or1337092689740270186AtMost @ int @ ( one_one @ int ) @ D5 ) )
               => ! [Xb3: int] :
                    ( ( member @ int @ Xb3 @ A6 )
                   => ( X6
                     != ( minus_minus @ int @ Xb3 @ Xa4 ) ) ) )
           => ( ( ( P2 @ X6 )
                & ( Q2 @ X6 ) )
             => ( ( P2 @ ( plus_plus @ int @ X6 @ D5 ) )
                & ( Q2 @ ( plus_plus @ int @ X6 @ D5 ) ) ) ) ) ) ) ).

% aset(1)
thf(fact_3156_aset_I2_J,axiom,
    ! [D5: int,A6: set @ int,P2: int > $o,Q2: int > $o] :
      ( ! [X3: int] :
          ( ! [Xa3: int] :
              ( ( member @ int @ Xa3 @ ( set_or1337092689740270186AtMost @ int @ ( one_one @ int ) @ D5 ) )
             => ! [Xb2: int] :
                  ( ( member @ int @ Xb2 @ A6 )
                 => ( X3
                   != ( minus_minus @ int @ Xb2 @ Xa3 ) ) ) )
         => ( ( P2 @ X3 )
           => ( P2 @ ( plus_plus @ int @ X3 @ D5 ) ) ) )
     => ( ! [X3: int] :
            ( ! [Xa3: int] :
                ( ( member @ int @ Xa3 @ ( set_or1337092689740270186AtMost @ int @ ( one_one @ int ) @ D5 ) )
               => ! [Xb2: int] :
                    ( ( member @ int @ Xb2 @ A6 )
                   => ( X3
                     != ( minus_minus @ int @ Xb2 @ Xa3 ) ) ) )
           => ( ( Q2 @ X3 )
             => ( Q2 @ ( plus_plus @ int @ X3 @ D5 ) ) ) )
       => ! [X6: int] :
            ( ! [Xa4: int] :
                ( ( member @ int @ Xa4 @ ( set_or1337092689740270186AtMost @ int @ ( one_one @ int ) @ D5 ) )
               => ! [Xb3: int] :
                    ( ( member @ int @ Xb3 @ A6 )
                   => ( X6
                     != ( minus_minus @ int @ Xb3 @ Xa4 ) ) ) )
           => ( ( ( P2 @ X6 )
                | ( Q2 @ X6 ) )
             => ( ( P2 @ ( plus_plus @ int @ X6 @ D5 ) )
                | ( Q2 @ ( plus_plus @ int @ X6 @ D5 ) ) ) ) ) ) ) ).

% aset(2)
thf(fact_3157_atLeastLessThan__add__Un,axiom,
    ! [I2: nat,J2: nat,K2: nat] :
      ( ( ord_less_eq @ nat @ I2 @ J2 )
     => ( ( set_or7035219750837199246ssThan @ nat @ I2 @ ( plus_plus @ nat @ J2 @ K2 ) )
        = ( sup_sup @ ( set @ nat ) @ ( set_or7035219750837199246ssThan @ nat @ I2 @ J2 ) @ ( set_or7035219750837199246ssThan @ nat @ J2 @ ( plus_plus @ nat @ J2 @ K2 ) ) ) ) ) ).

% atLeastLessThan_add_Un
thf(fact_3158_prod_OatLeastAtMost__rev,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [G3: nat > A,N: nat,M: nat] :
          ( ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ N @ M ) )
          = ( groups7121269368397514597t_prod @ nat @ A
            @ ^ [I: nat] : ( G3 @ ( minus_minus @ nat @ ( plus_plus @ nat @ M @ N ) @ I ) )
            @ ( set_or1337092689740270186AtMost @ nat @ N @ M ) ) ) ) ).

% prod.atLeastAtMost_rev
thf(fact_3159_prod_OatLeast__Suc__atMost,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [M: nat,N: nat,G3: nat > A] :
          ( ( ord_less_eq @ nat @ M @ N )
         => ( ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ M @ N ) )
            = ( times_times @ A @ ( G3 @ M ) @ ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ ( suc @ M ) @ N ) ) ) ) ) ) ).

% prod.atLeast_Suc_atMost
thf(fact_3160_prod_Onat__ivl__Suc_H,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [M: nat,N: nat,G3: nat > A] :
          ( ( ord_less_eq @ nat @ M @ ( suc @ N ) )
         => ( ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ M @ ( suc @ N ) ) )
            = ( times_times @ A @ ( G3 @ ( suc @ N ) ) @ ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ M @ N ) ) ) ) ) ) ).

% prod.nat_ivl_Suc'
thf(fact_3161_atLeastAtMost__subseteq__atLeastLessThan__iff,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [A3: A,B2: A,C3: A,D3: A] :
          ( ( ord_less_eq @ ( set @ A ) @ ( set_or1337092689740270186AtMost @ A @ A3 @ B2 ) @ ( set_or7035219750837199246ssThan @ A @ C3 @ D3 ) )
          = ( ( ord_less_eq @ A @ A3 @ B2 )
           => ( ( ord_less_eq @ A @ C3 @ A3 )
              & ( ord_less @ A @ B2 @ D3 ) ) ) ) ) ).

% atLeastAtMost_subseteq_atLeastLessThan_iff
thf(fact_3162_atLeastLessThan__subseteq__atLeastAtMost__iff,axiom,
    ! [A: $tType] :
      ( ( dense_linorder @ A )
     => ! [A3: A,B2: A,C3: A,D3: A] :
          ( ( ord_less_eq @ ( set @ A ) @ ( set_or7035219750837199246ssThan @ A @ A3 @ B2 ) @ ( set_or1337092689740270186AtMost @ A @ C3 @ D3 ) )
          = ( ( ord_less @ A @ A3 @ B2 )
           => ( ( ord_less_eq @ A @ C3 @ A3 )
              & ( ord_less_eq @ A @ B2 @ D3 ) ) ) ) ) ).

% atLeastLessThan_subseteq_atLeastAtMost_iff
thf(fact_3163_ivl__disj__un__two__touch_I2_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [L: A,M: A,U: A] :
          ( ( ord_less_eq @ A @ L @ M )
         => ( ( ord_less @ A @ M @ U )
           => ( ( sup_sup @ ( set @ A ) @ ( set_or1337092689740270186AtMost @ A @ L @ M ) @ ( set_or7035219750837199246ssThan @ A @ M @ U ) )
              = ( set_or7035219750837199246ssThan @ A @ L @ U ) ) ) ) ) ).

% ivl_disj_un_two_touch(2)
thf(fact_3164_sum_OatLeast0__lessThan__Suc,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [G3: nat > A,N: nat] :
          ( ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or7035219750837199246ssThan @ nat @ ( zero_zero @ nat ) @ ( suc @ N ) ) )
          = ( plus_plus @ A @ ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or7035219750837199246ssThan @ nat @ ( zero_zero @ nat ) @ N ) ) @ ( G3 @ N ) ) ) ) ).

% sum.atLeast0_lessThan_Suc
thf(fact_3165_sum_OatLeast0__lessThan__Suc__shift,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [G3: nat > A,N: nat] :
          ( ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or7035219750837199246ssThan @ nat @ ( zero_zero @ nat ) @ ( suc @ N ) ) )
          = ( plus_plus @ A @ ( G3 @ ( zero_zero @ nat ) ) @ ( groups7311177749621191930dd_sum @ nat @ A @ ( comp @ nat @ A @ nat @ G3 @ suc ) @ ( set_or7035219750837199246ssThan @ nat @ ( zero_zero @ nat ) @ N ) ) ) ) ) ).

% sum.atLeast0_lessThan_Suc_shift
thf(fact_3166_sum_OatLeast__Suc__lessThan,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [M: nat,N: nat,G3: nat > A] :
          ( ( ord_less @ nat @ M @ N )
         => ( ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or7035219750837199246ssThan @ nat @ M @ N ) )
            = ( plus_plus @ A @ ( G3 @ M ) @ ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or7035219750837199246ssThan @ nat @ ( suc @ M ) @ N ) ) ) ) ) ) ).

% sum.atLeast_Suc_lessThan
thf(fact_3167_sum_OatLeastLessThan__Suc,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [A3: nat,B2: nat,G3: nat > A] :
          ( ( ord_less_eq @ nat @ A3 @ B2 )
         => ( ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or7035219750837199246ssThan @ nat @ A3 @ ( suc @ B2 ) ) )
            = ( plus_plus @ A @ ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or7035219750837199246ssThan @ nat @ A3 @ B2 ) ) @ ( G3 @ B2 ) ) ) ) ) ).

% sum.atLeastLessThan_Suc
thf(fact_3168_sum_OatLeastLessThan__shift__0,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [G3: nat > A,M: nat,N: nat] :
          ( ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or7035219750837199246ssThan @ nat @ M @ N ) )
          = ( groups7311177749621191930dd_sum @ nat @ A @ ( comp @ nat @ A @ nat @ G3 @ ( plus_plus @ nat @ M ) ) @ ( set_or7035219750837199246ssThan @ nat @ ( zero_zero @ nat ) @ ( minus_minus @ nat @ N @ M ) ) ) ) ) ).

% sum.atLeastLessThan_shift_0
thf(fact_3169_sum_Olast__plus,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [M: nat,N: nat,G3: nat > A] :
          ( ( ord_less_eq @ nat @ M @ N )
         => ( ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ M @ N ) )
            = ( plus_plus @ A @ ( G3 @ N ) @ ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or7035219750837199246ssThan @ nat @ M @ N ) ) ) ) ) ) ).

% sum.last_plus
thf(fact_3170_aset_I10_J,axiom,
    ! [D3: int,D5: int,A6: set @ int,T5: int] :
      ( ( dvd_dvd @ int @ D3 @ D5 )
     => ! [X6: int] :
          ( ! [Xa4: int] :
              ( ( member @ int @ Xa4 @ ( set_or1337092689740270186AtMost @ int @ ( one_one @ int ) @ D5 ) )
             => ! [Xb3: int] :
                  ( ( member @ int @ Xb3 @ A6 )
                 => ( X6
                   != ( minus_minus @ int @ Xb3 @ Xa4 ) ) ) )
         => ( ~ ( dvd_dvd @ int @ D3 @ ( plus_plus @ int @ X6 @ T5 ) )
           => ~ ( dvd_dvd @ int @ D3 @ ( plus_plus @ int @ ( plus_plus @ int @ X6 @ D5 ) @ T5 ) ) ) ) ) ).

% aset(10)
thf(fact_3171_aset_I9_J,axiom,
    ! [D3: int,D5: int,A6: set @ int,T5: int] :
      ( ( dvd_dvd @ int @ D3 @ D5 )
     => ! [X6: int] :
          ( ! [Xa4: int] :
              ( ( member @ int @ Xa4 @ ( set_or1337092689740270186AtMost @ int @ ( one_one @ int ) @ D5 ) )
             => ! [Xb3: int] :
                  ( ( member @ int @ Xb3 @ A6 )
                 => ( X6
                   != ( minus_minus @ int @ Xb3 @ Xa4 ) ) ) )
         => ( ( dvd_dvd @ int @ D3 @ ( plus_plus @ int @ X6 @ T5 ) )
           => ( dvd_dvd @ int @ D3 @ ( plus_plus @ int @ ( plus_plus @ int @ X6 @ D5 ) @ T5 ) ) ) ) ) ).

% aset(9)
thf(fact_3172_bset_I10_J,axiom,
    ! [D3: int,D5: int,B6: set @ int,T5: int] :
      ( ( dvd_dvd @ int @ D3 @ D5 )
     => ! [X6: int] :
          ( ! [Xa4: int] :
              ( ( member @ int @ Xa4 @ ( set_or1337092689740270186AtMost @ int @ ( one_one @ int ) @ D5 ) )
             => ! [Xb3: int] :
                  ( ( member @ int @ Xb3 @ B6 )
                 => ( X6
                   != ( plus_plus @ int @ Xb3 @ Xa4 ) ) ) )
         => ( ~ ( dvd_dvd @ int @ D3 @ ( plus_plus @ int @ X6 @ T5 ) )
           => ~ ( dvd_dvd @ int @ D3 @ ( plus_plus @ int @ ( minus_minus @ int @ X6 @ D5 ) @ T5 ) ) ) ) ) ).

% bset(10)
thf(fact_3173_bset_I9_J,axiom,
    ! [D3: int,D5: int,B6: set @ int,T5: int] :
      ( ( dvd_dvd @ int @ D3 @ D5 )
     => ! [X6: int] :
          ( ! [Xa4: int] :
              ( ( member @ int @ Xa4 @ ( set_or1337092689740270186AtMost @ int @ ( one_one @ int ) @ D5 ) )
             => ! [Xb3: int] :
                  ( ( member @ int @ Xb3 @ B6 )
                 => ( X6
                   != ( plus_plus @ int @ Xb3 @ Xa4 ) ) ) )
         => ( ( dvd_dvd @ int @ D3 @ ( plus_plus @ int @ X6 @ T5 ) )
           => ( dvd_dvd @ int @ D3 @ ( plus_plus @ int @ ( minus_minus @ int @ X6 @ D5 ) @ T5 ) ) ) ) ) ).

% bset(9)
thf(fact_3174_prod_OSuc__reindex__ivl,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [M: nat,N: nat,G3: nat > A] :
          ( ( ord_less_eq @ nat @ M @ N )
         => ( ( times_times @ A @ ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ M @ N ) ) @ ( G3 @ ( suc @ N ) ) )
            = ( times_times @ A @ ( G3 @ M )
              @ ( groups7121269368397514597t_prod @ nat @ A
                @ ^ [I: nat] : ( G3 @ ( suc @ I ) )
                @ ( set_or1337092689740270186AtMost @ nat @ M @ N ) ) ) ) ) ) ).

% prod.Suc_reindex_ivl
thf(fact_3175_atLeastAtMostPlus1__int__conv,axiom,
    ! [M: int,N: int] :
      ( ( ord_less_eq @ int @ M @ ( plus_plus @ int @ ( one_one @ int ) @ N ) )
     => ( ( set_or1337092689740270186AtMost @ int @ M @ ( plus_plus @ int @ ( one_one @ int ) @ N ) )
        = ( insert @ int @ ( plus_plus @ int @ ( one_one @ int ) @ N ) @ ( set_or1337092689740270186AtMost @ int @ M @ N ) ) ) ) ).

% atLeastAtMostPlus1_int_conv
thf(fact_3176_prod_OatMost__Suc__shift,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [G3: nat > A,N: nat] :
          ( ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_ord_atMost @ nat @ ( suc @ N ) ) )
          = ( times_times @ A @ ( G3 @ ( zero_zero @ nat ) )
            @ ( groups7121269368397514597t_prod @ nat @ A
              @ ^ [I: nat] : ( G3 @ ( suc @ I ) )
              @ ( set_ord_atMost @ nat @ N ) ) ) ) ) ).

% prod.atMost_Suc_shift
thf(fact_3177_prod_OatLeast__atMost__pred__shift,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [G3: nat > A,M: nat,N: nat] :
          ( ( groups7121269368397514597t_prod @ nat @ A
            @ ( comp @ nat @ A @ nat @ G3
              @ ^ [N3: nat] : ( minus_minus @ nat @ N3 @ ( suc @ ( zero_zero @ nat ) ) ) )
            @ ( set_or1337092689740270186AtMost @ nat @ ( suc @ M ) @ ( suc @ N ) ) )
          = ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ M @ N ) ) ) ) ).

% prod.atLeast_atMost_pred_shift
thf(fact_3178_atLeastLessThanSuc,axiom,
    ! [M: nat,N: nat] :
      ( ( ( ord_less_eq @ nat @ M @ N )
       => ( ( set_or7035219750837199246ssThan @ nat @ M @ ( suc @ N ) )
          = ( insert @ nat @ N @ ( set_or7035219750837199246ssThan @ nat @ M @ N ) ) ) )
      & ( ~ ( ord_less_eq @ nat @ M @ N )
       => ( ( set_or7035219750837199246ssThan @ nat @ M @ ( suc @ N ) )
          = ( bot_bot @ ( set @ nat ) ) ) ) ) ).

% atLeastLessThanSuc
thf(fact_3179_fact__prod,axiom,
    ! [A: $tType] :
      ( ( semiring_char_0 @ A )
     => ( ( semiring_char_0_fact @ A )
        = ( ^ [N3: nat] :
              ( semiring_1_of_nat @ A
              @ ( groups7121269368397514597t_prod @ nat @ nat
                @ ^ [X4: nat] : X4
                @ ( set_or1337092689740270186AtMost @ nat @ ( one_one @ nat ) @ N3 ) ) ) ) ) ) ).

% fact_prod
thf(fact_3180_sum__Suc__diff_H,axiom,
    ! [A: $tType] :
      ( ( ab_group_add @ A )
     => ! [M: nat,N: nat,F3: nat > A] :
          ( ( ord_less_eq @ nat @ M @ N )
         => ( ( groups7311177749621191930dd_sum @ nat @ A
              @ ^ [I: nat] : ( minus_minus @ A @ ( F3 @ ( suc @ I ) ) @ ( F3 @ I ) )
              @ ( set_or7035219750837199246ssThan @ nat @ M @ N ) )
            = ( minus_minus @ A @ ( F3 @ N ) @ ( F3 @ M ) ) ) ) ) ).

% sum_Suc_diff'
thf(fact_3181_sum_OatLeast__lessThan__pred__shift,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [G3: nat > A,M: nat,N: nat] :
          ( ( groups7311177749621191930dd_sum @ nat @ A
            @ ( comp @ nat @ A @ nat @ G3
              @ ^ [N3: nat] : ( minus_minus @ nat @ N3 @ ( suc @ ( zero_zero @ nat ) ) ) )
            @ ( set_or7035219750837199246ssThan @ nat @ ( suc @ M ) @ ( suc @ N ) ) )
          = ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or7035219750837199246ssThan @ nat @ M @ N ) ) ) ) ).

% sum.atLeast_lessThan_pred_shift
thf(fact_3182_sum_OatLeastLessThan__rev,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [G3: nat > A,N: nat,M: nat] :
          ( ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or7035219750837199246ssThan @ nat @ N @ M ) )
          = ( groups7311177749621191930dd_sum @ nat @ A
            @ ^ [I: nat] : ( G3 @ ( minus_minus @ nat @ ( plus_plus @ nat @ M @ N ) @ ( suc @ I ) ) )
            @ ( set_or7035219750837199246ssThan @ nat @ N @ M ) ) ) ) ).

% sum.atLeastLessThan_rev
thf(fact_3183_sum_Onested__swap,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [A3: nat > nat > A,N: nat] :
          ( ( groups7311177749621191930dd_sum @ nat @ A
            @ ^ [I: nat] : ( groups7311177749621191930dd_sum @ nat @ A @ ( A3 @ I ) @ ( set_or7035219750837199246ssThan @ nat @ ( zero_zero @ nat ) @ I ) )
            @ ( set_or1337092689740270186AtMost @ nat @ ( zero_zero @ nat ) @ N ) )
          = ( groups7311177749621191930dd_sum @ nat @ A
            @ ^ [J: nat] :
                ( groups7311177749621191930dd_sum @ nat @ A
                @ ^ [I: nat] : ( A3 @ I @ J )
                @ ( set_or1337092689740270186AtMost @ nat @ ( suc @ J ) @ N ) )
            @ ( set_or7035219750837199246ssThan @ nat @ ( zero_zero @ nat ) @ N ) ) ) ) ).

% sum.nested_swap
thf(fact_3184_prod__atLeastAtMost__code,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [F3: nat > A,A3: nat,B2: nat] :
          ( ( groups7121269368397514597t_prod @ nat @ A @ F3 @ ( set_or1337092689740270186AtMost @ nat @ A3 @ B2 ) )
          = ( set_fo6178422350223883121st_nat @ A
            @ ^ [A7: nat] : ( times_times @ A @ ( F3 @ A7 ) )
            @ A3
            @ B2
            @ ( one_one @ A ) ) ) ) ).

% prod_atLeastAtMost_code
thf(fact_3185_prod_OatLeastAtMost__shift__0,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [M: nat,N: nat,G3: nat > A] :
          ( ( ord_less_eq @ nat @ M @ N )
         => ( ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ M @ N ) )
            = ( groups7121269368397514597t_prod @ nat @ A @ ( comp @ nat @ A @ nat @ G3 @ ( plus_plus @ nat @ M ) ) @ ( set_or1337092689740270186AtMost @ nat @ ( zero_zero @ nat ) @ ( minus_minus @ nat @ N @ M ) ) ) ) ) ) ).

% prod.atLeastAtMost_shift_0
thf(fact_3186_prod_Oub__add__nat,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [M: nat,N: nat,G3: nat > A,P3: nat] :
          ( ( ord_less_eq @ nat @ M @ ( plus_plus @ nat @ N @ ( one_one @ nat ) ) )
         => ( ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ M @ ( plus_plus @ nat @ N @ P3 ) ) )
            = ( times_times @ A @ ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ M @ N ) ) @ ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ ( plus_plus @ nat @ N @ ( one_one @ nat ) ) @ ( plus_plus @ nat @ N @ P3 ) ) ) ) ) ) ) ).

% prod.ub_add_nat
thf(fact_3187_ivl__disj__un__singleton_I6_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [L: A,U: A] :
          ( ( ord_less_eq @ A @ L @ U )
         => ( ( sup_sup @ ( set @ A ) @ ( set_or7035219750837199246ssThan @ A @ L @ U ) @ ( insert @ A @ U @ ( bot_bot @ ( set @ A ) ) ) )
            = ( set_or1337092689740270186AtMost @ A @ L @ U ) ) ) ) ).

% ivl_disj_un_singleton(6)
thf(fact_3188_sum_Ohead__if,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [N: nat,M: nat,G3: nat > A] :
          ( ( ( ord_less @ nat @ N @ M )
           => ( ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ M @ N ) )
              = ( zero_zero @ A ) ) )
          & ( ~ ( ord_less @ nat @ N @ M )
           => ( ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ M @ N ) )
              = ( plus_plus @ A @ ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or7035219750837199246ssThan @ nat @ M @ N ) ) @ ( G3 @ N ) ) ) ) ) ) ).

% sum.head_if
thf(fact_3189_periodic__finite__ex,axiom,
    ! [D3: int,P2: int > $o] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ D3 )
     => ( ! [X3: int,K: int] :
            ( ( P2 @ X3 )
            = ( P2 @ ( minus_minus @ int @ X3 @ ( times_times @ int @ K @ D3 ) ) ) )
       => ( ( ? [X11: int] : ( P2 @ X11 ) )
          = ( ? [X4: int] :
                ( ( member @ int @ X4 @ ( set_or1337092689740270186AtMost @ int @ ( one_one @ int ) @ D3 ) )
                & ( P2 @ X4 ) ) ) ) ) ) ).

% periodic_finite_ex
thf(fact_3190_bset_I3_J,axiom,
    ! [D5: int,T5: int,B6: set @ int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ D5 )
     => ( ( member @ int @ ( minus_minus @ int @ T5 @ ( one_one @ int ) ) @ B6 )
       => ! [X6: int] :
            ( ! [Xa4: int] :
                ( ( member @ int @ Xa4 @ ( set_or1337092689740270186AtMost @ int @ ( one_one @ int ) @ D5 ) )
               => ! [Xb3: int] :
                    ( ( member @ int @ Xb3 @ B6 )
                   => ( X6
                     != ( plus_plus @ int @ Xb3 @ Xa4 ) ) ) )
           => ( ( X6 = T5 )
             => ( ( minus_minus @ int @ X6 @ D5 )
                = T5 ) ) ) ) ) ).

% bset(3)
thf(fact_3191_bset_I4_J,axiom,
    ! [D5: int,T5: int,B6: set @ int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ D5 )
     => ( ( member @ int @ T5 @ B6 )
       => ! [X6: int] :
            ( ! [Xa4: int] :
                ( ( member @ int @ Xa4 @ ( set_or1337092689740270186AtMost @ int @ ( one_one @ int ) @ D5 ) )
               => ! [Xb3: int] :
                    ( ( member @ int @ Xb3 @ B6 )
                   => ( X6
                     != ( plus_plus @ int @ Xb3 @ Xa4 ) ) ) )
           => ( ( X6 != T5 )
             => ( ( minus_minus @ int @ X6 @ D5 )
               != T5 ) ) ) ) ) ).

% bset(4)
thf(fact_3192_bset_I5_J,axiom,
    ! [D5: int,B6: set @ int,T5: int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ D5 )
     => ! [X6: int] :
          ( ! [Xa4: int] :
              ( ( member @ int @ Xa4 @ ( set_or1337092689740270186AtMost @ int @ ( one_one @ int ) @ D5 ) )
             => ! [Xb3: int] :
                  ( ( member @ int @ Xb3 @ B6 )
                 => ( X6
                   != ( plus_plus @ int @ Xb3 @ Xa4 ) ) ) )
         => ( ( ord_less @ int @ X6 @ T5 )
           => ( ord_less @ int @ ( minus_minus @ int @ X6 @ D5 ) @ T5 ) ) ) ) ).

% bset(5)
thf(fact_3193_bset_I7_J,axiom,
    ! [D5: int,T5: int,B6: set @ int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ D5 )
     => ( ( member @ int @ T5 @ B6 )
       => ! [X6: int] :
            ( ! [Xa4: int] :
                ( ( member @ int @ Xa4 @ ( set_or1337092689740270186AtMost @ int @ ( one_one @ int ) @ D5 ) )
               => ! [Xb3: int] :
                    ( ( member @ int @ Xb3 @ B6 )
                   => ( X6
                     != ( plus_plus @ int @ Xb3 @ Xa4 ) ) ) )
           => ( ( ord_less @ int @ T5 @ X6 )
             => ( ord_less @ int @ T5 @ ( minus_minus @ int @ X6 @ D5 ) ) ) ) ) ) ).

% bset(7)
thf(fact_3194_aset_I3_J,axiom,
    ! [D5: int,T5: int,A6: set @ int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ D5 )
     => ( ( member @ int @ ( plus_plus @ int @ T5 @ ( one_one @ int ) ) @ A6 )
       => ! [X6: int] :
            ( ! [Xa4: int] :
                ( ( member @ int @ Xa4 @ ( set_or1337092689740270186AtMost @ int @ ( one_one @ int ) @ D5 ) )
               => ! [Xb3: int] :
                    ( ( member @ int @ Xb3 @ A6 )
                   => ( X6
                     != ( minus_minus @ int @ Xb3 @ Xa4 ) ) ) )
           => ( ( X6 = T5 )
             => ( ( plus_plus @ int @ X6 @ D5 )
                = T5 ) ) ) ) ) ).

% aset(3)
thf(fact_3195_aset_I4_J,axiom,
    ! [D5: int,T5: int,A6: set @ int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ D5 )
     => ( ( member @ int @ T5 @ A6 )
       => ! [X6: int] :
            ( ! [Xa4: int] :
                ( ( member @ int @ Xa4 @ ( set_or1337092689740270186AtMost @ int @ ( one_one @ int ) @ D5 ) )
               => ! [Xb3: int] :
                    ( ( member @ int @ Xb3 @ A6 )
                   => ( X6
                     != ( minus_minus @ int @ Xb3 @ Xa4 ) ) ) )
           => ( ( X6 != T5 )
             => ( ( plus_plus @ int @ X6 @ D5 )
               != T5 ) ) ) ) ) ).

% aset(4)
thf(fact_3196_aset_I5_J,axiom,
    ! [D5: int,T5: int,A6: set @ int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ D5 )
     => ( ( member @ int @ T5 @ A6 )
       => ! [X6: int] :
            ( ! [Xa4: int] :
                ( ( member @ int @ Xa4 @ ( set_or1337092689740270186AtMost @ int @ ( one_one @ int ) @ D5 ) )
               => ! [Xb3: int] :
                    ( ( member @ int @ Xb3 @ A6 )
                   => ( X6
                     != ( minus_minus @ int @ Xb3 @ Xa4 ) ) ) )
           => ( ( ord_less @ int @ X6 @ T5 )
             => ( ord_less @ int @ ( plus_plus @ int @ X6 @ D5 ) @ T5 ) ) ) ) ) ).

% aset(5)
thf(fact_3197_aset_I7_J,axiom,
    ! [D5: int,A6: set @ int,T5: int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ D5 )
     => ! [X6: int] :
          ( ! [Xa4: int] :
              ( ( member @ int @ Xa4 @ ( set_or1337092689740270186AtMost @ int @ ( one_one @ int ) @ D5 ) )
             => ! [Xb3: int] :
                  ( ( member @ int @ Xb3 @ A6 )
                 => ( X6
                   != ( minus_minus @ int @ Xb3 @ Xa4 ) ) ) )
         => ( ( ord_less @ int @ T5 @ X6 )
           => ( ord_less @ int @ T5 @ ( plus_plus @ int @ X6 @ D5 ) ) ) ) ) ).

% aset(7)
thf(fact_3198_atLeastLessThan__nat__numeral,axiom,
    ! [M: nat,K2: num] :
      ( ( ( ord_less_eq @ nat @ M @ ( pred_numeral @ K2 ) )
       => ( ( set_or7035219750837199246ssThan @ nat @ M @ ( numeral_numeral @ nat @ K2 ) )
          = ( insert @ nat @ ( pred_numeral @ K2 ) @ ( set_or7035219750837199246ssThan @ nat @ M @ ( pred_numeral @ K2 ) ) ) ) )
      & ( ~ ( ord_less_eq @ nat @ M @ ( pred_numeral @ K2 ) )
       => ( ( set_or7035219750837199246ssThan @ nat @ M @ ( numeral_numeral @ nat @ K2 ) )
          = ( bot_bot @ ( set @ nat ) ) ) ) ) ).

% atLeastLessThan_nat_numeral
thf(fact_3199_fact__eq__fact__times,axiom,
    ! [N: nat,M: nat] :
      ( ( ord_less_eq @ nat @ N @ M )
     => ( ( semiring_char_0_fact @ nat @ M )
        = ( times_times @ nat @ ( semiring_char_0_fact @ nat @ N )
          @ ( groups7121269368397514597t_prod @ nat @ nat
            @ ^ [X4: nat] : X4
            @ ( set_or1337092689740270186AtMost @ nat @ ( suc @ N ) @ M ) ) ) ) ) ).

% fact_eq_fact_times
thf(fact_3200_sum_OatLeastLessThan__rev__at__least__Suc__atMost,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [G3: nat > A,N: nat,M: nat] :
          ( ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or7035219750837199246ssThan @ nat @ N @ M ) )
          = ( groups7311177749621191930dd_sum @ nat @ A
            @ ^ [I: nat] : ( G3 @ ( minus_minus @ nat @ ( plus_plus @ nat @ M @ N ) @ I ) )
            @ ( set_or1337092689740270186AtMost @ nat @ ( suc @ N ) @ M ) ) ) ) ).

% sum.atLeastLessThan_rev_at_least_Suc_atMost
thf(fact_3201_simp__from__to,axiom,
    ( ( set_or1337092689740270186AtMost @ int )
    = ( ^ [I: int,J: int] : ( if @ ( set @ int ) @ ( ord_less @ int @ J @ I ) @ ( bot_bot @ ( set @ int ) ) @ ( insert @ int @ I @ ( set_or1337092689740270186AtMost @ int @ ( plus_plus @ int @ I @ ( one_one @ int ) ) @ J ) ) ) ) ) ).

% simp_from_to
thf(fact_3202_aset_I8_J,axiom,
    ! [D5: int,A6: set @ int,T5: int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ D5 )
     => ! [X6: int] :
          ( ! [Xa4: int] :
              ( ( member @ int @ Xa4 @ ( set_or1337092689740270186AtMost @ int @ ( one_one @ int ) @ D5 ) )
             => ! [Xb3: int] :
                  ( ( member @ int @ Xb3 @ A6 )
                 => ( X6
                   != ( minus_minus @ int @ Xb3 @ Xa4 ) ) ) )
         => ( ( ord_less_eq @ int @ T5 @ X6 )
           => ( ord_less_eq @ int @ T5 @ ( plus_plus @ int @ X6 @ D5 ) ) ) ) ) ).

% aset(8)
thf(fact_3203_aset_I6_J,axiom,
    ! [D5: int,T5: int,A6: set @ int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ D5 )
     => ( ( member @ int @ ( plus_plus @ int @ T5 @ ( one_one @ int ) ) @ A6 )
       => ! [X6: int] :
            ( ! [Xa4: int] :
                ( ( member @ int @ Xa4 @ ( set_or1337092689740270186AtMost @ int @ ( one_one @ int ) @ D5 ) )
               => ! [Xb3: int] :
                    ( ( member @ int @ Xb3 @ A6 )
                   => ( X6
                     != ( minus_minus @ int @ Xb3 @ Xa4 ) ) ) )
           => ( ( ord_less_eq @ int @ X6 @ T5 )
             => ( ord_less_eq @ int @ ( plus_plus @ int @ X6 @ D5 ) @ T5 ) ) ) ) ) ).

% aset(6)
thf(fact_3204_bset_I8_J,axiom,
    ! [D5: int,T5: int,B6: set @ int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ D5 )
     => ( ( member @ int @ ( minus_minus @ int @ T5 @ ( one_one @ int ) ) @ B6 )
       => ! [X6: int] :
            ( ! [Xa4: int] :
                ( ( member @ int @ Xa4 @ ( set_or1337092689740270186AtMost @ int @ ( one_one @ int ) @ D5 ) )
               => ! [Xb3: int] :
                    ( ( member @ int @ Xb3 @ B6 )
                   => ( X6
                     != ( plus_plus @ int @ Xb3 @ Xa4 ) ) ) )
           => ( ( ord_less_eq @ int @ T5 @ X6 )
             => ( ord_less_eq @ int @ T5 @ ( minus_minus @ int @ X6 @ D5 ) ) ) ) ) ) ).

% bset(8)
thf(fact_3205_bset_I6_J,axiom,
    ! [D5: int,B6: set @ int,T5: int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ D5 )
     => ! [X6: int] :
          ( ! [Xa4: int] :
              ( ( member @ int @ Xa4 @ ( set_or1337092689740270186AtMost @ int @ ( one_one @ int ) @ D5 ) )
             => ! [Xb3: int] :
                  ( ( member @ int @ Xb3 @ B6 )
                 => ( X6
                   != ( plus_plus @ int @ Xb3 @ Xa4 ) ) ) )
         => ( ( ord_less_eq @ int @ X6 @ T5 )
           => ( ord_less_eq @ int @ ( minus_minus @ int @ X6 @ D5 ) @ T5 ) ) ) ) ).

% bset(6)
thf(fact_3206_cpmi,axiom,
    ! [D5: int,P2: int > $o,P6: int > $o,B6: set @ int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ D5 )
     => ( ? [Z7: int] :
          ! [X3: int] :
            ( ( ord_less @ int @ X3 @ Z7 )
           => ( ( P2 @ X3 )
              = ( P6 @ X3 ) ) )
       => ( ! [X3: int] :
              ( ! [Xa3: int] :
                  ( ( member @ int @ Xa3 @ ( set_or1337092689740270186AtMost @ int @ ( one_one @ int ) @ D5 ) )
                 => ! [Xb2: int] :
                      ( ( member @ int @ Xb2 @ B6 )
                     => ( X3
                       != ( plus_plus @ int @ Xb2 @ Xa3 ) ) ) )
             => ( ( P2 @ X3 )
               => ( P2 @ ( minus_minus @ int @ X3 @ D5 ) ) ) )
         => ( ! [X3: int,K: int] :
                ( ( P6 @ X3 )
                = ( P6 @ ( minus_minus @ int @ X3 @ ( times_times @ int @ K @ D5 ) ) ) )
           => ( ( ? [X11: int] : ( P2 @ X11 ) )
              = ( ? [X4: int] :
                    ( ( member @ int @ X4 @ ( set_or1337092689740270186AtMost @ int @ ( one_one @ int ) @ D5 ) )
                    & ( P6 @ X4 ) )
                | ? [X4: int] :
                    ( ( member @ int @ X4 @ ( set_or1337092689740270186AtMost @ int @ ( one_one @ int ) @ D5 ) )
                    & ? [Y4: int] :
                        ( ( member @ int @ Y4 @ B6 )
                        & ( P2 @ ( plus_plus @ int @ Y4 @ X4 ) ) ) ) ) ) ) ) ) ) ).

% cpmi
thf(fact_3207_cppi,axiom,
    ! [D5: int,P2: int > $o,P6: int > $o,A6: set @ int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ D5 )
     => ( ? [Z7: int] :
          ! [X3: int] :
            ( ( ord_less @ int @ Z7 @ X3 )
           => ( ( P2 @ X3 )
              = ( P6 @ X3 ) ) )
       => ( ! [X3: int] :
              ( ! [Xa3: int] :
                  ( ( member @ int @ Xa3 @ ( set_or1337092689740270186AtMost @ int @ ( one_one @ int ) @ D5 ) )
                 => ! [Xb2: int] :
                      ( ( member @ int @ Xb2 @ A6 )
                     => ( X3
                       != ( minus_minus @ int @ Xb2 @ Xa3 ) ) ) )
             => ( ( P2 @ X3 )
               => ( P2 @ ( plus_plus @ int @ X3 @ D5 ) ) ) )
         => ( ! [X3: int,K: int] :
                ( ( P6 @ X3 )
                = ( P6 @ ( minus_minus @ int @ X3 @ ( times_times @ int @ K @ D5 ) ) ) )
           => ( ( ? [X11: int] : ( P2 @ X11 ) )
              = ( ? [X4: int] :
                    ( ( member @ int @ X4 @ ( set_or1337092689740270186AtMost @ int @ ( one_one @ int ) @ D5 ) )
                    & ( P6 @ X4 ) )
                | ? [X4: int] :
                    ( ( member @ int @ X4 @ ( set_or1337092689740270186AtMost @ int @ ( one_one @ int ) @ D5 ) )
                    & ? [Y4: int] :
                        ( ( member @ int @ Y4 @ A6 )
                        & ( P2 @ ( minus_minus @ int @ Y4 @ X4 ) ) ) ) ) ) ) ) ) ) ).

% cppi
thf(fact_3208_pochhammer__Suc__prod,axiom,
    ! [A: $tType] :
      ( ( comm_semiring_1 @ A )
     => ! [A3: A,N: nat] :
          ( ( comm_s3205402744901411588hammer @ A @ A3 @ ( suc @ N ) )
          = ( groups7121269368397514597t_prod @ nat @ A
            @ ^ [I: nat] : ( plus_plus @ A @ A3 @ ( semiring_1_of_nat @ A @ I ) )
            @ ( set_or1337092689740270186AtMost @ nat @ ( zero_zero @ nat ) @ N ) ) ) ) ).

% pochhammer_Suc_prod
thf(fact_3209_pochhammer__prod__rev,axiom,
    ! [A: $tType] :
      ( ( comm_semiring_1 @ A )
     => ( ( comm_s3205402744901411588hammer @ A )
        = ( ^ [A7: A,N3: nat] :
              ( groups7121269368397514597t_prod @ nat @ A
              @ ^ [I: nat] : ( plus_plus @ A @ A7 @ ( semiring_1_of_nat @ A @ ( minus_minus @ nat @ N3 @ I ) ) )
              @ ( set_or1337092689740270186AtMost @ nat @ ( one_one @ nat ) @ N3 ) ) ) ) ) ).

% pochhammer_prod_rev
thf(fact_3210_fact__div__fact,axiom,
    ! [N: nat,M: nat] :
      ( ( ord_less_eq @ nat @ N @ M )
     => ( ( divide_divide @ nat @ ( semiring_char_0_fact @ nat @ M ) @ ( semiring_char_0_fact @ nat @ N ) )
        = ( groups7121269368397514597t_prod @ nat @ nat
          @ ^ [X4: nat] : X4
          @ ( set_or1337092689740270186AtMost @ nat @ ( plus_plus @ nat @ N @ ( one_one @ nat ) ) @ M ) ) ) ) ).

% fact_div_fact
thf(fact_3211_prod_Oin__pairs,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [G3: nat > A,M: nat,N: nat] :
          ( ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ ( times_times @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ M ) @ ( suc @ ( times_times @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N ) ) ) )
          = ( groups7121269368397514597t_prod @ nat @ A
            @ ^ [I: nat] : ( times_times @ A @ ( G3 @ ( times_times @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ I ) ) @ ( G3 @ ( suc @ ( times_times @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ I ) ) ) )
            @ ( set_or1337092689740270186AtMost @ nat @ M @ N ) ) ) ) ).

% prod.in_pairs
thf(fact_3212_prod_Oin__pairs__0,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [G3: nat > A,N: nat] :
          ( ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_ord_atMost @ nat @ ( suc @ ( times_times @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N ) ) ) )
          = ( groups7121269368397514597t_prod @ nat @ A
            @ ^ [I: nat] : ( times_times @ A @ ( G3 @ ( times_times @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ I ) ) @ ( G3 @ ( suc @ ( times_times @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ I ) ) ) )
            @ ( set_ord_atMost @ nat @ N ) ) ) ) ).

% prod.in_pairs_0
thf(fact_3213_pochhammer__Suc__prod__rev,axiom,
    ! [A: $tType] :
      ( ( comm_semiring_1 @ A )
     => ! [A3: A,N: nat] :
          ( ( comm_s3205402744901411588hammer @ A @ A3 @ ( suc @ N ) )
          = ( groups7121269368397514597t_prod @ nat @ A
            @ ^ [I: nat] : ( plus_plus @ A @ A3 @ ( semiring_1_of_nat @ A @ ( minus_minus @ nat @ N @ I ) ) )
            @ ( set_or1337092689740270186AtMost @ nat @ ( zero_zero @ nat ) @ N ) ) ) ) ).

% pochhammer_Suc_prod_rev
thf(fact_3214_divmod__integer__code,axiom,
    ( code_divmod_integer
    = ( ^ [K3: code_integer,L2: code_integer] :
          ( if @ ( product_prod @ code_integer @ code_integer )
          @ ( K3
            = ( zero_zero @ code_integer ) )
          @ ( product_Pair @ code_integer @ code_integer @ ( zero_zero @ code_integer ) @ ( zero_zero @ code_integer ) )
          @ ( if @ ( product_prod @ code_integer @ code_integer ) @ ( ord_less @ code_integer @ ( zero_zero @ code_integer ) @ L2 )
            @ ( if @ ( product_prod @ code_integer @ code_integer ) @ ( ord_less @ code_integer @ ( zero_zero @ code_integer ) @ K3 ) @ ( code_divmod_abs @ K3 @ L2 )
              @ ( product_case_prod @ code_integer @ code_integer @ ( product_prod @ code_integer @ code_integer )
                @ ^ [R5: code_integer,S5: code_integer] :
                    ( if @ ( product_prod @ code_integer @ code_integer )
                    @ ( S5
                      = ( zero_zero @ code_integer ) )
                    @ ( product_Pair @ code_integer @ code_integer @ ( uminus_uminus @ code_integer @ R5 ) @ ( zero_zero @ code_integer ) )
                    @ ( product_Pair @ code_integer @ code_integer @ ( minus_minus @ code_integer @ ( uminus_uminus @ code_integer @ R5 ) @ ( one_one @ code_integer ) ) @ ( minus_minus @ code_integer @ L2 @ S5 ) ) )
                @ ( code_divmod_abs @ K3 @ L2 ) ) )
            @ ( if @ ( product_prod @ code_integer @ code_integer )
              @ ( L2
                = ( zero_zero @ code_integer ) )
              @ ( product_Pair @ code_integer @ code_integer @ ( zero_zero @ code_integer ) @ K3 )
              @ ( product_apsnd @ code_integer @ code_integer @ code_integer @ ( uminus_uminus @ code_integer )
                @ ( if @ ( product_prod @ code_integer @ code_integer ) @ ( ord_less @ code_integer @ K3 @ ( zero_zero @ code_integer ) ) @ ( code_divmod_abs @ K3 @ L2 )
                  @ ( product_case_prod @ code_integer @ code_integer @ ( product_prod @ code_integer @ code_integer )
                    @ ^ [R5: code_integer,S5: code_integer] :
                        ( if @ ( product_prod @ code_integer @ code_integer )
                        @ ( S5
                          = ( zero_zero @ code_integer ) )
                        @ ( product_Pair @ code_integer @ code_integer @ ( uminus_uminus @ code_integer @ R5 ) @ ( zero_zero @ code_integer ) )
                        @ ( product_Pair @ code_integer @ code_integer @ ( minus_minus @ code_integer @ ( uminus_uminus @ code_integer @ R5 ) @ ( one_one @ code_integer ) ) @ ( minus_minus @ code_integer @ ( uminus_uminus @ code_integer @ L2 ) @ S5 ) ) )
                    @ ( code_divmod_abs @ K3 @ L2 ) ) ) ) ) ) ) ) ) ).

% divmod_integer_code
thf(fact_3215_horner__sum__eq__sum,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_semiring_1 @ A )
     => ( ( groups4207007520872428315er_sum @ B @ A )
        = ( ^ [F4: B > A,A7: A,Xs3: list @ B] :
              ( groups7311177749621191930dd_sum @ nat @ A
              @ ^ [N3: nat] : ( times_times @ A @ ( F4 @ ( nth @ B @ Xs3 @ N3 ) ) @ ( power_power @ A @ A7 @ N3 ) )
              @ ( set_or7035219750837199246ssThan @ nat @ ( zero_zero @ nat ) @ ( size_size @ ( list @ B ) @ Xs3 ) ) ) ) ) ) ).

% horner_sum_eq_sum
thf(fact_3216_prod_Ozero__middle,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [P3: nat,K2: nat,G3: nat > A,H: nat > A] :
          ( ( ord_less_eq @ nat @ ( one_one @ nat ) @ P3 )
         => ( ( ord_less_eq @ nat @ K2 @ P3 )
           => ( ( groups7121269368397514597t_prod @ nat @ A
                @ ^ [J: nat] : ( if @ A @ ( ord_less @ nat @ J @ K2 ) @ ( G3 @ J ) @ ( if @ A @ ( J = K2 ) @ ( one_one @ A ) @ ( H @ ( minus_minus @ nat @ J @ ( suc @ ( zero_zero @ nat ) ) ) ) ) )
                @ ( set_ord_atMost @ nat @ P3 ) )
              = ( groups7121269368397514597t_prod @ nat @ A
                @ ^ [J: nat] : ( if @ A @ ( ord_less @ nat @ J @ K2 ) @ ( G3 @ J ) @ ( H @ J ) )
                @ ( set_ord_atMost @ nat @ ( minus_minus @ nat @ P3 @ ( suc @ ( zero_zero @ nat ) ) ) ) ) ) ) ) ) ).

% prod.zero_middle
thf(fact_3217_gbinomial__Suc,axiom,
    ! [A: $tType] :
      ( ( ( semiring_char_0 @ A )
        & ( semidom_divide @ A ) )
     => ! [A3: A,K2: nat] :
          ( ( gbinomial @ A @ A3 @ ( suc @ K2 ) )
          = ( divide_divide @ A
            @ ( groups7121269368397514597t_prod @ nat @ A
              @ ^ [I: nat] : ( minus_minus @ A @ A3 @ ( semiring_1_of_nat @ A @ I ) )
              @ ( set_or1337092689740270186AtMost @ nat @ ( zero_zero @ nat ) @ K2 ) )
            @ ( semiring_char_0_fact @ A @ ( suc @ K2 ) ) ) ) ) ).

% gbinomial_Suc
thf(fact_3218_bit__cut__integer__code,axiom,
    ( code_bit_cut_integer
    = ( ^ [K3: code_integer] :
          ( if @ ( product_prod @ code_integer @ $o )
          @ ( K3
            = ( zero_zero @ code_integer ) )
          @ ( product_Pair @ code_integer @ $o @ ( zero_zero @ code_integer ) @ $false )
          @ ( product_case_prod @ code_integer @ code_integer @ ( product_prod @ code_integer @ $o )
            @ ^ [R5: code_integer,S5: code_integer] :
                ( product_Pair @ code_integer @ $o @ ( if @ code_integer @ ( ord_less @ code_integer @ ( zero_zero @ code_integer ) @ K3 ) @ R5 @ ( minus_minus @ code_integer @ ( uminus_uminus @ code_integer @ R5 ) @ S5 ) )
                @ ( S5
                  = ( one_one @ code_integer ) ) )
            @ ( code_divmod_abs @ K3 @ ( numeral_numeral @ code_integer @ ( bit0 @ one ) ) ) ) ) ) ) ).

% bit_cut_integer_code
thf(fact_3219_natLess__def,axiom,
    ( bNF_Ca8459412986667044542atLess
    = ( collect @ ( product_prod @ nat @ nat ) @ ( product_case_prod @ nat @ nat @ $o @ ( ord_less @ nat ) ) ) ) ).

% natLess_def
thf(fact_3220_sum_Otriangle__reindex,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [G3: nat > nat > A,N: nat] :
          ( ( groups7311177749621191930dd_sum @ ( product_prod @ nat @ nat ) @ A @ ( product_case_prod @ nat @ nat @ A @ G3 )
            @ ( collect @ ( product_prod @ nat @ nat )
              @ ( product_case_prod @ nat @ nat @ $o
                @ ^ [I: nat,J: nat] : ( ord_less @ nat @ ( plus_plus @ nat @ I @ J ) @ N ) ) ) )
          = ( groups7311177749621191930dd_sum @ nat @ A
            @ ^ [K3: nat] :
                ( groups7311177749621191930dd_sum @ nat @ A
                @ ^ [I: nat] : ( G3 @ I @ ( minus_minus @ nat @ K3 @ I ) )
                @ ( set_ord_atMost @ nat @ K3 ) )
            @ ( set_ord_lessThan @ nat @ N ) ) ) ) ).

% sum.triangle_reindex
thf(fact_3221_rec__nat__add__eq__if,axiom,
    ! [A: $tType,A3: A,F3: nat > A > A,V2: num,N: nat] :
      ( ( rec_nat @ A @ A3 @ F3 @ ( plus_plus @ nat @ ( numeral_numeral @ nat @ V2 ) @ N ) )
      = ( F3 @ ( plus_plus @ nat @ ( pred_numeral @ V2 ) @ N ) @ ( rec_nat @ A @ A3 @ F3 @ ( plus_plus @ nat @ ( pred_numeral @ V2 ) @ N ) ) ) ) ).

% rec_nat_add_eq_if
thf(fact_3222_prod__decode__aux_Osimps,axiom,
    ( nat_prod_decode_aux
    = ( ^ [K3: nat,M3: nat] : ( if @ ( product_prod @ nat @ nat ) @ ( ord_less_eq @ nat @ M3 @ K3 ) @ ( product_Pair @ nat @ nat @ M3 @ ( minus_minus @ nat @ K3 @ M3 ) ) @ ( nat_prod_decode_aux @ ( suc @ K3 ) @ ( minus_minus @ nat @ M3 @ ( suc @ K3 ) ) ) ) ) ) ).

% prod_decode_aux.simps
thf(fact_3223_lessThan__iff,axiom,
    ! [A: $tType] :
      ( ( ord @ A )
     => ! [I2: A,K2: A] :
          ( ( member @ A @ I2 @ ( set_ord_lessThan @ A @ K2 ) )
          = ( ord_less @ A @ I2 @ K2 ) ) ) ).

% lessThan_iff
thf(fact_3224_old_Onat_Osimps_I6_J,axiom,
    ! [T: $tType,F1: T,F22: nat > T > T] :
      ( ( rec_nat @ T @ F1 @ F22 @ ( zero_zero @ nat ) )
      = F1 ) ).

% old.nat.simps(6)
thf(fact_3225_old_Onat_Osimps_I7_J,axiom,
    ! [T: $tType,F1: T,F22: nat > T > T,Nat: nat] :
      ( ( rec_nat @ T @ F1 @ F22 @ ( suc @ Nat ) )
      = ( F22 @ Nat @ ( rec_nat @ T @ F1 @ F22 @ Nat ) ) ) ).

% old.nat.simps(7)
thf(fact_3226_lessThan__subset__iff,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less_eq @ ( set @ A ) @ ( set_ord_lessThan @ A @ X ) @ ( set_ord_lessThan @ A @ Y ) )
          = ( ord_less_eq @ A @ X @ Y ) ) ) ).

% lessThan_subset_iff
thf(fact_3227_rec__nat__numeral,axiom,
    ! [A: $tType,A3: A,F3: nat > A > A,V2: num] :
      ( ( rec_nat @ A @ A3 @ F3 @ ( numeral_numeral @ nat @ V2 ) )
      = ( F3 @ ( pred_numeral @ V2 ) @ ( rec_nat @ A @ A3 @ F3 @ ( pred_numeral @ V2 ) ) ) ) ).

% rec_nat_numeral
thf(fact_3228_sum_OlessThan__Suc,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [G3: nat > A,N: nat] :
          ( ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_ord_lessThan @ nat @ ( suc @ N ) ) )
          = ( plus_plus @ A @ ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_ord_lessThan @ nat @ N ) ) @ ( G3 @ N ) ) ) ) ).

% sum.lessThan_Suc
thf(fact_3229_int__prod,axiom,
    ! [B: $tType,F3: B > nat,A6: set @ B] :
      ( ( semiring_1_of_nat @ int @ ( groups7121269368397514597t_prod @ B @ nat @ F3 @ A6 ) )
      = ( groups7121269368397514597t_prod @ B @ int
        @ ^ [X4: B] : ( semiring_1_of_nat @ int @ ( F3 @ X4 ) )
        @ A6 ) ) ).

% int_prod
thf(fact_3230_lessThan__def,axiom,
    ! [A: $tType] :
      ( ( ord @ A )
     => ( ( set_ord_lessThan @ A )
        = ( ^ [U2: A] :
              ( collect @ A
              @ ^ [X4: A] : ( ord_less @ A @ X4 @ U2 ) ) ) ) ) ).

% lessThan_def
thf(fact_3231_lessThan__strict__subset__iff,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [M: A,N: A] :
          ( ( ord_less @ ( set @ A ) @ ( set_ord_lessThan @ A @ M ) @ ( set_ord_lessThan @ A @ N ) )
          = ( ord_less @ A @ M @ N ) ) ) ).

% lessThan_strict_subset_iff
thf(fact_3232_atLeastLessThanPlusOne__atLeastAtMost__integer,axiom,
    ! [L: code_integer,U: code_integer] :
      ( ( set_or7035219750837199246ssThan @ code_integer @ L @ ( plus_plus @ code_integer @ U @ ( one_one @ code_integer ) ) )
      = ( set_or1337092689740270186AtMost @ code_integer @ L @ U ) ) ).

% atLeastLessThanPlusOne_atLeastAtMost_integer
thf(fact_3233_rec__nat__0__imp,axiom,
    ! [A: $tType,F3: nat > A,F1: A,F22: nat > A > A] :
      ( ( F3
        = ( rec_nat @ A @ F1 @ F22 ) )
     => ( ( F3 @ ( zero_zero @ nat ) )
        = F1 ) ) ).

% rec_nat_0_imp
thf(fact_3234_rec__nat__Suc__imp,axiom,
    ! [A: $tType,F3: nat > A,F1: A,F22: nat > A > A,N: nat] :
      ( ( F3
        = ( rec_nat @ A @ F1 @ F22 ) )
     => ( ( F3 @ ( suc @ N ) )
        = ( F22 @ N @ ( F3 @ N ) ) ) ) ).

% rec_nat_Suc_imp
thf(fact_3235_atLeastLessThanPlusOne__atLeastAtMost__int,axiom,
    ! [L: int,U: int] :
      ( ( set_or7035219750837199246ssThan @ int @ L @ ( plus_plus @ int @ U @ ( one_one @ int ) ) )
      = ( set_or1337092689740270186AtMost @ int @ L @ U ) ) ).

% atLeastLessThanPlusOne_atLeastAtMost_int
thf(fact_3236_sum_Onat__diff__reindex,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [G3: nat > A,N: nat] :
          ( ( groups7311177749621191930dd_sum @ nat @ A
            @ ^ [I: nat] : ( G3 @ ( minus_minus @ nat @ N @ ( suc @ I ) ) )
            @ ( set_ord_lessThan @ nat @ N ) )
          = ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_ord_lessThan @ nat @ N ) ) ) ) ).

% sum.nat_diff_reindex
thf(fact_3237_prod_Onat__diff__reindex,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [G3: nat > A,N: nat] :
          ( ( groups7121269368397514597t_prod @ nat @ A
            @ ^ [I: nat] : ( G3 @ ( minus_minus @ nat @ N @ ( suc @ I ) ) )
            @ ( set_ord_lessThan @ nat @ N ) )
          = ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_ord_lessThan @ nat @ N ) ) ) ) ).

% prod.nat_diff_reindex
thf(fact_3238_prod__int__eq,axiom,
    ! [I2: nat,J2: nat] :
      ( ( groups7121269368397514597t_prod @ nat @ int @ ( semiring_1_of_nat @ int ) @ ( set_or1337092689740270186AtMost @ nat @ I2 @ J2 ) )
      = ( groups7121269368397514597t_prod @ int @ int
        @ ^ [X4: int] : X4
        @ ( set_or1337092689740270186AtMost @ int @ ( semiring_1_of_nat @ int @ I2 ) @ ( semiring_1_of_nat @ int @ J2 ) ) ) ) ).

% prod_int_eq
thf(fact_3239_ivl__disj__un__one_I2_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [L: A,U: A] :
          ( ( ord_less_eq @ A @ L @ U )
         => ( ( sup_sup @ ( set @ A ) @ ( set_ord_lessThan @ A @ L ) @ ( set_or7035219750837199246ssThan @ A @ L @ U ) )
            = ( set_ord_lessThan @ A @ U ) ) ) ) ).

% ivl_disj_un_one(2)
thf(fact_3240_prod_Otriangle__reindex,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [G3: nat > nat > A,N: nat] :
          ( ( groups7121269368397514597t_prod @ ( product_prod @ nat @ nat ) @ A @ ( product_case_prod @ nat @ nat @ A @ G3 )
            @ ( collect @ ( product_prod @ nat @ nat )
              @ ( product_case_prod @ nat @ nat @ $o
                @ ^ [I: nat,J: nat] : ( ord_less @ nat @ ( plus_plus @ nat @ I @ J ) @ N ) ) ) )
          = ( groups7121269368397514597t_prod @ nat @ A
            @ ^ [K3: nat] :
                ( groups7121269368397514597t_prod @ nat @ A
                @ ^ [I: nat] : ( G3 @ I @ ( minus_minus @ nat @ K3 @ I ) )
                @ ( set_ord_atMost @ nat @ K3 ) )
            @ ( set_ord_lessThan @ nat @ N ) ) ) ) ).

% prod.triangle_reindex
thf(fact_3241_Iic__subset__Iio__iff,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ ( set @ A ) @ ( set_ord_atMost @ A @ A3 ) @ ( set_ord_lessThan @ A @ B2 ) )
          = ( ord_less @ A @ A3 @ B2 ) ) ) ).

% Iic_subset_Iio_iff
thf(fact_3242_sum__diff__distrib,axiom,
    ! [A: $tType] :
      ( ( ord @ A )
     => ! [Q2: A > nat,P2: A > nat,N: A] :
          ( ! [X3: A] : ( ord_less_eq @ nat @ ( Q2 @ X3 ) @ ( P2 @ X3 ) )
         => ( ( minus_minus @ nat @ ( groups7311177749621191930dd_sum @ A @ nat @ P2 @ ( set_ord_lessThan @ A @ N ) ) @ ( groups7311177749621191930dd_sum @ A @ nat @ Q2 @ ( set_ord_lessThan @ A @ N ) ) )
            = ( groups7311177749621191930dd_sum @ A @ nat
              @ ^ [X4: A] : ( minus_minus @ nat @ ( P2 @ X4 ) @ ( Q2 @ X4 ) )
              @ ( set_ord_lessThan @ A @ N ) ) ) ) ) ).

% sum_diff_distrib
thf(fact_3243_sum_OlessThan__Suc__shift,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [G3: nat > A,N: nat] :
          ( ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_ord_lessThan @ nat @ ( suc @ N ) ) )
          = ( plus_plus @ A @ ( G3 @ ( zero_zero @ nat ) )
            @ ( groups7311177749621191930dd_sum @ nat @ A
              @ ^ [I: nat] : ( G3 @ ( suc @ I ) )
              @ ( set_ord_lessThan @ nat @ N ) ) ) ) ) ).

% sum.lessThan_Suc_shift
thf(fact_3244_sum__lessThan__telescope_H,axiom,
    ! [A: $tType] :
      ( ( ab_group_add @ A )
     => ! [F3: nat > A,M: nat] :
          ( ( groups7311177749621191930dd_sum @ nat @ A
            @ ^ [N3: nat] : ( minus_minus @ A @ ( F3 @ N3 ) @ ( F3 @ ( suc @ N3 ) ) )
            @ ( set_ord_lessThan @ nat @ M ) )
          = ( minus_minus @ A @ ( F3 @ ( zero_zero @ nat ) ) @ ( F3 @ M ) ) ) ) ).

% sum_lessThan_telescope'
thf(fact_3245_sum__lessThan__telescope,axiom,
    ! [A: $tType] :
      ( ( ab_group_add @ A )
     => ! [F3: nat > A,M: nat] :
          ( ( groups7311177749621191930dd_sum @ nat @ A
            @ ^ [N3: nat] : ( minus_minus @ A @ ( F3 @ ( suc @ N3 ) ) @ ( F3 @ N3 ) )
            @ ( set_ord_lessThan @ nat @ M ) )
          = ( minus_minus @ A @ ( F3 @ M ) @ ( F3 @ ( zero_zero @ nat ) ) ) ) ) ).

% sum_lessThan_telescope
thf(fact_3246_prod_OlessThan__Suc__shift,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [G3: nat > A,N: nat] :
          ( ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_ord_lessThan @ nat @ ( suc @ N ) ) )
          = ( times_times @ A @ ( G3 @ ( zero_zero @ nat ) )
            @ ( groups7121269368397514597t_prod @ nat @ A
              @ ^ [I: nat] : ( G3 @ ( suc @ I ) )
              @ ( set_ord_lessThan @ nat @ N ) ) ) ) ) ).

% prod.lessThan_Suc_shift
thf(fact_3247_sum_OatLeast1__atMost__eq,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [G3: nat > A,N: nat] :
          ( ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ ( suc @ ( zero_zero @ nat ) ) @ N ) )
          = ( groups7311177749621191930dd_sum @ nat @ A
            @ ^ [K3: nat] : ( G3 @ ( suc @ K3 ) )
            @ ( set_ord_lessThan @ nat @ N ) ) ) ) ).

% sum.atLeast1_atMost_eq
thf(fact_3248_prod_OatLeast1__atMost__eq,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [G3: nat > A,N: nat] :
          ( ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ ( suc @ ( zero_zero @ nat ) ) @ N ) )
          = ( groups7121269368397514597t_prod @ nat @ A
            @ ^ [K3: nat] : ( G3 @ ( suc @ K3 ) )
            @ ( set_ord_lessThan @ nat @ N ) ) ) ) ).

% prod.atLeast1_atMost_eq
thf(fact_3249_sum__bounds__lt__plus1,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [F3: nat > A,Mm: nat] :
          ( ( groups7311177749621191930dd_sum @ nat @ A
            @ ^ [K3: nat] : ( F3 @ ( suc @ K3 ) )
            @ ( set_ord_lessThan @ nat @ Mm ) )
          = ( groups7311177749621191930dd_sum @ nat @ A @ F3 @ ( set_or1337092689740270186AtMost @ nat @ ( one_one @ nat ) @ Mm ) ) ) ) ).

% sum_bounds_lt_plus1
thf(fact_3250_prod__int__plus__eq,axiom,
    ! [I2: nat,J2: nat] :
      ( ( groups7121269368397514597t_prod @ nat @ int @ ( semiring_1_of_nat @ int ) @ ( set_or1337092689740270186AtMost @ nat @ I2 @ ( plus_plus @ nat @ I2 @ J2 ) ) )
      = ( groups7121269368397514597t_prod @ int @ int
        @ ^ [X4: int] : X4
        @ ( set_or1337092689740270186AtMost @ int @ ( semiring_1_of_nat @ int @ I2 ) @ ( semiring_1_of_nat @ int @ ( plus_plus @ nat @ I2 @ J2 ) ) ) ) ) ).

% prod_int_plus_eq
thf(fact_3251_sum_Onat__group,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [G3: nat > A,K2: nat,N: nat] :
          ( ( groups7311177749621191930dd_sum @ nat @ A
            @ ^ [M3: nat] : ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or7035219750837199246ssThan @ nat @ ( times_times @ nat @ M3 @ K2 ) @ ( plus_plus @ nat @ ( times_times @ nat @ M3 @ K2 ) @ K2 ) ) )
            @ ( set_ord_lessThan @ nat @ N ) )
          = ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_ord_lessThan @ nat @ ( times_times @ nat @ N @ K2 ) ) ) ) ) ).

% sum.nat_group
thf(fact_3252_prod_Onat__group,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [G3: nat > A,K2: nat,N: nat] :
          ( ( groups7121269368397514597t_prod @ nat @ A
            @ ^ [M3: nat] : ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_or7035219750837199246ssThan @ nat @ ( times_times @ nat @ M3 @ K2 ) @ ( plus_plus @ nat @ ( times_times @ nat @ M3 @ K2 ) @ K2 ) ) )
            @ ( set_ord_lessThan @ nat @ N ) )
          = ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_ord_lessThan @ nat @ ( times_times @ nat @ N @ K2 ) ) ) ) ) ).

% prod.nat_group
thf(fact_3253_sum_Onested__swap_H,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [A3: nat > nat > A,N: nat] :
          ( ( groups7311177749621191930dd_sum @ nat @ A
            @ ^ [I: nat] : ( groups7311177749621191930dd_sum @ nat @ A @ ( A3 @ I ) @ ( set_ord_lessThan @ nat @ I ) )
            @ ( set_ord_atMost @ nat @ N ) )
          = ( groups7311177749621191930dd_sum @ nat @ A
            @ ^ [J: nat] :
                ( groups7311177749621191930dd_sum @ nat @ A
                @ ^ [I: nat] : ( A3 @ I @ J )
                @ ( set_or1337092689740270186AtMost @ nat @ ( suc @ J ) @ N ) )
            @ ( set_ord_lessThan @ nat @ N ) ) ) ) ).

% sum.nested_swap'
thf(fact_3254_prod_Onested__swap_H,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [A3: nat > nat > A,N: nat] :
          ( ( groups7121269368397514597t_prod @ nat @ A
            @ ^ [I: nat] : ( groups7121269368397514597t_prod @ nat @ A @ ( A3 @ I ) @ ( set_ord_lessThan @ nat @ I ) )
            @ ( set_ord_atMost @ nat @ N ) )
          = ( groups7121269368397514597t_prod @ nat @ A
            @ ^ [J: nat] :
                ( groups7121269368397514597t_prod @ nat @ A
                @ ^ [I: nat] : ( A3 @ I @ J )
                @ ( set_or1337092689740270186AtMost @ nat @ ( suc @ J ) @ N ) )
            @ ( set_ord_lessThan @ nat @ N ) ) ) ) ).

% prod.nested_swap'
thf(fact_3255_Iio__Int__singleton,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [X: A,K2: A] :
          ( ( ( ord_less @ A @ X @ K2 )
           => ( ( inf_inf @ ( set @ A ) @ ( set_ord_lessThan @ A @ K2 ) @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) )
              = ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) ) )
          & ( ~ ( ord_less @ A @ X @ K2 )
           => ( ( inf_inf @ ( set @ A ) @ ( set_ord_lessThan @ A @ K2 ) @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) )
              = ( bot_bot @ ( set @ A ) ) ) ) ) ) ).

% Iio_Int_singleton
thf(fact_3256_ivl__disj__un__singleton_I2_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [U: A] :
          ( ( sup_sup @ ( set @ A ) @ ( set_ord_lessThan @ A @ U ) @ ( insert @ A @ U @ ( bot_bot @ ( set @ A ) ) ) )
          = ( set_ord_atMost @ A @ U ) ) ) ).

% ivl_disj_un_singleton(2)
thf(fact_3257_ivl__disj__un__one_I4_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [L: A,U: A] :
          ( ( ord_less_eq @ A @ L @ U )
         => ( ( sup_sup @ ( set @ A ) @ ( set_ord_lessThan @ A @ L ) @ ( set_or1337092689740270186AtMost @ A @ L @ U ) )
            = ( set_ord_atMost @ A @ U ) ) ) ) ).

% ivl_disj_un_one(4)
thf(fact_3258_one__diff__power__eq,axiom,
    ! [A: $tType] :
      ( ( ( monoid_mult @ A )
        & ( comm_ring @ A ) )
     => ! [X: A,N: nat] :
          ( ( minus_minus @ A @ ( one_one @ A ) @ ( power_power @ A @ X @ N ) )
          = ( times_times @ A @ ( minus_minus @ A @ ( one_one @ A ) @ X ) @ ( groups7311177749621191930dd_sum @ nat @ A @ ( power_power @ A @ X ) @ ( set_ord_lessThan @ nat @ N ) ) ) ) ) ).

% one_diff_power_eq
thf(fact_3259_power__diff__1__eq,axiom,
    ! [A: $tType] :
      ( ( ( monoid_mult @ A )
        & ( comm_ring @ A ) )
     => ! [X: A,N: nat] :
          ( ( minus_minus @ A @ ( power_power @ A @ X @ N ) @ ( one_one @ A ) )
          = ( times_times @ A @ ( minus_minus @ A @ X @ ( one_one @ A ) ) @ ( groups7311177749621191930dd_sum @ nat @ A @ ( power_power @ A @ X ) @ ( set_ord_lessThan @ nat @ N ) ) ) ) ) ).

% power_diff_1_eq
thf(fact_3260_geometric__sum,axiom,
    ! [A: $tType] :
      ( ( field @ A )
     => ! [X: A,N: nat] :
          ( ( X
           != ( one_one @ A ) )
         => ( ( groups7311177749621191930dd_sum @ nat @ A @ ( power_power @ A @ X ) @ ( set_ord_lessThan @ nat @ N ) )
            = ( divide_divide @ A @ ( minus_minus @ A @ ( power_power @ A @ X @ N ) @ ( one_one @ A ) ) @ ( minus_minus @ A @ X @ ( one_one @ A ) ) ) ) ) ) ).

% geometric_sum
thf(fact_3261_sum_OatMost__shift,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [G3: nat > A,N: nat] :
          ( ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_ord_atMost @ nat @ N ) )
          = ( plus_plus @ A @ ( G3 @ ( zero_zero @ nat ) )
            @ ( groups7311177749621191930dd_sum @ nat @ A
              @ ^ [I: nat] : ( G3 @ ( suc @ I ) )
              @ ( set_ord_lessThan @ nat @ N ) ) ) ) ) ).

% sum.atMost_shift
thf(fact_3262_prod_OatMost__shift,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [G3: nat > A,N: nat] :
          ( ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_ord_atMost @ nat @ N ) )
          = ( times_times @ A @ ( G3 @ ( zero_zero @ nat ) )
            @ ( groups7121269368397514597t_prod @ nat @ A
              @ ^ [I: nat] : ( G3 @ ( suc @ I ) )
              @ ( set_ord_lessThan @ nat @ N ) ) ) ) ) ).

% prod.atMost_shift
thf(fact_3263_sum__gp__strict,axiom,
    ! [A: $tType] :
      ( ( ( division_ring @ A )
        & ( comm_ring @ A ) )
     => ! [X: A,N: nat] :
          ( ( ( X
              = ( one_one @ A ) )
           => ( ( groups7311177749621191930dd_sum @ nat @ A @ ( power_power @ A @ X ) @ ( set_ord_lessThan @ nat @ N ) )
              = ( semiring_1_of_nat @ A @ N ) ) )
          & ( ( X
             != ( one_one @ A ) )
           => ( ( groups7311177749621191930dd_sum @ nat @ A @ ( power_power @ A @ X ) @ ( set_ord_lessThan @ nat @ N ) )
              = ( divide_divide @ A @ ( minus_minus @ A @ ( one_one @ A ) @ ( power_power @ A @ X @ N ) ) @ ( minus_minus @ A @ ( one_one @ A ) @ X ) ) ) ) ) ) ).

% sum_gp_strict
thf(fact_3264_power__diff__sumr2,axiom,
    ! [A: $tType] :
      ( ( ( monoid_mult @ A )
        & ( comm_ring @ A ) )
     => ! [X: A,N: nat,Y: A] :
          ( ( minus_minus @ A @ ( power_power @ A @ X @ N ) @ ( power_power @ A @ Y @ N ) )
          = ( times_times @ A @ ( minus_minus @ A @ X @ Y )
            @ ( groups7311177749621191930dd_sum @ nat @ A
              @ ^ [I: nat] : ( times_times @ A @ ( power_power @ A @ Y @ ( minus_minus @ nat @ N @ ( suc @ I ) ) ) @ ( power_power @ A @ X @ I ) )
              @ ( set_ord_lessThan @ nat @ N ) ) ) ) ) ).

% power_diff_sumr2
thf(fact_3265_diff__power__eq__sum,axiom,
    ! [A: $tType] :
      ( ( ( monoid_mult @ A )
        & ( comm_ring @ A ) )
     => ! [X: A,N: nat,Y: A] :
          ( ( minus_minus @ A @ ( power_power @ A @ X @ ( suc @ N ) ) @ ( power_power @ A @ Y @ ( suc @ N ) ) )
          = ( times_times @ A @ ( minus_minus @ A @ X @ Y )
            @ ( groups7311177749621191930dd_sum @ nat @ A
              @ ^ [P7: nat] : ( times_times @ A @ ( power_power @ A @ X @ P7 ) @ ( power_power @ A @ Y @ ( minus_minus @ nat @ N @ P7 ) ) )
              @ ( set_ord_lessThan @ nat @ ( suc @ N ) ) ) ) ) ) ).

% diff_power_eq_sum
thf(fact_3266_one__diff__power__eq_H,axiom,
    ! [A: $tType] :
      ( ( ( monoid_mult @ A )
        & ( comm_ring @ A ) )
     => ! [X: A,N: nat] :
          ( ( minus_minus @ A @ ( one_one @ A ) @ ( power_power @ A @ X @ N ) )
          = ( times_times @ A @ ( minus_minus @ A @ ( one_one @ A ) @ X )
            @ ( groups7311177749621191930dd_sum @ nat @ A
              @ ^ [I: nat] : ( power_power @ A @ X @ ( minus_minus @ nat @ N @ ( suc @ I ) ) )
              @ ( set_ord_lessThan @ nat @ N ) ) ) ) ) ).

% one_diff_power_eq'
thf(fact_3267_prod_Otriangle__reindex__eq,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [G3: nat > nat > A,N: nat] :
          ( ( groups7121269368397514597t_prod @ ( product_prod @ nat @ nat ) @ A @ ( product_case_prod @ nat @ nat @ A @ G3 )
            @ ( collect @ ( product_prod @ nat @ nat )
              @ ( product_case_prod @ nat @ nat @ $o
                @ ^ [I: nat,J: nat] : ( ord_less_eq @ nat @ ( plus_plus @ nat @ I @ J ) @ N ) ) ) )
          = ( groups7121269368397514597t_prod @ nat @ A
            @ ^ [K3: nat] :
                ( groups7121269368397514597t_prod @ nat @ A
                @ ^ [I: nat] : ( G3 @ I @ ( minus_minus @ nat @ K3 @ I ) )
                @ ( set_ord_atMost @ nat @ K3 ) )
            @ ( set_ord_atMost @ nat @ N ) ) ) ) ).

% prod.triangle_reindex_eq
thf(fact_3268_prod__decode__aux_Oelims,axiom,
    ! [X: nat,Xa: nat,Y: product_prod @ nat @ nat] :
      ( ( ( nat_prod_decode_aux @ X @ Xa )
        = Y )
     => ( ( ( ord_less_eq @ nat @ Xa @ X )
         => ( Y
            = ( product_Pair @ nat @ nat @ Xa @ ( minus_minus @ nat @ X @ Xa ) ) ) )
        & ( ~ ( ord_less_eq @ nat @ Xa @ X )
         => ( Y
            = ( nat_prod_decode_aux @ ( suc @ X ) @ ( minus_minus @ nat @ Xa @ ( suc @ X ) ) ) ) ) ) ) ).

% prod_decode_aux.elims
thf(fact_3269_prod__decode__aux_Opelims,axiom,
    ! [X: nat,Xa: nat,Y: product_prod @ nat @ nat] :
      ( ( ( nat_prod_decode_aux @ X @ Xa )
        = Y )
     => ( ( accp @ ( product_prod @ nat @ nat ) @ nat_pr5047031295181774490ux_rel @ ( product_Pair @ nat @ nat @ X @ Xa ) )
       => ~ ( ( ( ( ord_less_eq @ nat @ Xa @ X )
               => ( Y
                  = ( product_Pair @ nat @ nat @ Xa @ ( minus_minus @ nat @ X @ Xa ) ) ) )
              & ( ~ ( ord_less_eq @ nat @ Xa @ X )
               => ( Y
                  = ( nat_prod_decode_aux @ ( suc @ X ) @ ( minus_minus @ nat @ Xa @ ( suc @ X ) ) ) ) ) )
           => ~ ( accp @ ( product_prod @ nat @ nat ) @ nat_pr5047031295181774490ux_rel @ ( product_Pair @ nat @ nat @ X @ Xa ) ) ) ) ) ).

% prod_decode_aux.pelims
thf(fact_3270_signed__take__bit__code,axiom,
    ! [A: $tType] :
      ( ( bit_ri3973907225187159222ations @ A )
     => ( ( bit_ri4674362597316999326ke_bit @ A )
        = ( ^ [N3: nat,A7: A] : ( if @ A @ ( bit_se5641148757651400278ts_bit @ A @ ( bit_se2584673776208193580ke_bit @ A @ ( suc @ N3 ) @ A7 ) @ N3 ) @ ( plus_plus @ A @ ( bit_se2584673776208193580ke_bit @ A @ ( suc @ N3 ) @ A7 ) @ ( bit_se4730199178511100633sh_bit @ A @ ( suc @ N3 ) @ ( uminus_uminus @ A @ ( one_one @ A ) ) ) ) @ ( bit_se2584673776208193580ke_bit @ A @ ( suc @ N3 ) @ A7 ) ) ) ) ) ).

% signed_take_bit_code
thf(fact_3271_sum__zero__power_H,axiom,
    ! [A: $tType] :
      ( ( field @ A )
     => ! [A6: set @ nat,C3: nat > A,D3: nat > A] :
          ( ( ( ( finite_finite2 @ nat @ A6 )
              & ( member @ nat @ ( zero_zero @ nat ) @ A6 ) )
           => ( ( groups7311177749621191930dd_sum @ nat @ A
                @ ^ [I: nat] : ( divide_divide @ A @ ( times_times @ A @ ( C3 @ I ) @ ( power_power @ A @ ( zero_zero @ A ) @ I ) ) @ ( D3 @ I ) )
                @ A6 )
              = ( divide_divide @ A @ ( C3 @ ( zero_zero @ nat ) ) @ ( D3 @ ( zero_zero @ nat ) ) ) ) )
          & ( ~ ( ( finite_finite2 @ nat @ A6 )
                & ( member @ nat @ ( zero_zero @ nat ) @ A6 ) )
           => ( ( groups7311177749621191930dd_sum @ nat @ A
                @ ^ [I: nat] : ( divide_divide @ A @ ( times_times @ A @ ( C3 @ I ) @ ( power_power @ A @ ( zero_zero @ A ) @ I ) ) @ ( D3 @ I ) )
                @ A6 )
              = ( zero_zero @ A ) ) ) ) ) ).

% sum_zero_power'
thf(fact_3272_or__int__rec,axiom,
    ( ( bit_se1065995026697491101ons_or @ int )
    = ( ^ [K3: int,L2: int] :
          ( plus_plus @ int
          @ ( zero_neq_one_of_bool @ int
            @ ( ~ ( dvd_dvd @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ K3 )
              | ~ ( dvd_dvd @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ L2 ) ) )
          @ ( times_times @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ ( bit_se1065995026697491101ons_or @ int @ ( divide_divide @ int @ K3 @ ( numeral_numeral @ int @ ( bit0 @ one ) ) ) @ ( divide_divide @ int @ L2 @ ( numeral_numeral @ int @ ( bit0 @ one ) ) ) ) ) ) ) ) ).

% or_int_rec
thf(fact_3273_execute__of__list,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [Xs: list @ A,H: heap_ext @ product_unit] :
          ( ( heap_Time_execute @ ( array @ A ) @ ( array_of_list @ A @ Xs ) @ H )
          = ( some @ ( product_prod @ ( array @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) )
            @ ( product_case_prod @ ( array @ A ) @ ( heap_ext @ product_unit ) @ ( product_prod @ ( array @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) )
              @ ^ [R5: array @ A,H8: heap_ext @ product_unit] : ( product_Pair @ ( array @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ R5 @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ H8 @ ( plus_plus @ nat @ ( one_one @ nat ) @ ( size_size @ ( list @ A ) @ Xs ) ) ) )
              @ ( array_alloc @ A @ Xs @ H ) ) ) ) ) ).

% execute_of_list
thf(fact_3274_push__bit__nonnegative__int__iff,axiom,
    ! [N: nat,K2: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ ( bit_se4730199178511100633sh_bit @ int @ N @ K2 ) )
      = ( ord_less_eq @ int @ ( zero_zero @ int ) @ K2 ) ) ).

% push_bit_nonnegative_int_iff
thf(fact_3275_push__bit__negative__int__iff,axiom,
    ! [N: nat,K2: int] :
      ( ( ord_less @ int @ ( bit_se4730199178511100633sh_bit @ int @ N @ K2 ) @ ( zero_zero @ int ) )
      = ( ord_less @ int @ K2 @ ( zero_zero @ int ) ) ) ).

% push_bit_negative_int_iff
thf(fact_3276_push__bit__push__bit,axiom,
    ! [A: $tType] :
      ( ( bit_se359711467146920520ations @ A )
     => ! [M: nat,N: nat,A3: A] :
          ( ( bit_se4730199178511100633sh_bit @ A @ M @ ( bit_se4730199178511100633sh_bit @ A @ N @ A3 ) )
          = ( bit_se4730199178511100633sh_bit @ A @ ( plus_plus @ nat @ M @ N ) @ A3 ) ) ) ).

% push_bit_push_bit
thf(fact_3277_infinite__Icc__iff,axiom,
    ! [A: $tType] :
      ( ( dense_linorder @ A )
     => ! [A3: A,B2: A] :
          ( ( ~ ( finite_finite2 @ A @ ( set_or1337092689740270186AtMost @ A @ A3 @ B2 ) ) )
          = ( ord_less @ A @ A3 @ B2 ) ) ) ).

% infinite_Icc_iff
thf(fact_3278_infinite__Ico__iff,axiom,
    ! [A: $tType] :
      ( ( dense_linorder @ A )
     => ! [A3: A,B2: A] :
          ( ( ~ ( finite_finite2 @ A @ ( set_or7035219750837199246ssThan @ A @ A3 @ B2 ) ) )
          = ( ord_less @ A @ A3 @ B2 ) ) ) ).

% infinite_Ico_iff
thf(fact_3279_or__nonnegative__int__iff,axiom,
    ! [K2: int,L: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ ( bit_se1065995026697491101ons_or @ int @ K2 @ L ) )
      = ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ K2 )
        & ( ord_less_eq @ int @ ( zero_zero @ int ) @ L ) ) ) ).

% or_nonnegative_int_iff
thf(fact_3280_or__negative__int__iff,axiom,
    ! [K2: int,L: int] :
      ( ( ord_less @ int @ ( bit_se1065995026697491101ons_or @ int @ K2 @ L ) @ ( zero_zero @ int ) )
      = ( ( ord_less @ int @ K2 @ ( zero_zero @ int ) )
        | ( ord_less @ int @ L @ ( zero_zero @ int ) ) ) ) ).

% or_negative_int_iff
thf(fact_3281_sum_Odelta,axiom,
    ! [B: $tType,A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [S: set @ B,A3: B,B2: B > A] :
          ( ( finite_finite2 @ B @ S )
         => ( ( ( member @ B @ A3 @ S )
             => ( ( groups7311177749621191930dd_sum @ B @ A
                  @ ^ [K3: B] : ( if @ A @ ( K3 = A3 ) @ ( B2 @ K3 ) @ ( zero_zero @ A ) )
                  @ S )
                = ( B2 @ A3 ) ) )
            & ( ~ ( member @ B @ A3 @ S )
             => ( ( groups7311177749621191930dd_sum @ B @ A
                  @ ^ [K3: B] : ( if @ A @ ( K3 = A3 ) @ ( B2 @ K3 ) @ ( zero_zero @ A ) )
                  @ S )
                = ( zero_zero @ A ) ) ) ) ) ) ).

% sum.delta
thf(fact_3282_sum_Odelta_H,axiom,
    ! [B: $tType,A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [S: set @ B,A3: B,B2: B > A] :
          ( ( finite_finite2 @ B @ S )
         => ( ( ( member @ B @ A3 @ S )
             => ( ( groups7311177749621191930dd_sum @ B @ A
                  @ ^ [K3: B] : ( if @ A @ ( A3 = K3 ) @ ( B2 @ K3 ) @ ( zero_zero @ A ) )
                  @ S )
                = ( B2 @ A3 ) ) )
            & ( ~ ( member @ B @ A3 @ S )
             => ( ( groups7311177749621191930dd_sum @ B @ A
                  @ ^ [K3: B] : ( if @ A @ ( A3 = K3 ) @ ( B2 @ K3 ) @ ( zero_zero @ A ) )
                  @ S )
                = ( zero_zero @ A ) ) ) ) ) ) ).

% sum.delta'
thf(fact_3283_prod_Odelta_H,axiom,
    ! [B: $tType,A: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [S: set @ B,A3: B,B2: B > A] :
          ( ( finite_finite2 @ B @ S )
         => ( ( ( member @ B @ A3 @ S )
             => ( ( groups7121269368397514597t_prod @ B @ A
                  @ ^ [K3: B] : ( if @ A @ ( A3 = K3 ) @ ( B2 @ K3 ) @ ( one_one @ A ) )
                  @ S )
                = ( B2 @ A3 ) ) )
            & ( ~ ( member @ B @ A3 @ S )
             => ( ( groups7121269368397514597t_prod @ B @ A
                  @ ^ [K3: B] : ( if @ A @ ( A3 = K3 ) @ ( B2 @ K3 ) @ ( one_one @ A ) )
                  @ S )
                = ( one_one @ A ) ) ) ) ) ) ).

% prod.delta'
thf(fact_3284_prod_Odelta,axiom,
    ! [B: $tType,A: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [S: set @ B,A3: B,B2: B > A] :
          ( ( finite_finite2 @ B @ S )
         => ( ( ( member @ B @ A3 @ S )
             => ( ( groups7121269368397514597t_prod @ B @ A
                  @ ^ [K3: B] : ( if @ A @ ( K3 = A3 ) @ ( B2 @ K3 ) @ ( one_one @ A ) )
                  @ S )
                = ( B2 @ A3 ) ) )
            & ( ~ ( member @ B @ A3 @ S )
             => ( ( groups7121269368397514597t_prod @ B @ A
                  @ ^ [K3: B] : ( if @ A @ ( K3 = A3 ) @ ( B2 @ K3 ) @ ( one_one @ A ) )
                  @ S )
                = ( one_one @ A ) ) ) ) ) ) ).

% prod.delta
thf(fact_3285_sum_Oinsert,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [A6: set @ B,X: B,G3: B > A] :
          ( ( finite_finite2 @ B @ A6 )
         => ( ~ ( member @ B @ X @ A6 )
           => ( ( groups7311177749621191930dd_sum @ B @ A @ G3 @ ( insert @ B @ X @ A6 ) )
              = ( plus_plus @ A @ ( G3 @ X ) @ ( groups7311177749621191930dd_sum @ B @ A @ G3 @ A6 ) ) ) ) ) ) ).

% sum.insert
thf(fact_3286_prod__pos__nat__iff,axiom,
    ! [A: $tType,A6: set @ A,F3: A > nat] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( ord_less @ nat @ ( zero_zero @ nat ) @ ( groups7121269368397514597t_prod @ A @ nat @ F3 @ A6 ) )
        = ( ! [X4: A] :
              ( ( member @ A @ X4 @ A6 )
             => ( ord_less @ nat @ ( zero_zero @ nat ) @ ( F3 @ X4 ) ) ) ) ) ) ).

% prod_pos_nat_iff
thf(fact_3287_sum__of__bool__mult__eq,axiom,
    ! [A: $tType,B: $tType] :
      ( ( semiring_1 @ A )
     => ! [A6: set @ B,P2: B > $o,F3: B > A] :
          ( ( finite_finite2 @ B @ A6 )
         => ( ( groups7311177749621191930dd_sum @ B @ A
              @ ^ [X4: B] : ( times_times @ A @ ( zero_neq_one_of_bool @ A @ ( P2 @ X4 ) ) @ ( F3 @ X4 ) )
              @ A6 )
            = ( groups7311177749621191930dd_sum @ B @ A @ F3 @ ( inf_inf @ ( set @ B ) @ A6 @ ( collect @ B @ P2 ) ) ) ) ) ) ).

% sum_of_bool_mult_eq
thf(fact_3288_sum__mult__of__bool__eq,axiom,
    ! [A: $tType,B: $tType] :
      ( ( semiring_1 @ A )
     => ! [A6: set @ B,F3: B > A,P2: B > $o] :
          ( ( finite_finite2 @ B @ A6 )
         => ( ( groups7311177749621191930dd_sum @ B @ A
              @ ^ [X4: B] : ( times_times @ A @ ( F3 @ X4 ) @ ( zero_neq_one_of_bool @ A @ ( P2 @ X4 ) ) )
              @ A6 )
            = ( groups7311177749621191930dd_sum @ B @ A @ F3 @ ( inf_inf @ ( set @ B ) @ A6 @ ( collect @ B @ P2 ) ) ) ) ) ) ).

% sum_mult_of_bool_eq
thf(fact_3289_sum__zero__power,axiom,
    ! [A: $tType] :
      ( ( division_ring @ A )
     => ! [A6: set @ nat,C3: nat > A] :
          ( ( ( ( finite_finite2 @ nat @ A6 )
              & ( member @ nat @ ( zero_zero @ nat ) @ A6 ) )
           => ( ( groups7311177749621191930dd_sum @ nat @ A
                @ ^ [I: nat] : ( times_times @ A @ ( C3 @ I ) @ ( power_power @ A @ ( zero_zero @ A ) @ I ) )
                @ A6 )
              = ( C3 @ ( zero_zero @ nat ) ) ) )
          & ( ~ ( ( finite_finite2 @ nat @ A6 )
                & ( member @ nat @ ( zero_zero @ nat ) @ A6 ) )
           => ( ( groups7311177749621191930dd_sum @ nat @ A
                @ ^ [I: nat] : ( times_times @ A @ ( C3 @ I ) @ ( power_power @ A @ ( zero_zero @ A ) @ I ) )
                @ A6 )
              = ( zero_zero @ A ) ) ) ) ) ).

% sum_zero_power
thf(fact_3290_or__numerals_I4_J,axiom,
    ! [A: $tType] :
      ( ( bit_un5681908812861735899ations @ A )
     => ! [X: num,Y: num] :
          ( ( bit_se1065995026697491101ons_or @ A @ ( numeral_numeral @ A @ ( bit0 @ X ) ) @ ( numeral_numeral @ A @ ( bit1 @ Y ) ) )
          = ( plus_plus @ A @ ( one_one @ A ) @ ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ ( bit_se1065995026697491101ons_or @ A @ ( numeral_numeral @ A @ X ) @ ( numeral_numeral @ A @ Y ) ) ) ) ) ) ).

% or_numerals(4)
thf(fact_3291_or__numerals_I6_J,axiom,
    ! [A: $tType] :
      ( ( bit_un5681908812861735899ations @ A )
     => ! [X: num,Y: num] :
          ( ( bit_se1065995026697491101ons_or @ A @ ( numeral_numeral @ A @ ( bit1 @ X ) ) @ ( numeral_numeral @ A @ ( bit0 @ Y ) ) )
          = ( plus_plus @ A @ ( one_one @ A ) @ ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ ( bit_se1065995026697491101ons_or @ A @ ( numeral_numeral @ A @ X ) @ ( numeral_numeral @ A @ Y ) ) ) ) ) ) ).

% or_numerals(6)
thf(fact_3292_or__numerals_I7_J,axiom,
    ! [A: $tType] :
      ( ( bit_un5681908812861735899ations @ A )
     => ! [X: num,Y: num] :
          ( ( bit_se1065995026697491101ons_or @ A @ ( numeral_numeral @ A @ ( bit1 @ X ) ) @ ( numeral_numeral @ A @ ( bit1 @ Y ) ) )
          = ( plus_plus @ A @ ( one_one @ A ) @ ( times_times @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ ( bit_se1065995026697491101ons_or @ A @ ( numeral_numeral @ A @ X ) @ ( numeral_numeral @ A @ Y ) ) ) ) ) ) ).

% or_numerals(7)
thf(fact_3293_bounded__nat__set__is__finite,axiom,
    ! [N7: set @ nat,N: nat] :
      ( ! [X3: nat] :
          ( ( member @ nat @ X3 @ N7 )
         => ( ord_less @ nat @ X3 @ N ) )
     => ( finite_finite2 @ nat @ N7 ) ) ).

% bounded_nat_set_is_finite
thf(fact_3294_finite__nat__set__iff__bounded,axiom,
    ( ( finite_finite2 @ nat )
    = ( ^ [N8: set @ nat] :
        ? [M3: nat] :
        ! [X4: nat] :
          ( ( member @ nat @ X4 @ N8 )
         => ( ord_less @ nat @ X4 @ M3 ) ) ) ) ).

% finite_nat_set_iff_bounded
thf(fact_3295_push__bit__add,axiom,
    ! [A: $tType] :
      ( ( bit_se359711467146920520ations @ A )
     => ! [N: nat,A3: A,B2: A] :
          ( ( bit_se4730199178511100633sh_bit @ A @ N @ ( plus_plus @ A @ A3 @ B2 ) )
          = ( plus_plus @ A @ ( bit_se4730199178511100633sh_bit @ A @ N @ A3 ) @ ( bit_se4730199178511100633sh_bit @ A @ N @ B2 ) ) ) ) ).

% push_bit_add
thf(fact_3296_finite__if__eq__beyond__finite,axiom,
    ! [A: $tType,S: set @ A,S3: set @ A] :
      ( ( finite_finite2 @ A @ S )
     => ( finite_finite2 @ ( set @ A )
        @ ( collect @ ( set @ A )
          @ ^ [S5: set @ A] :
              ( ( minus_minus @ ( set @ A ) @ S5 @ S )
              = ( minus_minus @ ( set @ A ) @ S3 @ S ) ) ) ) ) ).

% finite_if_eq_beyond_finite
thf(fact_3297_finite__nat__set__iff__bounded__le,axiom,
    ( ( finite_finite2 @ nat )
    = ( ^ [N8: set @ nat] :
        ? [M3: nat] :
        ! [X4: nat] :
          ( ( member @ nat @ X4 @ N8 )
         => ( ord_less_eq @ nat @ X4 @ M3 ) ) ) ) ).

% finite_nat_set_iff_bounded_le
thf(fact_3298_finite__M__bounded__by__nat,axiom,
    ! [P2: nat > $o,I2: nat] :
      ( finite_finite2 @ nat
      @ ( collect @ nat
        @ ^ [K3: nat] :
            ( ( P2 @ K3 )
            & ( ord_less @ nat @ K3 @ I2 ) ) ) ) ).

% finite_M_bounded_by_nat
thf(fact_3299_finite__less__ub,axiom,
    ! [F3: nat > nat,U: nat] :
      ( ! [N4: nat] : ( ord_less_eq @ nat @ N4 @ ( F3 @ N4 ) )
     => ( finite_finite2 @ nat
        @ ( collect @ nat
          @ ^ [N3: nat] : ( ord_less_eq @ nat @ ( F3 @ N3 ) @ U ) ) ) ) ).

% finite_less_ub
thf(fact_3300_sum_Oswap__restrict,axiom,
    ! [A: $tType,B: $tType,C: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [A6: set @ B,B6: set @ C,G3: B > C > A,R4: B > C > $o] :
          ( ( finite_finite2 @ B @ A6 )
         => ( ( finite_finite2 @ C @ B6 )
           => ( ( groups7311177749621191930dd_sum @ B @ A
                @ ^ [X4: B] :
                    ( groups7311177749621191930dd_sum @ C @ A @ ( G3 @ X4 )
                    @ ( collect @ C
                      @ ^ [Y4: C] :
                          ( ( member @ C @ Y4 @ B6 )
                          & ( R4 @ X4 @ Y4 ) ) ) )
                @ A6 )
              = ( groups7311177749621191930dd_sum @ C @ A
                @ ^ [Y4: C] :
                    ( groups7311177749621191930dd_sum @ B @ A
                    @ ^ [X4: B] : ( G3 @ X4 @ Y4 )
                    @ ( collect @ B
                      @ ^ [X4: B] :
                          ( ( member @ B @ X4 @ A6 )
                          & ( R4 @ X4 @ Y4 ) ) ) )
                @ B6 ) ) ) ) ) ).

% sum.swap_restrict
thf(fact_3301_prod_Oswap__restrict,axiom,
    ! [A: $tType,B: $tType,C: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [A6: set @ B,B6: set @ C,G3: B > C > A,R4: B > C > $o] :
          ( ( finite_finite2 @ B @ A6 )
         => ( ( finite_finite2 @ C @ B6 )
           => ( ( groups7121269368397514597t_prod @ B @ A
                @ ^ [X4: B] :
                    ( groups7121269368397514597t_prod @ C @ A @ ( G3 @ X4 )
                    @ ( collect @ C
                      @ ^ [Y4: C] :
                          ( ( member @ C @ Y4 @ B6 )
                          & ( R4 @ X4 @ Y4 ) ) ) )
                @ A6 )
              = ( groups7121269368397514597t_prod @ C @ A
                @ ^ [Y4: C] :
                    ( groups7121269368397514597t_prod @ B @ A
                    @ ^ [X4: B] : ( G3 @ X4 @ Y4 )
                    @ ( collect @ B
                      @ ^ [X4: B] :
                          ( ( member @ B @ X4 @ A6 )
                          & ( R4 @ X4 @ Y4 ) ) ) )
                @ B6 ) ) ) ) ) ).

% prod.swap_restrict
thf(fact_3302_OR__lower,axiom,
    ! [X: int,Y: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ X )
     => ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ Y )
       => ( ord_less_eq @ int @ ( zero_zero @ int ) @ ( bit_se1065995026697491101ons_or @ int @ X @ Y ) ) ) ) ).

% OR_lower
thf(fact_3303_or__greater__eq,axiom,
    ! [L: int,K2: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ L )
     => ( ord_less_eq @ int @ K2 @ ( bit_se1065995026697491101ons_or @ int @ K2 @ L ) ) ) ).

% or_greater_eq
thf(fact_3304_disjunctive__add,axiom,
    ! [A: $tType] :
      ( ( bit_se359711467146920520ations @ A )
     => ! [A3: A,B2: A] :
          ( ! [N4: nat] :
              ( ~ ( bit_se5641148757651400278ts_bit @ A @ A3 @ N4 )
              | ~ ( bit_se5641148757651400278ts_bit @ A @ B2 @ N4 ) )
         => ( ( plus_plus @ A @ A3 @ B2 )
            = ( bit_se1065995026697491101ons_or @ A @ A3 @ B2 ) ) ) ) ).

% disjunctive_add
thf(fact_3305_infinite__growing,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [X7: set @ A] :
          ( ( X7
           != ( bot_bot @ ( set @ A ) ) )
         => ( ! [X3: A] :
                ( ( member @ A @ X3 @ X7 )
               => ? [Xa3: A] :
                    ( ( member @ A @ Xa3 @ X7 )
                    & ( ord_less @ A @ X3 @ Xa3 ) ) )
           => ~ ( finite_finite2 @ A @ X7 ) ) ) ) ).

% infinite_growing
thf(fact_3306_ex__min__if__finite,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [S: set @ A] :
          ( ( finite_finite2 @ A @ S )
         => ( ( S
             != ( bot_bot @ ( set @ A ) ) )
           => ? [X3: A] :
                ( ( member @ A @ X3 @ S )
                & ~ ? [Xa3: A] :
                      ( ( member @ A @ Xa3 @ S )
                      & ( ord_less @ A @ Xa3 @ X3 ) ) ) ) ) ) ).

% ex_min_if_finite
thf(fact_3307_plus__and__or,axiom,
    ! [X: int,Y: int] :
      ( ( plus_plus @ int @ ( bit_se5824344872417868541ns_and @ int @ X @ Y ) @ ( bit_se1065995026697491101ons_or @ int @ X @ Y ) )
      = ( plus_plus @ int @ X @ Y ) ) ).

% plus_and_or
thf(fact_3308_sum__mono__inv,axiom,
    ! [A: $tType,I6: $tType] :
      ( ( ordere8940638589300402666id_add @ A )
     => ! [F3: I6 > A,I5: set @ I6,G3: I6 > A,I2: I6] :
          ( ( ( groups7311177749621191930dd_sum @ I6 @ A @ F3 @ I5 )
            = ( groups7311177749621191930dd_sum @ I6 @ A @ G3 @ I5 ) )
         => ( ! [I3: I6] :
                ( ( member @ I6 @ I3 @ I5 )
               => ( ord_less_eq @ A @ ( F3 @ I3 ) @ ( G3 @ I3 ) ) )
           => ( ( member @ I6 @ I2 @ I5 )
             => ( ( finite_finite2 @ I6 @ I5 )
               => ( ( F3 @ I2 )
                  = ( G3 @ I2 ) ) ) ) ) ) ) ).

% sum_mono_inv
thf(fact_3309_infinite__Icc,axiom,
    ! [A: $tType] :
      ( ( dense_linorder @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ~ ( finite_finite2 @ A @ ( set_or1337092689740270186AtMost @ A @ A3 @ B2 ) ) ) ) ).

% infinite_Icc
thf(fact_3310_infinite__Ico,axiom,
    ! [A: $tType] :
      ( ( dense_linorder @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ~ ( finite_finite2 @ A @ ( set_or7035219750837199246ssThan @ A @ A3 @ B2 ) ) ) ) ).

% infinite_Ico
thf(fact_3311_push__bit__take__bit,axiom,
    ! [A: $tType] :
      ( ( bit_se359711467146920520ations @ A )
     => ! [M: nat,N: nat,A3: A] :
          ( ( bit_se4730199178511100633sh_bit @ A @ M @ ( bit_se2584673776208193580ke_bit @ A @ N @ A3 ) )
          = ( bit_se2584673776208193580ke_bit @ A @ ( plus_plus @ nat @ M @ N ) @ ( bit_se4730199178511100633sh_bit @ A @ M @ A3 ) ) ) ) ).

% push_bit_take_bit
thf(fact_3312_sum_Ofinite__Collect__op,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [I5: set @ B,X: B > A,Y: B > A] :
          ( ( finite_finite2 @ B
            @ ( collect @ B
              @ ^ [I: B] :
                  ( ( member @ B @ I @ I5 )
                  & ( ( X @ I )
                   != ( zero_zero @ A ) ) ) ) )
         => ( ( finite_finite2 @ B
              @ ( collect @ B
                @ ^ [I: B] :
                    ( ( member @ B @ I @ I5 )
                    & ( ( Y @ I )
                     != ( zero_zero @ A ) ) ) ) )
           => ( finite_finite2 @ B
              @ ( collect @ B
                @ ^ [I: B] :
                    ( ( member @ B @ I @ I5 )
                    & ( ( plus_plus @ A @ ( X @ I ) @ ( Y @ I ) )
                     != ( zero_zero @ A ) ) ) ) ) ) ) ) ).

% sum.finite_Collect_op
thf(fact_3313_prod_Ofinite__Collect__op,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [I5: set @ B,X: B > A,Y: B > A] :
          ( ( finite_finite2 @ B
            @ ( collect @ B
              @ ^ [I: B] :
                  ( ( member @ B @ I @ I5 )
                  & ( ( X @ I )
                   != ( one_one @ A ) ) ) ) )
         => ( ( finite_finite2 @ B
              @ ( collect @ B
                @ ^ [I: B] :
                    ( ( member @ B @ I @ I5 )
                    & ( ( Y @ I )
                     != ( one_one @ A ) ) ) ) )
           => ( finite_finite2 @ B
              @ ( collect @ B
                @ ^ [I: B] :
                    ( ( member @ B @ I @ I5 )
                    & ( ( times_times @ A @ ( X @ I ) @ ( Y @ I ) )
                     != ( one_one @ A ) ) ) ) ) ) ) ) ).

% prod.finite_Collect_op
thf(fact_3314_sum_Ointer__filter,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [A6: set @ B,G3: B > A,P2: B > $o] :
          ( ( finite_finite2 @ B @ A6 )
         => ( ( groups7311177749621191930dd_sum @ B @ A @ G3
              @ ( collect @ B
                @ ^ [X4: B] :
                    ( ( member @ B @ X4 @ A6 )
                    & ( P2 @ X4 ) ) ) )
            = ( groups7311177749621191930dd_sum @ B @ A
              @ ^ [X4: B] : ( if @ A @ ( P2 @ X4 ) @ ( G3 @ X4 ) @ ( zero_zero @ A ) )
              @ A6 ) ) ) ) ).

% sum.inter_filter
thf(fact_3315_filter__preserves__multiset,axiom,
    ! [A: $tType,M6: A > nat,P2: A > $o] :
      ( ( finite_finite2 @ A
        @ ( collect @ A
          @ ^ [X4: A] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( M6 @ X4 ) ) ) )
     => ( finite_finite2 @ A
        @ ( collect @ A
          @ ^ [X4: A] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( if @ nat @ ( P2 @ X4 ) @ ( M6 @ X4 ) @ ( zero_zero @ nat ) ) ) ) ) ) ).

% filter_preserves_multiset
thf(fact_3316_prod_Ointer__filter,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [A6: set @ B,G3: B > A,P2: B > $o] :
          ( ( finite_finite2 @ B @ A6 )
         => ( ( groups7121269368397514597t_prod @ B @ A @ G3
              @ ( collect @ B
                @ ^ [X4: B] :
                    ( ( member @ B @ X4 @ A6 )
                    & ( P2 @ X4 ) ) ) )
            = ( groups7121269368397514597t_prod @ B @ A
              @ ^ [X4: B] : ( if @ A @ ( P2 @ X4 ) @ ( G3 @ X4 ) @ ( one_one @ A ) )
              @ A6 ) ) ) ) ).

% prod.inter_filter
thf(fact_3317_finite__int__segment,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [A3: A,B2: A] :
          ( finite_finite2 @ A
          @ ( collect @ A
            @ ^ [X4: A] :
                ( ( member @ A @ X4 @ ( ring_1_Ints @ A ) )
                & ( ord_less_eq @ A @ A3 @ X4 )
                & ( ord_less_eq @ A @ X4 @ B2 ) ) ) ) ) ).

% finite_int_segment
thf(fact_3318_sum__nonneg__eq__0__iff,axiom,
    ! [A: $tType,B: $tType] :
      ( ( ordere6911136660526730532id_add @ A )
     => ! [A6: set @ B,F3: B > A] :
          ( ( finite_finite2 @ B @ A6 )
         => ( ! [X3: B] :
                ( ( member @ B @ X3 @ A6 )
               => ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( F3 @ X3 ) ) )
           => ( ( ( groups7311177749621191930dd_sum @ B @ A @ F3 @ A6 )
                = ( zero_zero @ A ) )
              = ( ! [X4: B] :
                    ( ( member @ B @ X4 @ A6 )
                   => ( ( F3 @ X4 )
                      = ( zero_zero @ A ) ) ) ) ) ) ) ) ).

% sum_nonneg_eq_0_iff
thf(fact_3319_sum__le__included,axiom,
    ! [B: $tType,A: $tType,C: $tType] :
      ( ( ordere6911136660526730532id_add @ A )
     => ! [S2: set @ B,T5: set @ C,G3: C > A,I2: C > B,F3: B > A] :
          ( ( finite_finite2 @ B @ S2 )
         => ( ( finite_finite2 @ C @ T5 )
           => ( ! [X3: C] :
                  ( ( member @ C @ X3 @ T5 )
                 => ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( G3 @ X3 ) ) )
             => ( ! [X3: B] :
                    ( ( member @ B @ X3 @ S2 )
                   => ? [Xa3: C] :
                        ( ( member @ C @ Xa3 @ T5 )
                        & ( ( I2 @ Xa3 )
                          = X3 )
                        & ( ord_less_eq @ A @ ( F3 @ X3 ) @ ( G3 @ Xa3 ) ) ) )
               => ( ord_less_eq @ A @ ( groups7311177749621191930dd_sum @ B @ A @ F3 @ S2 ) @ ( groups7311177749621191930dd_sum @ C @ A @ G3 @ T5 ) ) ) ) ) ) ) ).

% sum_le_included
thf(fact_3320_finite__ranking__induct,axiom,
    ! [A: $tType,B: $tType] :
      ( ( linorder @ A )
     => ! [S: set @ B,P2: ( set @ B ) > $o,F3: B > A] :
          ( ( finite_finite2 @ B @ S )
         => ( ( P2 @ ( bot_bot @ ( set @ B ) ) )
           => ( ! [X3: B,S8: set @ B] :
                  ( ( finite_finite2 @ B @ S8 )
                 => ( ! [Y5: B] :
                        ( ( member @ B @ Y5 @ S8 )
                       => ( ord_less_eq @ A @ ( F3 @ Y5 ) @ ( F3 @ X3 ) ) )
                   => ( ( P2 @ S8 )
                     => ( P2 @ ( insert @ B @ X3 @ S8 ) ) ) ) )
             => ( P2 @ S ) ) ) ) ) ).

% finite_ranking_induct
thf(fact_3321_sum__strict__mono__ex1,axiom,
    ! [A: $tType,I6: $tType] :
      ( ( ordere8940638589300402666id_add @ A )
     => ! [A6: set @ I6,F3: I6 > A,G3: I6 > A] :
          ( ( finite_finite2 @ I6 @ A6 )
         => ( ! [X3: I6] :
                ( ( member @ I6 @ X3 @ A6 )
               => ( ord_less_eq @ A @ ( F3 @ X3 ) @ ( G3 @ X3 ) ) )
           => ( ? [X6: I6] :
                  ( ( member @ I6 @ X6 @ A6 )
                  & ( ord_less @ A @ ( F3 @ X6 ) @ ( G3 @ X6 ) ) )
             => ( ord_less @ A @ ( groups7311177749621191930dd_sum @ I6 @ A @ F3 @ A6 ) @ ( groups7311177749621191930dd_sum @ I6 @ A @ G3 @ A6 ) ) ) ) ) ) ).

% sum_strict_mono_ex1
thf(fact_3322_finite__linorder__max__induct,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,P2: ( set @ A ) > $o] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( P2 @ ( bot_bot @ ( set @ A ) ) )
           => ( ! [B4: A,A13: set @ A] :
                  ( ( finite_finite2 @ A @ A13 )
                 => ( ! [X6: A] :
                        ( ( member @ A @ X6 @ A13 )
                       => ( ord_less @ A @ X6 @ B4 ) )
                   => ( ( P2 @ A13 )
                     => ( P2 @ ( insert @ A @ B4 @ A13 ) ) ) ) )
             => ( P2 @ A6 ) ) ) ) ) ).

% finite_linorder_max_induct
thf(fact_3323_finite__linorder__min__induct,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,P2: ( set @ A ) > $o] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( P2 @ ( bot_bot @ ( set @ A ) ) )
           => ( ! [B4: A,A13: set @ A] :
                  ( ( finite_finite2 @ A @ A13 )
                 => ( ! [X6: A] :
                        ( ( member @ A @ X6 @ A13 )
                       => ( ord_less @ A @ B4 @ X6 ) )
                   => ( ( P2 @ A13 )
                     => ( P2 @ ( insert @ A @ B4 @ A13 ) ) ) ) )
             => ( P2 @ A6 ) ) ) ) ) ).

% finite_linorder_min_induct
thf(fact_3324_sum_Orelated,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [R4: A > A > $o,S: set @ B,H: B > A,G3: B > A] :
          ( ( R4 @ ( zero_zero @ A ) @ ( zero_zero @ A ) )
         => ( ! [X13: A,Y12: A,X22: A,Y22: A] :
                ( ( ( R4 @ X13 @ X22 )
                  & ( R4 @ Y12 @ Y22 ) )
               => ( R4 @ ( plus_plus @ A @ X13 @ Y12 ) @ ( plus_plus @ A @ X22 @ Y22 ) ) )
           => ( ( finite_finite2 @ B @ S )
             => ( ! [X3: B] :
                    ( ( member @ B @ X3 @ S )
                   => ( R4 @ ( H @ X3 ) @ ( G3 @ X3 ) ) )
               => ( R4 @ ( groups7311177749621191930dd_sum @ B @ A @ H @ S ) @ ( groups7311177749621191930dd_sum @ B @ A @ G3 @ S ) ) ) ) ) ) ) ).

% sum.related
thf(fact_3325_sum__strict__mono,axiom,
    ! [A: $tType,B: $tType] :
      ( ( strict7427464778891057005id_add @ A )
     => ! [A6: set @ B,F3: B > A,G3: B > A] :
          ( ( finite_finite2 @ B @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ B ) ) )
           => ( ! [X3: B] :
                  ( ( member @ B @ X3 @ A6 )
                 => ( ord_less @ A @ ( F3 @ X3 ) @ ( G3 @ X3 ) ) )
             => ( ord_less @ A @ ( groups7311177749621191930dd_sum @ B @ A @ F3 @ A6 ) @ ( groups7311177749621191930dd_sum @ B @ A @ G3 @ A6 ) ) ) ) ) ) ).

% sum_strict_mono
thf(fact_3326_sum_Oinsert__if,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [A6: set @ B,X: B,G3: B > A] :
          ( ( finite_finite2 @ B @ A6 )
         => ( ( ( member @ B @ X @ A6 )
             => ( ( groups7311177749621191930dd_sum @ B @ A @ G3 @ ( insert @ B @ X @ A6 ) )
                = ( groups7311177749621191930dd_sum @ B @ A @ G3 @ A6 ) ) )
            & ( ~ ( member @ B @ X @ A6 )
             => ( ( groups7311177749621191930dd_sum @ B @ A @ G3 @ ( insert @ B @ X @ A6 ) )
                = ( plus_plus @ A @ ( G3 @ X ) @ ( groups7311177749621191930dd_sum @ B @ A @ G3 @ A6 ) ) ) ) ) ) ) ).

% sum.insert_if
thf(fact_3327_bit__push__bit__iff__int,axiom,
    ! [M: nat,K2: int,N: nat] :
      ( ( bit_se5641148757651400278ts_bit @ int @ ( bit_se4730199178511100633sh_bit @ int @ M @ K2 ) @ N )
      = ( ( ord_less_eq @ nat @ M @ N )
        & ( bit_se5641148757651400278ts_bit @ int @ K2 @ ( minus_minus @ nat @ N @ M ) ) ) ) ).

% bit_push_bit_iff_int
thf(fact_3328_prod__dvd__prod__subset,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [B6: set @ B,A6: set @ B,F3: B > A] :
          ( ( finite_finite2 @ B @ B6 )
         => ( ( ord_less_eq @ ( set @ B ) @ A6 @ B6 )
           => ( dvd_dvd @ A @ ( groups7121269368397514597t_prod @ B @ A @ F3 @ A6 ) @ ( groups7121269368397514597t_prod @ B @ A @ F3 @ B6 ) ) ) ) ) ).

% prod_dvd_prod_subset
thf(fact_3329_prod__dvd__prod__subset2,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_semiring_1 @ A )
     => ! [B6: set @ B,A6: set @ B,F3: B > A,G3: B > A] :
          ( ( finite_finite2 @ B @ B6 )
         => ( ( ord_less_eq @ ( set @ B ) @ A6 @ B6 )
           => ( ! [A5: B] :
                  ( ( member @ B @ A5 @ A6 )
                 => ( dvd_dvd @ A @ ( F3 @ A5 ) @ ( G3 @ A5 ) ) )
             => ( dvd_dvd @ A @ ( groups7121269368397514597t_prod @ B @ A @ F3 @ A6 ) @ ( groups7121269368397514597t_prod @ B @ A @ G3 @ B6 ) ) ) ) ) ) ).

% prod_dvd_prod_subset2
thf(fact_3330_concat__bit__eq,axiom,
    ( bit_concat_bit
    = ( ^ [N3: nat,K3: int,L2: int] : ( plus_plus @ int @ ( bit_se2584673776208193580ke_bit @ int @ N3 @ K3 ) @ ( bit_se4730199178511100633sh_bit @ int @ N3 @ L2 ) ) ) ) ).

% concat_bit_eq
thf(fact_3331_bit__push__bit__iff__nat,axiom,
    ! [M: nat,Q6: nat,N: nat] :
      ( ( bit_se5641148757651400278ts_bit @ nat @ ( bit_se4730199178511100633sh_bit @ nat @ M @ Q6 ) @ N )
      = ( ( ord_less_eq @ nat @ M @ N )
        & ( bit_se5641148757651400278ts_bit @ nat @ Q6 @ ( minus_minus @ nat @ N @ M ) ) ) ) ).

% bit_push_bit_iff_nat
thf(fact_3332_sum__nonneg__leq__bound,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ordere6911136660526730532id_add @ A )
     => ! [S2: set @ B,F3: B > A,B6: A,I2: B] :
          ( ( finite_finite2 @ B @ S2 )
         => ( ! [I3: B] :
                ( ( member @ B @ I3 @ S2 )
               => ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( F3 @ I3 ) ) )
           => ( ( ( groups7311177749621191930dd_sum @ B @ A @ F3 @ S2 )
                = B6 )
             => ( ( member @ B @ I2 @ S2 )
               => ( ord_less_eq @ A @ ( F3 @ I2 ) @ B6 ) ) ) ) ) ) ).

% sum_nonneg_leq_bound
thf(fact_3333_sum__nonneg__0,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ordere6911136660526730532id_add @ A )
     => ! [S2: set @ B,F3: B > A,I2: B] :
          ( ( finite_finite2 @ B @ S2 )
         => ( ! [I3: B] :
                ( ( member @ B @ I3 @ S2 )
               => ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( F3 @ I3 ) ) )
           => ( ( ( groups7311177749621191930dd_sum @ B @ A @ F3 @ S2 )
                = ( zero_zero @ A ) )
             => ( ( member @ B @ I2 @ S2 )
               => ( ( F3 @ I2 )
                  = ( zero_zero @ A ) ) ) ) ) ) ) ).

% sum_nonneg_0
thf(fact_3334_add__mset__in__multiset,axiom,
    ! [A: $tType,M6: A > nat,A3: A] :
      ( ( finite_finite2 @ A
        @ ( collect @ A
          @ ^ [X4: A] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( M6 @ X4 ) ) ) )
     => ( finite_finite2 @ A
        @ ( collect @ A
          @ ^ [X4: A] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( if @ nat @ ( X4 = A3 ) @ ( suc @ ( M6 @ X4 ) ) @ ( M6 @ X4 ) ) ) ) ) ) ).

% add_mset_in_multiset
thf(fact_3335_sum_Ointer__restrict,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [A6: set @ B,G3: B > A,B6: set @ B] :
          ( ( finite_finite2 @ B @ A6 )
         => ( ( groups7311177749621191930dd_sum @ B @ A @ G3 @ ( inf_inf @ ( set @ B ) @ A6 @ B6 ) )
            = ( groups7311177749621191930dd_sum @ B @ A
              @ ^ [X4: B] : ( if @ A @ ( member @ B @ X4 @ B6 ) @ ( G3 @ X4 ) @ ( zero_zero @ A ) )
              @ A6 ) ) ) ) ).

% sum.inter_restrict
thf(fact_3336_sum_Osetdiff__irrelevant,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [A6: set @ B,G3: B > A] :
          ( ( finite_finite2 @ B @ A6 )
         => ( ( groups7311177749621191930dd_sum @ B @ A @ G3
              @ ( minus_minus @ ( set @ B ) @ A6
                @ ( collect @ B
                  @ ^ [X4: B] :
                      ( ( G3 @ X4 )
                      = ( zero_zero @ A ) ) ) ) )
            = ( groups7311177749621191930dd_sum @ B @ A @ G3 @ A6 ) ) ) ) ).

% sum.setdiff_irrelevant
thf(fact_3337_diff__preserves__multiset,axiom,
    ! [A: $tType,M6: A > nat,N7: A > nat] :
      ( ( finite_finite2 @ A
        @ ( collect @ A
          @ ^ [X4: A] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( M6 @ X4 ) ) ) )
     => ( finite_finite2 @ A
        @ ( collect @ A
          @ ^ [X4: A] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( minus_minus @ nat @ ( M6 @ X4 ) @ ( N7 @ X4 ) ) ) ) ) ) ).

% diff_preserves_multiset
thf(fact_3338_prod_Ointer__restrict,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [A6: set @ B,G3: B > A,B6: set @ B] :
          ( ( finite_finite2 @ B @ A6 )
         => ( ( groups7121269368397514597t_prod @ B @ A @ G3 @ ( inf_inf @ ( set @ B ) @ A6 @ B6 ) )
            = ( groups7121269368397514597t_prod @ B @ A
              @ ^ [X4: B] : ( if @ A @ ( member @ B @ X4 @ B6 ) @ ( G3 @ X4 ) @ ( one_one @ A ) )
              @ A6 ) ) ) ) ).

% prod.inter_restrict
thf(fact_3339_prod_Osetdiff__irrelevant,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [A6: set @ B,G3: B > A] :
          ( ( finite_finite2 @ B @ A6 )
         => ( ( groups7121269368397514597t_prod @ B @ A @ G3
              @ ( minus_minus @ ( set @ B ) @ A6
                @ ( collect @ B
                  @ ^ [X4: B] :
                      ( ( G3 @ X4 )
                      = ( one_one @ A ) ) ) ) )
            = ( groups7121269368397514597t_prod @ B @ A @ G3 @ A6 ) ) ) ) ).

% prod.setdiff_irrelevant
thf(fact_3340_finite__divisors__nat,axiom,
    ! [M: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ M )
     => ( finite_finite2 @ nat
        @ ( collect @ nat
          @ ^ [D6: nat] : ( dvd_dvd @ nat @ D6 @ M ) ) ) ) ).

% finite_divisors_nat
thf(fact_3341_subset__eq__atLeast0__atMost__finite,axiom,
    ! [N7: set @ nat,N: nat] :
      ( ( ord_less_eq @ ( set @ nat ) @ N7 @ ( set_or1337092689740270186AtMost @ nat @ ( zero_zero @ nat ) @ N ) )
     => ( finite_finite2 @ nat @ N7 ) ) ).

% subset_eq_atLeast0_atMost_finite
thf(fact_3342_subset__eq__atLeast0__lessThan__finite,axiom,
    ! [N7: set @ nat,N: nat] :
      ( ( ord_less_eq @ ( set @ nat ) @ N7 @ ( set_or7035219750837199246ssThan @ nat @ ( zero_zero @ nat ) @ N ) )
     => ( finite_finite2 @ nat @ N7 ) ) ).

% subset_eq_atLeast0_lessThan_finite
thf(fact_3343_finite__abs__int__segment,axiom,
    ! [A: $tType] :
      ( ( archim2362893244070406136eiling @ A )
     => ! [A3: A] :
          ( finite_finite2 @ A
          @ ( collect @ A
            @ ^ [K3: A] :
                ( ( member @ A @ K3 @ ( ring_1_Ints @ A ) )
                & ( ord_less_eq @ A @ ( abs_abs @ A @ K3 ) @ A3 ) ) ) ) ) ).

% finite_abs_int_segment
thf(fact_3344_sum__pos2,axiom,
    ! [A: $tType,B: $tType] :
      ( ( ordere6911136660526730532id_add @ A )
     => ! [I5: set @ B,I2: B,F3: B > A] :
          ( ( finite_finite2 @ B @ I5 )
         => ( ( member @ B @ I2 @ I5 )
           => ( ( ord_less @ A @ ( zero_zero @ A ) @ ( F3 @ I2 ) )
             => ( ! [I3: B] :
                    ( ( member @ B @ I3 @ I5 )
                   => ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( F3 @ I3 ) ) )
               => ( ord_less @ A @ ( zero_zero @ A ) @ ( groups7311177749621191930dd_sum @ B @ A @ F3 @ I5 ) ) ) ) ) ) ) ).

% sum_pos2
thf(fact_3345_sum__pos,axiom,
    ! [A: $tType,B: $tType] :
      ( ( ordere6911136660526730532id_add @ A )
     => ! [I5: set @ B,F3: B > A] :
          ( ( finite_finite2 @ B @ I5 )
         => ( ( I5
             != ( bot_bot @ ( set @ B ) ) )
           => ( ! [I3: B] :
                  ( ( member @ B @ I3 @ I5 )
                 => ( ord_less @ A @ ( zero_zero @ A ) @ ( F3 @ I3 ) ) )
             => ( ord_less @ A @ ( zero_zero @ A ) @ ( groups7311177749621191930dd_sum @ B @ A @ F3 @ I5 ) ) ) ) ) ) ).

% sum_pos
thf(fact_3346_less__1__prod2,axiom,
    ! [B: $tType,A: $tType] :
      ( ( linordered_idom @ B )
     => ! [I5: set @ A,I2: A,F3: A > B] :
          ( ( finite_finite2 @ A @ I5 )
         => ( ( member @ A @ I2 @ I5 )
           => ( ( ord_less @ B @ ( one_one @ B ) @ ( F3 @ I2 ) )
             => ( ! [I3: A] :
                    ( ( member @ A @ I3 @ I5 )
                   => ( ord_less_eq @ B @ ( one_one @ B ) @ ( F3 @ I3 ) ) )
               => ( ord_less @ B @ ( one_one @ B ) @ ( groups7121269368397514597t_prod @ A @ B @ F3 @ I5 ) ) ) ) ) ) ) ).

% less_1_prod2
thf(fact_3347_less__1__prod,axiom,
    ! [B: $tType,A: $tType] :
      ( ( linordered_idom @ B )
     => ! [I5: set @ A,F3: A > B] :
          ( ( finite_finite2 @ A @ I5 )
         => ( ( I5
             != ( bot_bot @ ( set @ A ) ) )
           => ( ! [I3: A] :
                  ( ( member @ A @ I3 @ I5 )
                 => ( ord_less @ B @ ( one_one @ B ) @ ( F3 @ I3 ) ) )
             => ( ord_less @ B @ ( one_one @ B ) @ ( groups7121269368397514597t_prod @ A @ B @ F3 @ I5 ) ) ) ) ) ) ).

% less_1_prod
thf(fact_3348_sum_Omono__neutral__cong__right,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [T8: set @ B,S: set @ B,G3: B > A,H: B > A] :
          ( ( finite_finite2 @ B @ T8 )
         => ( ( ord_less_eq @ ( set @ B ) @ S @ T8 )
           => ( ! [X3: B] :
                  ( ( member @ B @ X3 @ ( minus_minus @ ( set @ B ) @ T8 @ S ) )
                 => ( ( G3 @ X3 )
                    = ( zero_zero @ A ) ) )
             => ( ! [X3: B] :
                    ( ( member @ B @ X3 @ S )
                   => ( ( G3 @ X3 )
                      = ( H @ X3 ) ) )
               => ( ( groups7311177749621191930dd_sum @ B @ A @ G3 @ T8 )
                  = ( groups7311177749621191930dd_sum @ B @ A @ H @ S ) ) ) ) ) ) ) ).

% sum.mono_neutral_cong_right
thf(fact_3349_sum_Omono__neutral__cong__left,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [T8: set @ B,S: set @ B,H: B > A,G3: B > A] :
          ( ( finite_finite2 @ B @ T8 )
         => ( ( ord_less_eq @ ( set @ B ) @ S @ T8 )
           => ( ! [X3: B] :
                  ( ( member @ B @ X3 @ ( minus_minus @ ( set @ B ) @ T8 @ S ) )
                 => ( ( H @ X3 )
                    = ( zero_zero @ A ) ) )
             => ( ! [X3: B] :
                    ( ( member @ B @ X3 @ S )
                   => ( ( G3 @ X3 )
                      = ( H @ X3 ) ) )
               => ( ( groups7311177749621191930dd_sum @ B @ A @ G3 @ S )
                  = ( groups7311177749621191930dd_sum @ B @ A @ H @ T8 ) ) ) ) ) ) ) ).

% sum.mono_neutral_cong_left
thf(fact_3350_sum_Omono__neutral__right,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [T8: set @ B,S: set @ B,G3: B > A] :
          ( ( finite_finite2 @ B @ T8 )
         => ( ( ord_less_eq @ ( set @ B ) @ S @ T8 )
           => ( ! [X3: B] :
                  ( ( member @ B @ X3 @ ( minus_minus @ ( set @ B ) @ T8 @ S ) )
                 => ( ( G3 @ X3 )
                    = ( zero_zero @ A ) ) )
             => ( ( groups7311177749621191930dd_sum @ B @ A @ G3 @ T8 )
                = ( groups7311177749621191930dd_sum @ B @ A @ G3 @ S ) ) ) ) ) ) ).

% sum.mono_neutral_right
thf(fact_3351_sum_Omono__neutral__left,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [T8: set @ B,S: set @ B,G3: B > A] :
          ( ( finite_finite2 @ B @ T8 )
         => ( ( ord_less_eq @ ( set @ B ) @ S @ T8 )
           => ( ! [X3: B] :
                  ( ( member @ B @ X3 @ ( minus_minus @ ( set @ B ) @ T8 @ S ) )
                 => ( ( G3 @ X3 )
                    = ( zero_zero @ A ) ) )
             => ( ( groups7311177749621191930dd_sum @ B @ A @ G3 @ S )
                = ( groups7311177749621191930dd_sum @ B @ A @ G3 @ T8 ) ) ) ) ) ) ).

% sum.mono_neutral_left
thf(fact_3352_sum_Osame__carrierI,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [C5: set @ B,A6: set @ B,B6: set @ B,G3: B > A,H: B > A] :
          ( ( finite_finite2 @ B @ C5 )
         => ( ( ord_less_eq @ ( set @ B ) @ A6 @ C5 )
           => ( ( ord_less_eq @ ( set @ B ) @ B6 @ C5 )
             => ( ! [A5: B] :
                    ( ( member @ B @ A5 @ ( minus_minus @ ( set @ B ) @ C5 @ A6 ) )
                   => ( ( G3 @ A5 )
                      = ( zero_zero @ A ) ) )
               => ( ! [B4: B] :
                      ( ( member @ B @ B4 @ ( minus_minus @ ( set @ B ) @ C5 @ B6 ) )
                     => ( ( H @ B4 )
                        = ( zero_zero @ A ) ) )
                 => ( ( ( groups7311177749621191930dd_sum @ B @ A @ G3 @ C5 )
                      = ( groups7311177749621191930dd_sum @ B @ A @ H @ C5 ) )
                   => ( ( groups7311177749621191930dd_sum @ B @ A @ G3 @ A6 )
                      = ( groups7311177749621191930dd_sum @ B @ A @ H @ B6 ) ) ) ) ) ) ) ) ) ).

% sum.same_carrierI
thf(fact_3353_sum_Osame__carrier,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [C5: set @ B,A6: set @ B,B6: set @ B,G3: B > A,H: B > A] :
          ( ( finite_finite2 @ B @ C5 )
         => ( ( ord_less_eq @ ( set @ B ) @ A6 @ C5 )
           => ( ( ord_less_eq @ ( set @ B ) @ B6 @ C5 )
             => ( ! [A5: B] :
                    ( ( member @ B @ A5 @ ( minus_minus @ ( set @ B ) @ C5 @ A6 ) )
                   => ( ( G3 @ A5 )
                      = ( zero_zero @ A ) ) )
               => ( ! [B4: B] :
                      ( ( member @ B @ B4 @ ( minus_minus @ ( set @ B ) @ C5 @ B6 ) )
                     => ( ( H @ B4 )
                        = ( zero_zero @ A ) ) )
                 => ( ( ( groups7311177749621191930dd_sum @ B @ A @ G3 @ A6 )
                      = ( groups7311177749621191930dd_sum @ B @ A @ H @ B6 ) )
                    = ( ( groups7311177749621191930dd_sum @ B @ A @ G3 @ C5 )
                      = ( groups7311177749621191930dd_sum @ B @ A @ H @ C5 ) ) ) ) ) ) ) ) ) ).

% sum.same_carrier
thf(fact_3354_sum_Osubset__diff,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [B6: set @ B,A6: set @ B,G3: B > A] :
          ( ( ord_less_eq @ ( set @ B ) @ B6 @ A6 )
         => ( ( finite_finite2 @ B @ A6 )
           => ( ( groups7311177749621191930dd_sum @ B @ A @ G3 @ A6 )
              = ( plus_plus @ A @ ( groups7311177749621191930dd_sum @ B @ A @ G3 @ ( minus_minus @ ( set @ B ) @ A6 @ B6 ) ) @ ( groups7311177749621191930dd_sum @ B @ A @ G3 @ B6 ) ) ) ) ) ) ).

% sum.subset_diff
thf(fact_3355_sum__diff,axiom,
    ! [A: $tType,B: $tType] :
      ( ( ab_group_add @ A )
     => ! [A6: set @ B,B6: set @ B,F3: B > A] :
          ( ( finite_finite2 @ B @ A6 )
         => ( ( ord_less_eq @ ( set @ B ) @ B6 @ A6 )
           => ( ( groups7311177749621191930dd_sum @ B @ A @ F3 @ ( minus_minus @ ( set @ B ) @ A6 @ B6 ) )
              = ( minus_minus @ A @ ( groups7311177749621191930dd_sum @ B @ A @ F3 @ A6 ) @ ( groups7311177749621191930dd_sum @ B @ A @ F3 @ B6 ) ) ) ) ) ) ).

% sum_diff
thf(fact_3356_prod_Osubset__diff,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [B6: set @ B,A6: set @ B,G3: B > A] :
          ( ( ord_less_eq @ ( set @ B ) @ B6 @ A6 )
         => ( ( finite_finite2 @ B @ A6 )
           => ( ( groups7121269368397514597t_prod @ B @ A @ G3 @ A6 )
              = ( times_times @ A @ ( groups7121269368397514597t_prod @ B @ A @ G3 @ ( minus_minus @ ( set @ B ) @ A6 @ B6 ) ) @ ( groups7121269368397514597t_prod @ B @ A @ G3 @ B6 ) ) ) ) ) ) ).

% prod.subset_diff
thf(fact_3357_prod_Omono__neutral__cong__right,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [T8: set @ B,S: set @ B,G3: B > A,H: B > A] :
          ( ( finite_finite2 @ B @ T8 )
         => ( ( ord_less_eq @ ( set @ B ) @ S @ T8 )
           => ( ! [X3: B] :
                  ( ( member @ B @ X3 @ ( minus_minus @ ( set @ B ) @ T8 @ S ) )
                 => ( ( G3 @ X3 )
                    = ( one_one @ A ) ) )
             => ( ! [X3: B] :
                    ( ( member @ B @ X3 @ S )
                   => ( ( G3 @ X3 )
                      = ( H @ X3 ) ) )
               => ( ( groups7121269368397514597t_prod @ B @ A @ G3 @ T8 )
                  = ( groups7121269368397514597t_prod @ B @ A @ H @ S ) ) ) ) ) ) ) ).

% prod.mono_neutral_cong_right
thf(fact_3358_prod_Omono__neutral__cong__left,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [T8: set @ B,S: set @ B,H: B > A,G3: B > A] :
          ( ( finite_finite2 @ B @ T8 )
         => ( ( ord_less_eq @ ( set @ B ) @ S @ T8 )
           => ( ! [X3: B] :
                  ( ( member @ B @ X3 @ ( minus_minus @ ( set @ B ) @ T8 @ S ) )
                 => ( ( H @ X3 )
                    = ( one_one @ A ) ) )
             => ( ! [X3: B] :
                    ( ( member @ B @ X3 @ S )
                   => ( ( G3 @ X3 )
                      = ( H @ X3 ) ) )
               => ( ( groups7121269368397514597t_prod @ B @ A @ G3 @ S )
                  = ( groups7121269368397514597t_prod @ B @ A @ H @ T8 ) ) ) ) ) ) ) ).

% prod.mono_neutral_cong_left
thf(fact_3359_prod_Omono__neutral__right,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [T8: set @ B,S: set @ B,G3: B > A] :
          ( ( finite_finite2 @ B @ T8 )
         => ( ( ord_less_eq @ ( set @ B ) @ S @ T8 )
           => ( ! [X3: B] :
                  ( ( member @ B @ X3 @ ( minus_minus @ ( set @ B ) @ T8 @ S ) )
                 => ( ( G3 @ X3 )
                    = ( one_one @ A ) ) )
             => ( ( groups7121269368397514597t_prod @ B @ A @ G3 @ T8 )
                = ( groups7121269368397514597t_prod @ B @ A @ G3 @ S ) ) ) ) ) ) ).

% prod.mono_neutral_right
thf(fact_3360_prod_Omono__neutral__left,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [T8: set @ B,S: set @ B,G3: B > A] :
          ( ( finite_finite2 @ B @ T8 )
         => ( ( ord_less_eq @ ( set @ B ) @ S @ T8 )
           => ( ! [X3: B] :
                  ( ( member @ B @ X3 @ ( minus_minus @ ( set @ B ) @ T8 @ S ) )
                 => ( ( G3 @ X3 )
                    = ( one_one @ A ) ) )
             => ( ( groups7121269368397514597t_prod @ B @ A @ G3 @ S )
                = ( groups7121269368397514597t_prod @ B @ A @ G3 @ T8 ) ) ) ) ) ) ).

% prod.mono_neutral_left
thf(fact_3361_prod_Osame__carrierI,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [C5: set @ B,A6: set @ B,B6: set @ B,G3: B > A,H: B > A] :
          ( ( finite_finite2 @ B @ C5 )
         => ( ( ord_less_eq @ ( set @ B ) @ A6 @ C5 )
           => ( ( ord_less_eq @ ( set @ B ) @ B6 @ C5 )
             => ( ! [A5: B] :
                    ( ( member @ B @ A5 @ ( minus_minus @ ( set @ B ) @ C5 @ A6 ) )
                   => ( ( G3 @ A5 )
                      = ( one_one @ A ) ) )
               => ( ! [B4: B] :
                      ( ( member @ B @ B4 @ ( minus_minus @ ( set @ B ) @ C5 @ B6 ) )
                     => ( ( H @ B4 )
                        = ( one_one @ A ) ) )
                 => ( ( ( groups7121269368397514597t_prod @ B @ A @ G3 @ C5 )
                      = ( groups7121269368397514597t_prod @ B @ A @ H @ C5 ) )
                   => ( ( groups7121269368397514597t_prod @ B @ A @ G3 @ A6 )
                      = ( groups7121269368397514597t_prod @ B @ A @ H @ B6 ) ) ) ) ) ) ) ) ) ).

% prod.same_carrierI
thf(fact_3362_prod_Osame__carrier,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [C5: set @ B,A6: set @ B,B6: set @ B,G3: B > A,H: B > A] :
          ( ( finite_finite2 @ B @ C5 )
         => ( ( ord_less_eq @ ( set @ B ) @ A6 @ C5 )
           => ( ( ord_less_eq @ ( set @ B ) @ B6 @ C5 )
             => ( ! [A5: B] :
                    ( ( member @ B @ A5 @ ( minus_minus @ ( set @ B ) @ C5 @ A6 ) )
                   => ( ( G3 @ A5 )
                      = ( one_one @ A ) ) )
               => ( ! [B4: B] :
                      ( ( member @ B @ B4 @ ( minus_minus @ ( set @ B ) @ C5 @ B6 ) )
                     => ( ( H @ B4 )
                        = ( one_one @ A ) ) )
                 => ( ( ( groups7121269368397514597t_prod @ B @ A @ G3 @ A6 )
                      = ( groups7121269368397514597t_prod @ B @ A @ H @ B6 ) )
                    = ( ( groups7121269368397514597t_prod @ B @ A @ G3 @ C5 )
                      = ( groups7121269368397514597t_prod @ B @ A @ H @ C5 ) ) ) ) ) ) ) ) ) ).

% prod.same_carrier
thf(fact_3363_sum_Ounion__inter,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [A6: set @ B,B6: set @ B,G3: B > A] :
          ( ( finite_finite2 @ B @ A6 )
         => ( ( finite_finite2 @ B @ B6 )
           => ( ( plus_plus @ A @ ( groups7311177749621191930dd_sum @ B @ A @ G3 @ ( sup_sup @ ( set @ B ) @ A6 @ B6 ) ) @ ( groups7311177749621191930dd_sum @ B @ A @ G3 @ ( inf_inf @ ( set @ B ) @ A6 @ B6 ) ) )
              = ( plus_plus @ A @ ( groups7311177749621191930dd_sum @ B @ A @ G3 @ A6 ) @ ( groups7311177749621191930dd_sum @ B @ A @ G3 @ B6 ) ) ) ) ) ) ).

% sum.union_inter
thf(fact_3364_sum_OInt__Diff,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [A6: set @ B,G3: B > A,B6: set @ B] :
          ( ( finite_finite2 @ B @ A6 )
         => ( ( groups7311177749621191930dd_sum @ B @ A @ G3 @ A6 )
            = ( plus_plus @ A @ ( groups7311177749621191930dd_sum @ B @ A @ G3 @ ( inf_inf @ ( set @ B ) @ A6 @ B6 ) ) @ ( groups7311177749621191930dd_sum @ B @ A @ G3 @ ( minus_minus @ ( set @ B ) @ A6 @ B6 ) ) ) ) ) ) ).

% sum.Int_Diff
thf(fact_3365_prod_Ounion__inter,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [A6: set @ B,B6: set @ B,G3: B > A] :
          ( ( finite_finite2 @ B @ A6 )
         => ( ( finite_finite2 @ B @ B6 )
           => ( ( times_times @ A @ ( groups7121269368397514597t_prod @ B @ A @ G3 @ ( sup_sup @ ( set @ B ) @ A6 @ B6 ) ) @ ( groups7121269368397514597t_prod @ B @ A @ G3 @ ( inf_inf @ ( set @ B ) @ A6 @ B6 ) ) )
              = ( times_times @ A @ ( groups7121269368397514597t_prod @ B @ A @ G3 @ A6 ) @ ( groups7121269368397514597t_prod @ B @ A @ G3 @ B6 ) ) ) ) ) ) ).

% prod.union_inter
thf(fact_3366_sum__diff__nat,axiom,
    ! [A: $tType,B6: set @ A,A6: set @ A,F3: A > nat] :
      ( ( finite_finite2 @ A @ B6 )
     => ( ( ord_less_eq @ ( set @ A ) @ B6 @ A6 )
       => ( ( groups7311177749621191930dd_sum @ A @ nat @ F3 @ ( minus_minus @ ( set @ A ) @ A6 @ B6 ) )
          = ( minus_minus @ nat @ ( groups7311177749621191930dd_sum @ A @ nat @ F3 @ A6 ) @ ( groups7311177749621191930dd_sum @ A @ nat @ F3 @ B6 ) ) ) ) ) ).

% sum_diff_nat
thf(fact_3367_push__bit__mask__eq,axiom,
    ! [A: $tType] :
      ( ( bit_ri3973907225187159222ations @ A )
     => ! [M: nat,N: nat] :
          ( ( bit_se4730199178511100633sh_bit @ A @ M @ ( bit_se2239418461657761734s_mask @ A @ N ) )
          = ( bit_se5824344872417868541ns_and @ A @ ( bit_se2239418461657761734s_mask @ A @ ( plus_plus @ nat @ N @ M ) ) @ ( bit_ri4277139882892585799ns_not @ A @ ( bit_se2239418461657761734s_mask @ A @ M ) ) ) ) ) ).

% push_bit_mask_eq
thf(fact_3368_sum_OIf__cases,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [A6: set @ B,P2: B > $o,H: B > A,G3: B > A] :
          ( ( finite_finite2 @ B @ A6 )
         => ( ( groups7311177749621191930dd_sum @ B @ A
              @ ^ [X4: B] : ( if @ A @ ( P2 @ X4 ) @ ( H @ X4 ) @ ( G3 @ X4 ) )
              @ A6 )
            = ( plus_plus @ A @ ( groups7311177749621191930dd_sum @ B @ A @ H @ ( inf_inf @ ( set @ B ) @ A6 @ ( collect @ B @ P2 ) ) ) @ ( groups7311177749621191930dd_sum @ B @ A @ G3 @ ( inf_inf @ ( set @ B ) @ A6 @ ( uminus_uminus @ ( set @ B ) @ ( collect @ B @ P2 ) ) ) ) ) ) ) ) ).

% sum.If_cases
thf(fact_3369_prod_OIf__cases,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [A6: set @ B,P2: B > $o,H: B > A,G3: B > A] :
          ( ( finite_finite2 @ B @ A6 )
         => ( ( groups7121269368397514597t_prod @ B @ A
              @ ^ [X4: B] : ( if @ A @ ( P2 @ X4 ) @ ( H @ X4 ) @ ( G3 @ X4 ) )
              @ A6 )
            = ( times_times @ A @ ( groups7121269368397514597t_prod @ B @ A @ H @ ( inf_inf @ ( set @ B ) @ A6 @ ( collect @ B @ P2 ) ) ) @ ( groups7121269368397514597t_prod @ B @ A @ G3 @ ( inf_inf @ ( set @ B ) @ A6 @ ( uminus_uminus @ ( set @ B ) @ ( collect @ B @ P2 ) ) ) ) ) ) ) ) ).

% prod.If_cases
thf(fact_3370_prod__mono__strict,axiom,
    ! [A: $tType,B: $tType] :
      ( ( linordered_semidom @ A )
     => ! [A6: set @ B,F3: B > A,G3: B > A] :
          ( ( finite_finite2 @ B @ A6 )
         => ( ! [I3: B] :
                ( ( member @ B @ I3 @ A6 )
               => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( F3 @ I3 ) )
                  & ( ord_less @ A @ ( F3 @ I3 ) @ ( G3 @ I3 ) ) ) )
           => ( ( A6
               != ( bot_bot @ ( set @ B ) ) )
             => ( ord_less @ A @ ( groups7121269368397514597t_prod @ B @ A @ F3 @ A6 ) @ ( groups7121269368397514597t_prod @ B @ A @ G3 @ A6 ) ) ) ) ) ) ).

% prod_mono_strict
thf(fact_3371_sum__mono2,axiom,
    ! [A: $tType,B: $tType] :
      ( ( ordere6911136660526730532id_add @ A )
     => ! [B6: set @ B,A6: set @ B,F3: B > A] :
          ( ( finite_finite2 @ B @ B6 )
         => ( ( ord_less_eq @ ( set @ B ) @ A6 @ B6 )
           => ( ! [B4: B] :
                  ( ( member @ B @ B4 @ ( minus_minus @ ( set @ B ) @ B6 @ A6 ) )
                 => ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( F3 @ B4 ) ) )
             => ( ord_less_eq @ A @ ( groups7311177749621191930dd_sum @ B @ A @ F3 @ A6 ) @ ( groups7311177749621191930dd_sum @ B @ A @ F3 @ B6 ) ) ) ) ) ) ).

% sum_mono2
thf(fact_3372_sum_Ounion__inter__neutral,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [A6: set @ B,B6: set @ B,G3: B > A] :
          ( ( finite_finite2 @ B @ A6 )
         => ( ( finite_finite2 @ B @ B6 )
           => ( ! [X3: B] :
                  ( ( member @ B @ X3 @ ( inf_inf @ ( set @ B ) @ A6 @ B6 ) )
                 => ( ( G3 @ X3 )
                    = ( zero_zero @ A ) ) )
             => ( ( groups7311177749621191930dd_sum @ B @ A @ G3 @ ( sup_sup @ ( set @ B ) @ A6 @ B6 ) )
                = ( plus_plus @ A @ ( groups7311177749621191930dd_sum @ B @ A @ G3 @ A6 ) @ ( groups7311177749621191930dd_sum @ B @ A @ G3 @ B6 ) ) ) ) ) ) ) ).

% sum.union_inter_neutral
thf(fact_3373_sum_Oinsert__remove,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [A6: set @ B,G3: B > A,X: B] :
          ( ( finite_finite2 @ B @ A6 )
         => ( ( groups7311177749621191930dd_sum @ B @ A @ G3 @ ( insert @ B @ X @ A6 ) )
            = ( plus_plus @ A @ ( G3 @ X ) @ ( groups7311177749621191930dd_sum @ B @ A @ G3 @ ( minus_minus @ ( set @ B ) @ A6 @ ( insert @ B @ X @ ( bot_bot @ ( set @ B ) ) ) ) ) ) ) ) ) ).

% sum.insert_remove
thf(fact_3374_sum_Oremove,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [A6: set @ B,X: B,G3: B > A] :
          ( ( finite_finite2 @ B @ A6 )
         => ( ( member @ B @ X @ A6 )
           => ( ( groups7311177749621191930dd_sum @ B @ A @ G3 @ A6 )
              = ( plus_plus @ A @ ( G3 @ X ) @ ( groups7311177749621191930dd_sum @ B @ A @ G3 @ ( minus_minus @ ( set @ B ) @ A6 @ ( insert @ B @ X @ ( bot_bot @ ( set @ B ) ) ) ) ) ) ) ) ) ) ).

% sum.remove
thf(fact_3375_sum__Un,axiom,
    ! [A: $tType,B: $tType] :
      ( ( ab_group_add @ A )
     => ! [A6: set @ B,B6: set @ B,F3: B > A] :
          ( ( finite_finite2 @ B @ A6 )
         => ( ( finite_finite2 @ B @ B6 )
           => ( ( groups7311177749621191930dd_sum @ B @ A @ F3 @ ( sup_sup @ ( set @ B ) @ A6 @ B6 ) )
              = ( minus_minus @ A @ ( plus_plus @ A @ ( groups7311177749621191930dd_sum @ B @ A @ F3 @ A6 ) @ ( groups7311177749621191930dd_sum @ B @ A @ F3 @ B6 ) ) @ ( groups7311177749621191930dd_sum @ B @ A @ F3 @ ( inf_inf @ ( set @ B ) @ A6 @ B6 ) ) ) ) ) ) ) ).

% sum_Un
thf(fact_3376_sum_Ounion__disjoint,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [A6: set @ B,B6: set @ B,G3: B > A] :
          ( ( finite_finite2 @ B @ A6 )
         => ( ( finite_finite2 @ B @ B6 )
           => ( ( ( inf_inf @ ( set @ B ) @ A6 @ B6 )
                = ( bot_bot @ ( set @ B ) ) )
             => ( ( groups7311177749621191930dd_sum @ B @ A @ G3 @ ( sup_sup @ ( set @ B ) @ A6 @ B6 ) )
                = ( plus_plus @ A @ ( groups7311177749621191930dd_sum @ B @ A @ G3 @ A6 ) @ ( groups7311177749621191930dd_sum @ B @ A @ G3 @ B6 ) ) ) ) ) ) ) ).

% sum.union_disjoint
thf(fact_3377_prod_Ounion__inter__neutral,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [A6: set @ B,B6: set @ B,G3: B > A] :
          ( ( finite_finite2 @ B @ A6 )
         => ( ( finite_finite2 @ B @ B6 )
           => ( ! [X3: B] :
                  ( ( member @ B @ X3 @ ( inf_inf @ ( set @ B ) @ A6 @ B6 ) )
                 => ( ( G3 @ X3 )
                    = ( one_one @ A ) ) )
             => ( ( groups7121269368397514597t_prod @ B @ A @ G3 @ ( sup_sup @ ( set @ B ) @ A6 @ B6 ) )
                = ( times_times @ A @ ( groups7121269368397514597t_prod @ B @ A @ G3 @ A6 ) @ ( groups7121269368397514597t_prod @ B @ A @ G3 @ B6 ) ) ) ) ) ) ) ).

% prod.union_inter_neutral
thf(fact_3378_prod_Ounion__disjoint,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [A6: set @ B,B6: set @ B,G3: B > A] :
          ( ( finite_finite2 @ B @ A6 )
         => ( ( finite_finite2 @ B @ B6 )
           => ( ( ( inf_inf @ ( set @ B ) @ A6 @ B6 )
                = ( bot_bot @ ( set @ B ) ) )
             => ( ( groups7121269368397514597t_prod @ B @ A @ G3 @ ( sup_sup @ ( set @ B ) @ A6 @ B6 ) )
                = ( times_times @ A @ ( groups7121269368397514597t_prod @ B @ A @ G3 @ A6 ) @ ( groups7121269368397514597t_prod @ B @ A @ G3 @ B6 ) ) ) ) ) ) ) ).

% prod.union_disjoint
thf(fact_3379_sum_Ounion__diff2,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [A6: set @ B,B6: set @ B,G3: B > A] :
          ( ( finite_finite2 @ B @ A6 )
         => ( ( finite_finite2 @ B @ B6 )
           => ( ( groups7311177749621191930dd_sum @ B @ A @ G3 @ ( sup_sup @ ( set @ B ) @ A6 @ B6 ) )
              = ( plus_plus @ A @ ( plus_plus @ A @ ( groups7311177749621191930dd_sum @ B @ A @ G3 @ ( minus_minus @ ( set @ B ) @ A6 @ B6 ) ) @ ( groups7311177749621191930dd_sum @ B @ A @ G3 @ ( minus_minus @ ( set @ B ) @ B6 @ A6 ) ) ) @ ( groups7311177749621191930dd_sum @ B @ A @ G3 @ ( inf_inf @ ( set @ B ) @ A6 @ B6 ) ) ) ) ) ) ) ).

% sum.union_diff2
thf(fact_3380_sum__Un2,axiom,
    ! [B: $tType,A: $tType] :
      ( ( comm_monoid_add @ B )
     => ! [A6: set @ A,B6: set @ A,F3: A > B] :
          ( ( finite_finite2 @ A @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) )
         => ( ( groups7311177749621191930dd_sum @ A @ B @ F3 @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) )
            = ( plus_plus @ B @ ( plus_plus @ B @ ( groups7311177749621191930dd_sum @ A @ B @ F3 @ ( minus_minus @ ( set @ A ) @ A6 @ B6 ) ) @ ( groups7311177749621191930dd_sum @ A @ B @ F3 @ ( minus_minus @ ( set @ A ) @ B6 @ A6 ) ) ) @ ( groups7311177749621191930dd_sum @ A @ B @ F3 @ ( inf_inf @ ( set @ A ) @ A6 @ B6 ) ) ) ) ) ) ).

% sum_Un2
thf(fact_3381_prod_Ounion__diff2,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [A6: set @ B,B6: set @ B,G3: B > A] :
          ( ( finite_finite2 @ B @ A6 )
         => ( ( finite_finite2 @ B @ B6 )
           => ( ( groups7121269368397514597t_prod @ B @ A @ G3 @ ( sup_sup @ ( set @ B ) @ A6 @ B6 ) )
              = ( times_times @ A @ ( times_times @ A @ ( groups7121269368397514597t_prod @ B @ A @ G3 @ ( minus_minus @ ( set @ B ) @ A6 @ B6 ) ) @ ( groups7121269368397514597t_prod @ B @ A @ G3 @ ( minus_minus @ ( set @ B ) @ B6 @ A6 ) ) ) @ ( groups7121269368397514597t_prod @ B @ A @ G3 @ ( inf_inf @ ( set @ B ) @ A6 @ B6 ) ) ) ) ) ) ) ).

% prod.union_diff2
thf(fact_3382_sum__Un__nat,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A,F3: A > nat] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( finite_finite2 @ A @ B6 )
       => ( ( groups7311177749621191930dd_sum @ A @ nat @ F3 @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) )
          = ( minus_minus @ nat @ ( plus_plus @ nat @ ( groups7311177749621191930dd_sum @ A @ nat @ F3 @ A6 ) @ ( groups7311177749621191930dd_sum @ A @ nat @ F3 @ B6 ) ) @ ( groups7311177749621191930dd_sum @ A @ nat @ F3 @ ( inf_inf @ ( set @ A ) @ A6 @ B6 ) ) ) ) ) ) ).

% sum_Un_nat
thf(fact_3383_sum_Odelta__remove,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [S: set @ B,A3: B,B2: B > A,C3: B > A] :
          ( ( finite_finite2 @ B @ S )
         => ( ( ( member @ B @ A3 @ S )
             => ( ( groups7311177749621191930dd_sum @ B @ A
                  @ ^ [K3: B] : ( if @ A @ ( K3 = A3 ) @ ( B2 @ K3 ) @ ( C3 @ K3 ) )
                  @ S )
                = ( plus_plus @ A @ ( B2 @ A3 ) @ ( groups7311177749621191930dd_sum @ B @ A @ C3 @ ( minus_minus @ ( set @ B ) @ S @ ( insert @ B @ A3 @ ( bot_bot @ ( set @ B ) ) ) ) ) ) ) )
            & ( ~ ( member @ B @ A3 @ S )
             => ( ( groups7311177749621191930dd_sum @ B @ A
                  @ ^ [K3: B] : ( if @ A @ ( K3 = A3 ) @ ( B2 @ K3 ) @ ( C3 @ K3 ) )
                  @ S )
                = ( groups7311177749621191930dd_sum @ B @ A @ C3 @ ( minus_minus @ ( set @ B ) @ S @ ( insert @ B @ A3 @ ( bot_bot @ ( set @ B ) ) ) ) ) ) ) ) ) ) ).

% sum.delta_remove
thf(fact_3384_sum__div__partition,axiom,
    ! [B: $tType,A: $tType] :
      ( ( euclid4440199948858584721cancel @ A )
     => ! [A6: set @ B,F3: B > A,B2: A] :
          ( ( finite_finite2 @ B @ A6 )
         => ( ( divide_divide @ A @ ( groups7311177749621191930dd_sum @ B @ A @ F3 @ A6 ) @ B2 )
            = ( plus_plus @ A
              @ ( groups7311177749621191930dd_sum @ B @ A
                @ ^ [A7: B] : ( divide_divide @ A @ ( F3 @ A7 ) @ B2 )
                @ ( inf_inf @ ( set @ B ) @ A6
                  @ ( collect @ B
                    @ ^ [A7: B] : ( dvd_dvd @ A @ B2 @ ( F3 @ A7 ) ) ) ) )
              @ ( divide_divide @ A
                @ ( groups7311177749621191930dd_sum @ B @ A @ F3
                  @ ( inf_inf @ ( set @ B ) @ A6
                    @ ( collect @ B
                      @ ^ [A7: B] :
                          ~ ( dvd_dvd @ A @ B2 @ ( F3 @ A7 ) ) ) ) )
                @ B2 ) ) ) ) ) ).

% sum_div_partition
thf(fact_3385_prod_Odelta__remove,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [S: set @ B,A3: B,B2: B > A,C3: B > A] :
          ( ( finite_finite2 @ B @ S )
         => ( ( ( member @ B @ A3 @ S )
             => ( ( groups7121269368397514597t_prod @ B @ A
                  @ ^ [K3: B] : ( if @ A @ ( K3 = A3 ) @ ( B2 @ K3 ) @ ( C3 @ K3 ) )
                  @ S )
                = ( times_times @ A @ ( B2 @ A3 ) @ ( groups7121269368397514597t_prod @ B @ A @ C3 @ ( minus_minus @ ( set @ B ) @ S @ ( insert @ B @ A3 @ ( bot_bot @ ( set @ B ) ) ) ) ) ) ) )
            & ( ~ ( member @ B @ A3 @ S )
             => ( ( groups7121269368397514597t_prod @ B @ A
                  @ ^ [K3: B] : ( if @ A @ ( K3 = A3 ) @ ( B2 @ K3 ) @ ( C3 @ K3 ) )
                  @ S )
                = ( groups7121269368397514597t_prod @ B @ A @ C3 @ ( minus_minus @ ( set @ B ) @ S @ ( insert @ B @ A3 @ ( bot_bot @ ( set @ B ) ) ) ) ) ) ) ) ) ) ).

% prod.delta_remove
thf(fact_3386_effect__of__listI,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [A3: array @ A,H5: heap_ext @ product_unit,Xs: list @ A,H: heap_ext @ product_unit] :
          ( ( ( product_Pair @ ( array @ A ) @ ( heap_ext @ product_unit ) @ A3 @ H5 )
            = ( array_alloc @ A @ Xs @ H ) )
         => ( heap_Time_effect @ ( array @ A ) @ ( array_of_list @ A @ Xs ) @ H @ H5 @ A3 @ ( plus_plus @ nat @ ( one_one @ nat ) @ ( size_size @ ( list @ A ) @ Xs ) ) ) ) ) ).

% effect_of_listI
thf(fact_3387_sum__strict__mono2,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ordere8940638589300402666id_add @ B )
     => ! [B6: set @ A,A6: set @ A,B2: A,F3: A > B] :
          ( ( finite_finite2 @ A @ B6 )
         => ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
           => ( ( member @ A @ B2 @ ( minus_minus @ ( set @ A ) @ B6 @ A6 ) )
             => ( ( ord_less @ B @ ( zero_zero @ B ) @ ( F3 @ B2 ) )
               => ( ! [X3: A] :
                      ( ( member @ A @ X3 @ B6 )
                     => ( ord_less_eq @ B @ ( zero_zero @ B ) @ ( F3 @ X3 ) ) )
                 => ( ord_less @ B @ ( groups7311177749621191930dd_sum @ A @ B @ F3 @ A6 ) @ ( groups7311177749621191930dd_sum @ A @ B @ F3 @ B6 ) ) ) ) ) ) ) ) ).

% sum_strict_mono2
thf(fact_3388_member__le__sum,axiom,
    ! [B: $tType,C: $tType] :
      ( ( ( ordere6911136660526730532id_add @ B )
        & ( semiring_1 @ B ) )
     => ! [I2: C,A6: set @ C,F3: C > B] :
          ( ( member @ C @ I2 @ A6 )
         => ( ! [X3: C] :
                ( ( member @ C @ X3 @ ( minus_minus @ ( set @ C ) @ A6 @ ( insert @ C @ I2 @ ( bot_bot @ ( set @ C ) ) ) ) )
               => ( ord_less_eq @ B @ ( zero_zero @ B ) @ ( F3 @ X3 ) ) )
           => ( ( finite_finite2 @ C @ A6 )
             => ( ord_less_eq @ B @ ( F3 @ I2 ) @ ( groups7311177749621191930dd_sum @ C @ B @ F3 @ A6 ) ) ) ) ) ) ).

% member_le_sum
thf(fact_3389_prod__mono2,axiom,
    ! [B: $tType,A: $tType] :
      ( ( linordered_idom @ B )
     => ! [B6: set @ A,A6: set @ A,F3: A > B] :
          ( ( finite_finite2 @ A @ B6 )
         => ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
           => ( ! [B4: A] :
                  ( ( member @ A @ B4 @ ( minus_minus @ ( set @ A ) @ B6 @ A6 ) )
                 => ( ord_less_eq @ B @ ( one_one @ B ) @ ( F3 @ B4 ) ) )
             => ( ! [A5: A] :
                    ( ( member @ A @ A5 @ A6 )
                   => ( ord_less_eq @ B @ ( zero_zero @ B ) @ ( F3 @ A5 ) ) )
               => ( ord_less_eq @ B @ ( groups7121269368397514597t_prod @ A @ B @ F3 @ A6 ) @ ( groups7121269368397514597t_prod @ A @ B @ F3 @ B6 ) ) ) ) ) ) ) ).

% prod_mono2
thf(fact_3390_prod__Un,axiom,
    ! [A: $tType,B: $tType] :
      ( ( field @ A )
     => ! [A6: set @ B,B6: set @ B,F3: B > A] :
          ( ( finite_finite2 @ B @ A6 )
         => ( ( finite_finite2 @ B @ B6 )
           => ( ! [X3: B] :
                  ( ( member @ B @ X3 @ ( inf_inf @ ( set @ B ) @ A6 @ B6 ) )
                 => ( ( F3 @ X3 )
                   != ( zero_zero @ A ) ) )
             => ( ( groups7121269368397514597t_prod @ B @ A @ F3 @ ( sup_sup @ ( set @ B ) @ A6 @ B6 ) )
                = ( divide_divide @ A @ ( times_times @ A @ ( groups7121269368397514597t_prod @ B @ A @ F3 @ A6 ) @ ( groups7121269368397514597t_prod @ B @ A @ F3 @ B6 ) ) @ ( groups7121269368397514597t_prod @ B @ A @ F3 @ ( inf_inf @ ( set @ B ) @ A6 @ B6 ) ) ) ) ) ) ) ) ).

% prod_Un
thf(fact_3391_or__one__eq,axiom,
    ! [A: $tType] :
      ( ( bit_se359711467146920520ations @ A )
     => ! [A3: A] :
          ( ( bit_se1065995026697491101ons_or @ A @ A3 @ ( one_one @ A ) )
          = ( plus_plus @ A @ A3 @ ( zero_neq_one_of_bool @ A @ ( dvd_dvd @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ A3 ) ) ) ) ) ).

% or_one_eq
thf(fact_3392_one__or__eq,axiom,
    ! [A: $tType] :
      ( ( bit_se359711467146920520ations @ A )
     => ! [A3: A] :
          ( ( bit_se1065995026697491101ons_or @ A @ ( one_one @ A ) @ A3 )
          = ( plus_plus @ A @ A3 @ ( zero_neq_one_of_bool @ A @ ( dvd_dvd @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ A3 ) ) ) ) ) ).

% one_or_eq
thf(fact_3393_OR__upper,axiom,
    ! [X: int,N: nat,Y: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ X )
     => ( ( ord_less @ int @ X @ ( power_power @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ N ) )
       => ( ( ord_less @ int @ Y @ ( power_power @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ N ) )
         => ( ord_less @ int @ ( bit_se1065995026697491101ons_or @ int @ X @ Y ) @ ( power_power @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ N ) ) ) ) ) ).

% OR_upper
thf(fact_3394_or__not__numerals_I5_J,axiom,
    ! [M: num,N: num] :
      ( ( bit_se1065995026697491101ons_or @ int @ ( numeral_numeral @ int @ ( bit0 @ M ) ) @ ( bit_ri4277139882892585799ns_not @ int @ ( numeral_numeral @ int @ ( bit0 @ N ) ) ) )
      = ( plus_plus @ int @ ( one_one @ int ) @ ( times_times @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ ( bit_se1065995026697491101ons_or @ int @ ( numeral_numeral @ int @ M ) @ ( bit_ri4277139882892585799ns_not @ int @ ( numeral_numeral @ int @ N ) ) ) ) ) ) ).

% or_not_numerals(5)
thf(fact_3395_take__bit__sum,axiom,
    ! [A: $tType] :
      ( ( bit_un5681908812861735899ations @ A )
     => ( ( bit_se2584673776208193580ke_bit @ A )
        = ( ^ [N3: nat,A7: A] :
              ( groups7311177749621191930dd_sum @ nat @ A
              @ ^ [K3: nat] : ( bit_se4730199178511100633sh_bit @ A @ K3 @ ( zero_neq_one_of_bool @ A @ ( bit_se5641148757651400278ts_bit @ A @ A7 @ K3 ) ) )
              @ ( set_or7035219750837199246ssThan @ nat @ ( zero_zero @ nat ) @ N3 ) ) ) ) ) ).

% take_bit_sum
thf(fact_3396_or__not__numerals_I8_J,axiom,
    ! [M: num,N: num] :
      ( ( bit_se1065995026697491101ons_or @ int @ ( numeral_numeral @ int @ ( bit1 @ M ) ) @ ( bit_ri4277139882892585799ns_not @ int @ ( numeral_numeral @ int @ ( bit0 @ N ) ) ) )
      = ( plus_plus @ int @ ( one_one @ int ) @ ( times_times @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ ( bit_se1065995026697491101ons_or @ int @ ( numeral_numeral @ int @ M ) @ ( bit_ri4277139882892585799ns_not @ int @ ( numeral_numeral @ int @ N ) ) ) ) ) ) ).

% or_not_numerals(8)
thf(fact_3397_or__not__numerals_I9_J,axiom,
    ! [M: num,N: num] :
      ( ( bit_se1065995026697491101ons_or @ int @ ( numeral_numeral @ int @ ( bit1 @ M ) ) @ ( bit_ri4277139882892585799ns_not @ int @ ( numeral_numeral @ int @ ( bit1 @ N ) ) ) )
      = ( plus_plus @ int @ ( one_one @ int ) @ ( times_times @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ ( bit_se1065995026697491101ons_or @ int @ ( numeral_numeral @ int @ M ) @ ( bit_ri4277139882892585799ns_not @ int @ ( numeral_numeral @ int @ N ) ) ) ) ) ) ).

% or_not_numerals(9)
thf(fact_3398_of__list__def,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ( ( array_of_list @ A )
        = ( ^ [Xs3: list @ A] :
              ( heap_Time_heap @ ( array @ A )
              @ ^ [H7: heap_ext @ product_unit] :
                  ( product_case_prod @ ( array @ A ) @ ( heap_ext @ product_unit ) @ ( product_prod @ ( array @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) )
                  @ ^ [R5: array @ A,H8: heap_ext @ product_unit] : ( product_Pair @ ( array @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ R5 @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ H8 @ ( plus_plus @ nat @ ( one_one @ nat ) @ ( size_size @ ( list @ A ) @ Xs3 ) ) ) )
                  @ ( array_alloc @ A @ Xs3 @ H7 ) ) ) ) ) ) ).

% of_list_def
thf(fact_3399_finite__Collect__le__nat,axiom,
    ! [K2: nat] :
      ( finite_finite2 @ nat
      @ ( collect @ nat
        @ ^ [N3: nat] : ( ord_less_eq @ nat @ N3 @ K2 ) ) ) ).

% finite_Collect_le_nat
thf(fact_3400_finite__Collect__less__nat,axiom,
    ! [K2: nat] :
      ( finite_finite2 @ nat
      @ ( collect @ nat
        @ ^ [N3: nat] : ( ord_less @ nat @ N3 @ K2 ) ) ) ).

% finite_Collect_less_nat
thf(fact_3401_finite__Collect__subsets,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ( finite_finite2 @ A @ A6 )
     => ( finite_finite2 @ ( set @ A )
        @ ( collect @ ( set @ A )
          @ ^ [B7: set @ A] : ( ord_less_eq @ ( set @ A ) @ B7 @ A6 ) ) ) ) ).

% finite_Collect_subsets
thf(fact_3402_finite__induct__select,axiom,
    ! [A: $tType,S: set @ A,P2: ( set @ A ) > $o] :
      ( ( finite_finite2 @ A @ S )
     => ( ( P2 @ ( bot_bot @ ( set @ A ) ) )
       => ( ! [T9: set @ A] :
              ( ( ord_less @ ( set @ A ) @ T9 @ S )
             => ( ( P2 @ T9 )
               => ? [X6: A] :
                    ( ( member @ A @ X6 @ ( minus_minus @ ( set @ A ) @ S @ T9 ) )
                    & ( P2 @ ( insert @ A @ X6 @ T9 ) ) ) ) )
         => ( P2 @ S ) ) ) ) ).

% finite_induct_select
thf(fact_3403_finite__Un,axiom,
    ! [A: $tType,F5: set @ A,G6: set @ A] :
      ( ( finite_finite2 @ A @ ( sup_sup @ ( set @ A ) @ F5 @ G6 ) )
      = ( ( finite_finite2 @ A @ F5 )
        & ( finite_finite2 @ A @ G6 ) ) ) ).

% finite_Un
thf(fact_3404_finite__Collect__conjI,axiom,
    ! [A: $tType,P2: A > $o,Q2: A > $o] :
      ( ( ( finite_finite2 @ A @ ( collect @ A @ P2 ) )
        | ( finite_finite2 @ A @ ( collect @ A @ Q2 ) ) )
     => ( finite_finite2 @ A
        @ ( collect @ A
          @ ^ [X4: A] :
              ( ( P2 @ X4 )
              & ( Q2 @ X4 ) ) ) ) ) ).

% finite_Collect_conjI
thf(fact_3405_finite__Collect__disjI,axiom,
    ! [A: $tType,P2: A > $o,Q2: A > $o] :
      ( ( finite_finite2 @ A
        @ ( collect @ A
          @ ^ [X4: A] :
              ( ( P2 @ X4 )
              | ( Q2 @ X4 ) ) ) )
      = ( ( finite_finite2 @ A @ ( collect @ A @ P2 ) )
        & ( finite_finite2 @ A @ ( collect @ A @ Q2 ) ) ) ) ).

% finite_Collect_disjI
thf(fact_3406_finite__interval__int1,axiom,
    ! [A3: int,B2: int] :
      ( finite_finite2 @ int
      @ ( collect @ int
        @ ^ [I: int] :
            ( ( ord_less_eq @ int @ A3 @ I )
            & ( ord_less_eq @ int @ I @ B2 ) ) ) ) ).

% finite_interval_int1
thf(fact_3407_finite__interval__int4,axiom,
    ! [A3: int,B2: int] :
      ( finite_finite2 @ int
      @ ( collect @ int
        @ ^ [I: int] :
            ( ( ord_less @ int @ A3 @ I )
            & ( ord_less @ int @ I @ B2 ) ) ) ) ).

% finite_interval_int4
thf(fact_3408_finite__atLeastLessThan__integer,axiom,
    ! [L: code_integer,U: code_integer] : ( finite_finite2 @ code_integer @ ( set_or7035219750837199246ssThan @ code_integer @ L @ U ) ) ).

% finite_atLeastLessThan_integer
thf(fact_3409_finite__atLeastAtMost__integer,axiom,
    ! [L: code_integer,U: code_integer] : ( finite_finite2 @ code_integer @ ( set_or1337092689740270186AtMost @ code_integer @ L @ U ) ) ).

% finite_atLeastAtMost_integer
thf(fact_3410_finite__interval__int2,axiom,
    ! [A3: int,B2: int] :
      ( finite_finite2 @ int
      @ ( collect @ int
        @ ^ [I: int] :
            ( ( ord_less_eq @ int @ A3 @ I )
            & ( ord_less @ int @ I @ B2 ) ) ) ) ).

% finite_interval_int2
thf(fact_3411_finite__interval__int3,axiom,
    ! [A3: int,B2: int] :
      ( finite_finite2 @ int
      @ ( collect @ int
        @ ^ [I: int] :
            ( ( ord_less @ int @ A3 @ I )
            & ( ord_less_eq @ int @ I @ B2 ) ) ) ) ).

% finite_interval_int3
thf(fact_3412_finite__maxlen,axiom,
    ! [A: $tType,M6: set @ ( list @ A )] :
      ( ( finite_finite2 @ ( list @ A ) @ M6 )
     => ? [N4: nat] :
        ! [X6: list @ A] :
          ( ( member @ ( list @ A ) @ X6 @ M6 )
         => ( ord_less @ nat @ ( size_size @ ( list @ A ) @ X6 ) @ N4 ) ) ) ).

% finite_maxlen
thf(fact_3413_finite__divisors__int,axiom,
    ! [I2: int] :
      ( ( I2
       != ( zero_zero @ int ) )
     => ( finite_finite2 @ int
        @ ( collect @ int
          @ ^ [D6: int] : ( dvd_dvd @ int @ D6 @ I2 ) ) ) ) ).

% finite_divisors_int
thf(fact_3414_finite__atLeastZeroLessThan__integer,axiom,
    ! [U: code_integer] : ( finite_finite2 @ code_integer @ ( set_or7035219750837199246ssThan @ code_integer @ ( zero_zero @ code_integer ) @ U ) ) ).

% finite_atLeastZeroLessThan_integer
thf(fact_3415_not__finite__existsD,axiom,
    ! [A: $tType,P2: A > $o] :
      ( ~ ( finite_finite2 @ A @ ( collect @ A @ P2 ) )
     => ? [X_1: A] : ( P2 @ X_1 ) ) ).

% not_finite_existsD
thf(fact_3416_pigeonhole__infinite__rel,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,B6: set @ B,R4: A > B > $o] :
      ( ~ ( finite_finite2 @ A @ A6 )
     => ( ( finite_finite2 @ B @ B6 )
       => ( ! [X3: A] :
              ( ( member @ A @ X3 @ A6 )
             => ? [Xa3: B] :
                  ( ( member @ B @ Xa3 @ B6 )
                  & ( R4 @ X3 @ Xa3 ) ) )
         => ? [X3: B] :
              ( ( member @ B @ X3 @ B6 )
              & ~ ( finite_finite2 @ A
                  @ ( collect @ A
                    @ ^ [A7: A] :
                        ( ( member @ A @ A7 @ A6 )
                        & ( R4 @ A7 @ X3 ) ) ) ) ) ) ) ) ).

% pigeonhole_infinite_rel
thf(fact_3417_finite__has__minimal2,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [A6: set @ A,A3: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( member @ A @ A3 @ A6 )
           => ? [X3: A] :
                ( ( member @ A @ X3 @ A6 )
                & ( ord_less_eq @ A @ X3 @ A3 )
                & ! [Xa3: A] :
                    ( ( member @ A @ Xa3 @ A6 )
                   => ( ( ord_less_eq @ A @ Xa3 @ X3 )
                     => ( X3 = Xa3 ) ) ) ) ) ) ) ).

% finite_has_minimal2
thf(fact_3418_finite__has__maximal2,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [A6: set @ A,A3: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( member @ A @ A3 @ A6 )
           => ? [X3: A] :
                ( ( member @ A @ X3 @ A6 )
                & ( ord_less_eq @ A @ A3 @ X3 )
                & ! [Xa3: A] :
                    ( ( member @ A @ Xa3 @ A6 )
                   => ( ( ord_less_eq @ A @ X3 @ Xa3 )
                     => ( X3 = Xa3 ) ) ) ) ) ) ) ).

% finite_has_maximal2
thf(fact_3419_rev__finite__subset,axiom,
    ! [A: $tType,B6: set @ A,A6: set @ A] :
      ( ( finite_finite2 @ A @ B6 )
     => ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
       => ( finite_finite2 @ A @ A6 ) ) ) ).

% rev_finite_subset
thf(fact_3420_infinite__super,axiom,
    ! [A: $tType,S: set @ A,T8: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ S @ T8 )
     => ( ~ ( finite_finite2 @ A @ S )
       => ~ ( finite_finite2 @ A @ T8 ) ) ) ).

% infinite_super
thf(fact_3421_finite__subset,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
     => ( ( finite_finite2 @ A @ B6 )
       => ( finite_finite2 @ A @ A6 ) ) ) ).

% finite_subset
thf(fact_3422_finite__UnI,axiom,
    ! [A: $tType,F5: set @ A,G6: set @ A] :
      ( ( finite_finite2 @ A @ F5 )
     => ( ( finite_finite2 @ A @ G6 )
       => ( finite_finite2 @ A @ ( sup_sup @ ( set @ A ) @ F5 @ G6 ) ) ) ) ).

% finite_UnI
thf(fact_3423_Un__infinite,axiom,
    ! [A: $tType,S: set @ A,T8: set @ A] :
      ( ~ ( finite_finite2 @ A @ S )
     => ~ ( finite_finite2 @ A @ ( sup_sup @ ( set @ A ) @ S @ T8 ) ) ) ).

% Un_infinite
thf(fact_3424_infinite__Un,axiom,
    ! [A: $tType,S: set @ A,T8: set @ A] :
      ( ( ~ ( finite_finite2 @ A @ ( sup_sup @ ( set @ A ) @ S @ T8 ) ) )
      = ( ~ ( finite_finite2 @ A @ S )
        | ~ ( finite_finite2 @ A @ T8 ) ) ) ).

% infinite_Un
thf(fact_3425_finite__psubset__induct,axiom,
    ! [A: $tType,A6: set @ A,P2: ( set @ A ) > $o] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ! [A13: set @ A] :
            ( ( finite_finite2 @ A @ A13 )
           => ( ! [B11: set @ A] :
                  ( ( ord_less @ ( set @ A ) @ B11 @ A13 )
                 => ( P2 @ B11 ) )
             => ( P2 @ A13 ) ) )
       => ( P2 @ A6 ) ) ) ).

% finite_psubset_induct
thf(fact_3426_Suc__0__or__eq,axiom,
    ! [N: nat] :
      ( ( bit_se1065995026697491101ons_or @ nat @ ( suc @ ( zero_zero @ nat ) ) @ N )
      = ( plus_plus @ nat @ N @ ( zero_neq_one_of_bool @ nat @ ( dvd_dvd @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N ) ) ) ) ).

% Suc_0_or_eq
thf(fact_3427_or__Suc__0__eq,axiom,
    ! [N: nat] :
      ( ( bit_se1065995026697491101ons_or @ nat @ N @ ( suc @ ( zero_zero @ nat ) ) )
      = ( plus_plus @ nat @ N @ ( zero_neq_one_of_bool @ nat @ ( dvd_dvd @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N ) ) ) ) ).

% or_Suc_0_eq
thf(fact_3428_or__nat__rec,axiom,
    ( ( bit_se1065995026697491101ons_or @ nat )
    = ( ^ [M3: nat,N3: nat] :
          ( plus_plus @ nat
          @ ( zero_neq_one_of_bool @ nat
            @ ( ~ ( dvd_dvd @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ M3 )
              | ~ ( dvd_dvd @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N3 ) ) )
          @ ( times_times @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ ( bit_se1065995026697491101ons_or @ nat @ ( divide_divide @ nat @ M3 @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) @ ( divide_divide @ nat @ N3 @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) ) ) ) ) ) ).

% or_nat_rec
thf(fact_3429_finite__has__maximal,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [A6: set @ A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ? [X3: A] :
                ( ( member @ A @ X3 @ A6 )
                & ! [Xa3: A] :
                    ( ( member @ A @ Xa3 @ A6 )
                   => ( ( ord_less_eq @ A @ X3 @ Xa3 )
                     => ( X3 = Xa3 ) ) ) ) ) ) ) ).

% finite_has_maximal
thf(fact_3430_finite__has__minimal,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [A6: set @ A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ? [X3: A] :
                ( ( member @ A @ X3 @ A6 )
                & ! [Xa3: A] :
                    ( ( member @ A @ Xa3 @ A6 )
                   => ( ( ord_less_eq @ A @ Xa3 @ X3 )
                     => ( X3 = Xa3 ) ) ) ) ) ) ) ).

% finite_has_minimal
thf(fact_3431_finite__subset__induct_H,axiom,
    ! [A: $tType,F5: set @ A,A6: set @ A,P2: ( set @ A ) > $o] :
      ( ( finite_finite2 @ A @ F5 )
     => ( ( ord_less_eq @ ( set @ A ) @ F5 @ A6 )
       => ( ( P2 @ ( bot_bot @ ( set @ A ) ) )
         => ( ! [A5: A,F8: set @ A] :
                ( ( finite_finite2 @ A @ F8 )
               => ( ( member @ A @ A5 @ A6 )
                 => ( ( ord_less_eq @ ( set @ A ) @ F8 @ A6 )
                   => ( ~ ( member @ A @ A5 @ F8 )
                     => ( ( P2 @ F8 )
                       => ( P2 @ ( insert @ A @ A5 @ F8 ) ) ) ) ) ) )
           => ( P2 @ F5 ) ) ) ) ) ).

% finite_subset_induct'
thf(fact_3432_finite__subset__induct,axiom,
    ! [A: $tType,F5: set @ A,A6: set @ A,P2: ( set @ A ) > $o] :
      ( ( finite_finite2 @ A @ F5 )
     => ( ( ord_less_eq @ ( set @ A ) @ F5 @ A6 )
       => ( ( P2 @ ( bot_bot @ ( set @ A ) ) )
         => ( ! [A5: A,F8: set @ A] :
                ( ( finite_finite2 @ A @ F8 )
               => ( ( member @ A @ A5 @ A6 )
                 => ( ~ ( member @ A @ A5 @ F8 )
                   => ( ( P2 @ F8 )
                     => ( P2 @ ( insert @ A @ A5 @ F8 ) ) ) ) ) )
           => ( P2 @ F5 ) ) ) ) ) ).

% finite_subset_induct
thf(fact_3433_finite__remove__induct,axiom,
    ! [A: $tType,B6: set @ A,P2: ( set @ A ) > $o] :
      ( ( finite_finite2 @ A @ B6 )
     => ( ( P2 @ ( bot_bot @ ( set @ A ) ) )
       => ( ! [A13: set @ A] :
              ( ( finite_finite2 @ A @ A13 )
             => ( ( A13
                 != ( bot_bot @ ( set @ A ) ) )
               => ( ( ord_less_eq @ ( set @ A ) @ A13 @ B6 )
                 => ( ! [X6: A] :
                        ( ( member @ A @ X6 @ A13 )
                       => ( P2 @ ( minus_minus @ ( set @ A ) @ A13 @ ( insert @ A @ X6 @ ( bot_bot @ ( set @ A ) ) ) ) ) )
                   => ( P2 @ A13 ) ) ) ) )
         => ( P2 @ B6 ) ) ) ) ).

% finite_remove_induct
thf(fact_3434_remove__induct,axiom,
    ! [A: $tType,P2: ( set @ A ) > $o,B6: set @ A] :
      ( ( P2 @ ( bot_bot @ ( set @ A ) ) )
     => ( ( ~ ( finite_finite2 @ A @ B6 )
         => ( P2 @ B6 ) )
       => ( ! [A13: set @ A] :
              ( ( finite_finite2 @ A @ A13 )
             => ( ( A13
                 != ( bot_bot @ ( set @ A ) ) )
               => ( ( ord_less_eq @ ( set @ A ) @ A13 @ B6 )
                 => ( ! [X6: A] :
                        ( ( member @ A @ X6 @ A13 )
                       => ( P2 @ ( minus_minus @ ( set @ A ) @ A13 @ ( insert @ A @ X6 @ ( bot_bot @ ( set @ A ) ) ) ) ) )
                   => ( P2 @ A13 ) ) ) ) )
         => ( P2 @ B6 ) ) ) ) ).

% remove_induct
thf(fact_3435_set__encode__insert,axiom,
    ! [A6: set @ nat,N: nat] :
      ( ( finite_finite2 @ nat @ A6 )
     => ( ~ ( member @ nat @ N @ A6 )
       => ( ( nat_set_encode @ ( insert @ nat @ N @ A6 ) )
          = ( plus_plus @ nat @ ( power_power @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ N ) @ ( nat_set_encode @ A6 ) ) ) ) ) ).

% set_encode_insert
thf(fact_3436_finite__nat__bounded,axiom,
    ! [S: set @ nat] :
      ( ( finite_finite2 @ nat @ S )
     => ? [K: nat] : ( ord_less_eq @ ( set @ nat ) @ S @ ( set_ord_lessThan @ nat @ K ) ) ) ).

% finite_nat_bounded
thf(fact_3437_finite__nat__iff__bounded,axiom,
    ( ( finite_finite2 @ nat )
    = ( ^ [S4: set @ nat] :
        ? [K3: nat] : ( ord_less_eq @ ( set @ nat ) @ S4 @ ( set_ord_lessThan @ nat @ K3 ) ) ) ) ).

% finite_nat_iff_bounded
thf(fact_3438_finite__nat__iff__bounded__le,axiom,
    ( ( finite_finite2 @ nat )
    = ( ^ [S4: set @ nat] :
        ? [K3: nat] : ( ord_less_eq @ ( set @ nat ) @ S4 @ ( set_ord_atMost @ nat @ K3 ) ) ) ) ).

% finite_nat_iff_bounded_le
thf(fact_3439_in__finite__psubset,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( member @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) @ ( product_Pair @ ( set @ A ) @ ( set @ A ) @ A6 @ B6 ) @ ( finite_psubset @ A ) )
      = ( ( ord_less @ ( set @ A ) @ A6 @ B6 )
        & ( finite_finite2 @ A @ B6 ) ) ) ).

% in_finite_psubset
thf(fact_3440_infinite__int__iff__unbounded__le,axiom,
    ! [S: set @ int] :
      ( ( ~ ( finite_finite2 @ int @ S ) )
      = ( ! [M3: int] :
          ? [N3: int] :
            ( ( ord_less_eq @ int @ M3 @ ( abs_abs @ int @ N3 ) )
            & ( member @ int @ N3 @ S ) ) ) ) ).

% infinite_int_iff_unbounded_le
thf(fact_3441_infinite__int__iff__unbounded,axiom,
    ! [S: set @ int] :
      ( ( ~ ( finite_finite2 @ int @ S ) )
      = ( ! [M3: int] :
          ? [N3: int] :
            ( ( ord_less @ int @ M3 @ ( abs_abs @ int @ N3 ) )
            & ( member @ int @ N3 @ S ) ) ) ) ).

% infinite_int_iff_unbounded
thf(fact_3442_finite__psubset__def,axiom,
    ! [A: $tType] :
      ( ( finite_psubset @ A )
      = ( collect @ ( product_prod @ ( set @ A ) @ ( set @ A ) )
        @ ( product_case_prod @ ( set @ A ) @ ( set @ A ) @ $o
          @ ^ [A8: set @ A,B7: set @ A] :
              ( ( ord_less @ ( set @ A ) @ A8 @ B7 )
              & ( finite_finite2 @ A @ B7 ) ) ) ) ) ).

% finite_psubset_def
thf(fact_3443_unbounded__k__infinite,axiom,
    ! [K2: nat,S: set @ nat] :
      ( ! [M5: nat] :
          ( ( ord_less @ nat @ K2 @ M5 )
         => ? [N10: nat] :
              ( ( ord_less @ nat @ M5 @ N10 )
              & ( member @ nat @ N10 @ S ) ) )
     => ~ ( finite_finite2 @ nat @ S ) ) ).

% unbounded_k_infinite
thf(fact_3444_infinite__nat__iff__unbounded,axiom,
    ! [S: set @ nat] :
      ( ( ~ ( finite_finite2 @ nat @ S ) )
      = ( ! [M3: nat] :
          ? [N3: nat] :
            ( ( ord_less @ nat @ M3 @ N3 )
            & ( member @ nat @ N3 @ S ) ) ) ) ).

% infinite_nat_iff_unbounded
thf(fact_3445_infinite__nat__iff__unbounded__le,axiom,
    ! [S: set @ nat] :
      ( ( ~ ( finite_finite2 @ nat @ S ) )
      = ( ! [M3: nat] :
          ? [N3: nat] :
            ( ( ord_less_eq @ nat @ M3 @ N3 )
            & ( member @ nat @ N3 @ S ) ) ) ) ).

% infinite_nat_iff_unbounded_le
thf(fact_3446_or__int__unfold,axiom,
    ( ( bit_se1065995026697491101ons_or @ int )
    = ( ^ [K3: int,L2: int] :
          ( if @ int
          @ ( ( K3
              = ( uminus_uminus @ int @ ( one_one @ int ) ) )
            | ( L2
              = ( uminus_uminus @ int @ ( one_one @ int ) ) ) )
          @ ( uminus_uminus @ int @ ( one_one @ int ) )
          @ ( if @ int
            @ ( K3
              = ( zero_zero @ int ) )
            @ L2
            @ ( if @ int
              @ ( L2
                = ( zero_zero @ int ) )
              @ K3
              @ ( plus_plus @ int @ ( ord_max @ int @ ( modulo_modulo @ int @ K3 @ ( numeral_numeral @ int @ ( bit0 @ one ) ) ) @ ( modulo_modulo @ int @ L2 @ ( numeral_numeral @ int @ ( bit0 @ one ) ) ) ) @ ( times_times @ int @ ( numeral_numeral @ int @ ( bit0 @ one ) ) @ ( bit_se1065995026697491101ons_or @ int @ ( divide_divide @ int @ K3 @ ( numeral_numeral @ int @ ( bit0 @ one ) ) ) @ ( divide_divide @ int @ L2 @ ( numeral_numeral @ int @ ( bit0 @ one ) ) ) ) ) ) ) ) ) ) ) ).

% or_int_unfold
thf(fact_3447_or__nat__unfold,axiom,
    ( ( bit_se1065995026697491101ons_or @ nat )
    = ( ^ [M3: nat,N3: nat] :
          ( if @ nat
          @ ( M3
            = ( zero_zero @ nat ) )
          @ N3
          @ ( if @ nat
            @ ( N3
              = ( zero_zero @ nat ) )
            @ M3
            @ ( plus_plus @ nat @ ( ord_max @ nat @ ( modulo_modulo @ nat @ M3 @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) @ ( modulo_modulo @ nat @ N3 @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) ) @ ( times_times @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ ( bit_se1065995026697491101ons_or @ nat @ ( divide_divide @ nat @ M3 @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) @ ( divide_divide @ nat @ N3 @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) ) ) ) ) ) ) ) ).

% or_nat_unfold
thf(fact_3448_sum__diff1_H__aux,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ab_group_add @ B )
     => ! [F5: set @ A,I5: set @ A,F3: A > B,I2: A] :
          ( ( finite_finite2 @ A @ F5 )
         => ( ( ord_less_eq @ ( set @ A )
              @ ( collect @ A
                @ ^ [I: A] :
                    ( ( member @ A @ I @ I5 )
                    & ( ( F3 @ I )
                     != ( zero_zero @ B ) ) ) )
              @ F5 )
           => ( ( ( member @ A @ I2 @ I5 )
               => ( ( groups1027152243600224163dd_sum @ A @ B @ F3 @ ( minus_minus @ ( set @ A ) @ I5 @ ( insert @ A @ I2 @ ( bot_bot @ ( set @ A ) ) ) ) )
                  = ( minus_minus @ B @ ( groups1027152243600224163dd_sum @ A @ B @ F3 @ I5 ) @ ( F3 @ I2 ) ) ) )
              & ( ~ ( member @ A @ I2 @ I5 )
               => ( ( groups1027152243600224163dd_sum @ A @ B @ F3 @ ( minus_minus @ ( set @ A ) @ I5 @ ( insert @ A @ I2 @ ( bot_bot @ ( set @ A ) ) ) ) )
                  = ( groups1027152243600224163dd_sum @ A @ B @ F3 @ I5 ) ) ) ) ) ) ) ).

% sum_diff1'_aux
thf(fact_3449_even__sum__iff,axiom,
    ! [A: $tType,B: $tType] :
      ( ( semiring_parity @ A )
     => ! [A6: set @ B,F3: B > A] :
          ( ( finite_finite2 @ B @ A6 )
         => ( ( dvd_dvd @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ ( groups7311177749621191930dd_sum @ B @ A @ F3 @ A6 ) )
            = ( dvd_dvd @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) )
              @ ( finite_card @ B
                @ ( collect @ B
                  @ ^ [A7: B] :
                      ( ( member @ B @ A7 @ A6 )
                      & ~ ( dvd_dvd @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ ( F3 @ A7 ) ) ) ) ) ) ) ) ) ).

% even_sum_iff
thf(fact_3450_and__not__num_Oelims,axiom,
    ! [X: num,Xa: num,Y: option @ num] :
      ( ( ( bit_and_not_num @ X @ Xa )
        = Y )
     => ( ( ( X = one )
         => ( ( Xa = one )
           => ( Y
             != ( none @ num ) ) ) )
       => ( ( ( X = one )
           => ( ? [N4: num] :
                  ( Xa
                  = ( bit0 @ N4 ) )
             => ( Y
               != ( some @ num @ one ) ) ) )
         => ( ( ( X = one )
             => ( ? [N4: num] :
                    ( Xa
                    = ( bit1 @ N4 ) )
               => ( Y
                 != ( none @ num ) ) ) )
           => ( ! [M5: num] :
                  ( ( X
                    = ( bit0 @ M5 ) )
                 => ( ( Xa = one )
                   => ( Y
                     != ( some @ num @ ( bit0 @ M5 ) ) ) ) )
             => ( ! [M5: num] :
                    ( ( X
                      = ( bit0 @ M5 ) )
                   => ! [N4: num] :
                        ( ( Xa
                          = ( bit0 @ N4 ) )
                       => ( Y
                         != ( map_option @ num @ num @ bit0 @ ( bit_and_not_num @ M5 @ N4 ) ) ) ) )
               => ( ! [M5: num] :
                      ( ( X
                        = ( bit0 @ M5 ) )
                     => ! [N4: num] :
                          ( ( Xa
                            = ( bit1 @ N4 ) )
                         => ( Y
                           != ( map_option @ num @ num @ bit0 @ ( bit_and_not_num @ M5 @ N4 ) ) ) ) )
                 => ( ! [M5: num] :
                        ( ( X
                          = ( bit1 @ M5 ) )
                       => ( ( Xa = one )
                         => ( Y
                           != ( some @ num @ ( bit0 @ M5 ) ) ) ) )
                   => ( ! [M5: num] :
                          ( ( X
                            = ( bit1 @ M5 ) )
                         => ! [N4: num] :
                              ( ( Xa
                                = ( bit0 @ N4 ) )
                             => ( Y
                               != ( case_option @ ( option @ num ) @ num @ ( some @ num @ one )
                                  @ ^ [N9: num] : ( some @ num @ ( bit1 @ N9 ) )
                                  @ ( bit_and_not_num @ M5 @ N4 ) ) ) ) )
                     => ~ ! [M5: num] :
                            ( ( X
                              = ( bit1 @ M5 ) )
                           => ! [N4: num] :
                                ( ( Xa
                                  = ( bit1 @ N4 ) )
                               => ( Y
                                 != ( map_option @ num @ num @ bit0 @ ( bit_and_not_num @ M5 @ N4 ) ) ) ) ) ) ) ) ) ) ) ) ) ) ).

% and_not_num.elims
thf(fact_3451_card__Collect__less__nat,axiom,
    ! [N: nat] :
      ( ( finite_card @ nat
        @ ( collect @ nat
          @ ^ [I: nat] : ( ord_less @ nat @ I @ N ) ) )
      = N ) ).

% card_Collect_less_nat
thf(fact_3452_max_Obounded__iff,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [B2: A,C3: A,A3: A] :
          ( ( ord_less_eq @ A @ ( ord_max @ A @ B2 @ C3 ) @ A3 )
          = ( ( ord_less_eq @ A @ B2 @ A3 )
            & ( ord_less_eq @ A @ C3 @ A3 ) ) ) ) ).

% max.bounded_iff
thf(fact_3453_max_Oabsorb2,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ( ord_max @ A @ A3 @ B2 )
            = B2 ) ) ) ).

% max.absorb2
thf(fact_3454_max_Oabsorb1,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [B2: A,A3: A] :
          ( ( ord_less_eq @ A @ B2 @ A3 )
         => ( ( ord_max @ A @ A3 @ B2 )
            = A3 ) ) ) ).

% max.absorb1
thf(fact_3455_max__less__iff__conj,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [X: A,Y: A,Z4: A] :
          ( ( ord_less @ A @ ( ord_max @ A @ X @ Y ) @ Z4 )
          = ( ( ord_less @ A @ X @ Z4 )
            & ( ord_less @ A @ Y @ Z4 ) ) ) ) ).

% max_less_iff_conj
thf(fact_3456_max_Oabsorb4,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ( ( ord_max @ A @ A3 @ B2 )
            = B2 ) ) ) ).

% max.absorb4
thf(fact_3457_max_Oabsorb3,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [B2: A,A3: A] :
          ( ( ord_less @ A @ B2 @ A3 )
         => ( ( ord_max @ A @ A3 @ B2 )
            = A3 ) ) ) ).

% max.absorb3
thf(fact_3458_max__bot2,axiom,
    ! [A: $tType] :
      ( ( order_bot @ A )
     => ! [X: A] :
          ( ( ord_max @ A @ X @ ( bot_bot @ A ) )
          = X ) ) ).

% max_bot2
thf(fact_3459_max__bot,axiom,
    ! [A: $tType] :
      ( ( order_bot @ A )
     => ! [X: A] :
          ( ( ord_max @ A @ ( bot_bot @ A ) @ X )
          = X ) ) ).

% max_bot
thf(fact_3460_map__option__eq__Some,axiom,
    ! [A: $tType,B: $tType,F3: B > A,Xo: option @ B,Y: A] :
      ( ( ( map_option @ B @ A @ F3 @ Xo )
        = ( some @ A @ Y ) )
      = ( ? [Z2: B] :
            ( ( Xo
              = ( some @ B @ Z2 ) )
            & ( ( F3 @ Z2 )
              = Y ) ) ) ) ).

% map_option_eq_Some
thf(fact_3461_None__eq__map__option__iff,axiom,
    ! [A: $tType,B: $tType,F3: B > A,X: option @ B] :
      ( ( ( none @ A )
        = ( map_option @ B @ A @ F3 @ X ) )
      = ( X
        = ( none @ B ) ) ) ).

% None_eq_map_option_iff
thf(fact_3462_map__option__is__None,axiom,
    ! [A: $tType,B: $tType,F3: B > A,Opt: option @ B] :
      ( ( ( map_option @ B @ A @ F3 @ Opt )
        = ( none @ A ) )
      = ( Opt
        = ( none @ B ) ) ) ).

% map_option_is_None
thf(fact_3463_option_Omap__disc__iff,axiom,
    ! [B: $tType,A: $tType,F3: A > B,A3: option @ A] :
      ( ( ( map_option @ A @ B @ F3 @ A3 )
        = ( none @ B ) )
      = ( A3
        = ( none @ A ) ) ) ).

% option.map_disc_iff
thf(fact_3464_max__0R,axiom,
    ! [N: nat] :
      ( ( ord_max @ nat @ N @ ( zero_zero @ nat ) )
      = N ) ).

% max_0R
thf(fact_3465_max__0L,axiom,
    ! [N: nat] :
      ( ( ord_max @ nat @ ( zero_zero @ nat ) @ N )
      = N ) ).

% max_0L
thf(fact_3466_max__nat_Oright__neutral,axiom,
    ! [A3: nat] :
      ( ( ord_max @ nat @ A3 @ ( zero_zero @ nat ) )
      = A3 ) ).

% max_nat.right_neutral
thf(fact_3467_max__nat_Oneutr__eq__iff,axiom,
    ! [A3: nat,B2: nat] :
      ( ( ( zero_zero @ nat )
        = ( ord_max @ nat @ A3 @ B2 ) )
      = ( ( A3
          = ( zero_zero @ nat ) )
        & ( B2
          = ( zero_zero @ nat ) ) ) ) ).

% max_nat.neutr_eq_iff
thf(fact_3468_max__nat_Oleft__neutral,axiom,
    ! [A3: nat] :
      ( ( ord_max @ nat @ ( zero_zero @ nat ) @ A3 )
      = A3 ) ).

% max_nat.left_neutral
thf(fact_3469_max__nat_Oeq__neutr__iff,axiom,
    ! [A3: nat,B2: nat] :
      ( ( ( ord_max @ nat @ A3 @ B2 )
        = ( zero_zero @ nat ) )
      = ( ( A3
          = ( zero_zero @ nat ) )
        & ( B2
          = ( zero_zero @ nat ) ) ) ) ).

% max_nat.eq_neutr_iff
thf(fact_3470_max__Suc__Suc,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_max @ nat @ ( suc @ M ) @ ( suc @ N ) )
      = ( suc @ ( ord_max @ nat @ M @ N ) ) ) ).

% max_Suc_Suc
thf(fact_3471_card__Collect__le__nat,axiom,
    ! [N: nat] :
      ( ( finite_card @ nat
        @ ( collect @ nat
          @ ^ [I: nat] : ( ord_less_eq @ nat @ I @ N ) ) )
      = ( suc @ N ) ) ).

% card_Collect_le_nat
thf(fact_3472_max__number__of_I1_J,axiom,
    ! [A: $tType] :
      ( ( ( numeral @ A )
        & ( ord @ A ) )
     => ! [U: num,V2: num] :
          ( ( ( ord_less_eq @ A @ ( numeral_numeral @ A @ U ) @ ( numeral_numeral @ A @ V2 ) )
           => ( ( ord_max @ A @ ( numeral_numeral @ A @ U ) @ ( numeral_numeral @ A @ V2 ) )
              = ( numeral_numeral @ A @ V2 ) ) )
          & ( ~ ( ord_less_eq @ A @ ( numeral_numeral @ A @ U ) @ ( numeral_numeral @ A @ V2 ) )
           => ( ( ord_max @ A @ ( numeral_numeral @ A @ U ) @ ( numeral_numeral @ A @ V2 ) )
              = ( numeral_numeral @ A @ U ) ) ) ) ) ).

% max_number_of(1)
thf(fact_3473_case__map__option,axiom,
    ! [B: $tType,A: $tType,C: $tType,G3: A,H: B > A,F3: C > B,X: option @ C] :
      ( ( case_option @ A @ B @ G3 @ H @ ( map_option @ C @ B @ F3 @ X ) )
      = ( case_option @ A @ C @ G3 @ ( comp @ B @ A @ C @ H @ F3 ) @ X ) ) ).

% case_map_option
thf(fact_3474_prod__constant,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [Y: A,A6: set @ B] :
          ( ( groups7121269368397514597t_prod @ B @ A
            @ ^ [X4: B] : Y
            @ A6 )
          = ( power_power @ A @ Y @ ( finite_card @ B @ A6 ) ) ) ) ).

% prod_constant
thf(fact_3475_max__number__of_I2_J,axiom,
    ! [A: $tType] :
      ( ( ( uminus @ A )
        & ( numeral @ A )
        & ( ord @ A ) )
     => ! [U: num,V2: num] :
          ( ( ( ord_less_eq @ A @ ( numeral_numeral @ A @ U ) @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ V2 ) ) )
           => ( ( ord_max @ A @ ( numeral_numeral @ A @ U ) @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ V2 ) ) )
              = ( uminus_uminus @ A @ ( numeral_numeral @ A @ V2 ) ) ) )
          & ( ~ ( ord_less_eq @ A @ ( numeral_numeral @ A @ U ) @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ V2 ) ) )
           => ( ( ord_max @ A @ ( numeral_numeral @ A @ U ) @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ V2 ) ) )
              = ( numeral_numeral @ A @ U ) ) ) ) ) ).

% max_number_of(2)
thf(fact_3476_max__number__of_I3_J,axiom,
    ! [A: $tType] :
      ( ( ( uminus @ A )
        & ( numeral @ A )
        & ( ord @ A ) )
     => ! [U: num,V2: num] :
          ( ( ( ord_less_eq @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ U ) ) @ ( numeral_numeral @ A @ V2 ) )
           => ( ( ord_max @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ U ) ) @ ( numeral_numeral @ A @ V2 ) )
              = ( numeral_numeral @ A @ V2 ) ) )
          & ( ~ ( ord_less_eq @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ U ) ) @ ( numeral_numeral @ A @ V2 ) )
           => ( ( ord_max @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ U ) ) @ ( numeral_numeral @ A @ V2 ) )
              = ( uminus_uminus @ A @ ( numeral_numeral @ A @ U ) ) ) ) ) ) ).

% max_number_of(3)
thf(fact_3477_max__number__of_I4_J,axiom,
    ! [A: $tType] :
      ( ( ( uminus @ A )
        & ( numeral @ A )
        & ( ord @ A ) )
     => ! [U: num,V2: num] :
          ( ( ( ord_less_eq @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ U ) ) @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ V2 ) ) )
           => ( ( ord_max @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ U ) ) @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ V2 ) ) )
              = ( uminus_uminus @ A @ ( numeral_numeral @ A @ V2 ) ) ) )
          & ( ~ ( ord_less_eq @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ U ) ) @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ V2 ) ) )
           => ( ( ord_max @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ U ) ) @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ V2 ) ) )
              = ( uminus_uminus @ A @ ( numeral_numeral @ A @ U ) ) ) ) ) ) ).

% max_number_of(4)
thf(fact_3478_sum__constant,axiom,
    ! [B: $tType,A: $tType] :
      ( ( semiring_1 @ A )
     => ! [Y: A,A6: set @ B] :
          ( ( groups7311177749621191930dd_sum @ B @ A
            @ ^ [X4: B] : Y
            @ A6 )
          = ( times_times @ A @ ( semiring_1_of_nat @ A @ ( finite_card @ B @ A6 ) ) @ Y ) ) ) ).

% sum_constant
thf(fact_3479_card__atLeastAtMost__int,axiom,
    ! [L: int,U: int] :
      ( ( finite_card @ int @ ( set_or1337092689740270186AtMost @ int @ L @ U ) )
      = ( nat2 @ ( plus_plus @ int @ ( minus_minus @ int @ U @ L ) @ ( one_one @ int ) ) ) ) ).

% card_atLeastAtMost_int
thf(fact_3480_sum_Oinsert_H,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [I5: set @ B,P3: B > A,I2: B] :
          ( ( finite_finite2 @ B
            @ ( collect @ B
              @ ^ [X4: B] :
                  ( ( member @ B @ X4 @ I5 )
                  & ( ( P3 @ X4 )
                   != ( zero_zero @ A ) ) ) ) )
         => ( ( ( member @ B @ I2 @ I5 )
             => ( ( groups1027152243600224163dd_sum @ B @ A @ P3 @ ( insert @ B @ I2 @ I5 ) )
                = ( groups1027152243600224163dd_sum @ B @ A @ P3 @ I5 ) ) )
            & ( ~ ( member @ B @ I2 @ I5 )
             => ( ( groups1027152243600224163dd_sum @ B @ A @ P3 @ ( insert @ B @ I2 @ I5 ) )
                = ( plus_plus @ A @ ( P3 @ I2 ) @ ( groups1027152243600224163dd_sum @ B @ A @ P3 @ I5 ) ) ) ) ) ) ) ).

% sum.insert'
thf(fact_3481_card__doubleton__eq__2__iff,axiom,
    ! [A: $tType,A3: A,B2: A] :
      ( ( ( finite_card @ A @ ( insert @ A @ A3 @ ( insert @ A @ B2 @ ( bot_bot @ ( set @ A ) ) ) ) )
        = ( numeral_numeral @ nat @ ( bit0 @ one ) ) )
      = ( A3 != B2 ) ) ).

% card_doubleton_eq_2_iff
thf(fact_3482_sum__of__bool__eq,axiom,
    ! [A: $tType,B: $tType] :
      ( ( semiring_1 @ A )
     => ! [A6: set @ B,P2: B > $o] :
          ( ( finite_finite2 @ B @ A6 )
         => ( ( finite_finite2 @ B @ A6 )
           => ( ( groups7311177749621191930dd_sum @ B @ A
                @ ^ [X4: B] : ( zero_neq_one_of_bool @ A @ ( P2 @ X4 ) )
                @ A6 )
              = ( semiring_1_of_nat @ A @ ( finite_card @ B @ ( inf_inf @ ( set @ B ) @ A6 @ ( collect @ B @ P2 ) ) ) ) ) ) ) ) ).

% sum_of_bool_eq
thf(fact_3483_option_Osimps_I9_J,axiom,
    ! [B: $tType,A: $tType,F3: A > B,X2: A] :
      ( ( map_option @ A @ B @ F3 @ ( some @ A @ X2 ) )
      = ( some @ B @ ( F3 @ X2 ) ) ) ).

% option.simps(9)
thf(fact_3484_map__option__cong,axiom,
    ! [B: $tType,A: $tType,X: option @ A,Y: option @ A,F3: A > B,G3: A > B] :
      ( ( X = Y )
     => ( ! [A5: A] :
            ( ( Y
              = ( some @ A @ A5 ) )
           => ( ( F3 @ A5 )
              = ( G3 @ A5 ) ) )
       => ( ( map_option @ A @ B @ F3 @ X )
          = ( map_option @ A @ B @ G3 @ Y ) ) ) ) ).

% map_option_cong
thf(fact_3485_of__nat__max,axiom,
    ! [A: $tType] :
      ( ( linord181362715937106298miring @ A )
     => ! [X: nat,Y: nat] :
          ( ( semiring_1_of_nat @ A @ ( ord_max @ nat @ X @ Y ) )
          = ( ord_max @ A @ ( semiring_1_of_nat @ A @ X ) @ ( semiring_1_of_nat @ A @ Y ) ) ) ) ).

% of_nat_max
thf(fact_3486_map__option_Ocomp,axiom,
    ! [C: $tType,B: $tType,A: $tType,F3: B > C,G3: A > B] :
      ( ( comp @ ( option @ B ) @ ( option @ C ) @ ( option @ A ) @ ( map_option @ B @ C @ F3 ) @ ( map_option @ A @ B @ G3 ) )
      = ( map_option @ A @ C @ ( comp @ B @ C @ A @ F3 @ G3 ) ) ) ).

% map_option.comp
thf(fact_3487_option_Omap__comp,axiom,
    ! [B: $tType,C: $tType,A: $tType,G3: B > C,F3: A > B,V2: option @ A] :
      ( ( map_option @ B @ C @ G3 @ ( map_option @ A @ B @ F3 @ V2 ) )
      = ( map_option @ A @ C @ ( comp @ B @ C @ A @ G3 @ F3 ) @ V2 ) ) ).

% option.map_comp
thf(fact_3488_map__option_Ocompositionality,axiom,
    ! [B: $tType,C: $tType,A: $tType,F3: B > C,G3: A > B,Option: option @ A] :
      ( ( map_option @ B @ C @ F3 @ ( map_option @ A @ B @ G3 @ Option ) )
      = ( map_option @ A @ C @ ( comp @ B @ C @ A @ F3 @ G3 ) @ Option ) ) ).

% map_option.compositionality
thf(fact_3489_nat__mult__max__left,axiom,
    ! [M: nat,N: nat,Q6: nat] :
      ( ( times_times @ nat @ ( ord_max @ nat @ M @ N ) @ Q6 )
      = ( ord_max @ nat @ ( times_times @ nat @ M @ Q6 ) @ ( times_times @ nat @ N @ Q6 ) ) ) ).

% nat_mult_max_left
thf(fact_3490_nat__mult__max__right,axiom,
    ! [M: nat,N: nat,Q6: nat] :
      ( ( times_times @ nat @ M @ ( ord_max @ nat @ N @ Q6 ) )
      = ( ord_max @ nat @ ( times_times @ nat @ M @ N ) @ ( times_times @ nat @ M @ Q6 ) ) ) ).

% nat_mult_max_right
thf(fact_3491_max_Ostrict__coboundedI2,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [C3: A,B2: A,A3: A] :
          ( ( ord_less @ A @ C3 @ B2 )
         => ( ord_less @ A @ C3 @ ( ord_max @ A @ A3 @ B2 ) ) ) ) ).

% max.strict_coboundedI2
thf(fact_3492_max_Ostrict__coboundedI1,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [C3: A,A3: A,B2: A] :
          ( ( ord_less @ A @ C3 @ A3 )
         => ( ord_less @ A @ C3 @ ( ord_max @ A @ A3 @ B2 ) ) ) ) ).

% max.strict_coboundedI1
thf(fact_3493_max_Ostrict__order__iff,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ( ( ord_less @ A )
        = ( ^ [B5: A,A7: A] :
              ( ( A7
                = ( ord_max @ A @ A7 @ B5 ) )
              & ( A7 != B5 ) ) ) ) ) ).

% max.strict_order_iff
thf(fact_3494_max_Ostrict__boundedE,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [B2: A,C3: A,A3: A] :
          ( ( ord_less @ A @ ( ord_max @ A @ B2 @ C3 ) @ A3 )
         => ~ ( ( ord_less @ A @ B2 @ A3 )
             => ~ ( ord_less @ A @ C3 @ A3 ) ) ) ) ).

% max.strict_boundedE
thf(fact_3495_less__max__iff__disj,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Z4: A,X: A,Y: A] :
          ( ( ord_less @ A @ Z4 @ ( ord_max @ A @ X @ Y ) )
          = ( ( ord_less @ A @ Z4 @ X )
            | ( ord_less @ A @ Z4 @ Y ) ) ) ) ).

% less_max_iff_disj
thf(fact_3496_nat__add__max__left,axiom,
    ! [M: nat,N: nat,Q6: nat] :
      ( ( plus_plus @ nat @ ( ord_max @ nat @ M @ N ) @ Q6 )
      = ( ord_max @ nat @ ( plus_plus @ nat @ M @ Q6 ) @ ( plus_plus @ nat @ N @ Q6 ) ) ) ).

% nat_add_max_left
thf(fact_3497_nat__add__max__right,axiom,
    ! [M: nat,N: nat,Q6: nat] :
      ( ( plus_plus @ nat @ M @ ( ord_max @ nat @ N @ Q6 ) )
      = ( ord_max @ nat @ ( plus_plus @ nat @ M @ N ) @ ( plus_plus @ nat @ M @ Q6 ) ) ) ).

% nat_add_max_right
thf(fact_3498_sup__max,axiom,
    ! [A: $tType] :
      ( ( ( semilattice_sup @ A )
        & ( linorder @ A ) )
     => ( ( sup_sup @ A )
        = ( ord_max @ A ) ) ) ).

% sup_max
thf(fact_3499_sup__int__def,axiom,
    ( ( sup_sup @ int )
    = ( ord_max @ int ) ) ).

% sup_int_def
thf(fact_3500_sup__nat__def,axiom,
    ( ( sup_sup @ nat )
    = ( ord_max @ nat ) ) ).

% sup_nat_def
thf(fact_3501_option_Omap__ident,axiom,
    ! [A: $tType,T5: option @ A] :
      ( ( map_option @ A @ A
        @ ^ [X4: A] : X4
        @ T5 )
      = T5 ) ).

% option.map_ident
thf(fact_3502_max_OcoboundedI2,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [C3: A,B2: A,A3: A] :
          ( ( ord_less_eq @ A @ C3 @ B2 )
         => ( ord_less_eq @ A @ C3 @ ( ord_max @ A @ A3 @ B2 ) ) ) ) ).

% max.coboundedI2
thf(fact_3503_max_OcoboundedI1,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [C3: A,A3: A,B2: A] :
          ( ( ord_less_eq @ A @ C3 @ A3 )
         => ( ord_less_eq @ A @ C3 @ ( ord_max @ A @ A3 @ B2 ) ) ) ) ).

% max.coboundedI1
thf(fact_3504_max_Oabsorb__iff2,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ( ( ord_less_eq @ A )
        = ( ^ [A7: A,B5: A] :
              ( ( ord_max @ A @ A7 @ B5 )
              = B5 ) ) ) ) ).

% max.absorb_iff2
thf(fact_3505_max_Oabsorb__iff1,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ( ( ord_less_eq @ A )
        = ( ^ [B5: A,A7: A] :
              ( ( ord_max @ A @ A7 @ B5 )
              = A7 ) ) ) ) ).

% max.absorb_iff1
thf(fact_3506_le__max__iff__disj,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Z4: A,X: A,Y: A] :
          ( ( ord_less_eq @ A @ Z4 @ ( ord_max @ A @ X @ Y ) )
          = ( ( ord_less_eq @ A @ Z4 @ X )
            | ( ord_less_eq @ A @ Z4 @ Y ) ) ) ) ).

% le_max_iff_disj
thf(fact_3507_max_Ocobounded2,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [B2: A,A3: A] : ( ord_less_eq @ A @ B2 @ ( ord_max @ A @ A3 @ B2 ) ) ) ).

% max.cobounded2
thf(fact_3508_max_Ocobounded1,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A3: A,B2: A] : ( ord_less_eq @ A @ A3 @ ( ord_max @ A @ A3 @ B2 ) ) ) ).

% max.cobounded1
thf(fact_3509_max_Oorder__iff,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ( ( ord_less_eq @ A )
        = ( ^ [B5: A,A7: A] :
              ( A7
              = ( ord_max @ A @ A7 @ B5 ) ) ) ) ) ).

% max.order_iff
thf(fact_3510_max_OboundedI,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [B2: A,A3: A,C3: A] :
          ( ( ord_less_eq @ A @ B2 @ A3 )
         => ( ( ord_less_eq @ A @ C3 @ A3 )
           => ( ord_less_eq @ A @ ( ord_max @ A @ B2 @ C3 ) @ A3 ) ) ) ) ).

% max.boundedI
thf(fact_3511_max_OboundedE,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [B2: A,C3: A,A3: A] :
          ( ( ord_less_eq @ A @ ( ord_max @ A @ B2 @ C3 ) @ A3 )
         => ~ ( ( ord_less_eq @ A @ B2 @ A3 )
             => ~ ( ord_less_eq @ A @ C3 @ A3 ) ) ) ) ).

% max.boundedE
thf(fact_3512_max_OorderI,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A3: A,B2: A] :
          ( ( A3
            = ( ord_max @ A @ A3 @ B2 ) )
         => ( ord_less_eq @ A @ B2 @ A3 ) ) ) ).

% max.orderI
thf(fact_3513_max_OorderE,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [B2: A,A3: A] :
          ( ( ord_less_eq @ A @ B2 @ A3 )
         => ( A3
            = ( ord_max @ A @ A3 @ B2 ) ) ) ) ).

% max.orderE
thf(fact_3514_max_Omono,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [C3: A,A3: A,D3: A,B2: A] :
          ( ( ord_less_eq @ A @ C3 @ A3 )
         => ( ( ord_less_eq @ A @ D3 @ B2 )
           => ( ord_less_eq @ A @ ( ord_max @ A @ C3 @ D3 ) @ ( ord_max @ A @ A3 @ B2 ) ) ) ) ) ).

% max.mono
thf(fact_3515_max__absorb2,axiom,
    ! [A: $tType] :
      ( ( ord @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less_eq @ A @ X @ Y )
         => ( ( ord_max @ A @ X @ Y )
            = Y ) ) ) ).

% max_absorb2
thf(fact_3516_max__absorb1,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [Y: A,X: A] :
          ( ( ord_less_eq @ A @ Y @ X )
         => ( ( ord_max @ A @ X @ Y )
            = X ) ) ) ).

% max_absorb1
thf(fact_3517_max__def,axiom,
    ! [A: $tType] :
      ( ( ord @ A )
     => ( ( ord_max @ A )
        = ( ^ [A7: A,B5: A] : ( if @ A @ ( ord_less_eq @ A @ A7 @ B5 ) @ B5 @ A7 ) ) ) ) ).

% max_def
thf(fact_3518_max__add__distrib__right,axiom,
    ! [A: $tType] :
      ( ( ordere2412721322843649153imp_le @ A )
     => ! [X: A,Y: A,Z4: A] :
          ( ( plus_plus @ A @ X @ ( ord_max @ A @ Y @ Z4 ) )
          = ( ord_max @ A @ ( plus_plus @ A @ X @ Y ) @ ( plus_plus @ A @ X @ Z4 ) ) ) ) ).

% max_add_distrib_right
thf(fact_3519_max__add__distrib__left,axiom,
    ! [A: $tType] :
      ( ( ordere2412721322843649153imp_le @ A )
     => ! [X: A,Y: A,Z4: A] :
          ( ( plus_plus @ A @ ( ord_max @ A @ X @ Y ) @ Z4 )
          = ( ord_max @ A @ ( plus_plus @ A @ X @ Z4 ) @ ( plus_plus @ A @ Y @ Z4 ) ) ) ) ).

% max_add_distrib_left
thf(fact_3520_option_Osimps_I8_J,axiom,
    ! [A: $tType,B: $tType,F3: A > B] :
      ( ( map_option @ A @ B @ F3 @ ( none @ A ) )
      = ( none @ B ) ) ).

% option.simps(8)
thf(fact_3521_max__def__raw,axiom,
    ! [A: $tType] :
      ( ( ord @ A )
     => ( ( ord_max @ A )
        = ( ^ [A7: A,B5: A] : ( if @ A @ ( ord_less_eq @ A @ A7 @ B5 ) @ B5 @ A7 ) ) ) ) ).

% max_def_raw
thf(fact_3522_n__subsets,axiom,
    ! [A: $tType,A6: set @ A,K2: nat] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( finite_card @ ( set @ A )
          @ ( collect @ ( set @ A )
            @ ^ [B7: set @ A] :
                ( ( ord_less_eq @ ( set @ A ) @ B7 @ A6 )
                & ( ( finite_card @ A @ B7 )
                  = K2 ) ) ) )
        = ( binomial @ ( finite_card @ A @ A6 ) @ K2 ) ) ) ).

% n_subsets
thf(fact_3523_sum_Onon__neutral_H,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [G3: B > A,I5: set @ B] :
          ( ( groups1027152243600224163dd_sum @ B @ A @ G3
            @ ( collect @ B
              @ ^ [X4: B] :
                  ( ( member @ B @ X4 @ I5 )
                  & ( ( G3 @ X4 )
                   != ( zero_zero @ A ) ) ) ) )
          = ( groups1027152243600224163dd_sum @ B @ A @ G3 @ I5 ) ) ) ).

% sum.non_neutral'
thf(fact_3524_option_Osize__gen__o__map,axiom,
    ! [B: $tType,A: $tType,F3: B > nat,G3: A > B] :
      ( ( comp @ ( option @ B ) @ nat @ ( option @ A ) @ ( size_option @ B @ F3 ) @ ( map_option @ A @ B @ G3 ) )
      = ( size_option @ A @ ( comp @ B @ nat @ A @ F3 @ G3 ) ) ) ).

% option.size_gen_o_map
thf(fact_3525_card__subset__eq,axiom,
    ! [A: $tType,B6: set @ A,A6: set @ A] :
      ( ( finite_finite2 @ A @ B6 )
     => ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
       => ( ( ( finite_card @ A @ A6 )
            = ( finite_card @ A @ B6 ) )
         => ( A6 = B6 ) ) ) ) ).

% card_subset_eq
thf(fact_3526_infinite__arbitrarily__large,axiom,
    ! [A: $tType,A6: set @ A,N: nat] :
      ( ~ ( finite_finite2 @ A @ A6 )
     => ? [B10: set @ A] :
          ( ( finite_finite2 @ A @ B10 )
          & ( ( finite_card @ A @ B10 )
            = N )
          & ( ord_less_eq @ ( set @ A ) @ B10 @ A6 ) ) ) ).

% infinite_arbitrarily_large
thf(fact_3527_nat__minus__add__max,axiom,
    ! [N: nat,M: nat] :
      ( ( plus_plus @ nat @ ( minus_minus @ nat @ N @ M ) @ M )
      = ( ord_max @ nat @ N @ M ) ) ).

% nat_minus_add_max
thf(fact_3528_card__le__if__inj__on__rel,axiom,
    ! [B: $tType,A: $tType,B6: set @ A,A6: set @ B,R3: B > A > $o] :
      ( ( finite_finite2 @ A @ B6 )
     => ( ! [A5: B] :
            ( ( member @ B @ A5 @ A6 )
           => ? [B12: A] :
                ( ( member @ A @ B12 @ B6 )
                & ( R3 @ A5 @ B12 ) ) )
       => ( ! [A14: B,A24: B,B4: A] :
              ( ( member @ B @ A14 @ A6 )
             => ( ( member @ B @ A24 @ A6 )
               => ( ( member @ A @ B4 @ B6 )
                 => ( ( R3 @ A14 @ B4 )
                   => ( ( R3 @ A24 @ B4 )
                     => ( A14 = A24 ) ) ) ) ) )
         => ( ord_less_eq @ nat @ ( finite_card @ B @ A6 ) @ ( finite_card @ A @ B6 ) ) ) ) ) ).

% card_le_if_inj_on_rel
thf(fact_3529_card__insert__le,axiom,
    ! [A: $tType,A6: set @ A,X: A] : ( ord_less_eq @ nat @ ( finite_card @ A @ A6 ) @ ( finite_card @ A @ ( insert @ A @ X @ A6 ) ) ) ).

% card_insert_le
thf(fact_3530_sum__multicount__gen,axiom,
    ! [A: $tType,B: $tType,S2: set @ A,T5: set @ B,R4: A > B > $o,K2: B > nat] :
      ( ( finite_finite2 @ A @ S2 )
     => ( ( finite_finite2 @ B @ T5 )
       => ( ! [X3: B] :
              ( ( member @ B @ X3 @ T5 )
             => ( ( finite_card @ A
                  @ ( collect @ A
                    @ ^ [I: A] :
                        ( ( member @ A @ I @ S2 )
                        & ( R4 @ I @ X3 ) ) ) )
                = ( K2 @ X3 ) ) )
         => ( ( groups7311177749621191930dd_sum @ A @ nat
              @ ^ [I: A] :
                  ( finite_card @ B
                  @ ( collect @ B
                    @ ^ [J: B] :
                        ( ( member @ B @ J @ T5 )
                        & ( R4 @ I @ J ) ) ) )
              @ S2 )
            = ( groups7311177749621191930dd_sum @ B @ nat @ K2 @ T5 ) ) ) ) ) ).

% sum_multicount_gen
thf(fact_3531_card__eq__sum,axiom,
    ! [A: $tType] :
      ( ( finite_card @ A )
      = ( groups7311177749621191930dd_sum @ A @ nat
        @ ^ [X4: A] : ( one_one @ nat ) ) ) ).

% card_eq_sum
thf(fact_3532_max__Suc2,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_max @ nat @ M @ ( suc @ N ) )
      = ( case_nat @ nat @ ( suc @ N )
        @ ^ [M7: nat] : ( suc @ ( ord_max @ nat @ M7 @ N ) )
        @ M ) ) ).

% max_Suc2
thf(fact_3533_max__Suc1,axiom,
    ! [N: nat,M: nat] :
      ( ( ord_max @ nat @ ( suc @ N ) @ M )
      = ( case_nat @ nat @ ( suc @ N )
        @ ^ [M7: nat] : ( suc @ ( ord_max @ nat @ N @ M7 ) )
        @ M ) ) ).

% max_Suc1
thf(fact_3534_sum_Odistrib__triv_H,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [I5: set @ B,G3: B > A,H: B > A] :
          ( ( finite_finite2 @ B @ I5 )
         => ( ( groups1027152243600224163dd_sum @ B @ A
              @ ^ [I: B] : ( plus_plus @ A @ ( G3 @ I ) @ ( H @ I ) )
              @ I5 )
            = ( plus_plus @ A @ ( groups1027152243600224163dd_sum @ B @ A @ G3 @ I5 ) @ ( groups1027152243600224163dd_sum @ B @ A @ H @ I5 ) ) ) ) ) ).

% sum.distrib_triv'
thf(fact_3535_card__ge__0__finite,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ ( finite_card @ A @ A6 ) )
     => ( finite_finite2 @ A @ A6 ) ) ).

% card_ge_0_finite
thf(fact_3536_finite__if__finite__subsets__card__bdd,axiom,
    ! [A: $tType,F5: set @ A,C5: nat] :
      ( ! [G7: set @ A] :
          ( ( ord_less_eq @ ( set @ A ) @ G7 @ F5 )
         => ( ( finite_finite2 @ A @ G7 )
           => ( ord_less_eq @ nat @ ( finite_card @ A @ G7 ) @ C5 ) ) )
     => ( ( finite_finite2 @ A @ F5 )
        & ( ord_less_eq @ nat @ ( finite_card @ A @ F5 ) @ C5 ) ) ) ).

% finite_if_finite_subsets_card_bdd
thf(fact_3537_card__seteq,axiom,
    ! [A: $tType,B6: set @ A,A6: set @ A] :
      ( ( finite_finite2 @ A @ B6 )
     => ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
       => ( ( ord_less_eq @ nat @ ( finite_card @ A @ B6 ) @ ( finite_card @ A @ A6 ) )
         => ( A6 = B6 ) ) ) ) ).

% card_seteq
thf(fact_3538_card__mono,axiom,
    ! [A: $tType,B6: set @ A,A6: set @ A] :
      ( ( finite_finite2 @ A @ B6 )
     => ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
       => ( ord_less_eq @ nat @ ( finite_card @ A @ A6 ) @ ( finite_card @ A @ B6 ) ) ) ) ).

% card_mono
thf(fact_3539_obtain__subset__with__card__n,axiom,
    ! [A: $tType,N: nat,S: set @ A] :
      ( ( ord_less_eq @ nat @ N @ ( finite_card @ A @ S ) )
     => ~ ! [T9: set @ A] :
            ( ( ord_less_eq @ ( set @ A ) @ T9 @ S )
           => ( ( ( finite_card @ A @ T9 )
                = N )
             => ~ ( finite_finite2 @ A @ T9 ) ) ) ) ).

% obtain_subset_with_card_n
thf(fact_3540_card__less__sym__Diff,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( finite_finite2 @ A @ B6 )
       => ( ( ord_less @ nat @ ( finite_card @ A @ A6 ) @ ( finite_card @ A @ B6 ) )
         => ( ord_less @ nat @ ( finite_card @ A @ ( minus_minus @ ( set @ A ) @ A6 @ B6 ) ) @ ( finite_card @ A @ ( minus_minus @ ( set @ A ) @ B6 @ A6 ) ) ) ) ) ) ).

% card_less_sym_Diff
thf(fact_3541_card__le__sym__Diff,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( finite_finite2 @ A @ B6 )
       => ( ( ord_less_eq @ nat @ ( finite_card @ A @ A6 ) @ ( finite_card @ A @ B6 ) )
         => ( ord_less_eq @ nat @ ( finite_card @ A @ ( minus_minus @ ( set @ A ) @ A6 @ B6 ) ) @ ( finite_card @ A @ ( minus_minus @ ( set @ A ) @ B6 @ A6 ) ) ) ) ) ) ).

% card_le_sym_Diff
thf(fact_3542_psubset__card__mono,axiom,
    ! [A: $tType,B6: set @ A,A6: set @ A] :
      ( ( finite_finite2 @ A @ B6 )
     => ( ( ord_less @ ( set @ A ) @ A6 @ B6 )
       => ( ord_less @ nat @ ( finite_card @ A @ A6 ) @ ( finite_card @ A @ B6 ) ) ) ) ).

% psubset_card_mono
thf(fact_3543_card__Un__le,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] : ( ord_less_eq @ nat @ ( finite_card @ A @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) ) @ ( plus_plus @ nat @ ( finite_card @ A @ A6 ) @ ( finite_card @ A @ B6 ) ) ) ).

% card_Un_le
thf(fact_3544_max__nat_Osemilattice__neutr__order__axioms,axiom,
    ( semila1105856199041335345_order @ nat @ ( ord_max @ nat ) @ ( zero_zero @ nat )
    @ ^ [X4: nat,Y4: nat] : ( ord_less_eq @ nat @ Y4 @ X4 )
    @ ^ [X4: nat,Y4: nat] : ( ord_less @ nat @ Y4 @ X4 ) ) ).

% max_nat.semilattice_neutr_order_axioms
thf(fact_3545_card__less__Suc2,axiom,
    ! [M6: set @ nat,I2: nat] :
      ( ~ ( member @ nat @ ( zero_zero @ nat ) @ M6 )
     => ( ( finite_card @ nat
          @ ( collect @ nat
            @ ^ [K3: nat] :
                ( ( member @ nat @ ( suc @ K3 ) @ M6 )
                & ( ord_less @ nat @ K3 @ I2 ) ) ) )
        = ( finite_card @ nat
          @ ( collect @ nat
            @ ^ [K3: nat] :
                ( ( member @ nat @ K3 @ M6 )
                & ( ord_less @ nat @ K3 @ ( suc @ I2 ) ) ) ) ) ) ) ).

% card_less_Suc2
thf(fact_3546_card__less__Suc,axiom,
    ! [M6: set @ nat,I2: nat] :
      ( ( member @ nat @ ( zero_zero @ nat ) @ M6 )
     => ( ( suc
          @ ( finite_card @ nat
            @ ( collect @ nat
              @ ^ [K3: nat] :
                  ( ( member @ nat @ ( suc @ K3 ) @ M6 )
                  & ( ord_less @ nat @ K3 @ I2 ) ) ) ) )
        = ( finite_card @ nat
          @ ( collect @ nat
            @ ^ [K3: nat] :
                ( ( member @ nat @ K3 @ M6 )
                & ( ord_less @ nat @ K3 @ ( suc @ I2 ) ) ) ) ) ) ) ).

% card_less_Suc
thf(fact_3547_card__less,axiom,
    ! [M6: set @ nat,I2: nat] :
      ( ( member @ nat @ ( zero_zero @ nat ) @ M6 )
     => ( ( finite_card @ nat
          @ ( collect @ nat
            @ ^ [K3: nat] :
                ( ( member @ nat @ K3 @ M6 )
                & ( ord_less @ nat @ K3 @ ( suc @ I2 ) ) ) ) )
       != ( zero_zero @ nat ) ) ) ).

% card_less
thf(fact_3548_subset__card__intvl__is__intvl,axiom,
    ! [A6: set @ nat,K2: nat] :
      ( ( ord_less_eq @ ( set @ nat ) @ A6 @ ( set_or7035219750837199246ssThan @ nat @ K2 @ ( plus_plus @ nat @ K2 @ ( finite_card @ nat @ A6 ) ) ) )
     => ( A6
        = ( set_or7035219750837199246ssThan @ nat @ K2 @ ( plus_plus @ nat @ K2 @ ( finite_card @ nat @ A6 ) ) ) ) ) ).

% subset_card_intvl_is_intvl
thf(fact_3549_Max_Osemilattice__order__set__axioms,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ( lattic4895041142388067077er_set @ A @ ( ord_max @ A )
        @ ^ [X4: A,Y4: A] : ( ord_less_eq @ A @ Y4 @ X4 )
        @ ^ [X4: A,Y4: A] : ( ord_less @ A @ Y4 @ X4 ) ) ) ).

% Max.semilattice_order_set_axioms
thf(fact_3550_sum__Suc,axiom,
    ! [A: $tType,F3: A > nat,A6: set @ A] :
      ( ( groups7311177749621191930dd_sum @ A @ nat
        @ ^ [X4: A] : ( suc @ ( F3 @ X4 ) )
        @ A6 )
      = ( plus_plus @ nat @ ( groups7311177749621191930dd_sum @ A @ nat @ F3 @ A6 ) @ ( finite_card @ A @ A6 ) ) ) ).

% sum_Suc
thf(fact_3551_sum__multicount,axiom,
    ! [A: $tType,B: $tType,S: set @ A,T8: set @ B,R4: A > B > $o,K2: nat] :
      ( ( finite_finite2 @ A @ S )
     => ( ( finite_finite2 @ B @ T8 )
       => ( ! [X3: B] :
              ( ( member @ B @ X3 @ T8 )
             => ( ( finite_card @ A
                  @ ( collect @ A
                    @ ^ [I: A] :
                        ( ( member @ A @ I @ S )
                        & ( R4 @ I @ X3 ) ) ) )
                = K2 ) )
         => ( ( groups7311177749621191930dd_sum @ A @ nat
              @ ^ [I: A] :
                  ( finite_card @ B
                  @ ( collect @ B
                    @ ^ [J: B] :
                        ( ( member @ B @ J @ T8 )
                        & ( R4 @ I @ J ) ) ) )
              @ S )
            = ( times_times @ nat @ K2 @ ( finite_card @ B @ T8 ) ) ) ) ) ) ).

% sum_multicount
thf(fact_3552_sum_Omono__neutral__left_H,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [S: set @ B,T8: set @ B,G3: B > A] :
          ( ( ord_less_eq @ ( set @ B ) @ S @ T8 )
         => ( ! [X3: B] :
                ( ( member @ B @ X3 @ ( minus_minus @ ( set @ B ) @ T8 @ S ) )
               => ( ( G3 @ X3 )
                  = ( zero_zero @ A ) ) )
           => ( ( groups1027152243600224163dd_sum @ B @ A @ G3 @ S )
              = ( groups1027152243600224163dd_sum @ B @ A @ G3 @ T8 ) ) ) ) ) ).

% sum.mono_neutral_left'
thf(fact_3553_sum_Omono__neutral__right_H,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [S: set @ B,T8: set @ B,G3: B > A] :
          ( ( ord_less_eq @ ( set @ B ) @ S @ T8 )
         => ( ! [X3: B] :
                ( ( member @ B @ X3 @ ( minus_minus @ ( set @ B ) @ T8 @ S ) )
               => ( ( G3 @ X3 )
                  = ( zero_zero @ A ) ) )
           => ( ( groups1027152243600224163dd_sum @ B @ A @ G3 @ T8 )
              = ( groups1027152243600224163dd_sum @ B @ A @ G3 @ S ) ) ) ) ) ).

% sum.mono_neutral_right'
thf(fact_3554_sum_Omono__neutral__cong__left_H,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [S: set @ B,T8: set @ B,H: B > A,G3: B > A] :
          ( ( ord_less_eq @ ( set @ B ) @ S @ T8 )
         => ( ! [I3: B] :
                ( ( member @ B @ I3 @ ( minus_minus @ ( set @ B ) @ T8 @ S ) )
               => ( ( H @ I3 )
                  = ( zero_zero @ A ) ) )
           => ( ! [X3: B] :
                  ( ( member @ B @ X3 @ S )
                 => ( ( G3 @ X3 )
                    = ( H @ X3 ) ) )
             => ( ( groups1027152243600224163dd_sum @ B @ A @ G3 @ S )
                = ( groups1027152243600224163dd_sum @ B @ A @ H @ T8 ) ) ) ) ) ) ).

% sum.mono_neutral_cong_left'
thf(fact_3555_sum_Omono__neutral__cong__right_H,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [S: set @ B,T8: set @ B,G3: B > A,H: B > A] :
          ( ( ord_less_eq @ ( set @ B ) @ S @ T8 )
         => ( ! [X3: B] :
                ( ( member @ B @ X3 @ ( minus_minus @ ( set @ B ) @ T8 @ S ) )
               => ( ( G3 @ X3 )
                  = ( zero_zero @ A ) ) )
           => ( ! [X3: B] :
                  ( ( member @ B @ X3 @ S )
                 => ( ( G3 @ X3 )
                    = ( H @ X3 ) ) )
             => ( ( groups1027152243600224163dd_sum @ B @ A @ G3 @ T8 )
                = ( groups1027152243600224163dd_sum @ B @ A @ H @ S ) ) ) ) ) ) ).

% sum.mono_neutral_cong_right'
thf(fact_3556_map__option__case,axiom,
    ! [A: $tType,B: $tType] :
      ( ( map_option @ B @ A )
      = ( ^ [F4: B > A] :
            ( case_option @ ( option @ A ) @ B @ ( none @ A )
            @ ^ [X4: B] : ( some @ A @ ( F4 @ X4 ) ) ) ) ) ).

% map_option_case
thf(fact_3557_card__gt__0__iff,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ ( finite_card @ A @ A6 ) )
      = ( ( A6
         != ( bot_bot @ ( set @ A ) ) )
        & ( finite_finite2 @ A @ A6 ) ) ) ).

% card_gt_0_iff
thf(fact_3558_sum__bounded__above,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ( ordere6911136660526730532id_add @ A )
        & ( semiring_1 @ A ) )
     => ! [A6: set @ B,F3: B > A,K5: A] :
          ( ! [I3: B] :
              ( ( member @ B @ I3 @ A6 )
             => ( ord_less_eq @ A @ ( F3 @ I3 ) @ K5 ) )
         => ( ord_less_eq @ A @ ( groups7311177749621191930dd_sum @ B @ A @ F3 @ A6 ) @ ( times_times @ A @ ( semiring_1_of_nat @ A @ ( finite_card @ B @ A6 ) ) @ K5 ) ) ) ) ).

% sum_bounded_above
thf(fact_3559_sum__bounded__below,axiom,
    ! [A: $tType,B: $tType] :
      ( ( ( ordere6911136660526730532id_add @ A )
        & ( semiring_1 @ A ) )
     => ! [A6: set @ B,K5: A,F3: B > A] :
          ( ! [I3: B] :
              ( ( member @ B @ I3 @ A6 )
             => ( ord_less_eq @ A @ K5 @ ( F3 @ I3 ) ) )
         => ( ord_less_eq @ A @ ( times_times @ A @ ( semiring_1_of_nat @ A @ ( finite_card @ B @ A6 ) ) @ K5 ) @ ( groups7311177749621191930dd_sum @ B @ A @ F3 @ A6 ) ) ) ) ).

% sum_bounded_below
thf(fact_3560_card__le__Suc0__iff__eq,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( ord_less_eq @ nat @ ( finite_card @ A @ A6 ) @ ( suc @ ( zero_zero @ nat ) ) )
        = ( ! [X4: A] :
              ( ( member @ A @ X4 @ A6 )
             => ! [Y4: A] :
                  ( ( member @ A @ Y4 @ A6 )
                 => ( X4 = Y4 ) ) ) ) ) ) ).

% card_le_Suc0_iff_eq
thf(fact_3561_card__le__Suc__iff,axiom,
    ! [A: $tType,N: nat,A6: set @ A] :
      ( ( ord_less_eq @ nat @ ( suc @ N ) @ ( finite_card @ A @ A6 ) )
      = ( ? [A7: A,B7: set @ A] :
            ( ( A6
              = ( insert @ A @ A7 @ B7 ) )
            & ~ ( member @ A @ A7 @ B7 )
            & ( ord_less_eq @ nat @ N @ ( finite_card @ A @ B7 ) )
            & ( finite_finite2 @ A @ B7 ) ) ) ) ).

% card_le_Suc_iff
thf(fact_3562_card__1__singletonI,axiom,
    ! [A: $tType,S: set @ A,X: A] :
      ( ( finite_finite2 @ A @ S )
     => ( ( ( finite_card @ A @ S )
          = ( one_one @ nat ) )
       => ( ( member @ A @ X @ S )
         => ( S
            = ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ) ).

% card_1_singletonI
thf(fact_3563_card__Diff1__le,axiom,
    ! [A: $tType,A6: set @ A,X: A] : ( ord_less_eq @ nat @ ( finite_card @ A @ ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) ) ) @ ( finite_card @ A @ A6 ) ) ).

% card_Diff1_le
thf(fact_3564_card__Diff__subset,axiom,
    ! [A: $tType,B6: set @ A,A6: set @ A] :
      ( ( finite_finite2 @ A @ B6 )
     => ( ( ord_less_eq @ ( set @ A ) @ B6 @ A6 )
       => ( ( finite_card @ A @ ( minus_minus @ ( set @ A ) @ A6 @ B6 ) )
          = ( minus_minus @ nat @ ( finite_card @ A @ A6 ) @ ( finite_card @ A @ B6 ) ) ) ) ) ).

% card_Diff_subset
thf(fact_3565_card__psubset,axiom,
    ! [A: $tType,B6: set @ A,A6: set @ A] :
      ( ( finite_finite2 @ A @ B6 )
     => ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
       => ( ( ord_less @ nat @ ( finite_card @ A @ A6 ) @ ( finite_card @ A @ B6 ) )
         => ( ord_less @ ( set @ A ) @ A6 @ B6 ) ) ) ) ).

% card_psubset
thf(fact_3566_card__Un__Int,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( finite_finite2 @ A @ B6 )
       => ( ( plus_plus @ nat @ ( finite_card @ A @ A6 ) @ ( finite_card @ A @ B6 ) )
          = ( plus_plus @ nat @ ( finite_card @ A @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) ) @ ( finite_card @ A @ ( inf_inf @ ( set @ A ) @ A6 @ B6 ) ) ) ) ) ) ).

% card_Un_Int
thf(fact_3567_diff__card__le__card__Diff,axiom,
    ! [A: $tType,B6: set @ A,A6: set @ A] :
      ( ( finite_finite2 @ A @ B6 )
     => ( ord_less_eq @ nat @ ( minus_minus @ nat @ ( finite_card @ A @ A6 ) @ ( finite_card @ A @ B6 ) ) @ ( finite_card @ A @ ( minus_minus @ ( set @ A ) @ A6 @ B6 ) ) ) ) ).

% diff_card_le_card_Diff
thf(fact_3568_sum_Odistrib_H,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [I5: set @ B,G3: B > A,H: B > A] :
          ( ( finite_finite2 @ B
            @ ( collect @ B
              @ ^ [X4: B] :
                  ( ( member @ B @ X4 @ I5 )
                  & ( ( G3 @ X4 )
                   != ( zero_zero @ A ) ) ) ) )
         => ( ( finite_finite2 @ B
              @ ( collect @ B
                @ ^ [X4: B] :
                    ( ( member @ B @ X4 @ I5 )
                    & ( ( H @ X4 )
                     != ( zero_zero @ A ) ) ) ) )
           => ( ( groups1027152243600224163dd_sum @ B @ A
                @ ^ [I: B] : ( plus_plus @ A @ ( G3 @ I ) @ ( H @ I ) )
                @ I5 )
              = ( plus_plus @ A @ ( groups1027152243600224163dd_sum @ B @ A @ G3 @ I5 ) @ ( groups1027152243600224163dd_sum @ B @ A @ H @ I5 ) ) ) ) ) ) ).

% sum.distrib'
thf(fact_3569_sum_OG__def,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ( ( groups1027152243600224163dd_sum @ B @ A )
        = ( ^ [P7: B > A,I7: set @ B] :
              ( if @ A
              @ ( finite_finite2 @ B
                @ ( collect @ B
                  @ ^ [X4: B] :
                      ( ( member @ B @ X4 @ I7 )
                      & ( ( P7 @ X4 )
                       != ( zero_zero @ A ) ) ) ) )
              @ ( groups7311177749621191930dd_sum @ B @ A @ P7
                @ ( collect @ B
                  @ ^ [X4: B] :
                      ( ( member @ B @ X4 @ I7 )
                      & ( ( P7 @ X4 )
                       != ( zero_zero @ A ) ) ) ) )
              @ ( zero_zero @ A ) ) ) ) ) ).

% sum.G_def
thf(fact_3570_subset__eq__atLeast0__lessThan__card,axiom,
    ! [N7: set @ nat,N: nat] :
      ( ( ord_less_eq @ ( set @ nat ) @ N7 @ ( set_or7035219750837199246ssThan @ nat @ ( zero_zero @ nat ) @ N ) )
     => ( ord_less_eq @ nat @ ( finite_card @ nat @ N7 ) @ N ) ) ).

% subset_eq_atLeast0_lessThan_card
thf(fact_3571_card__sum__le__nat__sum,axiom,
    ! [S: set @ nat] :
      ( ord_less_eq @ nat
      @ ( groups7311177749621191930dd_sum @ nat @ nat
        @ ^ [X4: nat] : X4
        @ ( set_or7035219750837199246ssThan @ nat @ ( zero_zero @ nat ) @ ( finite_card @ nat @ S ) ) )
      @ ( groups7311177749621191930dd_sum @ nat @ nat
        @ ^ [X4: nat] : X4
        @ S ) ) ).

% card_sum_le_nat_sum
thf(fact_3572_card__insert__disjoint_H,axiom,
    ! [A: $tType,A6: set @ A,X: A] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ~ ( member @ A @ X @ A6 )
       => ( ( minus_minus @ nat @ ( finite_card @ A @ ( insert @ A @ X @ A6 ) ) @ ( suc @ ( zero_zero @ nat ) ) )
          = ( finite_card @ A @ A6 ) ) ) ) ).

% card_insert_disjoint'
thf(fact_3573_card__Diff1__less__iff,axiom,
    ! [A: $tType,A6: set @ A,X: A] :
      ( ( ord_less @ nat @ ( finite_card @ A @ ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) ) ) @ ( finite_card @ A @ A6 ) )
      = ( ( finite_finite2 @ A @ A6 )
        & ( member @ A @ X @ A6 ) ) ) ).

% card_Diff1_less_iff
thf(fact_3574_card__Diff2__less,axiom,
    ! [A: $tType,A6: set @ A,X: A,Y: A] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( member @ A @ X @ A6 )
       => ( ( member @ A @ Y @ A6 )
         => ( ord_less @ nat @ ( finite_card @ A @ ( minus_minus @ ( set @ A ) @ ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) ) @ ( insert @ A @ Y @ ( bot_bot @ ( set @ A ) ) ) ) ) @ ( finite_card @ A @ A6 ) ) ) ) ) ).

% card_Diff2_less
thf(fact_3575_card__Diff1__less,axiom,
    ! [A: $tType,A6: set @ A,X: A] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( member @ A @ X @ A6 )
       => ( ord_less @ nat @ ( finite_card @ A @ ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) ) ) @ ( finite_card @ A @ A6 ) ) ) ) ).

% card_Diff1_less
thf(fact_3576_card__Un__disjoint,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( finite_finite2 @ A @ B6 )
       => ( ( ( inf_inf @ ( set @ A ) @ A6 @ B6 )
            = ( bot_bot @ ( set @ A ) ) )
         => ( ( finite_card @ A @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) )
            = ( plus_plus @ nat @ ( finite_card @ A @ A6 ) @ ( finite_card @ A @ B6 ) ) ) ) ) ) ).

% card_Un_disjoint
thf(fact_3577_prod__le__power,axiom,
    ! [B: $tType,A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [A6: set @ B,F3: B > A,N: A,K2: nat] :
          ( ! [I3: B] :
              ( ( member @ B @ I3 @ A6 )
             => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( F3 @ I3 ) )
                & ( ord_less_eq @ A @ ( F3 @ I3 ) @ N ) ) )
         => ( ( ord_less_eq @ nat @ ( finite_card @ B @ A6 ) @ K2 )
           => ( ( ord_less_eq @ A @ ( one_one @ A ) @ N )
             => ( ord_less_eq @ A @ ( groups7121269368397514597t_prod @ B @ A @ F3 @ A6 ) @ ( power_power @ A @ N @ K2 ) ) ) ) ) ) ).

% prod_le_power
thf(fact_3578_sum__bounded__above__divide,axiom,
    ! [B: $tType,A: $tType] :
      ( ( linordered_field @ A )
     => ! [A6: set @ B,F3: B > A,K5: A] :
          ( ! [I3: B] :
              ( ( member @ B @ I3 @ A6 )
             => ( ord_less_eq @ A @ ( F3 @ I3 ) @ ( divide_divide @ A @ K5 @ ( semiring_1_of_nat @ A @ ( finite_card @ B @ A6 ) ) ) ) )
         => ( ( finite_finite2 @ B @ A6 )
           => ( ( A6
               != ( bot_bot @ ( set @ B ) ) )
             => ( ord_less_eq @ A @ ( groups7311177749621191930dd_sum @ B @ A @ F3 @ A6 ) @ K5 ) ) ) ) ) ).

% sum_bounded_above_divide
thf(fact_3579_sum__bounded__above__strict,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ( ordere8940638589300402666id_add @ A )
        & ( semiring_1 @ A ) )
     => ! [A6: set @ B,F3: B > A,K5: A] :
          ( ! [I3: B] :
              ( ( member @ B @ I3 @ A6 )
             => ( ord_less @ A @ ( F3 @ I3 ) @ K5 ) )
         => ( ( ord_less @ nat @ ( zero_zero @ nat ) @ ( finite_card @ B @ A6 ) )
           => ( ord_less @ A @ ( groups7311177749621191930dd_sum @ B @ A @ F3 @ A6 ) @ ( times_times @ A @ ( semiring_1_of_nat @ A @ ( finite_card @ B @ A6 ) ) @ K5 ) ) ) ) ) ).

% sum_bounded_above_strict
thf(fact_3580_card__insert__le__m1,axiom,
    ! [A: $tType,N: nat,Y: set @ A,X: A] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
     => ( ( ord_less_eq @ nat @ ( finite_card @ A @ Y ) @ ( minus_minus @ nat @ N @ ( one_one @ nat ) ) )
       => ( ord_less_eq @ nat @ ( finite_card @ A @ ( insert @ A @ X @ Y ) ) @ N ) ) ) ).

% card_insert_le_m1
thf(fact_3581_prod__gen__delta,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [S: set @ B,A3: B,B2: B > A,C3: A] :
          ( ( finite_finite2 @ B @ S )
         => ( ( ( member @ B @ A3 @ S )
             => ( ( groups7121269368397514597t_prod @ B @ A
                  @ ^ [K3: B] : ( if @ A @ ( K3 = A3 ) @ ( B2 @ K3 ) @ C3 )
                  @ S )
                = ( times_times @ A @ ( B2 @ A3 ) @ ( power_power @ A @ C3 @ ( minus_minus @ nat @ ( finite_card @ B @ S ) @ ( one_one @ nat ) ) ) ) ) )
            & ( ~ ( member @ B @ A3 @ S )
             => ( ( groups7121269368397514597t_prod @ B @ A
                  @ ^ [K3: B] : ( if @ A @ ( K3 = A3 ) @ ( B2 @ K3 ) @ C3 )
                  @ S )
                = ( power_power @ A @ C3 @ ( finite_card @ B @ S ) ) ) ) ) ) ) ).

% prod_gen_delta
thf(fact_3582_sum__diff1_H,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ab_group_add @ B )
     => ! [I5: set @ A,F3: A > B,I2: A] :
          ( ( finite_finite2 @ A
            @ ( collect @ A
              @ ^ [I: A] :
                  ( ( member @ A @ I @ I5 )
                  & ( ( F3 @ I )
                   != ( zero_zero @ B ) ) ) ) )
         => ( ( ( member @ A @ I2 @ I5 )
             => ( ( groups1027152243600224163dd_sum @ A @ B @ F3 @ ( minus_minus @ ( set @ A ) @ I5 @ ( insert @ A @ I2 @ ( bot_bot @ ( set @ A ) ) ) ) )
                = ( minus_minus @ B @ ( groups1027152243600224163dd_sum @ A @ B @ F3 @ I5 ) @ ( F3 @ I2 ) ) ) )
            & ( ~ ( member @ A @ I2 @ I5 )
             => ( ( groups1027152243600224163dd_sum @ A @ B @ F3 @ ( minus_minus @ ( set @ A ) @ I5 @ ( insert @ A @ I2 @ ( bot_bot @ ( set @ A ) ) ) ) )
                = ( groups1027152243600224163dd_sum @ A @ B @ F3 @ I5 ) ) ) ) ) ) ).

% sum_diff1'
thf(fact_3583_map__option__o__empty,axiom,
    ! [C: $tType,B: $tType,A: $tType,F3: C > B] :
      ( ( comp @ ( option @ C ) @ ( option @ B ) @ A @ ( map_option @ C @ B @ F3 )
        @ ^ [X4: A] : ( none @ C ) )
      = ( ^ [X4: A] : ( none @ B ) ) ) ).

% map_option_o_empty
thf(fact_3584_and__not__num_Opelims,axiom,
    ! [X: num,Xa: num,Y: option @ num] :
      ( ( ( bit_and_not_num @ X @ Xa )
        = Y )
     => ( ( accp @ ( product_prod @ num @ num ) @ bit_and_not_num_rel @ ( product_Pair @ num @ num @ X @ Xa ) )
       => ( ( ( X = one )
           => ( ( Xa = one )
             => ( ( Y
                  = ( none @ num ) )
               => ~ ( accp @ ( product_prod @ num @ num ) @ bit_and_not_num_rel @ ( product_Pair @ num @ num @ one @ one ) ) ) ) )
         => ( ( ( X = one )
             => ! [N4: num] :
                  ( ( Xa
                    = ( bit0 @ N4 ) )
                 => ( ( Y
                      = ( some @ num @ one ) )
                   => ~ ( accp @ ( product_prod @ num @ num ) @ bit_and_not_num_rel @ ( product_Pair @ num @ num @ one @ ( bit0 @ N4 ) ) ) ) ) )
           => ( ( ( X = one )
               => ! [N4: num] :
                    ( ( Xa
                      = ( bit1 @ N4 ) )
                   => ( ( Y
                        = ( none @ num ) )
                     => ~ ( accp @ ( product_prod @ num @ num ) @ bit_and_not_num_rel @ ( product_Pair @ num @ num @ one @ ( bit1 @ N4 ) ) ) ) ) )
             => ( ! [M5: num] :
                    ( ( X
                      = ( bit0 @ M5 ) )
                   => ( ( Xa = one )
                     => ( ( Y
                          = ( some @ num @ ( bit0 @ M5 ) ) )
                       => ~ ( accp @ ( product_prod @ num @ num ) @ bit_and_not_num_rel @ ( product_Pair @ num @ num @ ( bit0 @ M5 ) @ one ) ) ) ) )
               => ( ! [M5: num] :
                      ( ( X
                        = ( bit0 @ M5 ) )
                     => ! [N4: num] :
                          ( ( Xa
                            = ( bit0 @ N4 ) )
                         => ( ( Y
                              = ( map_option @ num @ num @ bit0 @ ( bit_and_not_num @ M5 @ N4 ) ) )
                           => ~ ( accp @ ( product_prod @ num @ num ) @ bit_and_not_num_rel @ ( product_Pair @ num @ num @ ( bit0 @ M5 ) @ ( bit0 @ N4 ) ) ) ) ) )
                 => ( ! [M5: num] :
                        ( ( X
                          = ( bit0 @ M5 ) )
                       => ! [N4: num] :
                            ( ( Xa
                              = ( bit1 @ N4 ) )
                           => ( ( Y
                                = ( map_option @ num @ num @ bit0 @ ( bit_and_not_num @ M5 @ N4 ) ) )
                             => ~ ( accp @ ( product_prod @ num @ num ) @ bit_and_not_num_rel @ ( product_Pair @ num @ num @ ( bit0 @ M5 ) @ ( bit1 @ N4 ) ) ) ) ) )
                   => ( ! [M5: num] :
                          ( ( X
                            = ( bit1 @ M5 ) )
                         => ( ( Xa = one )
                           => ( ( Y
                                = ( some @ num @ ( bit0 @ M5 ) ) )
                             => ~ ( accp @ ( product_prod @ num @ num ) @ bit_and_not_num_rel @ ( product_Pair @ num @ num @ ( bit1 @ M5 ) @ one ) ) ) ) )
                     => ( ! [M5: num] :
                            ( ( X
                              = ( bit1 @ M5 ) )
                           => ! [N4: num] :
                                ( ( Xa
                                  = ( bit0 @ N4 ) )
                               => ( ( Y
                                    = ( case_option @ ( option @ num ) @ num @ ( some @ num @ one )
                                      @ ^ [N9: num] : ( some @ num @ ( bit1 @ N9 ) )
                                      @ ( bit_and_not_num @ M5 @ N4 ) ) )
                                 => ~ ( accp @ ( product_prod @ num @ num ) @ bit_and_not_num_rel @ ( product_Pair @ num @ num @ ( bit1 @ M5 ) @ ( bit0 @ N4 ) ) ) ) ) )
                       => ~ ! [M5: num] :
                              ( ( X
                                = ( bit1 @ M5 ) )
                             => ! [N4: num] :
                                  ( ( Xa
                                    = ( bit1 @ N4 ) )
                                 => ( ( Y
                                      = ( map_option @ num @ num @ bit0 @ ( bit_and_not_num @ M5 @ N4 ) ) )
                                   => ~ ( accp @ ( product_prod @ num @ num ) @ bit_and_not_num_rel @ ( product_Pair @ num @ num @ ( bit1 @ M5 ) @ ( bit1 @ N4 ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ).

% and_not_num.pelims
thf(fact_3585_and__num_Oelims,axiom,
    ! [X: num,Xa: num,Y: option @ num] :
      ( ( ( bit_un7362597486090784418nd_num @ X @ Xa )
        = Y )
     => ( ( ( X = one )
         => ( ( Xa = one )
           => ( Y
             != ( some @ num @ one ) ) ) )
       => ( ( ( X = one )
           => ( ? [N4: num] :
                  ( Xa
                  = ( bit0 @ N4 ) )
             => ( Y
               != ( none @ num ) ) ) )
         => ( ( ( X = one )
             => ( ? [N4: num] :
                    ( Xa
                    = ( bit1 @ N4 ) )
               => ( Y
                 != ( some @ num @ one ) ) ) )
           => ( ( ? [M5: num] :
                    ( X
                    = ( bit0 @ M5 ) )
               => ( ( Xa = one )
                 => ( Y
                   != ( none @ num ) ) ) )
             => ( ! [M5: num] :
                    ( ( X
                      = ( bit0 @ M5 ) )
                   => ! [N4: num] :
                        ( ( Xa
                          = ( bit0 @ N4 ) )
                       => ( Y
                         != ( map_option @ num @ num @ bit0 @ ( bit_un7362597486090784418nd_num @ M5 @ N4 ) ) ) ) )
               => ( ! [M5: num] :
                      ( ( X
                        = ( bit0 @ M5 ) )
                     => ! [N4: num] :
                          ( ( Xa
                            = ( bit1 @ N4 ) )
                         => ( Y
                           != ( map_option @ num @ num @ bit0 @ ( bit_un7362597486090784418nd_num @ M5 @ N4 ) ) ) ) )
                 => ( ( ? [M5: num] :
                          ( X
                          = ( bit1 @ M5 ) )
                     => ( ( Xa = one )
                       => ( Y
                         != ( some @ num @ one ) ) ) )
                   => ( ! [M5: num] :
                          ( ( X
                            = ( bit1 @ M5 ) )
                         => ! [N4: num] :
                              ( ( Xa
                                = ( bit0 @ N4 ) )
                             => ( Y
                               != ( map_option @ num @ num @ bit0 @ ( bit_un7362597486090784418nd_num @ M5 @ N4 ) ) ) ) )
                     => ~ ! [M5: num] :
                            ( ( X
                              = ( bit1 @ M5 ) )
                           => ! [N4: num] :
                                ( ( Xa
                                  = ( bit1 @ N4 ) )
                               => ( Y
                                 != ( case_option @ ( option @ num ) @ num @ ( some @ num @ one )
                                    @ ^ [N9: num] : ( some @ num @ ( bit1 @ N9 ) )
                                    @ ( bit_un7362597486090784418nd_num @ M5 @ N4 ) ) ) ) ) ) ) ) ) ) ) ) ) ) ).

% and_num.elims
thf(fact_3586_card__lists__length__le,axiom,
    ! [A: $tType,A6: set @ A,N: nat] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( finite_card @ ( list @ A )
          @ ( collect @ ( list @ A )
            @ ^ [Xs3: list @ A] :
                ( ( ord_less_eq @ ( set @ A ) @ ( set2 @ A @ Xs3 ) @ A6 )
                & ( ord_less_eq @ nat @ ( size_size @ ( list @ A ) @ Xs3 ) @ N ) ) ) )
        = ( groups7311177749621191930dd_sum @ nat @ nat @ ( power_power @ nat @ ( finite_card @ A @ A6 ) ) @ ( set_ord_atMost @ nat @ N ) ) ) ) ).

% card_lists_length_le
thf(fact_3587_horner__sum__eq__sum__funpow,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_semiring_0 @ A )
     => ( ( groups4207007520872428315er_sum @ B @ A )
        = ( ^ [F4: B > A,A7: A,Xs3: list @ B] :
              ( groups7311177749621191930dd_sum @ nat @ A
              @ ^ [N3: nat] : ( compow @ ( A > A ) @ N3 @ ( times_times @ A @ A7 ) @ ( F4 @ ( nth @ B @ Xs3 @ N3 ) ) )
              @ ( set_or7035219750837199246ssThan @ nat @ ( zero_zero @ nat ) @ ( size_size @ ( list @ B ) @ Xs3 ) ) ) ) ) ) ).

% horner_sum_eq_sum_funpow
thf(fact_3588_Suc__funpow,axiom,
    ! [N: nat] :
      ( ( compow @ ( nat > nat ) @ N @ suc )
      = ( plus_plus @ nat @ N ) ) ).

% Suc_funpow
thf(fact_3589_funpow__0,axiom,
    ! [A: $tType,F3: A > A,X: A] :
      ( ( compow @ ( A > A ) @ ( zero_zero @ nat ) @ F3 @ X )
      = X ) ).

% funpow_0
thf(fact_3590_subset__code_I1_J,axiom,
    ! [A: $tType,Xs: list @ A,B6: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ ( set2 @ A @ Xs ) @ B6 )
      = ( ! [X4: A] :
            ( ( member @ A @ X4 @ ( set2 @ A @ Xs ) )
           => ( member @ A @ X4 @ B6 ) ) ) ) ).

% subset_code(1)
thf(fact_3591_funpow__swap1,axiom,
    ! [A: $tType,F3: A > A,N: nat,X: A] :
      ( ( F3 @ ( compow @ ( A > A ) @ N @ F3 @ X ) )
      = ( compow @ ( A > A ) @ N @ F3 @ ( F3 @ X ) ) ) ).

% funpow_swap1
thf(fact_3592_funpow__mult,axiom,
    ! [A: $tType,N: nat,M: nat,F3: A > A] :
      ( ( compow @ ( A > A ) @ N @ ( compow @ ( A > A ) @ M @ F3 ) )
      = ( compow @ ( A > A ) @ ( times_times @ nat @ M @ N ) @ F3 ) ) ).

% funpow_mult
thf(fact_3593_comp__funpow,axiom,
    ! [B: $tType,A: $tType,N: nat,F3: A > A] :
      ( ( compow @ ( ( B > A ) > B > A ) @ N @ ( comp @ A @ A @ B @ F3 ) )
      = ( comp @ A @ A @ B @ ( compow @ ( A > A ) @ N @ F3 ) ) ) ).

% comp_funpow
thf(fact_3594_set__zip__rightD,axiom,
    ! [A: $tType,B: $tType,X: A,Y: B,Xs: list @ A,Ys3: list @ B] :
      ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X @ Y ) @ ( set2 @ ( product_prod @ A @ B ) @ ( zip @ A @ B @ Xs @ Ys3 ) ) )
     => ( member @ B @ Y @ ( set2 @ B @ Ys3 ) ) ) ).

% set_zip_rightD
thf(fact_3595_set__zip__leftD,axiom,
    ! [B: $tType,A: $tType,X: A,Y: B,Xs: list @ A,Ys3: list @ B] :
      ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X @ Y ) @ ( set2 @ ( product_prod @ A @ B ) @ ( zip @ A @ B @ Xs @ Ys3 ) ) )
     => ( member @ A @ X @ ( set2 @ A @ Xs ) ) ) ).

% set_zip_leftD
thf(fact_3596_in__set__zipE,axiom,
    ! [A: $tType,B: $tType,X: A,Y: B,Xs: list @ A,Ys3: list @ B] :
      ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X @ Y ) @ ( set2 @ ( product_prod @ A @ B ) @ ( zip @ A @ B @ Xs @ Ys3 ) ) )
     => ~ ( ( member @ A @ X @ ( set2 @ A @ Xs ) )
         => ~ ( member @ B @ Y @ ( set2 @ B @ Ys3 ) ) ) ) ).

% in_set_zipE
thf(fact_3597_zip__same,axiom,
    ! [A: $tType,A3: A,B2: A,Xs: list @ A] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ ( set2 @ ( product_prod @ A @ A ) @ ( zip @ A @ A @ Xs @ Xs ) ) )
      = ( ( member @ A @ A3 @ ( set2 @ A @ Xs ) )
        & ( A3 = B2 ) ) ) ).

% zip_same
thf(fact_3598_in__set__impl__in__set__zip1,axiom,
    ! [A: $tType,B: $tType,Xs: list @ A,Ys3: list @ B,X: A] :
      ( ( ( size_size @ ( list @ A ) @ Xs )
        = ( size_size @ ( list @ B ) @ Ys3 ) )
     => ( ( member @ A @ X @ ( set2 @ A @ Xs ) )
       => ~ ! [Y3: B] :
              ~ ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X @ Y3 ) @ ( set2 @ ( product_prod @ A @ B ) @ ( zip @ A @ B @ Xs @ Ys3 ) ) ) ) ) ).

% in_set_impl_in_set_zip1
thf(fact_3599_in__set__impl__in__set__zip2,axiom,
    ! [A: $tType,B: $tType,Xs: list @ A,Ys3: list @ B,Y: B] :
      ( ( ( size_size @ ( list @ A ) @ Xs )
        = ( size_size @ ( list @ B ) @ Ys3 ) )
     => ( ( member @ B @ Y @ ( set2 @ B @ Ys3 ) )
       => ~ ! [X3: A] :
              ~ ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X3 @ Y ) @ ( set2 @ ( product_prod @ A @ B ) @ ( zip @ A @ B @ Xs @ Ys3 ) ) ) ) ) ).

% in_set_impl_in_set_zip2
thf(fact_3600_funpow__Suc__right,axiom,
    ! [A: $tType,N: nat,F3: A > A] :
      ( ( compow @ ( A > A ) @ ( suc @ N ) @ F3 )
      = ( comp @ A @ A @ A @ ( compow @ ( A > A ) @ N @ F3 ) @ F3 ) ) ).

% funpow_Suc_right
thf(fact_3601_funpow_Osimps_I2_J,axiom,
    ! [A: $tType,N: nat,F3: A > A] :
      ( ( compow @ ( A > A ) @ ( suc @ N ) @ F3 )
      = ( comp @ A @ A @ A @ F3 @ ( compow @ ( A > A ) @ N @ F3 ) ) ) ).

% funpow.simps(2)
thf(fact_3602_funpow__add,axiom,
    ! [A: $tType,M: nat,N: nat,F3: A > A] :
      ( ( compow @ ( A > A ) @ ( plus_plus @ nat @ M @ N ) @ F3 )
      = ( comp @ A @ A @ A @ ( compow @ ( A > A ) @ M @ F3 ) @ ( compow @ ( A > A ) @ N @ F3 ) ) ) ).

% funpow_add
thf(fact_3603_set__subset__Cons,axiom,
    ! [A: $tType,Xs: list @ A,X: A] : ( ord_less_eq @ ( set @ A ) @ ( set2 @ A @ Xs ) @ ( set2 @ A @ ( cons @ A @ X @ Xs ) ) ) ).

% set_subset_Cons
thf(fact_3604_strict__sorted__equal,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Xs: list @ A,Ys3: list @ A] :
          ( ( sorted_wrt @ A @ ( ord_less @ A ) @ Xs )
         => ( ( sorted_wrt @ A @ ( ord_less @ A ) @ Ys3 )
           => ( ( ( set2 @ A @ Ys3 )
                = ( set2 @ A @ Xs ) )
             => ( Ys3 = Xs ) ) ) ) ) ).

% strict_sorted_equal
thf(fact_3605_find__SomeD_I2_J,axiom,
    ! [A: $tType,P2: A > $o,Xs: list @ A,X: A] :
      ( ( ( find @ A @ P2 @ Xs )
        = ( some @ A @ X ) )
     => ( member @ A @ X @ ( set2 @ A @ Xs ) ) ) ).

% find_SomeD(2)
thf(fact_3606_relpowp__fun__conv,axiom,
    ! [A: $tType] :
      ( ( compow @ ( A > A > $o ) )
      = ( ^ [N3: nat,P5: A > A > $o,X4: A,Y4: A] :
          ? [F4: nat > A] :
            ( ( ( F4 @ ( zero_zero @ nat ) )
              = X4 )
            & ( ( F4 @ N3 )
              = Y4 )
            & ! [I: nat] :
                ( ( ord_less @ nat @ I @ N3 )
               => ( P5 @ ( F4 @ I ) @ ( F4 @ ( suc @ I ) ) ) ) ) ) ) ).

% relpowp_fun_conv
thf(fact_3607_relpowp__bot,axiom,
    ! [A: $tType,N: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
     => ( ( compow @ ( A > A > $o ) @ N @ ( bot_bot @ ( A > A > $o ) ) )
        = ( bot_bot @ ( A > A > $o ) ) ) ) ).

% relpowp_bot
thf(fact_3608_length__pos__if__in__set,axiom,
    ! [A: $tType,X: A,Xs: list @ A] :
      ( ( member @ A @ X @ ( set2 @ A @ Xs ) )
     => ( ord_less @ nat @ ( zero_zero @ nat ) @ ( size_size @ ( list @ A ) @ Xs ) ) ) ).

% length_pos_if_in_set
thf(fact_3609_sorted__simps_I2_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [X: A,Ys3: list @ A] :
          ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( cons @ A @ X @ Ys3 ) )
          = ( ! [X4: A] :
                ( ( member @ A @ X4 @ ( set2 @ A @ Ys3 ) )
               => ( ord_less_eq @ A @ X @ X4 ) )
            & ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ Ys3 ) ) ) ) ).

% sorted_simps(2)
thf(fact_3610_strict__sorted__simps_I2_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [X: A,Ys3: list @ A] :
          ( ( sorted_wrt @ A @ ( ord_less @ A ) @ ( cons @ A @ X @ Ys3 ) )
          = ( ! [X4: A] :
                ( ( member @ A @ X4 @ ( set2 @ A @ Ys3 ) )
               => ( ord_less @ A @ X @ X4 ) )
            & ( sorted_wrt @ A @ ( ord_less @ A ) @ Ys3 ) ) ) ) ).

% strict_sorted_simps(2)
thf(fact_3611_all__set__conv__nth,axiom,
    ! [A: $tType,L: list @ A,P2: A > $o] :
      ( ( ! [X4: A] :
            ( ( member @ A @ X4 @ ( set2 @ A @ L ) )
           => ( P2 @ X4 ) ) )
      = ( ! [I: nat] :
            ( ( ord_less @ nat @ I @ ( size_size @ ( list @ A ) @ L ) )
           => ( P2 @ ( nth @ A @ L @ I ) ) ) ) ) ).

% all_set_conv_nth
thf(fact_3612_all__set__conv__all__nth,axiom,
    ! [A: $tType,Xs: list @ A,P2: A > $o] :
      ( ( ! [X4: A] :
            ( ( member @ A @ X4 @ ( set2 @ A @ Xs ) )
           => ( P2 @ X4 ) ) )
      = ( ! [I: nat] :
            ( ( ord_less @ nat @ I @ ( size_size @ ( list @ A ) @ Xs ) )
           => ( P2 @ ( nth @ A @ Xs @ I ) ) ) ) ) ).

% all_set_conv_all_nth
thf(fact_3613_all__nth__imp__all__set,axiom,
    ! [A: $tType,Xs: list @ A,P2: A > $o,X: A] :
      ( ! [I3: nat] :
          ( ( ord_less @ nat @ I3 @ ( size_size @ ( list @ A ) @ Xs ) )
         => ( P2 @ ( nth @ A @ Xs @ I3 ) ) )
     => ( ( member @ A @ X @ ( set2 @ A @ Xs ) )
       => ( P2 @ X ) ) ) ).

% all_nth_imp_all_set
thf(fact_3614_in__set__conv__nth,axiom,
    ! [A: $tType,X: A,Xs: list @ A] :
      ( ( member @ A @ X @ ( set2 @ A @ Xs ) )
      = ( ? [I: nat] :
            ( ( ord_less @ nat @ I @ ( size_size @ ( list @ A ) @ Xs ) )
            & ( ( nth @ A @ Xs @ I )
              = X ) ) ) ) ).

% in_set_conv_nth
thf(fact_3615_list__ball__nth,axiom,
    ! [A: $tType,N: nat,Xs: list @ A,P2: A > $o] :
      ( ( ord_less @ nat @ N @ ( size_size @ ( list @ A ) @ Xs ) )
     => ( ! [X3: A] :
            ( ( member @ A @ X3 @ ( set2 @ A @ Xs ) )
           => ( P2 @ X3 ) )
       => ( P2 @ ( nth @ A @ Xs @ N ) ) ) ) ).

% list_ball_nth
thf(fact_3616_nth__mem,axiom,
    ! [A: $tType,N: nat,Xs: list @ A] :
      ( ( ord_less @ nat @ N @ ( size_size @ ( list @ A ) @ Xs ) )
     => ( member @ A @ ( nth @ A @ Xs @ N ) @ ( set2 @ A @ Xs ) ) ) ).

% nth_mem
thf(fact_3617_card__length,axiom,
    ! [A: $tType,Xs: list @ A] : ( ord_less_eq @ nat @ ( finite_card @ A @ ( set2 @ A @ Xs ) ) @ ( size_size @ ( list @ A ) @ Xs ) ) ).

% card_length
thf(fact_3618_of__nat__def,axiom,
    ! [A: $tType] :
      ( ( semiring_1 @ A )
     => ( ( semiring_1_of_nat @ A )
        = ( ^ [N3: nat] : ( compow @ ( A > A ) @ N3 @ ( plus_plus @ A @ ( one_one @ A ) ) @ ( zero_zero @ A ) ) ) ) ) ).

% of_nat_def
thf(fact_3619_numeral__add__unfold__funpow,axiom,
    ! [A: $tType] :
      ( ( semiring_numeral @ A )
     => ! [K2: num,A3: A] :
          ( ( plus_plus @ A @ ( numeral_numeral @ A @ K2 ) @ A3 )
          = ( compow @ ( A > A ) @ ( numeral_numeral @ nat @ K2 ) @ ( plus_plus @ A @ ( one_one @ A ) ) @ A3 ) ) ) ).

% numeral_add_unfold_funpow
thf(fact_3620_numeral__unfold__funpow,axiom,
    ! [A: $tType] :
      ( ( semiring_1 @ A )
     => ( ( numeral_numeral @ A )
        = ( ^ [K3: num] : ( compow @ ( A > A ) @ ( numeral_numeral @ nat @ K3 ) @ ( plus_plus @ A @ ( one_one @ A ) ) @ ( zero_zero @ A ) ) ) ) ) ).

% numeral_unfold_funpow
thf(fact_3621_finite__lists__length__eq,axiom,
    ! [A: $tType,A6: set @ A,N: nat] :
      ( ( finite_finite2 @ A @ A6 )
     => ( finite_finite2 @ ( list @ A )
        @ ( collect @ ( list @ A )
          @ ^ [Xs3: list @ A] :
              ( ( ord_less_eq @ ( set @ A ) @ ( set2 @ A @ Xs3 ) @ A6 )
              & ( ( size_size @ ( list @ A ) @ Xs3 )
                = N ) ) ) ) ) ).

% finite_lists_length_eq
thf(fact_3622_nth__equal__first__eq,axiom,
    ! [A: $tType,X: A,Xs: list @ A,N: nat] :
      ( ~ ( member @ A @ X @ ( set2 @ A @ Xs ) )
     => ( ( ord_less_eq @ nat @ N @ ( size_size @ ( list @ A ) @ Xs ) )
       => ( ( ( nth @ A @ ( cons @ A @ X @ Xs ) @ N )
            = X )
          = ( N
            = ( zero_zero @ nat ) ) ) ) ) ).

% nth_equal_first_eq
thf(fact_3623_sorted__list__of__set_Ofinite__set__strict__sorted,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A] :
          ( ( finite_finite2 @ A @ A6 )
         => ~ ! [L3: list @ A] :
                ( ( sorted_wrt @ A @ ( ord_less @ A ) @ L3 )
               => ( ( ( set2 @ A @ L3 )
                    = A6 )
                 => ( ( size_size @ ( list @ A ) @ L3 )
                   != ( finite_card @ A @ A6 ) ) ) ) ) ) ).

% sorted_list_of_set.finite_set_strict_sorted
thf(fact_3624_card__lists__length__eq,axiom,
    ! [A: $tType,A6: set @ A,N: nat] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( finite_card @ ( list @ A )
          @ ( collect @ ( list @ A )
            @ ^ [Xs3: list @ A] :
                ( ( ord_less_eq @ ( set @ A ) @ ( set2 @ A @ Xs3 ) @ A6 )
                & ( ( size_size @ ( list @ A ) @ Xs3 )
                  = N ) ) ) )
        = ( power_power @ nat @ ( finite_card @ A @ A6 ) @ N ) ) ) ).

% card_lists_length_eq
thf(fact_3625_finite__lists__length__le,axiom,
    ! [A: $tType,A6: set @ A,N: nat] :
      ( ( finite_finite2 @ A @ A6 )
     => ( finite_finite2 @ ( list @ A )
        @ ( collect @ ( list @ A )
          @ ^ [Xs3: list @ A] :
              ( ( ord_less_eq @ ( set @ A ) @ ( set2 @ A @ Xs3 ) @ A6 )
              & ( ord_less_eq @ nat @ ( size_size @ ( list @ A ) @ Xs3 ) @ N ) ) ) ) ) ).

% finite_lists_length_le
thf(fact_3626_numeral__and__num,axiom,
    ! [A: $tType] :
      ( ( bit_un5681908812861735899ations @ A )
     => ! [M: num,N: num] :
          ( ( bit_se5824344872417868541ns_and @ A @ ( numeral_numeral @ A @ M ) @ ( numeral_numeral @ A @ N ) )
          = ( case_option @ A @ num @ ( zero_zero @ A ) @ ( numeral_numeral @ A ) @ ( bit_un7362597486090784418nd_num @ M @ N ) ) ) ) ).

% numeral_and_num
thf(fact_3627_and__num_Osimps_I9_J,axiom,
    ! [M: num,N: num] :
      ( ( bit_un7362597486090784418nd_num @ ( bit1 @ M ) @ ( bit1 @ N ) )
      = ( case_option @ ( option @ num ) @ num @ ( some @ num @ one )
        @ ^ [N9: num] : ( some @ num @ ( bit1 @ N9 ) )
        @ ( bit_un7362597486090784418nd_num @ M @ N ) ) ) ).

% and_num.simps(9)
thf(fact_3628_and__num_Opelims,axiom,
    ! [X: num,Xa: num,Y: option @ num] :
      ( ( ( bit_un7362597486090784418nd_num @ X @ Xa )
        = Y )
     => ( ( accp @ ( product_prod @ num @ num ) @ bit_un4731106466462545111um_rel @ ( product_Pair @ num @ num @ X @ Xa ) )
       => ( ( ( X = one )
           => ( ( Xa = one )
             => ( ( Y
                  = ( some @ num @ one ) )
               => ~ ( accp @ ( product_prod @ num @ num ) @ bit_un4731106466462545111um_rel @ ( product_Pair @ num @ num @ one @ one ) ) ) ) )
         => ( ( ( X = one )
             => ! [N4: num] :
                  ( ( Xa
                    = ( bit0 @ N4 ) )
                 => ( ( Y
                      = ( none @ num ) )
                   => ~ ( accp @ ( product_prod @ num @ num ) @ bit_un4731106466462545111um_rel @ ( product_Pair @ num @ num @ one @ ( bit0 @ N4 ) ) ) ) ) )
           => ( ( ( X = one )
               => ! [N4: num] :
                    ( ( Xa
                      = ( bit1 @ N4 ) )
                   => ( ( Y
                        = ( some @ num @ one ) )
                     => ~ ( accp @ ( product_prod @ num @ num ) @ bit_un4731106466462545111um_rel @ ( product_Pair @ num @ num @ one @ ( bit1 @ N4 ) ) ) ) ) )
             => ( ! [M5: num] :
                    ( ( X
                      = ( bit0 @ M5 ) )
                   => ( ( Xa = one )
                     => ( ( Y
                          = ( none @ num ) )
                       => ~ ( accp @ ( product_prod @ num @ num ) @ bit_un4731106466462545111um_rel @ ( product_Pair @ num @ num @ ( bit0 @ M5 ) @ one ) ) ) ) )
               => ( ! [M5: num] :
                      ( ( X
                        = ( bit0 @ M5 ) )
                     => ! [N4: num] :
                          ( ( Xa
                            = ( bit0 @ N4 ) )
                         => ( ( Y
                              = ( map_option @ num @ num @ bit0 @ ( bit_un7362597486090784418nd_num @ M5 @ N4 ) ) )
                           => ~ ( accp @ ( product_prod @ num @ num ) @ bit_un4731106466462545111um_rel @ ( product_Pair @ num @ num @ ( bit0 @ M5 ) @ ( bit0 @ N4 ) ) ) ) ) )
                 => ( ! [M5: num] :
                        ( ( X
                          = ( bit0 @ M5 ) )
                       => ! [N4: num] :
                            ( ( Xa
                              = ( bit1 @ N4 ) )
                           => ( ( Y
                                = ( map_option @ num @ num @ bit0 @ ( bit_un7362597486090784418nd_num @ M5 @ N4 ) ) )
                             => ~ ( accp @ ( product_prod @ num @ num ) @ bit_un4731106466462545111um_rel @ ( product_Pair @ num @ num @ ( bit0 @ M5 ) @ ( bit1 @ N4 ) ) ) ) ) )
                   => ( ! [M5: num] :
                          ( ( X
                            = ( bit1 @ M5 ) )
                         => ( ( Xa = one )
                           => ( ( Y
                                = ( some @ num @ one ) )
                             => ~ ( accp @ ( product_prod @ num @ num ) @ bit_un4731106466462545111um_rel @ ( product_Pair @ num @ num @ ( bit1 @ M5 ) @ one ) ) ) ) )
                     => ( ! [M5: num] :
                            ( ( X
                              = ( bit1 @ M5 ) )
                           => ! [N4: num] :
                                ( ( Xa
                                  = ( bit0 @ N4 ) )
                               => ( ( Y
                                    = ( map_option @ num @ num @ bit0 @ ( bit_un7362597486090784418nd_num @ M5 @ N4 ) ) )
                                 => ~ ( accp @ ( product_prod @ num @ num ) @ bit_un4731106466462545111um_rel @ ( product_Pair @ num @ num @ ( bit1 @ M5 ) @ ( bit0 @ N4 ) ) ) ) ) )
                       => ~ ! [M5: num] :
                              ( ( X
                                = ( bit1 @ M5 ) )
                             => ! [N4: num] :
                                  ( ( Xa
                                    = ( bit1 @ N4 ) )
                                 => ( ( Y
                                      = ( case_option @ ( option @ num ) @ num @ ( some @ num @ one )
                                        @ ^ [N9: num] : ( some @ num @ ( bit1 @ N9 ) )
                                        @ ( bit_un7362597486090784418nd_num @ M5 @ N4 ) ) )
                                   => ~ ( accp @ ( product_prod @ num @ num ) @ bit_un4731106466462545111um_rel @ ( product_Pair @ num @ num @ ( bit1 @ M5 ) @ ( bit1 @ N4 ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ).

% and_num.pelims
thf(fact_3629_set__union,axiom,
    ! [A: $tType,Xs: list @ A,Ys3: list @ A] :
      ( ( set2 @ A @ ( union @ A @ Xs @ Ys3 ) )
      = ( sup_sup @ ( set @ A ) @ ( set2 @ A @ Xs ) @ ( set2 @ A @ Ys3 ) ) ) ).

% set_union
thf(fact_3630_card__lists__distinct__length__eq,axiom,
    ! [A: $tType,A6: set @ A,K2: nat] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( ord_less_eq @ nat @ K2 @ ( finite_card @ A @ A6 ) )
       => ( ( finite_card @ ( list @ A )
            @ ( collect @ ( list @ A )
              @ ^ [Xs3: list @ A] :
                  ( ( ( size_size @ ( list @ A ) @ Xs3 )
                    = K2 )
                  & ( distinct @ A @ Xs3 )
                  & ( ord_less_eq @ ( set @ A ) @ ( set2 @ A @ Xs3 ) @ A6 ) ) ) )
          = ( groups7121269368397514597t_prod @ nat @ nat
            @ ^ [X4: nat] : X4
            @ ( set_or1337092689740270186AtMost @ nat @ ( plus_plus @ nat @ ( minus_minus @ nat @ ( finite_card @ A @ A6 ) @ K2 ) @ ( one_one @ nat ) ) @ ( finite_card @ A @ A6 ) ) ) ) ) ) ).

% card_lists_distinct_length_eq
thf(fact_3631_card__lists__distinct__length__eq_H,axiom,
    ! [A: $tType,K2: nat,A6: set @ A] :
      ( ( ord_less @ nat @ K2 @ ( finite_card @ A @ A6 ) )
     => ( ( finite_card @ ( list @ A )
          @ ( collect @ ( list @ A )
            @ ^ [Xs3: list @ A] :
                ( ( ( size_size @ ( list @ A ) @ Xs3 )
                  = K2 )
                & ( distinct @ A @ Xs3 )
                & ( ord_less_eq @ ( set @ A ) @ ( set2 @ A @ Xs3 ) @ A6 ) ) ) )
        = ( groups7121269368397514597t_prod @ nat @ nat
          @ ^ [X4: nat] : X4
          @ ( set_or1337092689740270186AtMost @ nat @ ( plus_plus @ nat @ ( minus_minus @ nat @ ( finite_card @ A @ A6 ) @ K2 ) @ ( one_one @ nat ) ) @ ( finite_card @ A @ A6 ) ) ) ) ) ).

% card_lists_distinct_length_eq'
thf(fact_3632_finite__lists__distinct__length__eq,axiom,
    ! [A: $tType,A6: set @ A,N: nat] :
      ( ( finite_finite2 @ A @ A6 )
     => ( finite_finite2 @ ( list @ A )
        @ ( collect @ ( list @ A )
          @ ^ [Xs3: list @ A] :
              ( ( ( size_size @ ( list @ A ) @ Xs3 )
                = N )
              & ( distinct @ A @ Xs3 )
              & ( ord_less_eq @ ( set @ A ) @ ( set2 @ A @ Xs3 ) @ A6 ) ) ) ) ) ).

% finite_lists_distinct_length_eq
thf(fact_3633_distinct__finite__set,axiom,
    ! [A: $tType,X: set @ A] :
      ( finite_finite2 @ ( list @ A )
      @ ( collect @ ( list @ A )
        @ ^ [Ys2: list @ A] :
            ( ( ( set2 @ A @ Ys2 )
              = X )
            & ( distinct @ A @ Ys2 ) ) ) ) ).

% distinct_finite_set
thf(fact_3634_strict__sorted__iff,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [L: list @ A] :
          ( ( sorted_wrt @ A @ ( ord_less @ A ) @ L )
          = ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ L )
            & ( distinct @ A @ L ) ) ) ) ).

% strict_sorted_iff
thf(fact_3635_distinct__length__le,axiom,
    ! [A: $tType,Ys3: list @ A,Xs: list @ A] :
      ( ( distinct @ A @ Ys3 )
     => ( ( ( set2 @ A @ Ys3 )
          = ( set2 @ A @ Xs ) )
       => ( ord_less_eq @ nat @ ( size_size @ ( list @ A ) @ Ys3 ) @ ( size_size @ ( list @ A ) @ Xs ) ) ) ) ).

% distinct_length_le
thf(fact_3636_sorted__distinct__set__unique,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Xs: list @ A,Ys3: list @ A] :
          ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ Xs )
         => ( ( distinct @ A @ Xs )
           => ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ Ys3 )
             => ( ( distinct @ A @ Ys3 )
               => ( ( ( set2 @ A @ Xs )
                    = ( set2 @ A @ Ys3 ) )
                 => ( Xs = Ys3 ) ) ) ) ) ) ) ).

% sorted_distinct_set_unique
thf(fact_3637_distinct__conv__nth,axiom,
    ! [A: $tType] :
      ( ( distinct @ A )
      = ( ^ [Xs3: list @ A] :
          ! [I: nat] :
            ( ( ord_less @ nat @ I @ ( size_size @ ( list @ A ) @ Xs3 ) )
           => ! [J: nat] :
                ( ( ord_less @ nat @ J @ ( size_size @ ( list @ A ) @ Xs3 ) )
               => ( ( I != J )
                 => ( ( nth @ A @ Xs3 @ I )
                   != ( nth @ A @ Xs3 @ J ) ) ) ) ) ) ) ).

% distinct_conv_nth
thf(fact_3638_nth__eq__iff__index__eq,axiom,
    ! [A: $tType,Xs: list @ A,I2: nat,J2: nat] :
      ( ( distinct @ A @ Xs )
     => ( ( ord_less @ nat @ I2 @ ( size_size @ ( list @ A ) @ Xs ) )
       => ( ( ord_less @ nat @ J2 @ ( size_size @ ( list @ A ) @ Xs ) )
         => ( ( ( nth @ A @ Xs @ I2 )
              = ( nth @ A @ Xs @ J2 ) )
            = ( I2 = J2 ) ) ) ) ) ).

% nth_eq_iff_index_eq
thf(fact_3639_finite__sorted__distinct__unique,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A] :
          ( ( finite_finite2 @ A @ A6 )
         => ? [X3: list @ A] :
              ( ( ( set2 @ A @ X3 )
                = A6 )
              & ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ X3 )
              & ( distinct @ A @ X3 )
              & ! [Y5: list @ A] :
                  ( ( ( ( set2 @ A @ Y5 )
                      = A6 )
                    & ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ Y5 )
                    & ( distinct @ A @ Y5 ) )
                 => ( Y5 = X3 ) ) ) ) ) ).

% finite_sorted_distinct_unique
thf(fact_3640_distinct__Ex1,axiom,
    ! [A: $tType,Xs: list @ A,X: A] :
      ( ( distinct @ A @ Xs )
     => ( ( member @ A @ X @ ( set2 @ A @ Xs ) )
       => ? [X3: nat] :
            ( ( ord_less @ nat @ X3 @ ( size_size @ ( list @ A ) @ Xs ) )
            & ( ( nth @ A @ Xs @ X3 )
              = X )
            & ! [Y5: nat] :
                ( ( ( ord_less @ nat @ Y5 @ ( size_size @ ( list @ A ) @ Xs ) )
                  & ( ( nth @ A @ Xs @ Y5 )
                    = X ) )
               => ( Y5 = X3 ) ) ) ) ) ).

% distinct_Ex1
thf(fact_3641_distinct__finite__subset,axiom,
    ! [A: $tType,X: set @ A] :
      ( ( finite_finite2 @ A @ X )
     => ( finite_finite2 @ ( list @ A )
        @ ( collect @ ( list @ A )
          @ ^ [Ys2: list @ A] :
              ( ( ord_less_eq @ ( set @ A ) @ ( set2 @ A @ Ys2 ) @ X )
              & ( distinct @ A @ Ys2 ) ) ) ) ) ).

% distinct_finite_subset
thf(fact_3642_distinct__sorted__strict__mono__iff,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [L: list @ A,I2: nat,J2: nat] :
          ( ( distinct @ A @ L )
         => ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ L )
           => ( ( ord_less @ nat @ I2 @ ( size_size @ ( list @ A ) @ L ) )
             => ( ( ord_less @ nat @ J2 @ ( size_size @ ( list @ A ) @ L ) )
               => ( ( ord_less @ A @ ( nth @ A @ L @ I2 ) @ ( nth @ A @ L @ J2 ) )
                  = ( ord_less @ nat @ I2 @ J2 ) ) ) ) ) ) ) ).

% distinct_sorted_strict_mono_iff
thf(fact_3643_distinct__sorted__mono,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [L: list @ A,I2: nat,J2: nat] :
          ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ L )
         => ( ( distinct @ A @ L )
           => ( ( ord_less @ nat @ I2 @ J2 )
             => ( ( ord_less @ nat @ J2 @ ( size_size @ ( list @ A ) @ L ) )
               => ( ord_less @ A @ ( nth @ A @ L @ I2 ) @ ( nth @ A @ L @ J2 ) ) ) ) ) ) ) ).

% distinct_sorted_mono
thf(fact_3644_distinct__sorted__mono__iff,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [L: list @ A,I2: nat,J2: nat] :
          ( ( distinct @ A @ L )
         => ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ L )
           => ( ( ord_less @ nat @ I2 @ ( size_size @ ( list @ A ) @ L ) )
             => ( ( ord_less @ nat @ J2 @ ( size_size @ ( list @ A ) @ L ) )
               => ( ( ord_less_eq @ A @ ( nth @ A @ L @ I2 ) @ ( nth @ A @ L @ J2 ) )
                  = ( ord_less_eq @ nat @ I2 @ J2 ) ) ) ) ) ) ) ).

% distinct_sorted_mono_iff
thf(fact_3645_mergesort__remdups__correct,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [L: list @ A] :
          ( ( distinct @ A @ ( mergesort_remdups @ A @ L ) )
          & ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( mergesort_remdups @ A @ L ) )
          & ( ( set2 @ A @ ( mergesort_remdups @ A @ L ) )
            = ( set2 @ A @ L ) ) ) ) ).

% mergesort_remdups_correct
thf(fact_3646_sum__count__set,axiom,
    ! [A: $tType,Xs: list @ A,X7: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ ( set2 @ A @ Xs ) @ X7 )
     => ( ( finite_finite2 @ A @ X7 )
       => ( ( groups7311177749621191930dd_sum @ A @ nat @ ( count_list @ A @ Xs ) @ X7 )
          = ( size_size @ ( list @ A ) @ Xs ) ) ) ) ).

% sum_count_set
thf(fact_3647_ran__nth__set__encoding__conv,axiom,
    ! [A: $tType,L: list @ A] :
      ( ( ran @ nat @ A
        @ ^ [I: nat] : ( if @ ( option @ A ) @ ( ord_less @ nat @ I @ ( size_size @ ( list @ A ) @ L ) ) @ ( some @ A @ ( nth @ A @ L @ I ) ) @ ( none @ A ) ) )
      = ( set2 @ A @ L ) ) ).

% ran_nth_set_encoding_conv
thf(fact_3648_Nat_Ofunpow__code__def,axiom,
    ! [A: $tType] :
      ( ( funpow @ A )
      = ( compow @ ( A > A ) ) ) ).

% Nat.funpow_code_def
thf(fact_3649_ran__empty,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ran @ B @ A
        @ ^ [X4: B] : ( none @ A ) )
      = ( bot_bot @ ( set @ A ) ) ) ).

% ran_empty
thf(fact_3650_map__update__eta__repair_I2_J,axiom,
    ! [B: $tType,A: $tType,M: A > ( option @ B ),K2: A,V2: B] :
      ( ( ( M @ K2 )
        = ( none @ B ) )
     => ( ( ran @ A @ B
          @ ^ [X4: A] : ( if @ ( option @ B ) @ ( X4 = K2 ) @ ( some @ B @ V2 ) @ ( M @ X4 ) ) )
        = ( insert @ B @ V2 @ ( ran @ A @ B @ M ) ) ) ) ).

% map_update_eta_repair(2)
thf(fact_3651_ranI,axiom,
    ! [A: $tType,B: $tType,M: B > ( option @ A ),A3: B,B2: A] :
      ( ( ( M @ A3 )
        = ( some @ A @ B2 ) )
     => ( member @ A @ B2 @ ( ran @ B @ A @ M ) ) ) ).

% ranI
thf(fact_3652_count__le__length,axiom,
    ! [A: $tType,Xs: list @ A,X: A] : ( ord_less_eq @ nat @ ( count_list @ A @ Xs @ X ) @ ( size_size @ ( list @ A ) @ Xs ) ) ).

% count_le_length
thf(fact_3653_count__list_Osimps_I2_J,axiom,
    ! [A: $tType,X: A,Y: A,Xs: list @ A] :
      ( ( ( X = Y )
       => ( ( count_list @ A @ ( cons @ A @ X @ Xs ) @ Y )
          = ( plus_plus @ nat @ ( count_list @ A @ Xs @ Y ) @ ( one_one @ nat ) ) ) )
      & ( ( X != Y )
       => ( ( count_list @ A @ ( cons @ A @ X @ Xs ) @ Y )
          = ( count_list @ A @ Xs @ Y ) ) ) ) ).

% count_list.simps(2)
thf(fact_3654_card__disjoint__shuffles,axiom,
    ! [A: $tType,Xs: list @ A,Ys3: list @ A] :
      ( ( ( inf_inf @ ( set @ A ) @ ( set2 @ A @ Xs ) @ ( set2 @ A @ Ys3 ) )
        = ( bot_bot @ ( set @ A ) ) )
     => ( ( finite_card @ ( list @ A ) @ ( shuffles @ A @ Xs @ Ys3 ) )
        = ( binomial @ ( plus_plus @ nat @ ( size_size @ ( list @ A ) @ Xs ) @ ( size_size @ ( list @ A ) @ Ys3 ) ) @ ( size_size @ ( list @ A ) @ Xs ) ) ) ) ).

% card_disjoint_shuffles
thf(fact_3655_card__greaterThanLessThan__int,axiom,
    ! [L: int,U: int] :
      ( ( finite_card @ int @ ( set_or5935395276787703475ssThan @ int @ L @ U ) )
      = ( nat2 @ ( minus_minus @ int @ U @ ( plus_plus @ int @ L @ ( one_one @ int ) ) ) ) ) ).

% card_greaterThanLessThan_int
thf(fact_3656_sorted__list__of__set_Osorted__key__list__of__set__unique,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,L: list @ A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( ( sorted_wrt @ A @ ( ord_less @ A ) @ L )
              & ( ( set2 @ A @ L )
                = A6 )
              & ( ( size_size @ ( list @ A ) @ L )
                = ( finite_card @ A @ A6 ) ) )
            = ( ( linord4507533701916653071of_set @ A @ A6 )
              = L ) ) ) ) ).

% sorted_list_of_set.sorted_key_list_of_set_unique
thf(fact_3657_finite__enumerate,axiom,
    ! [S: set @ nat] :
      ( ( finite_finite2 @ nat @ S )
     => ? [R: nat > nat] :
          ( ( strict_mono_on @ nat @ nat @ R @ ( set_ord_lessThan @ nat @ ( finite_card @ nat @ S ) ) )
          & ! [N10: nat] :
              ( ( ord_less @ nat @ N10 @ ( finite_card @ nat @ S ) )
             => ( member @ nat @ ( R @ N10 ) @ S ) ) ) ) ).

% finite_enumerate
thf(fact_3658_greaterThanLessThan__iff,axiom,
    ! [A: $tType] :
      ( ( ord @ A )
     => ! [I2: A,L: A,U: A] :
          ( ( member @ A @ I2 @ ( set_or5935395276787703475ssThan @ A @ L @ U ) )
          = ( ( ord_less @ A @ L @ I2 )
            & ( ord_less @ A @ I2 @ U ) ) ) ) ).

% greaterThanLessThan_iff
thf(fact_3659_greaterThanLessThan__empty,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [L: A,K2: A] :
          ( ( ord_less_eq @ A @ L @ K2 )
         => ( ( set_or5935395276787703475ssThan @ A @ K2 @ L )
            = ( bot_bot @ ( set @ A ) ) ) ) ) ).

% greaterThanLessThan_empty
thf(fact_3660_greaterThanLessThan__empty__iff,axiom,
    ! [A: $tType] :
      ( ( dense_linorder @ A )
     => ! [A3: A,B2: A] :
          ( ( ( set_or5935395276787703475ssThan @ A @ A3 @ B2 )
            = ( bot_bot @ ( set @ A ) ) )
          = ( ord_less_eq @ A @ B2 @ A3 ) ) ) ).

% greaterThanLessThan_empty_iff
thf(fact_3661_greaterThanLessThan__empty__iff2,axiom,
    ! [A: $tType] :
      ( ( dense_linorder @ A )
     => ! [A3: A,B2: A] :
          ( ( ( bot_bot @ ( set @ A ) )
            = ( set_or5935395276787703475ssThan @ A @ A3 @ B2 ) )
          = ( ord_less_eq @ A @ B2 @ A3 ) ) ) ).

% greaterThanLessThan_empty_iff2
thf(fact_3662_infinite__Ioo__iff,axiom,
    ! [A: $tType] :
      ( ( dense_linorder @ A )
     => ! [A3: A,B2: A] :
          ( ( ~ ( finite_finite2 @ A @ ( set_or5935395276787703475ssThan @ A @ A3 @ B2 ) ) )
          = ( ord_less @ A @ A3 @ B2 ) ) ) ).

% infinite_Ioo_iff
thf(fact_3663_length__shuffles,axiom,
    ! [A: $tType,Zs: list @ A,Xs: list @ A,Ys3: list @ A] :
      ( ( member @ ( list @ A ) @ Zs @ ( shuffles @ A @ Xs @ Ys3 ) )
     => ( ( size_size @ ( list @ A ) @ Zs )
        = ( plus_plus @ nat @ ( size_size @ ( list @ A ) @ Xs ) @ ( size_size @ ( list @ A ) @ Ys3 ) ) ) ) ).

% length_shuffles
thf(fact_3664_set__shuffles,axiom,
    ! [A: $tType,Zs: list @ A,Xs: list @ A,Ys3: list @ A] :
      ( ( member @ ( list @ A ) @ Zs @ ( shuffles @ A @ Xs @ Ys3 ) )
     => ( ( set2 @ A @ Zs )
        = ( sup_sup @ ( set @ A ) @ ( set2 @ A @ Xs ) @ ( set2 @ A @ Ys3 ) ) ) ) ).

% set_shuffles
thf(fact_3665_infinite__Ioo,axiom,
    ! [A: $tType] :
      ( ( dense_linorder @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ~ ( finite_finite2 @ A @ ( set_or5935395276787703475ssThan @ A @ A3 @ B2 ) ) ) ) ).

% infinite_Ioo
thf(fact_3666_sorted__list__of__set_Osorted__sorted__key__list__of__set,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A] : ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( linord4507533701916653071of_set @ A @ A6 ) ) ) ).

% sorted_list_of_set.sorted_sorted_key_list_of_set
thf(fact_3667_sorted__list__of__set_Ostrict__sorted__key__list__of__set,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A] : ( sorted_wrt @ A @ ( ord_less @ A ) @ ( linord4507533701916653071of_set @ A @ A6 ) ) ) ).

% sorted_list_of_set.strict_sorted_key_list_of_set
thf(fact_3668_greaterThanLessThan__subseteq__greaterThanLessThan,axiom,
    ! [A: $tType] :
      ( ( dense_linorder @ A )
     => ! [A3: A,B2: A,C3: A,D3: A] :
          ( ( ord_less_eq @ ( set @ A ) @ ( set_or5935395276787703475ssThan @ A @ A3 @ B2 ) @ ( set_or5935395276787703475ssThan @ A @ C3 @ D3 ) )
          = ( ( ord_less @ A @ A3 @ B2 )
           => ( ( ord_less_eq @ A @ C3 @ A3 )
              & ( ord_less_eq @ A @ B2 @ D3 ) ) ) ) ) ).

% greaterThanLessThan_subseteq_greaterThanLessThan
thf(fact_3669_atLeastPlusOneLessThan__greaterThanLessThan__int,axiom,
    ! [L: int,U: int] :
      ( ( set_or7035219750837199246ssThan @ int @ ( plus_plus @ int @ L @ ( one_one @ int ) ) @ U )
      = ( set_or5935395276787703475ssThan @ int @ L @ U ) ) ).

% atLeastPlusOneLessThan_greaterThanLessThan_int
thf(fact_3670_greaterThanLessThan__subseteq__atLeastAtMost__iff,axiom,
    ! [A: $tType] :
      ( ( dense_linorder @ A )
     => ! [A3: A,B2: A,C3: A,D3: A] :
          ( ( ord_less_eq @ ( set @ A ) @ ( set_or5935395276787703475ssThan @ A @ A3 @ B2 ) @ ( set_or1337092689740270186AtMost @ A @ C3 @ D3 ) )
          = ( ( ord_less @ A @ A3 @ B2 )
           => ( ( ord_less_eq @ A @ C3 @ A3 )
              & ( ord_less_eq @ A @ B2 @ D3 ) ) ) ) ) ).

% greaterThanLessThan_subseteq_atLeastAtMost_iff
thf(fact_3671_greaterThanLessThan__subseteq__atLeastLessThan__iff,axiom,
    ! [A: $tType] :
      ( ( dense_linorder @ A )
     => ! [A3: A,B2: A,C3: A,D3: A] :
          ( ( ord_less_eq @ ( set @ A ) @ ( set_or5935395276787703475ssThan @ A @ A3 @ B2 ) @ ( set_or7035219750837199246ssThan @ A @ C3 @ D3 ) )
          = ( ( ord_less @ A @ A3 @ B2 )
           => ( ( ord_less_eq @ A @ C3 @ A3 )
              & ( ord_less_eq @ A @ B2 @ D3 ) ) ) ) ) ).

% greaterThanLessThan_subseteq_atLeastLessThan_iff
thf(fact_3672_ivl__disj__un__two_I1_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [L: A,M: A,U: A] :
          ( ( ord_less @ A @ L @ M )
         => ( ( ord_less_eq @ A @ M @ U )
           => ( ( sup_sup @ ( set @ A ) @ ( set_or5935395276787703475ssThan @ A @ L @ M ) @ ( set_or7035219750837199246ssThan @ A @ M @ U ) )
              = ( set_or5935395276787703475ssThan @ A @ L @ U ) ) ) ) ) ).

% ivl_disj_un_two(1)
thf(fact_3673_ivl__disj__un__one_I1_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [L: A,U: A] :
          ( ( ord_less @ A @ L @ U )
         => ( ( sup_sup @ ( set @ A ) @ ( set_ord_atMost @ A @ L ) @ ( set_or5935395276787703475ssThan @ A @ L @ U ) )
            = ( set_ord_lessThan @ A @ U ) ) ) ) ).

% ivl_disj_un_one(1)
thf(fact_3674_sorted__list__of__set_Oidem__if__sorted__distinct,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Xs: list @ A] :
          ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ Xs )
         => ( ( distinct @ A @ Xs )
           => ( ( linord4507533701916653071of_set @ A @ ( set2 @ A @ Xs ) )
              = Xs ) ) ) ) ).

% sorted_list_of_set.idem_if_sorted_distinct
thf(fact_3675_ivl__disj__un__singleton_I3_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [L: A,U: A] :
          ( ( ord_less @ A @ L @ U )
         => ( ( sup_sup @ ( set @ A ) @ ( insert @ A @ L @ ( bot_bot @ ( set @ A ) ) ) @ ( set_or5935395276787703475ssThan @ A @ L @ U ) )
            = ( set_or7035219750837199246ssThan @ A @ L @ U ) ) ) ) ).

% ivl_disj_un_singleton(3)
thf(fact_3676_ivl__disj__un__two_I4_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [L: A,M: A,U: A] :
          ( ( ord_less_eq @ A @ L @ M )
         => ( ( ord_less @ A @ M @ U )
           => ( ( sup_sup @ ( set @ A ) @ ( set_or1337092689740270186AtMost @ A @ L @ M ) @ ( set_or5935395276787703475ssThan @ A @ M @ U ) )
              = ( set_or7035219750837199246ssThan @ A @ L @ U ) ) ) ) ) ).

% ivl_disj_un_two(4)
thf(fact_3677_strict__mono__on__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ( ord @ A )
        & ( ord @ B ) )
     => ( ( strict_mono_on @ A @ B )
        = ( ^ [F4: A > B,A8: set @ A] :
            ! [R5: A,S5: A] :
              ( ( ( member @ A @ R5 @ A8 )
                & ( member @ A @ S5 @ A8 )
                & ( ord_less @ A @ R5 @ S5 ) )
             => ( ord_less @ B @ ( F4 @ R5 ) @ ( F4 @ S5 ) ) ) ) ) ) ).

% strict_mono_on_def
thf(fact_3678_strict__mono__onI,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ( ord @ A )
        & ( ord @ B ) )
     => ! [A6: set @ A,F3: A > B] :
          ( ! [R: A,S7: A] :
              ( ( member @ A @ R @ A6 )
             => ( ( member @ A @ S7 @ A6 )
               => ( ( ord_less @ A @ R @ S7 )
                 => ( ord_less @ B @ ( F3 @ R ) @ ( F3 @ S7 ) ) ) ) )
         => ( strict_mono_on @ A @ B @ F3 @ A6 ) ) ) ).

% strict_mono_onI
thf(fact_3679_strict__mono__onD,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ( ord @ A )
        & ( ord @ B ) )
     => ! [F3: A > B,A6: set @ A,R3: A,S2: A] :
          ( ( strict_mono_on @ A @ B @ F3 @ A6 )
         => ( ( member @ A @ R3 @ A6 )
           => ( ( member @ A @ S2 @ A6 )
             => ( ( ord_less @ A @ R3 @ S2 )
               => ( ord_less @ B @ ( F3 @ R3 ) @ ( F3 @ S2 ) ) ) ) ) ) ) ).

% strict_mono_onD
thf(fact_3680_strict__mono__on__leD,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ( linorder @ A )
        & ( preorder @ B ) )
     => ! [F3: A > B,A6: set @ A,X: A,Y: A] :
          ( ( strict_mono_on @ A @ B @ F3 @ A6 )
         => ( ( member @ A @ X @ A6 )
           => ( ( member @ A @ Y @ A6 )
             => ( ( ord_less_eq @ A @ X @ Y )
               => ( ord_less_eq @ B @ ( F3 @ X ) @ ( F3 @ Y ) ) ) ) ) ) ) ).

% strict_mono_on_leD
thf(fact_3681_finite__greaterThanLessThan__integer,axiom,
    ! [L: code_integer,U: code_integer] : ( finite_finite2 @ code_integer @ ( set_or5935395276787703475ssThan @ code_integer @ L @ U ) ) ).

% finite_greaterThanLessThan_integer
thf(fact_3682_sorted__list__of__set__greaterThanLessThan,axiom,
    ! [I2: nat,J2: nat] :
      ( ( ord_less @ nat @ ( suc @ I2 ) @ J2 )
     => ( ( linord4507533701916653071of_set @ nat @ ( set_or5935395276787703475ssThan @ nat @ I2 @ J2 ) )
        = ( cons @ nat @ ( suc @ I2 ) @ ( linord4507533701916653071of_set @ nat @ ( set_or5935395276787703475ssThan @ nat @ ( suc @ I2 ) @ J2 ) ) ) ) ) ).

% sorted_list_of_set_greaterThanLessThan
thf(fact_3683_atLeastPlusOneLessThan__greaterThanLessThan__integer,axiom,
    ! [L: code_integer,U: code_integer] :
      ( ( set_or7035219750837199246ssThan @ code_integer @ ( plus_plus @ code_integer @ L @ ( one_one @ code_integer ) ) @ U )
      = ( set_or5935395276787703475ssThan @ code_integer @ L @ U ) ) ).

% atLeastPlusOneLessThan_greaterThanLessThan_integer
thf(fact_3684_nth__sorted__list__of__set__greaterThanLessThan,axiom,
    ! [N: nat,J2: nat,I2: nat] :
      ( ( ord_less @ nat @ N @ ( minus_minus @ nat @ J2 @ ( suc @ I2 ) ) )
     => ( ( nth @ nat @ ( linord4507533701916653071of_set @ nat @ ( set_or5935395276787703475ssThan @ nat @ I2 @ J2 ) ) @ N )
        = ( suc @ ( plus_plus @ nat @ I2 @ N ) ) ) ) ).

% nth_sorted_list_of_set_greaterThanLessThan
thf(fact_3685_set__update__distinct,axiom,
    ! [A: $tType,Xs: list @ A,N: nat,X: A] :
      ( ( distinct @ A @ Xs )
     => ( ( ord_less @ nat @ N @ ( size_size @ ( list @ A ) @ Xs ) )
       => ( ( set2 @ A @ ( list_update @ A @ Xs @ N @ X ) )
          = ( insert @ A @ X @ ( minus_minus @ ( set @ A ) @ ( set2 @ A @ Xs ) @ ( insert @ A @ ( nth @ A @ Xs @ N ) @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ) ) ).

% set_update_distinct
thf(fact_3686_option_Orec__o__map,axiom,
    ! [B: $tType,C: $tType,A: $tType,G3: C,Ga: B > C,F3: A > B] :
      ( ( comp @ ( option @ B ) @ C @ ( option @ A ) @ ( rec_option @ C @ B @ G3 @ Ga ) @ ( map_option @ A @ B @ F3 ) )
      = ( rec_option @ C @ A @ G3
        @ ^ [X4: A] : ( Ga @ ( F3 @ X4 ) ) ) ) ).

% option.rec_o_map
thf(fact_3687_split__seed__def,axiom,
    ( split_seed
    = ( ^ [S5: product_prod @ code_natural @ code_natural] :
          ( product_case_prod @ code_natural @ code_natural @ ( product_prod @ ( product_prod @ code_natural @ code_natural ) @ ( product_prod @ code_natural @ code_natural ) )
          @ ^ [V3: code_natural,W3: code_natural] :
              ( product_case_prod @ code_natural @ code_natural @ ( product_prod @ ( product_prod @ code_natural @ code_natural ) @ ( product_prod @ code_natural @ code_natural ) )
              @ ^ [V4: code_natural,W4: code_natural] : ( product_Pair @ ( product_prod @ code_natural @ code_natural ) @ ( product_prod @ code_natural @ code_natural ) @ ( product_Pair @ code_natural @ code_natural @ ( inc_shift @ ( numeral_numeral @ code_natural @ ( bit0 @ ( bit1 @ ( bit0 @ ( bit1 @ ( bit0 @ ( bit1 @ ( bit0 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ one ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) @ V3 ) @ W4 ) @ ( product_Pair @ code_natural @ code_natural @ V4 @ ( inc_shift @ ( numeral_numeral @ code_natural @ ( bit0 @ ( bit1 @ ( bit1 @ ( bit0 @ ( bit0 @ ( bit0 @ ( bit0 @ ( bit0 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ ( bit1 @ one ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) @ W3 ) ) )
              @ ( product_snd @ code_natural @ ( product_prod @ code_natural @ code_natural ) @ ( next @ S5 ) ) )
          @ S5 ) ) ) ).

% split_seed_def
thf(fact_3688_complete__linorder__sup__max,axiom,
    ! [A: $tType] :
      ( ( comple5582772986160207858norder @ A )
     => ( ( sup_sup @ A )
        = ( ord_max @ A ) ) ) ).

% complete_linorder_sup_max
thf(fact_3689_apsnd__eq__conv,axiom,
    ! [B: $tType,C: $tType,A: $tType,F3: C > B,X: product_prod @ A @ C,G3: C > B] :
      ( ( ( product_apsnd @ C @ B @ A @ F3 @ X )
        = ( product_apsnd @ C @ B @ A @ G3 @ X ) )
      = ( ( F3 @ ( product_snd @ A @ C @ X ) )
        = ( G3 @ ( product_snd @ A @ C @ X ) ) ) ) ).

% apsnd_eq_conv
thf(fact_3690_snd__apsnd,axiom,
    ! [A: $tType,C: $tType,B: $tType,F3: C > A,X: product_prod @ B @ C] :
      ( ( product_snd @ B @ A @ ( product_apsnd @ C @ A @ B @ F3 @ X ) )
      = ( F3 @ ( product_snd @ B @ C @ X ) ) ) ).

% snd_apsnd
thf(fact_3691_snd__comp__apsnd,axiom,
    ! [C: $tType,B: $tType,A: $tType,F3: B > C] :
      ( ( comp @ ( product_prod @ A @ C ) @ C @ ( product_prod @ A @ B ) @ ( product_snd @ A @ C ) @ ( product_apsnd @ B @ C @ A @ F3 ) )
      = ( comp @ B @ C @ ( product_prod @ A @ B ) @ F3 @ ( product_snd @ A @ B ) ) ) ).

% snd_comp_apsnd
thf(fact_3692_list__update__beyond,axiom,
    ! [A: $tType,Xs: list @ A,I2: nat,X: A] :
      ( ( ord_less_eq @ nat @ ( size_size @ ( list @ A ) @ Xs ) @ I2 )
     => ( ( list_update @ A @ Xs @ I2 @ X )
        = Xs ) ) ).

% list_update_beyond
thf(fact_3693_nth__list__update__eq,axiom,
    ! [A: $tType,I2: nat,Xs: list @ A,X: A] :
      ( ( ord_less @ nat @ I2 @ ( size_size @ ( list @ A ) @ Xs ) )
     => ( ( nth @ A @ ( list_update @ A @ Xs @ I2 @ X ) @ I2 )
        = X ) ) ).

% nth_list_update_eq
thf(fact_3694_nth__update__invalid,axiom,
    ! [A: $tType,I2: nat,L: list @ A,J2: nat,X: A] :
      ( ~ ( ord_less @ nat @ I2 @ ( size_size @ ( list @ A ) @ L ) )
     => ( ( nth @ A @ ( list_update @ A @ L @ J2 @ X ) @ I2 )
        = ( nth @ A @ L @ I2 ) ) ) ).

% nth_update_invalid
thf(fact_3695_set__swap,axiom,
    ! [A: $tType,I2: nat,Xs: list @ A,J2: nat] :
      ( ( ord_less @ nat @ I2 @ ( size_size @ ( list @ A ) @ Xs ) )
     => ( ( ord_less @ nat @ J2 @ ( size_size @ ( list @ A ) @ Xs ) )
       => ( ( set2 @ A @ ( list_update @ A @ ( list_update @ A @ Xs @ I2 @ ( nth @ A @ Xs @ J2 ) ) @ J2 @ ( nth @ A @ Xs @ I2 ) ) )
          = ( set2 @ A @ Xs ) ) ) ) ).

% set_swap
thf(fact_3696_distinct__swap,axiom,
    ! [A: $tType,I2: nat,Xs: list @ A,J2: nat] :
      ( ( ord_less @ nat @ I2 @ ( size_size @ ( list @ A ) @ Xs ) )
     => ( ( ord_less @ nat @ J2 @ ( size_size @ ( list @ A ) @ Xs ) )
       => ( ( distinct @ A @ ( list_update @ A @ ( list_update @ A @ Xs @ I2 @ ( nth @ A @ Xs @ J2 ) ) @ J2 @ ( nth @ A @ Xs @ I2 ) ) )
          = ( distinct @ A @ Xs ) ) ) ) ).

% distinct_swap
thf(fact_3697_sndE,axiom,
    ! [A: $tType,B: $tType,X: product_prod @ A @ B,A3: A,B2: B,P2: B > $o] :
      ( ( X
        = ( product_Pair @ A @ B @ A3 @ B2 ) )
     => ( ( P2 @ ( product_snd @ A @ B @ X ) )
       => ( P2 @ B2 ) ) ) ).

% sndE
thf(fact_3698_snd__eqD,axiom,
    ! [B: $tType,A: $tType,X: B,Y: A,A3: A] :
      ( ( ( product_snd @ B @ A @ ( product_Pair @ B @ A @ X @ Y ) )
        = A3 )
     => ( Y = A3 ) ) ).

% snd_eqD
thf(fact_3699_snd__conv,axiom,
    ! [Aa: $tType,A: $tType,X1: Aa,X2: A] :
      ( ( product_snd @ Aa @ A @ ( product_Pair @ Aa @ A @ X1 @ X2 ) )
      = X2 ) ).

% snd_conv
thf(fact_3700_zip__update,axiom,
    ! [A: $tType,B: $tType,Xs: list @ A,I2: nat,X: A,Ys3: list @ B,Y: B] :
      ( ( zip @ A @ B @ ( list_update @ A @ Xs @ I2 @ X ) @ ( list_update @ B @ Ys3 @ I2 @ Y ) )
      = ( list_update @ ( product_prod @ A @ B ) @ ( zip @ A @ B @ Xs @ Ys3 ) @ I2 @ ( product_Pair @ A @ B @ X @ Y ) ) ) ).

% zip_update
thf(fact_3701_snd__diag__snd,axiom,
    ! [B: $tType,A: $tType] :
      ( ( comp @ ( product_prod @ B @ B ) @ B @ ( product_prod @ A @ B ) @ ( product_snd @ B @ B )
        @ ( comp @ B @ ( product_prod @ B @ B ) @ ( product_prod @ A @ B )
          @ ^ [X4: B] : ( product_Pair @ B @ B @ X4 @ X4 )
          @ ( product_snd @ A @ B ) ) )
      = ( product_snd @ A @ B ) ) ).

% snd_diag_snd
thf(fact_3702_list__update_Osimps_I2_J,axiom,
    ! [A: $tType,X: A,Xs: list @ A,I2: nat,V2: A] :
      ( ( list_update @ A @ ( cons @ A @ X @ Xs ) @ I2 @ V2 )
      = ( case_nat @ ( list @ A ) @ ( cons @ A @ V2 @ Xs )
        @ ^ [J: nat] : ( cons @ A @ X @ ( list_update @ A @ Xs @ J @ V2 ) )
        @ I2 ) ) ).

% list_update.simps(2)
thf(fact_3703_snd__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( product_snd @ A @ B )
      = ( product_case_prod @ A @ B @ B
        @ ^ [X12: A,X23: B] : X23 ) ) ).

% snd_def
thf(fact_3704_fn__snd__conv,axiom,
    ! [B: $tType,C: $tType,A: $tType,F3: B > C] :
      ( ( ^ [X4: product_prod @ A @ B] : ( F3 @ ( product_snd @ A @ B @ X4 ) ) )
      = ( product_case_prod @ A @ B @ C
        @ ^ [Uu2: A] : F3 ) ) ).

% fn_snd_conv
thf(fact_3705_set__update__subsetI,axiom,
    ! [A: $tType,Xs: list @ A,A6: set @ A,X: A,I2: nat] :
      ( ( ord_less_eq @ ( set @ A ) @ ( set2 @ A @ Xs ) @ A6 )
     => ( ( member @ A @ X @ A6 )
       => ( ord_less_eq @ ( set @ A ) @ ( set2 @ A @ ( list_update @ A @ Xs @ I2 @ X ) ) @ A6 ) ) ) ).

% set_update_subsetI
thf(fact_3706_option_Osimps_I7_J,axiom,
    ! [C: $tType,A: $tType,F1: C,F22: A > C,X2: A] :
      ( ( rec_option @ C @ A @ F1 @ F22 @ ( some @ A @ X2 ) )
      = ( F22 @ X2 ) ) ).

% option.simps(7)
thf(fact_3707_option_Osimps_I6_J,axiom,
    ! [A: $tType,C: $tType,F1: C,F22: A > C] :
      ( ( rec_option @ C @ A @ F1 @ F22 @ ( none @ A ) )
      = F1 ) ).

% option.simps(6)
thf(fact_3708_set__update__subset__insert,axiom,
    ! [A: $tType,Xs: list @ A,I2: nat,X: A] : ( ord_less_eq @ ( set @ A ) @ ( set2 @ A @ ( list_update @ A @ Xs @ I2 @ X ) ) @ ( insert @ A @ X @ ( set2 @ A @ Xs ) ) ) ).

% set_update_subset_insert
thf(fact_3709_set__update__memI,axiom,
    ! [A: $tType,N: nat,Xs: list @ A,X: A] :
      ( ( ord_less @ nat @ N @ ( size_size @ ( list @ A ) @ Xs ) )
     => ( member @ A @ X @ ( set2 @ A @ ( list_update @ A @ Xs @ N @ X ) ) ) ) ).

% set_update_memI
thf(fact_3710_in__set__upd__eq__aux,axiom,
    ! [A: $tType,I2: nat,L: list @ A,X: A,Y: A] :
      ( ( ord_less @ nat @ I2 @ ( size_size @ ( list @ A ) @ L ) )
     => ( ( member @ A @ X @ ( set2 @ A @ ( list_update @ A @ L @ I2 @ Y ) ) )
        = ( ( X = Y )
          | ! [Y4: A] : ( member @ A @ X @ ( set2 @ A @ ( list_update @ A @ L @ I2 @ Y4 ) ) ) ) ) ) ).

% in_set_upd_eq_aux
thf(fact_3711_in__set__upd__cases,axiom,
    ! [A: $tType,X: A,L: list @ A,I2: nat,Y: A] :
      ( ( member @ A @ X @ ( set2 @ A @ ( list_update @ A @ L @ I2 @ Y ) ) )
     => ( ( ( ord_less @ nat @ I2 @ ( size_size @ ( list @ A ) @ L ) )
         => ( X != Y ) )
       => ( member @ A @ X @ ( set2 @ A @ L ) ) ) ) ).

% in_set_upd_cases
thf(fact_3712_in__set__upd__eq,axiom,
    ! [A: $tType,I2: nat,L: list @ A,X: A,Y: A] :
      ( ( ord_less @ nat @ I2 @ ( size_size @ ( list @ A ) @ L ) )
     => ( ( member @ A @ X @ ( set2 @ A @ ( list_update @ A @ L @ I2 @ Y ) ) )
        = ( ( X = Y )
          | ( ( member @ A @ X @ ( set2 @ A @ L ) )
            & ! [Y4: A] : ( member @ A @ X @ ( set2 @ A @ ( list_update @ A @ L @ I2 @ Y4 ) ) ) ) ) ) ) ).

% in_set_upd_eq
thf(fact_3713_nth__list__update,axiom,
    ! [A: $tType,I2: nat,Xs: list @ A,J2: nat,X: A] :
      ( ( ord_less @ nat @ I2 @ ( size_size @ ( list @ A ) @ Xs ) )
     => ( ( ( I2 = J2 )
         => ( ( nth @ A @ ( list_update @ A @ Xs @ I2 @ X ) @ J2 )
            = X ) )
        & ( ( I2 != J2 )
         => ( ( nth @ A @ ( list_update @ A @ Xs @ I2 @ X ) @ J2 )
            = ( nth @ A @ Xs @ J2 ) ) ) ) ) ).

% nth_list_update
thf(fact_3714_list__update__same__conv,axiom,
    ! [A: $tType,I2: nat,Xs: list @ A,X: A] :
      ( ( ord_less @ nat @ I2 @ ( size_size @ ( list @ A ) @ Xs ) )
     => ( ( ( list_update @ A @ Xs @ I2 @ X )
          = Xs )
        = ( ( nth @ A @ Xs @ I2 )
          = X ) ) ) ).

% list_update_same_conv
thf(fact_3715_nth__list__update_H,axiom,
    ! [A: $tType,I2: nat,J2: nat,L: list @ A,X: A] :
      ( ( ( ( I2 = J2 )
          & ( ord_less @ nat @ I2 @ ( size_size @ ( list @ A ) @ L ) ) )
       => ( ( nth @ A @ ( list_update @ A @ L @ I2 @ X ) @ J2 )
          = X ) )
      & ( ~ ( ( I2 = J2 )
            & ( ord_less @ nat @ I2 @ ( size_size @ ( list @ A ) @ L ) ) )
       => ( ( nth @ A @ ( list_update @ A @ L @ I2 @ X ) @ J2 )
          = ( nth @ A @ L @ J2 ) ) ) ) ).

% nth_list_update'
thf(fact_3716_insert__swap__set__eq,axiom,
    ! [A: $tType,I2: nat,L: list @ A,X: A] :
      ( ( ord_less @ nat @ I2 @ ( size_size @ ( list @ A ) @ L ) )
     => ( ( insert @ A @ ( nth @ A @ L @ I2 ) @ ( set2 @ A @ ( list_update @ A @ L @ I2 @ X ) ) )
        = ( insert @ A @ X @ ( set2 @ A @ L ) ) ) ) ).

% insert_swap_set_eq
thf(fact_3717_upd__rule,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [I2: nat,Xs: list @ A,A3: array @ A,X: A] :
          ( ( ord_less @ nat @ I2 @ ( size_size @ ( list @ A ) @ Xs ) )
         => ( hoare_hoare_triple @ ( array @ A ) @ ( snga_assn @ A @ A3 @ Xs ) @ ( array_upd @ A @ I2 @ X @ A3 )
            @ ^ [R5: array @ A] : ( times_times @ assn @ ( snga_assn @ A @ A3 @ ( list_update @ A @ Xs @ I2 @ X ) ) @ ( pure_assn @ ( R5 = A3 ) ) ) ) ) ) ).

% upd_rule
thf(fact_3718_nth__sorted__list__of__set__greaterThanAtMost,axiom,
    ! [N: nat,J2: nat,I2: nat] :
      ( ( ord_less @ nat @ N @ ( minus_minus @ nat @ J2 @ I2 ) )
     => ( ( nth @ nat @ ( linord4507533701916653071of_set @ nat @ ( set_or3652927894154168847AtMost @ nat @ I2 @ J2 ) ) @ N )
        = ( suc @ ( plus_plus @ nat @ I2 @ N ) ) ) ) ).

% nth_sorted_list_of_set_greaterThanAtMost
thf(fact_3719_subset__mset_Osum__list__update,axiom,
    ! [A: $tType,K2: nat,Xs: list @ ( multiset @ A ),X: multiset @ A] :
      ( ( ord_less @ nat @ K2 @ ( size_size @ ( list @ ( multiset @ A ) ) @ Xs ) )
     => ( ( groups4543113879258116180m_list @ ( multiset @ A ) @ ( plus_plus @ ( multiset @ A ) ) @ ( zero_zero @ ( multiset @ A ) ) @ ( list_update @ ( multiset @ A ) @ Xs @ K2 @ X ) )
        = ( minus_minus @ ( multiset @ A ) @ ( plus_plus @ ( multiset @ A ) @ ( groups4543113879258116180m_list @ ( multiset @ A ) @ ( plus_plus @ ( multiset @ A ) ) @ ( zero_zero @ ( multiset @ A ) ) @ Xs ) @ X ) @ ( nth @ ( multiset @ A ) @ Xs @ K2 ) ) ) ) ).

% subset_mset.sum_list_update
thf(fact_3720_times__int_Oabs__eq,axiom,
    ! [Xa: product_prod @ nat @ nat,X: product_prod @ nat @ nat] :
      ( ( times_times @ int @ ( abs_Integ @ Xa ) @ ( abs_Integ @ X ) )
      = ( abs_Integ
        @ ( product_case_prod @ nat @ nat @ ( ( product_prod @ nat @ nat ) > ( product_prod @ nat @ nat ) )
          @ ^ [X4: nat,Y4: nat] :
              ( product_case_prod @ nat @ nat @ ( product_prod @ nat @ nat )
              @ ^ [U2: nat,V3: nat] : ( product_Pair @ nat @ nat @ ( plus_plus @ nat @ ( times_times @ nat @ X4 @ U2 ) @ ( times_times @ nat @ Y4 @ V3 ) ) @ ( plus_plus @ nat @ ( times_times @ nat @ X4 @ V3 ) @ ( times_times @ nat @ Y4 @ U2 ) ) ) )
          @ Xa
          @ X ) ) ) ).

% times_int.abs_eq
thf(fact_3721_greaterThanAtMost__iff,axiom,
    ! [A: $tType] :
      ( ( ord @ A )
     => ! [I2: A,L: A,U: A] :
          ( ( member @ A @ I2 @ ( set_or3652927894154168847AtMost @ A @ L @ U ) )
          = ( ( ord_less @ A @ L @ I2 )
            & ( ord_less_eq @ A @ I2 @ U ) ) ) ) ).

% greaterThanAtMost_iff
thf(fact_3722_greaterThanAtMost__empty,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [L: A,K2: A] :
          ( ( ord_less_eq @ A @ L @ K2 )
         => ( ( set_or3652927894154168847AtMost @ A @ K2 @ L )
            = ( bot_bot @ ( set @ A ) ) ) ) ) ).

% greaterThanAtMost_empty
thf(fact_3723_greaterThanAtMost__empty__iff2,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [K2: A,L: A] :
          ( ( ( bot_bot @ ( set @ A ) )
            = ( set_or3652927894154168847AtMost @ A @ K2 @ L ) )
          = ( ~ ( ord_less @ A @ K2 @ L ) ) ) ) ).

% greaterThanAtMost_empty_iff2
thf(fact_3724_greaterThanAtMost__empty__iff,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [K2: A,L: A] :
          ( ( ( set_or3652927894154168847AtMost @ A @ K2 @ L )
            = ( bot_bot @ ( set @ A ) ) )
          = ( ~ ( ord_less @ A @ K2 @ L ) ) ) ) ).

% greaterThanAtMost_empty_iff
thf(fact_3725_infinite__Ioc__iff,axiom,
    ! [A: $tType] :
      ( ( dense_linorder @ A )
     => ! [A3: A,B2: A] :
          ( ( ~ ( finite_finite2 @ A @ ( set_or3652927894154168847AtMost @ A @ A3 @ B2 ) ) )
          = ( ord_less @ A @ A3 @ B2 ) ) ) ).

% infinite_Ioc_iff
thf(fact_3726_mod__pure,axiom,
    ! [B2: $o,H: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
      ( ( rep_assn @ ( pure_assn @ B2 ) @ H )
      = ( ( ( product_snd @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H )
          = ( bot_bot @ ( set @ nat ) ) )
        & B2 ) ) ).

% mod_pure
thf(fact_3727_subset__mset_Osum__list__eq__0__iff,axiom,
    ! [A: $tType,Ns: list @ ( multiset @ A )] :
      ( ( ( groups4543113879258116180m_list @ ( multiset @ A ) @ ( plus_plus @ ( multiset @ A ) ) @ ( zero_zero @ ( multiset @ A ) ) @ Ns )
        = ( zero_zero @ ( multiset @ A ) ) )
      = ( ! [X4: multiset @ A] :
            ( ( member @ ( multiset @ A ) @ X4 @ ( set2 @ ( multiset @ A ) @ Ns ) )
           => ( X4
              = ( zero_zero @ ( multiset @ A ) ) ) ) ) ) ).

% subset_mset.sum_list_eq_0_iff
thf(fact_3728_upd__ureturn,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [I2: nat,X: A,A3: array @ A] :
          ( ( heap_Time_bind @ ( array @ A ) @ ( array @ A ) @ ( array_upd @ A @ I2 @ X @ A3 )
            @ ^ [Uu2: array @ A] : ( heap_Time_ureturn @ ( array @ A ) @ A3 ) )
          = ( array_upd @ A @ I2 @ X @ A3 ) ) ) ).

% upd_ureturn
thf(fact_3729_Ioc__inj,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A3: A,B2: A,C3: A,D3: A] :
          ( ( ( set_or3652927894154168847AtMost @ A @ A3 @ B2 )
            = ( set_or3652927894154168847AtMost @ A @ C3 @ D3 ) )
          = ( ( ( ord_less_eq @ A @ B2 @ A3 )
              & ( ord_less_eq @ A @ D3 @ C3 ) )
            | ( ( A3 = C3 )
              & ( B2 = D3 ) ) ) ) ) ).

% Ioc_inj
thf(fact_3730_infinite__Ioc,axiom,
    ! [A: $tType] :
      ( ( dense_linorder @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ~ ( finite_finite2 @ A @ ( set_or3652927894154168847AtMost @ A @ A3 @ B2 ) ) ) ) ).

% infinite_Ioc
thf(fact_3731_Ioc__subset__iff,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A3: A,B2: A,C3: A,D3: A] :
          ( ( ord_less_eq @ ( set @ A ) @ ( set_or3652927894154168847AtMost @ A @ A3 @ B2 ) @ ( set_or3652927894154168847AtMost @ A @ C3 @ D3 ) )
          = ( ( ord_less_eq @ A @ B2 @ A3 )
            | ( ( ord_less_eq @ A @ C3 @ A3 )
              & ( ord_less_eq @ A @ B2 @ D3 ) ) ) ) ) ).

% Ioc_subset_iff
thf(fact_3732_ivl__disj__un__two_I6_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [L: A,M: A,U: A] :
          ( ( ord_less_eq @ A @ L @ M )
         => ( ( ord_less_eq @ A @ M @ U )
           => ( ( sup_sup @ ( set @ A ) @ ( set_or3652927894154168847AtMost @ A @ L @ M ) @ ( set_or3652927894154168847AtMost @ A @ M @ U ) )
              = ( set_or3652927894154168847AtMost @ A @ L @ U ) ) ) ) ) ).

% ivl_disj_un_two(6)
thf(fact_3733_Ioc__disjoint,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A3: A,B2: A,C3: A,D3: A] :
          ( ( ( inf_inf @ ( set @ A ) @ ( set_or3652927894154168847AtMost @ A @ A3 @ B2 ) @ ( set_or3652927894154168847AtMost @ A @ C3 @ D3 ) )
            = ( bot_bot @ ( set @ A ) ) )
          = ( ( ord_less_eq @ A @ B2 @ A3 )
            | ( ord_less_eq @ A @ D3 @ C3 )
            | ( ord_less_eq @ A @ B2 @ C3 )
            | ( ord_less_eq @ A @ D3 @ A3 ) ) ) ) ).

% Ioc_disjoint
thf(fact_3734_ivl__disj__un__two_I8_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [L: A,M: A,U: A] :
          ( ( ord_less_eq @ A @ L @ M )
         => ( ( ord_less_eq @ A @ M @ U )
           => ( ( sup_sup @ ( set @ A ) @ ( set_or1337092689740270186AtMost @ A @ L @ M ) @ ( set_or3652927894154168847AtMost @ A @ M @ U ) )
              = ( set_or1337092689740270186AtMost @ A @ L @ U ) ) ) ) ) ).

% ivl_disj_un_two(8)
thf(fact_3735_ivl__disj__un__one_I3_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [L: A,U: A] :
          ( ( ord_less_eq @ A @ L @ U )
         => ( ( sup_sup @ ( set @ A ) @ ( set_ord_atMost @ A @ L ) @ ( set_or3652927894154168847AtMost @ A @ L @ U ) )
            = ( set_ord_atMost @ A @ U ) ) ) ) ).

% ivl_disj_un_one(3)
thf(fact_3736_mod__emp,axiom,
    ! [H: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
      ( ( rep_assn @ ( one_one @ assn ) @ H )
      = ( ( product_snd @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H )
        = ( bot_bot @ ( set @ nat ) ) ) ) ).

% mod_emp
thf(fact_3737_sum_Ohead,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [M: nat,N: nat,G3: nat > A] :
          ( ( ord_less_eq @ nat @ M @ N )
         => ( ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ M @ N ) )
            = ( plus_plus @ A @ ( G3 @ M ) @ ( groups7311177749621191930dd_sum @ nat @ A @ G3 @ ( set_or3652927894154168847AtMost @ nat @ M @ N ) ) ) ) ) ) ).

% sum.head
thf(fact_3738_prod_Ohead,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [M: nat,N: nat,G3: nat > A] :
          ( ( ord_less_eq @ nat @ M @ N )
         => ( ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_or1337092689740270186AtMost @ nat @ M @ N ) )
            = ( times_times @ A @ ( G3 @ M ) @ ( groups7121269368397514597t_prod @ nat @ A @ G3 @ ( set_or3652927894154168847AtMost @ nat @ M @ N ) ) ) ) ) ) ).

% prod.head
thf(fact_3739_greaterThanAtMost__subseteq__atLeastAtMost__iff,axiom,
    ! [A: $tType] :
      ( ( dense_linorder @ A )
     => ! [A3: A,B2: A,C3: A,D3: A] :
          ( ( ord_less_eq @ ( set @ A ) @ ( set_or3652927894154168847AtMost @ A @ A3 @ B2 ) @ ( set_or1337092689740270186AtMost @ A @ C3 @ D3 ) )
          = ( ( ord_less @ A @ A3 @ B2 )
           => ( ( ord_less_eq @ A @ C3 @ A3 )
              & ( ord_less_eq @ A @ B2 @ D3 ) ) ) ) ) ).

% greaterThanAtMost_subseteq_atLeastAtMost_iff
thf(fact_3740_greaterThanAtMost__subseteq__atLeastLessThan__iff,axiom,
    ! [A: $tType] :
      ( ( dense_linorder @ A )
     => ! [A3: A,B2: A,C3: A,D3: A] :
          ( ( ord_less_eq @ ( set @ A ) @ ( set_or3652927894154168847AtMost @ A @ A3 @ B2 ) @ ( set_or7035219750837199246ssThan @ A @ C3 @ D3 ) )
          = ( ( ord_less @ A @ A3 @ B2 )
           => ( ( ord_less_eq @ A @ C3 @ A3 )
              & ( ord_less @ A @ B2 @ D3 ) ) ) ) ) ).

% greaterThanAtMost_subseteq_atLeastLessThan_iff
thf(fact_3741_ivl__disj__un__two__touch_I3_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [L: A,M: A,U: A] :
          ( ( ord_less @ A @ L @ M )
         => ( ( ord_less_eq @ A @ M @ U )
           => ( ( sup_sup @ ( set @ A ) @ ( set_or3652927894154168847AtMost @ A @ L @ M ) @ ( set_or1337092689740270186AtMost @ A @ M @ U ) )
              = ( set_or3652927894154168847AtMost @ A @ L @ U ) ) ) ) ) ).

% ivl_disj_un_two_touch(3)
thf(fact_3742_greaterThanLessThan__subseteq__greaterThanAtMost__iff,axiom,
    ! [A: $tType] :
      ( ( dense_linorder @ A )
     => ! [A3: A,B2: A,C3: A,D3: A] :
          ( ( ord_less_eq @ ( set @ A ) @ ( set_or5935395276787703475ssThan @ A @ A3 @ B2 ) @ ( set_or3652927894154168847AtMost @ A @ C3 @ D3 ) )
          = ( ( ord_less @ A @ A3 @ B2 )
           => ( ( ord_less_eq @ A @ C3 @ A3 )
              & ( ord_less_eq @ A @ B2 @ D3 ) ) ) ) ) ).

% greaterThanLessThan_subseteq_greaterThanAtMost_iff
thf(fact_3743_ivl__disj__un__two_I2_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [L: A,M: A,U: A] :
          ( ( ord_less_eq @ A @ L @ M )
         => ( ( ord_less @ A @ M @ U )
           => ( ( sup_sup @ ( set @ A ) @ ( set_or3652927894154168847AtMost @ A @ L @ M ) @ ( set_or5935395276787703475ssThan @ A @ M @ U ) )
              = ( set_or5935395276787703475ssThan @ A @ L @ U ) ) ) ) ) ).

% ivl_disj_un_two(2)
thf(fact_3744_ivl__disj__un__two__touch_I1_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [L: A,M: A,U: A] :
          ( ( ord_less @ A @ L @ M )
         => ( ( ord_less @ A @ M @ U )
           => ( ( sup_sup @ ( set @ A ) @ ( set_or3652927894154168847AtMost @ A @ L @ M ) @ ( set_or7035219750837199246ssThan @ A @ M @ U ) )
              = ( set_or5935395276787703475ssThan @ A @ L @ U ) ) ) ) ) ).

% ivl_disj_un_two_touch(1)
thf(fact_3745_uminus__int_Oabs__eq,axiom,
    ! [X: product_prod @ nat @ nat] :
      ( ( uminus_uminus @ int @ ( abs_Integ @ X ) )
      = ( abs_Integ
        @ ( product_case_prod @ nat @ nat @ ( product_prod @ nat @ nat )
          @ ^ [X4: nat,Y4: nat] : ( product_Pair @ nat @ nat @ Y4 @ X4 )
          @ X ) ) ) ).

% uminus_int.abs_eq
thf(fact_3746_sorted__list__of__set__greaterThanAtMost,axiom,
    ! [I2: nat,J2: nat] :
      ( ( ord_less_eq @ nat @ ( suc @ I2 ) @ J2 )
     => ( ( linord4507533701916653071of_set @ nat @ ( set_or3652927894154168847AtMost @ nat @ I2 @ J2 ) )
        = ( cons @ nat @ ( suc @ I2 ) @ ( linord4507533701916653071of_set @ nat @ ( set_or3652927894154168847AtMost @ nat @ ( suc @ I2 ) @ J2 ) ) ) ) ) ).

% sorted_list_of_set_greaterThanAtMost
thf(fact_3747_ivl__disj__un__singleton_I5_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [L: A,U: A] :
          ( ( ord_less_eq @ A @ L @ U )
         => ( ( sup_sup @ ( set @ A ) @ ( insert @ A @ L @ ( bot_bot @ ( set @ A ) ) ) @ ( set_or3652927894154168847AtMost @ A @ L @ U ) )
            = ( set_or1337092689740270186AtMost @ A @ L @ U ) ) ) ) ).

% ivl_disj_un_singleton(5)
thf(fact_3748_ivl__disj__un__singleton_I4_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [L: A,U: A] :
          ( ( ord_less @ A @ L @ U )
         => ( ( sup_sup @ ( set @ A ) @ ( set_or5935395276787703475ssThan @ A @ L @ U ) @ ( insert @ A @ U @ ( bot_bot @ ( set @ A ) ) ) )
            = ( set_or3652927894154168847AtMost @ A @ L @ U ) ) ) ) ).

% ivl_disj_un_singleton(4)
thf(fact_3749_ivl__disj__un__two_I5_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [L: A,M: A,U: A] :
          ( ( ord_less @ A @ L @ M )
         => ( ( ord_less_eq @ A @ M @ U )
           => ( ( sup_sup @ ( set @ A ) @ ( set_or5935395276787703475ssThan @ A @ L @ M ) @ ( set_or1337092689740270186AtMost @ A @ M @ U ) )
              = ( set_or3652927894154168847AtMost @ A @ L @ U ) ) ) ) ) ).

% ivl_disj_un_two(5)
thf(fact_3750_of__int_Oabs__eq,axiom,
    ! [A: $tType] :
      ( ( ring_1 @ A )
     => ! [X: product_prod @ nat @ nat] :
          ( ( ring_1_of_int @ A @ ( abs_Integ @ X ) )
          = ( product_case_prod @ nat @ nat @ A
            @ ^ [I: nat,J: nat] : ( minus_minus @ A @ ( semiring_1_of_nat @ A @ I ) @ ( semiring_1_of_nat @ A @ J ) )
            @ X ) ) ) ).

% of_int.abs_eq
thf(fact_3751_less__int_Oabs__eq,axiom,
    ! [Xa: product_prod @ nat @ nat,X: product_prod @ nat @ nat] :
      ( ( ord_less @ int @ ( abs_Integ @ Xa ) @ ( abs_Integ @ X ) )
      = ( product_case_prod @ nat @ nat @ ( ( product_prod @ nat @ nat ) > $o )
        @ ^ [X4: nat,Y4: nat] :
            ( product_case_prod @ nat @ nat @ $o
            @ ^ [U2: nat,V3: nat] : ( ord_less @ nat @ ( plus_plus @ nat @ X4 @ V3 ) @ ( plus_plus @ nat @ U2 @ Y4 ) ) )
        @ Xa
        @ X ) ) ).

% less_int.abs_eq
thf(fact_3752_less__eq__int_Oabs__eq,axiom,
    ! [Xa: product_prod @ nat @ nat,X: product_prod @ nat @ nat] :
      ( ( ord_less_eq @ int @ ( abs_Integ @ Xa ) @ ( abs_Integ @ X ) )
      = ( product_case_prod @ nat @ nat @ ( ( product_prod @ nat @ nat ) > $o )
        @ ^ [X4: nat,Y4: nat] :
            ( product_case_prod @ nat @ nat @ $o
            @ ^ [U2: nat,V3: nat] : ( ord_less_eq @ nat @ ( plus_plus @ nat @ X4 @ V3 ) @ ( plus_plus @ nat @ U2 @ Y4 ) ) )
        @ Xa
        @ X ) ) ).

% less_eq_int.abs_eq
thf(fact_3753_plus__int_Oabs__eq,axiom,
    ! [Xa: product_prod @ nat @ nat,X: product_prod @ nat @ nat] :
      ( ( plus_plus @ int @ ( abs_Integ @ Xa ) @ ( abs_Integ @ X ) )
      = ( abs_Integ
        @ ( product_case_prod @ nat @ nat @ ( ( product_prod @ nat @ nat ) > ( product_prod @ nat @ nat ) )
          @ ^ [X4: nat,Y4: nat] :
              ( product_case_prod @ nat @ nat @ ( product_prod @ nat @ nat )
              @ ^ [U2: nat,V3: nat] : ( product_Pair @ nat @ nat @ ( plus_plus @ nat @ X4 @ U2 ) @ ( plus_plus @ nat @ Y4 @ V3 ) ) )
          @ Xa
          @ X ) ) ) ).

% plus_int.abs_eq
thf(fact_3754_minus__int_Oabs__eq,axiom,
    ! [Xa: product_prod @ nat @ nat,X: product_prod @ nat @ nat] :
      ( ( minus_minus @ int @ ( abs_Integ @ Xa ) @ ( abs_Integ @ X ) )
      = ( abs_Integ
        @ ( product_case_prod @ nat @ nat @ ( ( product_prod @ nat @ nat ) > ( product_prod @ nat @ nat ) )
          @ ^ [X4: nat,Y4: nat] :
              ( product_case_prod @ nat @ nat @ ( product_prod @ nat @ nat )
              @ ^ [U2: nat,V3: nat] : ( product_Pair @ nat @ nat @ ( plus_plus @ nat @ X4 @ V3 ) @ ( plus_plus @ nat @ Y4 @ U2 ) ) )
          @ Xa
          @ X ) ) ) ).

% minus_int.abs_eq
thf(fact_3755_upd_H__def,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ( ( array_upd2 @ A )
        = ( ^ [A7: array @ A,I: code_integer,X4: A] :
              ( heap_Time_bind @ ( array @ A ) @ product_unit @ ( array_upd @ A @ ( code_nat_of_integer @ I ) @ X4 @ A7 )
              @ ^ [Uu2: array @ A] : ( heap_Time_ureturn @ product_unit @ product_Unity ) ) ) ) ) ).

% upd'_def
thf(fact_3756_subset__mset_Oelem__le__sum__list,axiom,
    ! [A: $tType,K2: nat,Ns: list @ ( multiset @ A )] :
      ( ( ord_less @ nat @ K2 @ ( size_size @ ( list @ ( multiset @ A ) ) @ Ns ) )
     => ( subseteq_mset @ A @ ( nth @ ( multiset @ A ) @ Ns @ K2 ) @ ( groups4543113879258116180m_list @ ( multiset @ A ) @ ( plus_plus @ ( multiset @ A ) ) @ ( zero_zero @ ( multiset @ A ) ) @ Ns ) ) ) ).

% subset_mset.elem_le_sum_list
thf(fact_3757_rat__minus__code,axiom,
    ! [P3: rat,Q6: rat] :
      ( ( quotient_of @ ( minus_minus @ rat @ P3 @ Q6 ) )
      = ( product_case_prod @ int @ int @ ( product_prod @ int @ int )
        @ ^ [A7: int,C4: int] :
            ( product_case_prod @ int @ int @ ( product_prod @ int @ int )
            @ ^ [B5: int,D6: int] : ( normalize @ ( product_Pair @ int @ int @ ( minus_minus @ int @ ( times_times @ int @ A7 @ D6 ) @ ( times_times @ int @ B5 @ C4 ) ) @ ( times_times @ int @ C4 @ D6 ) ) )
            @ ( quotient_of @ Q6 ) )
        @ ( quotient_of @ P3 ) ) ) ).

% rat_minus_code
thf(fact_3758_slice__eq__mask,axiom,
    ! [A: $tType] :
      ( ( bit_ri3973907225187159222ations @ A )
     => ! [N: nat,M: nat,A3: A] :
          ( ( bit_se4730199178511100633sh_bit @ A @ N @ ( bit_se2584673776208193580ke_bit @ A @ M @ ( bit_se4197421643247451524op_bit @ A @ N @ A3 ) ) )
          = ( bit_se5824344872417868541ns_and @ A @ A3 @ ( bit_se5824344872417868541ns_and @ A @ ( bit_se2239418461657761734s_mask @ A @ ( plus_plus @ nat @ M @ N ) ) @ ( bit_ri4277139882892585799ns_not @ A @ ( bit_se2239418461657761734s_mask @ A @ N ) ) ) ) ) ) ).

% slice_eq_mask
thf(fact_3759_finite__greaterThanAtMost__integer,axiom,
    ! [L: code_integer,U: code_integer] : ( finite_finite2 @ code_integer @ ( set_or3652927894154168847AtMost @ code_integer @ L @ U ) ) ).

% finite_greaterThanAtMost_integer
thf(fact_3760_mset__subset__eq__mono__add__right__cancel,axiom,
    ! [A: $tType,A6: multiset @ A,C5: multiset @ A,B6: multiset @ A] :
      ( ( subseteq_mset @ A @ ( plus_plus @ ( multiset @ A ) @ A6 @ C5 ) @ ( plus_plus @ ( multiset @ A ) @ B6 @ C5 ) )
      = ( subseteq_mset @ A @ A6 @ B6 ) ) ).

% mset_subset_eq_mono_add_right_cancel
thf(fact_3761_mset__subset__eq__mono__add__left__cancel,axiom,
    ! [A: $tType,C5: multiset @ A,A6: multiset @ A,B6: multiset @ A] :
      ( ( subseteq_mset @ A @ ( plus_plus @ ( multiset @ A ) @ C5 @ A6 ) @ ( plus_plus @ ( multiset @ A ) @ C5 @ B6 ) )
      = ( subseteq_mset @ A @ A6 @ B6 ) ) ).

% mset_subset_eq_mono_add_left_cancel
thf(fact_3762_subset__mset_Oadd__le__cancel__right,axiom,
    ! [A: $tType,A3: multiset @ A,C3: multiset @ A,B2: multiset @ A] :
      ( ( subseteq_mset @ A @ ( plus_plus @ ( multiset @ A ) @ A3 @ C3 ) @ ( plus_plus @ ( multiset @ A ) @ B2 @ C3 ) )
      = ( subseteq_mset @ A @ A3 @ B2 ) ) ).

% subset_mset.add_le_cancel_right
thf(fact_3763_subset__mset_Oadd__le__cancel__left,axiom,
    ! [A: $tType,C3: multiset @ A,A3: multiset @ A,B2: multiset @ A] :
      ( ( subseteq_mset @ A @ ( plus_plus @ ( multiset @ A ) @ C3 @ A3 ) @ ( plus_plus @ ( multiset @ A ) @ C3 @ B2 ) )
      = ( subseteq_mset @ A @ A3 @ B2 ) ) ).

% subset_mset.add_le_cancel_left
thf(fact_3764_drop__bit__nonnegative__int__iff,axiom,
    ! [N: nat,K2: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ ( bit_se4197421643247451524op_bit @ int @ N @ K2 ) )
      = ( ord_less_eq @ int @ ( zero_zero @ int ) @ K2 ) ) ).

% drop_bit_nonnegative_int_iff
thf(fact_3765_drop__bit__negative__int__iff,axiom,
    ! [N: nat,K2: int] :
      ( ( ord_less @ int @ ( bit_se4197421643247451524op_bit @ int @ N @ K2 ) @ ( zero_zero @ int ) )
      = ( ord_less @ int @ K2 @ ( zero_zero @ int ) ) ) ).

% drop_bit_negative_int_iff
thf(fact_3766_drop__bit__drop__bit,axiom,
    ! [A: $tType] :
      ( ( bit_se359711467146920520ations @ A )
     => ! [M: nat,N: nat,A3: A] :
          ( ( bit_se4197421643247451524op_bit @ A @ M @ ( bit_se4197421643247451524op_bit @ A @ N @ A3 ) )
          = ( bit_se4197421643247451524op_bit @ A @ ( plus_plus @ nat @ M @ N ) @ A3 ) ) ) ).

% drop_bit_drop_bit
thf(fact_3767_subset__mset_Ole__add__same__cancel2,axiom,
    ! [A: $tType,A3: multiset @ A,B2: multiset @ A] :
      ( ( subseteq_mset @ A @ A3 @ ( plus_plus @ ( multiset @ A ) @ B2 @ A3 ) )
      = ( subseteq_mset @ A @ ( zero_zero @ ( multiset @ A ) ) @ B2 ) ) ).

% subset_mset.le_add_same_cancel2
thf(fact_3768_subset__mset_Ole__add__same__cancel1,axiom,
    ! [A: $tType,A3: multiset @ A,B2: multiset @ A] :
      ( ( subseteq_mset @ A @ A3 @ ( plus_plus @ ( multiset @ A ) @ A3 @ B2 ) )
      = ( subseteq_mset @ A @ ( zero_zero @ ( multiset @ A ) ) @ B2 ) ) ).

% subset_mset.le_add_same_cancel1
thf(fact_3769_subset__mset_Oadd__le__same__cancel2,axiom,
    ! [A: $tType,A3: multiset @ A,B2: multiset @ A] :
      ( ( subseteq_mset @ A @ ( plus_plus @ ( multiset @ A ) @ A3 @ B2 ) @ B2 )
      = ( subseteq_mset @ A @ A3 @ ( zero_zero @ ( multiset @ A ) ) ) ) ).

% subset_mset.add_le_same_cancel2
thf(fact_3770_subset__mset_Oadd__le__same__cancel1,axiom,
    ! [A: $tType,B2: multiset @ A,A3: multiset @ A] :
      ( ( subseteq_mset @ A @ ( plus_plus @ ( multiset @ A ) @ B2 @ A3 ) @ B2 )
      = ( subseteq_mset @ A @ A3 @ ( zero_zero @ ( multiset @ A ) ) ) ) ).

% subset_mset.add_le_same_cancel1
thf(fact_3771_subset__mset_Odiff__add,axiom,
    ! [A: $tType,A3: multiset @ A,B2: multiset @ A] :
      ( ( subseteq_mset @ A @ A3 @ B2 )
     => ( ( plus_plus @ ( multiset @ A ) @ ( minus_minus @ ( multiset @ A ) @ B2 @ A3 ) @ A3 )
        = B2 ) ) ).

% subset_mset.diff_add
thf(fact_3772_subset__mset_Oadd__diff__assoc,axiom,
    ! [A: $tType,A3: multiset @ A,B2: multiset @ A,C3: multiset @ A] :
      ( ( subseteq_mset @ A @ A3 @ B2 )
     => ( ( plus_plus @ ( multiset @ A ) @ C3 @ ( minus_minus @ ( multiset @ A ) @ B2 @ A3 ) )
        = ( minus_minus @ ( multiset @ A ) @ ( plus_plus @ ( multiset @ A ) @ C3 @ B2 ) @ A3 ) ) ) ).

% subset_mset.add_diff_assoc
thf(fact_3773_subset__mset_Oadd__diff__assoc2,axiom,
    ! [A: $tType,A3: multiset @ A,B2: multiset @ A,C3: multiset @ A] :
      ( ( subseteq_mset @ A @ A3 @ B2 )
     => ( ( plus_plus @ ( multiset @ A ) @ ( minus_minus @ ( multiset @ A ) @ B2 @ A3 ) @ C3 )
        = ( minus_minus @ ( multiset @ A ) @ ( plus_plus @ ( multiset @ A ) @ B2 @ C3 ) @ A3 ) ) ) ).

% subset_mset.add_diff_assoc2
thf(fact_3774_mset__subset__eq__multiset__union__diff__commute,axiom,
    ! [A: $tType,B6: multiset @ A,A6: multiset @ A,C5: multiset @ A] :
      ( ( subseteq_mset @ A @ B6 @ A6 )
     => ( ( plus_plus @ ( multiset @ A ) @ ( minus_minus @ ( multiset @ A ) @ A6 @ B6 ) @ C5 )
        = ( minus_minus @ ( multiset @ A ) @ ( plus_plus @ ( multiset @ A ) @ A6 @ C5 ) @ B6 ) ) ) ).

% mset_subset_eq_multiset_union_diff_commute
thf(fact_3775_subset__mset_Oadd__mono,axiom,
    ! [A: $tType,A3: multiset @ A,B2: multiset @ A,C3: multiset @ A,D3: multiset @ A] :
      ( ( subseteq_mset @ A @ A3 @ B2 )
     => ( ( subseteq_mset @ A @ C3 @ D3 )
       => ( subseteq_mset @ A @ ( plus_plus @ ( multiset @ A ) @ A3 @ C3 ) @ ( plus_plus @ ( multiset @ A ) @ B2 @ D3 ) ) ) ) ).

% subset_mset.add_mono
thf(fact_3776_subset__mset_Oless__eqE,axiom,
    ! [A: $tType,A3: multiset @ A,B2: multiset @ A] :
      ( ( subseteq_mset @ A @ A3 @ B2 )
     => ~ ! [C2: multiset @ A] :
            ( B2
           != ( plus_plus @ ( multiset @ A ) @ A3 @ C2 ) ) ) ).

% subset_mset.less_eqE
thf(fact_3777_subset__mset_Ole__iff__add,axiom,
    ! [A: $tType] :
      ( ( subseteq_mset @ A )
      = ( ^ [A7: multiset @ A,B5: multiset @ A] :
          ? [C4: multiset @ A] :
            ( B5
            = ( plus_plus @ ( multiset @ A ) @ A7 @ C4 ) ) ) ) ).

% subset_mset.le_iff_add
thf(fact_3778_subset__mset_Oadd__left__mono,axiom,
    ! [A: $tType,A3: multiset @ A,B2: multiset @ A,C3: multiset @ A] :
      ( ( subseteq_mset @ A @ A3 @ B2 )
     => ( subseteq_mset @ A @ ( plus_plus @ ( multiset @ A ) @ C3 @ A3 ) @ ( plus_plus @ ( multiset @ A ) @ C3 @ B2 ) ) ) ).

% subset_mset.add_left_mono
thf(fact_3779_subset__mset_Oadd__right__mono,axiom,
    ! [A: $tType,A3: multiset @ A,B2: multiset @ A,C3: multiset @ A] :
      ( ( subseteq_mset @ A @ A3 @ B2 )
     => ( subseteq_mset @ A @ ( plus_plus @ ( multiset @ A ) @ A3 @ C3 ) @ ( plus_plus @ ( multiset @ A ) @ B2 @ C3 ) ) ) ).

% subset_mset.add_right_mono
thf(fact_3780_subset__mset_Oadd__le__imp__le__left,axiom,
    ! [A: $tType,C3: multiset @ A,A3: multiset @ A,B2: multiset @ A] :
      ( ( subseteq_mset @ A @ ( plus_plus @ ( multiset @ A ) @ C3 @ A3 ) @ ( plus_plus @ ( multiset @ A ) @ C3 @ B2 ) )
     => ( subseteq_mset @ A @ A3 @ B2 ) ) ).

% subset_mset.add_le_imp_le_left
thf(fact_3781_subset__mset_Oadd__le__imp__le__right,axiom,
    ! [A: $tType,A3: multiset @ A,C3: multiset @ A,B2: multiset @ A] :
      ( ( subseteq_mset @ A @ ( plus_plus @ ( multiset @ A ) @ A3 @ C3 ) @ ( plus_plus @ ( multiset @ A ) @ B2 @ C3 ) )
     => ( subseteq_mset @ A @ A3 @ B2 ) ) ).

% subset_mset.add_le_imp_le_right
thf(fact_3782_mset__subset__eq__add__left,axiom,
    ! [A: $tType,A6: multiset @ A,B6: multiset @ A] : ( subseteq_mset @ A @ A6 @ ( plus_plus @ ( multiset @ A ) @ A6 @ B6 ) ) ).

% mset_subset_eq_add_left
thf(fact_3783_mset__subset__eq__mono__add,axiom,
    ! [A: $tType,A6: multiset @ A,B6: multiset @ A,C5: multiset @ A,D5: multiset @ A] :
      ( ( subseteq_mset @ A @ A6 @ B6 )
     => ( ( subseteq_mset @ A @ C5 @ D5 )
       => ( subseteq_mset @ A @ ( plus_plus @ ( multiset @ A ) @ A6 @ C5 ) @ ( plus_plus @ ( multiset @ A ) @ B6 @ D5 ) ) ) ) ).

% mset_subset_eq_mono_add
thf(fact_3784_mset__subset__eq__add__right,axiom,
    ! [A: $tType,B6: multiset @ A,A6: multiset @ A] : ( subseteq_mset @ A @ B6 @ ( plus_plus @ ( multiset @ A ) @ A6 @ B6 ) ) ).

% mset_subset_eq_add_right
thf(fact_3785_mset__subset__eq__exists__conv,axiom,
    ! [A: $tType] :
      ( ( subseteq_mset @ A )
      = ( ^ [A8: multiset @ A,B7: multiset @ A] :
          ? [C6: multiset @ A] :
            ( B7
            = ( plus_plus @ ( multiset @ A ) @ A8 @ C6 ) ) ) ) ).

% mset_subset_eq_exists_conv
thf(fact_3786_mset__le__incr__right2,axiom,
    ! [A: $tType,A3: multiset @ A,B2: multiset @ A,C3: multiset @ A] :
      ( ( subseteq_mset @ A @ A3 @ B2 )
     => ( subseteq_mset @ A @ A3 @ ( plus_plus @ ( multiset @ A ) @ C3 @ B2 ) ) ) ).

% mset_le_incr_right2
thf(fact_3787_mset__le__incr__right1,axiom,
    ! [A: $tType,A3: multiset @ A,B2: multiset @ A,C3: multiset @ A] :
      ( ( subseteq_mset @ A @ A3 @ B2 )
     => ( subseteq_mset @ A @ A3 @ ( plus_plus @ ( multiset @ A ) @ B2 @ C3 ) ) ) ).

% mset_le_incr_right1
thf(fact_3788_mset__le__decr__left2,axiom,
    ! [A: $tType,C3: multiset @ A,A3: multiset @ A,B2: multiset @ A] :
      ( ( subseteq_mset @ A @ ( plus_plus @ ( multiset @ A ) @ C3 @ A3 ) @ B2 )
     => ( subseteq_mset @ A @ A3 @ B2 ) ) ).

% mset_le_decr_left2
thf(fact_3789_mset__le__decr__left1,axiom,
    ! [A: $tType,A3: multiset @ A,C3: multiset @ A,B2: multiset @ A] :
      ( ( subseteq_mset @ A @ ( plus_plus @ ( multiset @ A ) @ A3 @ C3 ) @ B2 )
     => ( subseteq_mset @ A @ A3 @ B2 ) ) ).

% mset_le_decr_left1
thf(fact_3790_mset__union__subset,axiom,
    ! [A: $tType,A6: multiset @ A,B6: multiset @ A,C5: multiset @ A] :
      ( ( subseteq_mset @ A @ ( plus_plus @ ( multiset @ A ) @ A6 @ B6 ) @ C5 )
     => ( ( subseteq_mset @ A @ A6 @ C5 )
        & ( subseteq_mset @ A @ B6 @ C5 ) ) ) ).

% mset_union_subset
thf(fact_3791_mset__le__distrib,axiom,
    ! [A: $tType,X7: multiset @ A,A6: multiset @ A,B6: multiset @ A] :
      ( ( subseteq_mset @ A @ X7 @ ( plus_plus @ ( multiset @ A ) @ A6 @ B6 ) )
     => ~ ! [Xa5: multiset @ A,Xb4: multiset @ A] :
            ( ( X7
              = ( plus_plus @ ( multiset @ A ) @ Xa5 @ Xb4 ) )
           => ( ( subseteq_mset @ A @ Xa5 @ A6 )
             => ~ ( subseteq_mset @ A @ Xb4 @ B6 ) ) ) ) ).

% mset_le_distrib
thf(fact_3792_mset__le__addE,axiom,
    ! [A: $tType,Xs: multiset @ A,Ys3: multiset @ A] :
      ( ( subseteq_mset @ A @ Xs @ Ys3 )
     => ~ ! [Zs2: multiset @ A] :
            ( Ys3
           != ( plus_plus @ ( multiset @ A ) @ Xs @ Zs2 ) ) ) ).

% mset_le_addE
thf(fact_3793_diff__rat__def,axiom,
    ( ( minus_minus @ rat )
    = ( ^ [Q8: rat,R5: rat] : ( plus_plus @ rat @ Q8 @ ( uminus_uminus @ rat @ R5 ) ) ) ) ).

% diff_rat_def
thf(fact_3794_mset__le__subtract,axiom,
    ! [A: $tType,A6: multiset @ A,B6: multiset @ A,C5: multiset @ A] :
      ( ( subseteq_mset @ A @ A6 @ B6 )
     => ( subseteq_mset @ A @ ( minus_minus @ ( multiset @ A ) @ A6 @ C5 ) @ ( minus_minus @ ( multiset @ A ) @ B6 @ C5 ) ) ) ).

% mset_le_subtract
thf(fact_3795_subset__mset_Olift__Suc__antimono__le,axiom,
    ! [A: $tType,F3: nat > ( multiset @ A ),N: nat,N2: nat] :
      ( ! [N4: nat] : ( subseteq_mset @ A @ ( F3 @ ( suc @ N4 ) ) @ ( F3 @ N4 ) )
     => ( ( ord_less_eq @ nat @ N @ N2 )
       => ( subseteq_mset @ A @ ( F3 @ N2 ) @ ( F3 @ N ) ) ) ) ).

% subset_mset.lift_Suc_antimono_le
thf(fact_3796_subset__mset_Olift__Suc__mono__le,axiom,
    ! [A: $tType,F3: nat > ( multiset @ A ),N: nat,N2: nat] :
      ( ! [N4: nat] : ( subseteq_mset @ A @ ( F3 @ N4 ) @ ( F3 @ ( suc @ N4 ) ) )
     => ( ( ord_less_eq @ nat @ N @ N2 )
       => ( subseteq_mset @ A @ ( F3 @ N ) @ ( F3 @ N2 ) ) ) ) ).

% subset_mset.lift_Suc_mono_le
thf(fact_3797_subset__mset_Oadd__nonpos__eq__0__iff,axiom,
    ! [A: $tType,X: multiset @ A,Y: multiset @ A] :
      ( ( subseteq_mset @ A @ X @ ( zero_zero @ ( multiset @ A ) ) )
     => ( ( subseteq_mset @ A @ Y @ ( zero_zero @ ( multiset @ A ) ) )
       => ( ( ( plus_plus @ ( multiset @ A ) @ X @ Y )
            = ( zero_zero @ ( multiset @ A ) ) )
          = ( ( X
              = ( zero_zero @ ( multiset @ A ) ) )
            & ( Y
              = ( zero_zero @ ( multiset @ A ) ) ) ) ) ) ) ).

% subset_mset.add_nonpos_eq_0_iff
thf(fact_3798_subset__mset_Oadd__nonneg__eq__0__iff,axiom,
    ! [A: $tType,X: multiset @ A,Y: multiset @ A] :
      ( ( subseteq_mset @ A @ ( zero_zero @ ( multiset @ A ) ) @ X )
     => ( ( subseteq_mset @ A @ ( zero_zero @ ( multiset @ A ) ) @ Y )
       => ( ( ( plus_plus @ ( multiset @ A ) @ X @ Y )
            = ( zero_zero @ ( multiset @ A ) ) )
          = ( ( X
              = ( zero_zero @ ( multiset @ A ) ) )
            & ( Y
              = ( zero_zero @ ( multiset @ A ) ) ) ) ) ) ) ).

% subset_mset.add_nonneg_eq_0_iff
thf(fact_3799_subset__mset_Oadd__nonpos__nonpos,axiom,
    ! [A: $tType,A3: multiset @ A,B2: multiset @ A] :
      ( ( subseteq_mset @ A @ A3 @ ( zero_zero @ ( multiset @ A ) ) )
     => ( ( subseteq_mset @ A @ B2 @ ( zero_zero @ ( multiset @ A ) ) )
       => ( subseteq_mset @ A @ ( plus_plus @ ( multiset @ A ) @ A3 @ B2 ) @ ( zero_zero @ ( multiset @ A ) ) ) ) ) ).

% subset_mset.add_nonpos_nonpos
thf(fact_3800_subset__mset_Oadd__nonneg__nonneg,axiom,
    ! [A: $tType,A3: multiset @ A,B2: multiset @ A] :
      ( ( subseteq_mset @ A @ ( zero_zero @ ( multiset @ A ) ) @ A3 )
     => ( ( subseteq_mset @ A @ ( zero_zero @ ( multiset @ A ) ) @ B2 )
       => ( subseteq_mset @ A @ ( zero_zero @ ( multiset @ A ) ) @ ( plus_plus @ ( multiset @ A ) @ A3 @ B2 ) ) ) ) ).

% subset_mset.add_nonneg_nonneg
thf(fact_3801_subset__mset_Oadd__increasing2,axiom,
    ! [A: $tType,C3: multiset @ A,B2: multiset @ A,A3: multiset @ A] :
      ( ( subseteq_mset @ A @ ( zero_zero @ ( multiset @ A ) ) @ C3 )
     => ( ( subseteq_mset @ A @ B2 @ A3 )
       => ( subseteq_mset @ A @ B2 @ ( plus_plus @ ( multiset @ A ) @ A3 @ C3 ) ) ) ) ).

% subset_mset.add_increasing2
thf(fact_3802_subset__mset_Oadd__decreasing2,axiom,
    ! [A: $tType,C3: multiset @ A,A3: multiset @ A,B2: multiset @ A] :
      ( ( subseteq_mset @ A @ C3 @ ( zero_zero @ ( multiset @ A ) ) )
     => ( ( subseteq_mset @ A @ A3 @ B2 )
       => ( subseteq_mset @ A @ ( plus_plus @ ( multiset @ A ) @ A3 @ C3 ) @ B2 ) ) ) ).

% subset_mset.add_decreasing2
thf(fact_3803_subset__mset_Oadd__increasing,axiom,
    ! [A: $tType,A3: multiset @ A,B2: multiset @ A,C3: multiset @ A] :
      ( ( subseteq_mset @ A @ ( zero_zero @ ( multiset @ A ) ) @ A3 )
     => ( ( subseteq_mset @ A @ B2 @ C3 )
       => ( subseteq_mset @ A @ B2 @ ( plus_plus @ ( multiset @ A ) @ A3 @ C3 ) ) ) ) ).

% subset_mset.add_increasing
thf(fact_3804_subset__mset_Oadd__decreasing,axiom,
    ! [A: $tType,A3: multiset @ A,C3: multiset @ A,B2: multiset @ A] :
      ( ( subseteq_mset @ A @ A3 @ ( zero_zero @ ( multiset @ A ) ) )
     => ( ( subseteq_mset @ A @ C3 @ B2 )
       => ( subseteq_mset @ A @ ( plus_plus @ ( multiset @ A ) @ A3 @ C3 ) @ B2 ) ) ) ).

% subset_mset.add_decreasing
thf(fact_3805_subset__mset_Ole__add__diff,axiom,
    ! [A: $tType,A3: multiset @ A,B2: multiset @ A,C3: multiset @ A] :
      ( ( subseteq_mset @ A @ A3 @ B2 )
     => ( subseteq_mset @ A @ C3 @ ( minus_minus @ ( multiset @ A ) @ ( plus_plus @ ( multiset @ A ) @ B2 @ C3 ) @ A3 ) ) ) ).

% subset_mset.le_add_diff
thf(fact_3806_subset__mset_Ole__diff__conv2,axiom,
    ! [A: $tType,A3: multiset @ A,B2: multiset @ A,C3: multiset @ A] :
      ( ( subseteq_mset @ A @ A3 @ B2 )
     => ( ( subseteq_mset @ A @ C3 @ ( minus_minus @ ( multiset @ A ) @ B2 @ A3 ) )
        = ( subseteq_mset @ A @ ( plus_plus @ ( multiset @ A ) @ C3 @ A3 ) @ B2 ) ) ) ).

% subset_mset.le_diff_conv2
thf(fact_3807_subset__mset_Odiff__add__assoc,axiom,
    ! [A: $tType,A3: multiset @ A,B2: multiset @ A,C3: multiset @ A] :
      ( ( subseteq_mset @ A @ A3 @ B2 )
     => ( ( minus_minus @ ( multiset @ A ) @ ( plus_plus @ ( multiset @ A ) @ C3 @ B2 ) @ A3 )
        = ( plus_plus @ ( multiset @ A ) @ C3 @ ( minus_minus @ ( multiset @ A ) @ B2 @ A3 ) ) ) ) ).

% subset_mset.diff_add_assoc
thf(fact_3808_subset__mset_Odiff__add__assoc2,axiom,
    ! [A: $tType,A3: multiset @ A,B2: multiset @ A,C3: multiset @ A] :
      ( ( subseteq_mset @ A @ A3 @ B2 )
     => ( ( minus_minus @ ( multiset @ A ) @ ( plus_plus @ ( multiset @ A ) @ B2 @ C3 ) @ A3 )
        = ( plus_plus @ ( multiset @ A ) @ ( minus_minus @ ( multiset @ A ) @ B2 @ A3 ) @ C3 ) ) ) ).

% subset_mset.diff_add_assoc2
thf(fact_3809_subset__mset_Odiff__diff__right,axiom,
    ! [A: $tType,A3: multiset @ A,B2: multiset @ A,C3: multiset @ A] :
      ( ( subseteq_mset @ A @ A3 @ B2 )
     => ( ( minus_minus @ ( multiset @ A ) @ C3 @ ( minus_minus @ ( multiset @ A ) @ B2 @ A3 ) )
        = ( minus_minus @ ( multiset @ A ) @ ( plus_plus @ ( multiset @ A ) @ C3 @ A3 ) @ B2 ) ) ) ).

% subset_mset.diff_diff_right
thf(fact_3810_subset__mset_Oadd__diff__inverse,axiom,
    ! [A: $tType,A3: multiset @ A,B2: multiset @ A] :
      ( ( subseteq_mset @ A @ A3 @ B2 )
     => ( ( plus_plus @ ( multiset @ A ) @ A3 @ ( minus_minus @ ( multiset @ A ) @ B2 @ A3 ) )
        = B2 ) ) ).

% subset_mset.add_diff_inverse
thf(fact_3811_subset__mset_Ole__imp__diff__is__add,axiom,
    ! [A: $tType,A3: multiset @ A,B2: multiset @ A,C3: multiset @ A] :
      ( ( subseteq_mset @ A @ A3 @ B2 )
     => ( ( subseteq_mset @ A @ A3 @ B2 )
       => ( ( ( minus_minus @ ( multiset @ A ) @ B2 @ A3 )
            = C3 )
          = ( B2
            = ( plus_plus @ ( multiset @ A ) @ C3 @ A3 ) ) ) ) ) ).

% subset_mset.le_imp_diff_is_add
thf(fact_3812_subset__eq__diff__conv,axiom,
    ! [A: $tType,A6: multiset @ A,C5: multiset @ A,B6: multiset @ A] :
      ( ( subseteq_mset @ A @ ( minus_minus @ ( multiset @ A ) @ A6 @ C5 ) @ B6 )
      = ( subseteq_mset @ A @ A6 @ ( plus_plus @ ( multiset @ A ) @ B6 @ C5 ) ) ) ).

% subset_eq_diff_conv
thf(fact_3813_multiset__diff__union__assoc,axiom,
    ! [A: $tType,C5: multiset @ A,B6: multiset @ A,A6: multiset @ A] :
      ( ( subseteq_mset @ A @ C5 @ B6 )
     => ( ( minus_minus @ ( multiset @ A ) @ ( plus_plus @ ( multiset @ A ) @ A6 @ B6 ) @ C5 )
        = ( plus_plus @ ( multiset @ A ) @ A6 @ ( minus_minus @ ( multiset @ A ) @ B6 @ C5 ) ) ) ) ).

% multiset_diff_union_assoc
thf(fact_3814_mset__le__subtract__right,axiom,
    ! [A: $tType,A6: multiset @ A,B6: multiset @ A,X7: multiset @ A] :
      ( ( subseteq_mset @ A @ ( plus_plus @ ( multiset @ A ) @ A6 @ B6 ) @ X7 )
     => ( ( subseteq_mset @ A @ A6 @ ( minus_minus @ ( multiset @ A ) @ X7 @ B6 ) )
        & ( subseteq_mset @ A @ B6 @ X7 ) ) ) ).

% mset_le_subtract_right
thf(fact_3815_mset__le__subtract__left,axiom,
    ! [A: $tType,A6: multiset @ A,B6: multiset @ A,X7: multiset @ A] :
      ( ( subseteq_mset @ A @ ( plus_plus @ ( multiset @ A ) @ A6 @ B6 ) @ X7 )
     => ( ( subseteq_mset @ A @ B6 @ ( minus_minus @ ( multiset @ A ) @ X7 @ A6 ) )
        & ( subseteq_mset @ A @ A6 @ X7 ) ) ) ).

% mset_le_subtract_left
thf(fact_3816_size__mset__mono,axiom,
    ! [A: $tType,A6: multiset @ A,B6: multiset @ A] :
      ( ( subseteq_mset @ A @ A6 @ B6 )
     => ( ord_less_eq @ nat @ ( size_size @ ( multiset @ A ) @ A6 ) @ ( size_size @ ( multiset @ A ) @ B6 ) ) ) ).

% size_mset_mono
thf(fact_3817_take__bit__drop__bit,axiom,
    ! [A: $tType] :
      ( ( bit_se359711467146920520ations @ A )
     => ! [M: nat,N: nat,A3: A] :
          ( ( bit_se2584673776208193580ke_bit @ A @ M @ ( bit_se4197421643247451524op_bit @ A @ N @ A3 ) )
          = ( bit_se4197421643247451524op_bit @ A @ N @ ( bit_se2584673776208193580ke_bit @ A @ ( plus_plus @ nat @ M @ N ) @ A3 ) ) ) ) ).

% take_bit_drop_bit
thf(fact_3818_bit__drop__bit__eq,axiom,
    ! [A: $tType] :
      ( ( bit_se359711467146920520ations @ A )
     => ! [N: nat,A3: A] :
          ( ( bit_se5641148757651400278ts_bit @ A @ ( bit_se4197421643247451524op_bit @ A @ N @ A3 ) )
          = ( comp @ nat @ $o @ nat @ ( bit_se5641148757651400278ts_bit @ A @ A3 ) @ ( plus_plus @ nat @ N ) ) ) ) ).

% bit_drop_bit_eq
thf(fact_3819_quotient__of__denom__pos_H,axiom,
    ! [R3: rat] : ( ord_less @ int @ ( zero_zero @ int ) @ ( product_snd @ int @ int @ ( quotient_of @ R3 ) ) ) ).

% quotient_of_denom_pos'
thf(fact_3820_atLeastPlusOneAtMost__greaterThanAtMost__int,axiom,
    ! [L: int,U: int] :
      ( ( set_or1337092689740270186AtMost @ int @ ( plus_plus @ int @ L @ ( one_one @ int ) ) @ U )
      = ( set_or3652927894154168847AtMost @ int @ L @ U ) ) ).

% atLeastPlusOneAtMost_greaterThanAtMost_int
thf(fact_3821_bits__ident,axiom,
    ! [A: $tType] :
      ( ( bit_se359711467146920520ations @ A )
     => ! [N: nat,A3: A] :
          ( ( plus_plus @ A @ ( bit_se4730199178511100633sh_bit @ A @ N @ ( bit_se4197421643247451524op_bit @ A @ N @ A3 ) ) @ ( bit_se2584673776208193580ke_bit @ A @ N @ A3 ) )
          = A3 ) ) ).

% bits_ident
thf(fact_3822_quotient__of__denom__pos,axiom,
    ! [R3: rat,P3: int,Q6: int] :
      ( ( ( quotient_of @ R3 )
        = ( product_Pair @ int @ int @ P3 @ Q6 ) )
     => ( ord_less @ int @ ( zero_zero @ int ) @ Q6 ) ) ).

% quotient_of_denom_pos
thf(fact_3823_subset__mset_Osum__list__nonneg,axiom,
    ! [A: $tType,Xs: list @ ( multiset @ A )] :
      ( ! [X3: multiset @ A] :
          ( ( member @ ( multiset @ A ) @ X3 @ ( set2 @ ( multiset @ A ) @ Xs ) )
         => ( subseteq_mset @ A @ ( zero_zero @ ( multiset @ A ) ) @ X3 ) )
     => ( subseteq_mset @ A @ ( zero_zero @ ( multiset @ A ) ) @ ( groups4543113879258116180m_list @ ( multiset @ A ) @ ( plus_plus @ ( multiset @ A ) ) @ ( zero_zero @ ( multiset @ A ) ) @ Xs ) ) ) ).

% subset_mset.sum_list_nonneg
thf(fact_3824_subset__mset_Osum__list__nonpos,axiom,
    ! [A: $tType,Xs: list @ ( multiset @ A )] :
      ( ! [X3: multiset @ A] :
          ( ( member @ ( multiset @ A ) @ X3 @ ( set2 @ ( multiset @ A ) @ Xs ) )
         => ( subseteq_mset @ A @ X3 @ ( zero_zero @ ( multiset @ A ) ) ) )
     => ( subseteq_mset @ A @ ( groups4543113879258116180m_list @ ( multiset @ A ) @ ( plus_plus @ ( multiset @ A ) ) @ ( zero_zero @ ( multiset @ A ) ) @ Xs ) @ ( zero_zero @ ( multiset @ A ) ) ) ) ).

% subset_mset.sum_list_nonpos
thf(fact_3825_subset__mset_Omember__le__sum__list,axiom,
    ! [A: $tType,X: multiset @ A,Xs: list @ ( multiset @ A )] :
      ( ( member @ ( multiset @ A ) @ X @ ( set2 @ ( multiset @ A ) @ Xs ) )
     => ( subseteq_mset @ A @ X @ ( groups4543113879258116180m_list @ ( multiset @ A ) @ ( plus_plus @ ( multiset @ A ) ) @ ( zero_zero @ ( multiset @ A ) ) @ Xs ) ) ) ).

% subset_mset.member_le_sum_list
thf(fact_3826_subset__mset_Osum__list__nonneg__eq__0__iff,axiom,
    ! [A: $tType,Xs: list @ ( multiset @ A )] :
      ( ! [X3: multiset @ A] :
          ( ( member @ ( multiset @ A ) @ X3 @ ( set2 @ ( multiset @ A ) @ Xs ) )
         => ( subseteq_mset @ A @ ( zero_zero @ ( multiset @ A ) ) @ X3 ) )
     => ( ( ( groups4543113879258116180m_list @ ( multiset @ A ) @ ( plus_plus @ ( multiset @ A ) ) @ ( zero_zero @ ( multiset @ A ) ) @ Xs )
          = ( zero_zero @ ( multiset @ A ) ) )
        = ( ! [X4: multiset @ A] :
              ( ( member @ ( multiset @ A ) @ X4 @ ( set2 @ ( multiset @ A ) @ Xs ) )
             => ( X4
                = ( zero_zero @ ( multiset @ A ) ) ) ) ) ) ) ).

% subset_mset.sum_list_nonneg_eq_0_iff
thf(fact_3827_rat__floor__code,axiom,
    ( ( archim6421214686448440834_floor @ rat )
    = ( ^ [P7: rat] : ( product_case_prod @ int @ int @ int @ ( divide_divide @ int ) @ ( quotient_of @ P7 ) ) ) ) ).

% rat_floor_code
thf(fact_3828_rat__uminus__code,axiom,
    ! [P3: rat] :
      ( ( quotient_of @ ( uminus_uminus @ rat @ P3 ) )
      = ( product_case_prod @ int @ int @ ( product_prod @ int @ int )
        @ ^ [A7: int] : ( product_Pair @ int @ int @ ( uminus_uminus @ int @ A7 ) )
        @ ( quotient_of @ P3 ) ) ) ).

% rat_uminus_code
thf(fact_3829_rat__abs__code,axiom,
    ! [P3: rat] :
      ( ( quotient_of @ ( abs_abs @ rat @ P3 ) )
      = ( product_case_prod @ int @ int @ ( product_prod @ int @ int )
        @ ^ [A7: int] : ( product_Pair @ int @ int @ ( abs_abs @ int @ A7 ) )
        @ ( quotient_of @ P3 ) ) ) ).

% rat_abs_code
thf(fact_3830_rat__less__eq__code,axiom,
    ( ( ord_less_eq @ rat )
    = ( ^ [P7: rat,Q8: rat] :
          ( product_case_prod @ int @ int @ $o
          @ ^ [A7: int,C4: int] :
              ( product_case_prod @ int @ int @ $o
              @ ^ [B5: int,D6: int] : ( ord_less_eq @ int @ ( times_times @ int @ A7 @ D6 ) @ ( times_times @ int @ C4 @ B5 ) )
              @ ( quotient_of @ Q8 ) )
          @ ( quotient_of @ P7 ) ) ) ) ).

% rat_less_eq_code
thf(fact_3831_rat__less__code,axiom,
    ( ( ord_less @ rat )
    = ( ^ [P7: rat,Q8: rat] :
          ( product_case_prod @ int @ int @ $o
          @ ^ [A7: int,C4: int] :
              ( product_case_prod @ int @ int @ $o
              @ ^ [B5: int,D6: int] : ( ord_less @ int @ ( times_times @ int @ A7 @ D6 ) @ ( times_times @ int @ C4 @ B5 ) )
              @ ( quotient_of @ Q8 ) )
          @ ( quotient_of @ P7 ) ) ) ) ).

% rat_less_code
thf(fact_3832_atLeastPlusOneAtMost__greaterThanAtMost__integer,axiom,
    ! [L: code_integer,U: code_integer] :
      ( ( set_or1337092689740270186AtMost @ code_integer @ ( plus_plus @ code_integer @ L @ ( one_one @ code_integer ) ) @ U )
      = ( set_or3652927894154168847AtMost @ code_integer @ L @ U ) ) ).

% atLeastPlusOneAtMost_greaterThanAtMost_integer
thf(fact_3833_rat__divide__code,axiom,
    ! [P3: rat,Q6: rat] :
      ( ( quotient_of @ ( divide_divide @ rat @ P3 @ Q6 ) )
      = ( product_case_prod @ int @ int @ ( product_prod @ int @ int )
        @ ^ [A7: int,C4: int] :
            ( product_case_prod @ int @ int @ ( product_prod @ int @ int )
            @ ^ [B5: int,D6: int] : ( normalize @ ( product_Pair @ int @ int @ ( times_times @ int @ A7 @ D6 ) @ ( times_times @ int @ C4 @ B5 ) ) )
            @ ( quotient_of @ Q6 ) )
        @ ( quotient_of @ P3 ) ) ) ).

% rat_divide_code
thf(fact_3834_rat__times__code,axiom,
    ! [P3: rat,Q6: rat] :
      ( ( quotient_of @ ( times_times @ rat @ P3 @ Q6 ) )
      = ( product_case_prod @ int @ int @ ( product_prod @ int @ int )
        @ ^ [A7: int,C4: int] :
            ( product_case_prod @ int @ int @ ( product_prod @ int @ int )
            @ ^ [B5: int,D6: int] : ( normalize @ ( product_Pair @ int @ int @ ( times_times @ int @ A7 @ B5 ) @ ( times_times @ int @ C4 @ D6 ) ) )
            @ ( quotient_of @ Q6 ) )
        @ ( quotient_of @ P3 ) ) ) ).

% rat_times_code
thf(fact_3835_rat__plus__code,axiom,
    ! [P3: rat,Q6: rat] :
      ( ( quotient_of @ ( plus_plus @ rat @ P3 @ Q6 ) )
      = ( product_case_prod @ int @ int @ ( product_prod @ int @ int )
        @ ^ [A7: int,C4: int] :
            ( product_case_prod @ int @ int @ ( product_prod @ int @ int )
            @ ^ [B5: int,D6: int] : ( normalize @ ( product_Pair @ int @ int @ ( plus_plus @ int @ ( times_times @ int @ A7 @ D6 ) @ ( times_times @ int @ B5 @ C4 ) ) @ ( times_times @ int @ C4 @ D6 ) ) )
            @ ( quotient_of @ Q6 ) )
        @ ( quotient_of @ P3 ) ) ) ).

% rat_plus_code
thf(fact_3836_rat__inverse__code,axiom,
    ! [P3: rat] :
      ( ( quotient_of @ ( inverse_inverse @ rat @ P3 ) )
      = ( product_case_prod @ int @ int @ ( product_prod @ int @ int )
        @ ^ [A7: int,B5: int] :
            ( if @ ( product_prod @ int @ int )
            @ ( A7
              = ( zero_zero @ int ) )
            @ ( product_Pair @ int @ int @ ( zero_zero @ int ) @ ( one_one @ int ) )
            @ ( product_Pair @ int @ int @ ( times_times @ int @ ( sgn_sgn @ int @ A7 ) @ B5 ) @ ( abs_abs @ int @ A7 ) ) )
        @ ( quotient_of @ P3 ) ) ) ).

% rat_inverse_code
thf(fact_3837_subset__mset_Osum__mono2,axiom,
    ! [A: $tType,B: $tType,B6: set @ B,A6: set @ B,F3: B > ( multiset @ A )] :
      ( ( finite_finite2 @ B @ B6 )
     => ( ( ord_less_eq @ ( set @ B ) @ A6 @ B6 )
       => ( ! [B4: B] :
              ( ( member @ B @ B4 @ ( minus_minus @ ( set @ B ) @ B6 @ A6 ) )
             => ( subseteq_mset @ A @ ( zero_zero @ ( multiset @ A ) ) @ ( F3 @ B4 ) ) )
         => ( subseteq_mset @ A @ ( groups3894954378712506084id_sum @ ( multiset @ A ) @ B @ ( plus_plus @ ( multiset @ A ) ) @ ( zero_zero @ ( multiset @ A ) ) @ F3 @ A6 ) @ ( groups3894954378712506084id_sum @ ( multiset @ A ) @ B @ ( plus_plus @ ( multiset @ A ) ) @ ( zero_zero @ ( multiset @ A ) ) @ F3 @ B6 ) ) ) ) ) ).

% subset_mset.sum_mono2
thf(fact_3838_less__eq__int_Orep__eq,axiom,
    ( ( ord_less_eq @ int )
    = ( ^ [X4: int,Xa2: int] :
          ( product_case_prod @ nat @ nat @ ( ( product_prod @ nat @ nat ) > $o )
          @ ^ [Y4: nat,Z2: nat] :
              ( product_case_prod @ nat @ nat @ $o
              @ ^ [U2: nat,V3: nat] : ( ord_less_eq @ nat @ ( plus_plus @ nat @ Y4 @ V3 ) @ ( plus_plus @ nat @ U2 @ Z2 ) ) )
          @ ( rep_Integ @ X4 )
          @ ( rep_Integ @ Xa2 ) ) ) ) ).

% less_eq_int.rep_eq
thf(fact_3839_less__int_Orep__eq,axiom,
    ( ( ord_less @ int )
    = ( ^ [X4: int,Xa2: int] :
          ( product_case_prod @ nat @ nat @ ( ( product_prod @ nat @ nat ) > $o )
          @ ^ [Y4: nat,Z2: nat] :
              ( product_case_prod @ nat @ nat @ $o
              @ ^ [U2: nat,V3: nat] : ( ord_less @ nat @ ( plus_plus @ nat @ Y4 @ V3 ) @ ( plus_plus @ nat @ U2 @ Z2 ) ) )
          @ ( rep_Integ @ X4 )
          @ ( rep_Integ @ Xa2 ) ) ) ) ).

% less_int.rep_eq
thf(fact_3840_inverse__nonpositive__iff__nonpositive,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A] :
          ( ( ord_less_eq @ A @ ( inverse_inverse @ A @ A3 ) @ ( zero_zero @ A ) )
          = ( ord_less_eq @ A @ A3 @ ( zero_zero @ A ) ) ) ) ).

% inverse_nonpositive_iff_nonpositive
thf(fact_3841_inverse__nonnegative__iff__nonnegative,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( inverse_inverse @ A @ A3 ) )
          = ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 ) ) ) ).

% inverse_nonnegative_iff_nonnegative
thf(fact_3842_inverse__positive__iff__positive,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ ( inverse_inverse @ A @ A3 ) )
          = ( ord_less @ A @ ( zero_zero @ A ) @ A3 ) ) ) ).

% inverse_positive_iff_positive
thf(fact_3843_inverse__negative__iff__negative,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A] :
          ( ( ord_less @ A @ ( inverse_inverse @ A @ A3 ) @ ( zero_zero @ A ) )
          = ( ord_less @ A @ A3 @ ( zero_zero @ A ) ) ) ) ).

% inverse_negative_iff_negative
thf(fact_3844_inverse__less__iff__less__neg,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ A3 @ ( zero_zero @ A ) )
         => ( ( ord_less @ A @ B2 @ ( zero_zero @ A ) )
           => ( ( ord_less @ A @ ( inverse_inverse @ A @ A3 ) @ ( inverse_inverse @ A @ B2 ) )
              = ( ord_less @ A @ B2 @ A3 ) ) ) ) ) ).

% inverse_less_iff_less_neg
thf(fact_3845_inverse__less__iff__less,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ A3 )
         => ( ( ord_less @ A @ ( zero_zero @ A ) @ B2 )
           => ( ( ord_less @ A @ ( inverse_inverse @ A @ A3 ) @ ( inverse_inverse @ A @ B2 ) )
              = ( ord_less @ A @ B2 @ A3 ) ) ) ) ) ).

% inverse_less_iff_less
thf(fact_3846_inverse__le__iff__le,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ A3 )
         => ( ( ord_less @ A @ ( zero_zero @ A ) @ B2 )
           => ( ( ord_less_eq @ A @ ( inverse_inverse @ A @ A3 ) @ ( inverse_inverse @ A @ B2 ) )
              = ( ord_less_eq @ A @ B2 @ A3 ) ) ) ) ) ).

% inverse_le_iff_le
thf(fact_3847_inverse__le__iff__le__neg,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ A3 @ ( zero_zero @ A ) )
         => ( ( ord_less @ A @ B2 @ ( zero_zero @ A ) )
           => ( ( ord_less_eq @ A @ ( inverse_inverse @ A @ A3 ) @ ( inverse_inverse @ A @ B2 ) )
              = ( ord_less_eq @ A @ B2 @ A3 ) ) ) ) ) ).

% inverse_le_iff_le_neg
thf(fact_3848_subset__mset_Osum__eq__0__iff,axiom,
    ! [A: $tType,B: $tType,F5: set @ B,F3: B > ( multiset @ A )] :
      ( ( finite_finite2 @ B @ F5 )
     => ( ( ( groups3894954378712506084id_sum @ ( multiset @ A ) @ B @ ( plus_plus @ ( multiset @ A ) ) @ ( zero_zero @ ( multiset @ A ) ) @ F3 @ F5 )
          = ( zero_zero @ ( multiset @ A ) ) )
        = ( ! [X4: B] :
              ( ( member @ B @ X4 @ F5 )
             => ( ( F3 @ X4 )
                = ( zero_zero @ ( multiset @ A ) ) ) ) ) ) ) ).

% subset_mset.sum_eq_0_iff
thf(fact_3849_abs__rat__def,axiom,
    ( ( abs_abs @ rat )
    = ( ^ [A7: rat] : ( if @ rat @ ( ord_less @ rat @ A7 @ ( zero_zero @ rat ) ) @ ( uminus_uminus @ rat @ A7 ) @ A7 ) ) ) ).

% abs_rat_def
thf(fact_3850_less__eq__rat__def,axiom,
    ( ( ord_less_eq @ rat )
    = ( ^ [X4: rat,Y4: rat] :
          ( ( ord_less @ rat @ X4 @ Y4 )
          | ( X4 = Y4 ) ) ) ) ).

% less_eq_rat_def
thf(fact_3851_sgn__rat__def,axiom,
    ( ( sgn_sgn @ rat )
    = ( ^ [A7: rat] :
          ( if @ rat
          @ ( A7
            = ( zero_zero @ rat ) )
          @ ( zero_zero @ rat )
          @ ( if @ rat @ ( ord_less @ rat @ ( zero_zero @ rat ) @ A7 ) @ ( one_one @ rat ) @ ( uminus_uminus @ rat @ ( one_one @ rat ) ) ) ) ) ) ).

% sgn_rat_def
thf(fact_3852_conj__comp__iff,axiom,
    ! [B: $tType,A: $tType,P2: B > $o,Q2: B > $o,G3: A > B] :
      ( ( comp @ B @ $o @ A
        @ ^ [X4: B] :
            ( ( P2 @ X4 )
            & ( Q2 @ X4 ) )
        @ G3 )
      = ( ^ [X4: A] :
            ( ( comp @ B @ $o @ A @ P2 @ G3 @ X4 )
            & ( comp @ B @ $o @ A @ Q2 @ G3 @ X4 ) ) ) ) ).

% conj_comp_iff
thf(fact_3853_positive__imp__inverse__positive,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ A3 )
         => ( ord_less @ A @ ( zero_zero @ A ) @ ( inverse_inverse @ A @ A3 ) ) ) ) ).

% positive_imp_inverse_positive
thf(fact_3854_negative__imp__inverse__negative,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A] :
          ( ( ord_less @ A @ A3 @ ( zero_zero @ A ) )
         => ( ord_less @ A @ ( inverse_inverse @ A @ A3 ) @ ( zero_zero @ A ) ) ) ) ).

% negative_imp_inverse_negative
thf(fact_3855_inverse__positive__imp__positive,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ ( inverse_inverse @ A @ A3 ) )
         => ( ( A3
             != ( zero_zero @ A ) )
           => ( ord_less @ A @ ( zero_zero @ A ) @ A3 ) ) ) ) ).

% inverse_positive_imp_positive
thf(fact_3856_inverse__negative__imp__negative,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A] :
          ( ( ord_less @ A @ ( inverse_inverse @ A @ A3 ) @ ( zero_zero @ A ) )
         => ( ( A3
             != ( zero_zero @ A ) )
           => ( ord_less @ A @ A3 @ ( zero_zero @ A ) ) ) ) ) ).

% inverse_negative_imp_negative
thf(fact_3857_less__imp__inverse__less__neg,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ( ( ord_less @ A @ B2 @ ( zero_zero @ A ) )
           => ( ord_less @ A @ ( inverse_inverse @ A @ B2 ) @ ( inverse_inverse @ A @ A3 ) ) ) ) ) ).

% less_imp_inverse_less_neg
thf(fact_3858_inverse__less__imp__less__neg,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ ( inverse_inverse @ A @ A3 ) @ ( inverse_inverse @ A @ B2 ) )
         => ( ( ord_less @ A @ B2 @ ( zero_zero @ A ) )
           => ( ord_less @ A @ B2 @ A3 ) ) ) ) ).

% inverse_less_imp_less_neg
thf(fact_3859_less__imp__inverse__less,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ( ( ord_less @ A @ ( zero_zero @ A ) @ A3 )
           => ( ord_less @ A @ ( inverse_inverse @ A @ B2 ) @ ( inverse_inverse @ A @ A3 ) ) ) ) ) ).

% less_imp_inverse_less
thf(fact_3860_inverse__less__imp__less,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ ( inverse_inverse @ A @ A3 ) @ ( inverse_inverse @ A @ B2 ) )
         => ( ( ord_less @ A @ ( zero_zero @ A ) @ A3 )
           => ( ord_less @ A @ B2 @ A3 ) ) ) ) ).

% inverse_less_imp_less
thf(fact_3861_inverse__le__imp__le,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ ( inverse_inverse @ A @ A3 ) @ ( inverse_inverse @ A @ B2 ) )
         => ( ( ord_less @ A @ ( zero_zero @ A ) @ A3 )
           => ( ord_less_eq @ A @ B2 @ A3 ) ) ) ) ).

% inverse_le_imp_le
thf(fact_3862_le__imp__inverse__le,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ( ord_less @ A @ ( zero_zero @ A ) @ A3 )
           => ( ord_less_eq @ A @ ( inverse_inverse @ A @ B2 ) @ ( inverse_inverse @ A @ A3 ) ) ) ) ) ).

% le_imp_inverse_le
thf(fact_3863_inverse__le__imp__le__neg,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ ( inverse_inverse @ A @ A3 ) @ ( inverse_inverse @ A @ B2 ) )
         => ( ( ord_less @ A @ B2 @ ( zero_zero @ A ) )
           => ( ord_less_eq @ A @ B2 @ A3 ) ) ) ) ).

% inverse_le_imp_le_neg
thf(fact_3864_le__imp__inverse__le__neg,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ( ord_less @ A @ B2 @ ( zero_zero @ A ) )
           => ( ord_less_eq @ A @ ( inverse_inverse @ A @ B2 ) @ ( inverse_inverse @ A @ A3 ) ) ) ) ) ).

% le_imp_inverse_le_neg
thf(fact_3865_inverse__le__1__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [X: A] :
          ( ( ord_less_eq @ A @ ( inverse_inverse @ A @ X ) @ ( one_one @ A ) )
          = ( ( ord_less_eq @ A @ X @ ( zero_zero @ A ) )
            | ( ord_less_eq @ A @ ( one_one @ A ) @ X ) ) ) ) ).

% inverse_le_1_iff
thf(fact_3866_one__less__inverse__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [X: A] :
          ( ( ord_less @ A @ ( one_one @ A ) @ ( inverse_inverse @ A @ X ) )
          = ( ( ord_less @ A @ ( zero_zero @ A ) @ X )
            & ( ord_less @ A @ X @ ( one_one @ A ) ) ) ) ) ).

% one_less_inverse_iff
thf(fact_3867_one__less__inverse,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ A3 )
         => ( ( ord_less @ A @ A3 @ ( one_one @ A ) )
           => ( ord_less @ A @ ( one_one @ A ) @ ( inverse_inverse @ A @ A3 ) ) ) ) ) ).

% one_less_inverse
thf(fact_3868_division__ring__inverse__add,axiom,
    ! [A: $tType] :
      ( ( division_ring @ A )
     => ! [A3: A,B2: A] :
          ( ( A3
           != ( zero_zero @ A ) )
         => ( ( B2
             != ( zero_zero @ A ) )
           => ( ( plus_plus @ A @ ( inverse_inverse @ A @ A3 ) @ ( inverse_inverse @ A @ B2 ) )
              = ( times_times @ A @ ( times_times @ A @ ( inverse_inverse @ A @ A3 ) @ ( plus_plus @ A @ A3 @ B2 ) ) @ ( inverse_inverse @ A @ B2 ) ) ) ) ) ) ).

% division_ring_inverse_add
thf(fact_3869_inverse__add,axiom,
    ! [A: $tType] :
      ( ( field @ A )
     => ! [A3: A,B2: A] :
          ( ( A3
           != ( zero_zero @ A ) )
         => ( ( B2
             != ( zero_zero @ A ) )
           => ( ( plus_plus @ A @ ( inverse_inverse @ A @ A3 ) @ ( inverse_inverse @ A @ B2 ) )
              = ( times_times @ A @ ( times_times @ A @ ( plus_plus @ A @ A3 @ B2 ) @ ( inverse_inverse @ A @ A3 ) ) @ ( inverse_inverse @ A @ B2 ) ) ) ) ) ) ).

% inverse_add
thf(fact_3870_inverse__less__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ ( inverse_inverse @ A @ A3 ) @ ( inverse_inverse @ A @ B2 ) )
          = ( ( ( ord_less @ A @ ( zero_zero @ A ) @ ( times_times @ A @ A3 @ B2 ) )
             => ( ord_less @ A @ B2 @ A3 ) )
            & ( ( ord_less_eq @ A @ ( times_times @ A @ A3 @ B2 ) @ ( zero_zero @ A ) )
             => ( ord_less @ A @ A3 @ B2 ) ) ) ) ) ).

% inverse_less_iff
thf(fact_3871_inverse__le__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ ( inverse_inverse @ A @ A3 ) @ ( inverse_inverse @ A @ B2 ) )
          = ( ( ( ord_less @ A @ ( zero_zero @ A ) @ ( times_times @ A @ A3 @ B2 ) )
             => ( ord_less_eq @ A @ B2 @ A3 ) )
            & ( ( ord_less_eq @ A @ ( times_times @ A @ A3 @ B2 ) @ ( zero_zero @ A ) )
             => ( ord_less_eq @ A @ A3 @ B2 ) ) ) ) ) ).

% inverse_le_iff
thf(fact_3872_one__le__inverse,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ A3 )
         => ( ( ord_less_eq @ A @ A3 @ ( one_one @ A ) )
           => ( ord_less_eq @ A @ ( one_one @ A ) @ ( inverse_inverse @ A @ A3 ) ) ) ) ) ).

% one_le_inverse
thf(fact_3873_inverse__less__1__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [X: A] :
          ( ( ord_less @ A @ ( inverse_inverse @ A @ X ) @ ( one_one @ A ) )
          = ( ( ord_less_eq @ A @ X @ ( zero_zero @ A ) )
            | ( ord_less @ A @ ( one_one @ A ) @ X ) ) ) ) ).

% inverse_less_1_iff
thf(fact_3874_one__le__inverse__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [X: A] :
          ( ( ord_less_eq @ A @ ( one_one @ A ) @ ( inverse_inverse @ A @ X ) )
          = ( ( ord_less @ A @ ( zero_zero @ A ) @ X )
            & ( ord_less_eq @ A @ X @ ( one_one @ A ) ) ) ) ) ).

% one_le_inverse_iff
thf(fact_3875_reals__Archimedean,axiom,
    ! [A: $tType] :
      ( ( archim462609752435547400_field @ A )
     => ! [X: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ X )
         => ? [N4: nat] : ( ord_less @ A @ ( inverse_inverse @ A @ ( semiring_1_of_nat @ A @ ( suc @ N4 ) ) ) @ X ) ) ) ).

% reals_Archimedean
thf(fact_3876_subset__mset_Osum__nonneg,axiom,
    ! [A: $tType,B: $tType,A6: set @ B,F3: B > ( multiset @ A )] :
      ( ! [X3: B] :
          ( ( member @ B @ X3 @ A6 )
         => ( subseteq_mset @ A @ ( zero_zero @ ( multiset @ A ) ) @ ( F3 @ X3 ) ) )
     => ( subseteq_mset @ A @ ( zero_zero @ ( multiset @ A ) ) @ ( groups3894954378712506084id_sum @ ( multiset @ A ) @ B @ ( plus_plus @ ( multiset @ A ) ) @ ( zero_zero @ ( multiset @ A ) ) @ F3 @ A6 ) ) ) ).

% subset_mset.sum_nonneg
thf(fact_3877_subset__mset_Osum__nonpos,axiom,
    ! [B: $tType,A: $tType,A6: set @ B,F3: B > ( multiset @ A )] :
      ( ! [X3: B] :
          ( ( member @ B @ X3 @ A6 )
         => ( subseteq_mset @ A @ ( F3 @ X3 ) @ ( zero_zero @ ( multiset @ A ) ) ) )
     => ( subseteq_mset @ A @ ( groups3894954378712506084id_sum @ ( multiset @ A ) @ B @ ( plus_plus @ ( multiset @ A ) ) @ ( zero_zero @ ( multiset @ A ) ) @ F3 @ A6 ) @ ( zero_zero @ ( multiset @ A ) ) ) ) ).

% subset_mset.sum_nonpos
thf(fact_3878_ex__inverse__of__nat__less,axiom,
    ! [A: $tType] :
      ( ( archim462609752435547400_field @ A )
     => ! [X: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ X )
         => ? [N4: nat] :
              ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N4 )
              & ( ord_less @ A @ ( inverse_inverse @ A @ ( semiring_1_of_nat @ A @ N4 ) ) @ X ) ) ) ) ).

% ex_inverse_of_nat_less
thf(fact_3879_power__diff__conv__inverse,axiom,
    ! [A: $tType] :
      ( ( division_ring @ A )
     => ! [X: A,M: nat,N: nat] :
          ( ( X
           != ( zero_zero @ A ) )
         => ( ( ord_less_eq @ nat @ M @ N )
           => ( ( power_power @ A @ X @ ( minus_minus @ nat @ N @ M ) )
              = ( times_times @ A @ ( power_power @ A @ X @ N ) @ ( power_power @ A @ ( inverse_inverse @ A @ X ) @ M ) ) ) ) ) ) ).

% power_diff_conv_inverse
thf(fact_3880_subset__mset_Osum__mono,axiom,
    ! [A: $tType,B: $tType,K5: set @ B,F3: B > ( multiset @ A ),G3: B > ( multiset @ A )] :
      ( ! [I3: B] :
          ( ( member @ B @ I3 @ K5 )
         => ( subseteq_mset @ A @ ( F3 @ I3 ) @ ( G3 @ I3 ) ) )
     => ( subseteq_mset @ A @ ( groups3894954378712506084id_sum @ ( multiset @ A ) @ B @ ( plus_plus @ ( multiset @ A ) ) @ ( zero_zero @ ( multiset @ A ) ) @ F3 @ K5 ) @ ( groups3894954378712506084id_sum @ ( multiset @ A ) @ B @ ( plus_plus @ ( multiset @ A ) ) @ ( zero_zero @ ( multiset @ A ) ) @ G3 @ K5 ) ) ) ).

% subset_mset.sum_mono
thf(fact_3881_subset__mset_Osum__nonneg__eq__0__iff,axiom,
    ! [A: $tType,B: $tType,A6: set @ B,F3: B > ( multiset @ A )] :
      ( ( finite_finite2 @ B @ A6 )
     => ( ! [X3: B] :
            ( ( member @ B @ X3 @ A6 )
           => ( subseteq_mset @ A @ ( zero_zero @ ( multiset @ A ) ) @ ( F3 @ X3 ) ) )
       => ( ( ( groups3894954378712506084id_sum @ ( multiset @ A ) @ B @ ( plus_plus @ ( multiset @ A ) ) @ ( zero_zero @ ( multiset @ A ) ) @ F3 @ A6 )
            = ( zero_zero @ ( multiset @ A ) ) )
          = ( ! [X4: B] :
                ( ( member @ B @ X4 @ A6 )
               => ( ( F3 @ X4 )
                  = ( zero_zero @ ( multiset @ A ) ) ) ) ) ) ) ) ).

% subset_mset.sum_nonneg_eq_0_iff
thf(fact_3882_subset__mset_Osum__le__included,axiom,
    ! [B: $tType,A: $tType,C: $tType,S2: set @ B,T5: set @ C,G3: C > ( multiset @ A ),I2: C > B,F3: B > ( multiset @ A )] :
      ( ( finite_finite2 @ B @ S2 )
     => ( ( finite_finite2 @ C @ T5 )
       => ( ! [X3: C] :
              ( ( member @ C @ X3 @ T5 )
             => ( subseteq_mset @ A @ ( zero_zero @ ( multiset @ A ) ) @ ( G3 @ X3 ) ) )
         => ( ! [X3: B] :
                ( ( member @ B @ X3 @ S2 )
               => ? [Xa3: C] :
                    ( ( member @ C @ Xa3 @ T5 )
                    & ( ( I2 @ Xa3 )
                      = X3 )
                    & ( subseteq_mset @ A @ ( F3 @ X3 ) @ ( G3 @ Xa3 ) ) ) )
           => ( subseteq_mset @ A @ ( groups3894954378712506084id_sum @ ( multiset @ A ) @ B @ ( plus_plus @ ( multiset @ A ) ) @ ( zero_zero @ ( multiset @ A ) ) @ F3 @ S2 ) @ ( groups3894954378712506084id_sum @ ( multiset @ A ) @ C @ ( plus_plus @ ( multiset @ A ) ) @ ( zero_zero @ ( multiset @ A ) ) @ G3 @ T5 ) ) ) ) ) ) ).

% subset_mset.sum_le_included
thf(fact_3883_subset__mset_Osum__nonneg__0,axiom,
    ! [B: $tType,A: $tType,S2: set @ B,F3: B > ( multiset @ A ),I2: B] :
      ( ( finite_finite2 @ B @ S2 )
     => ( ! [I3: B] :
            ( ( member @ B @ I3 @ S2 )
           => ( subseteq_mset @ A @ ( zero_zero @ ( multiset @ A ) ) @ ( F3 @ I3 ) ) )
       => ( ( ( groups3894954378712506084id_sum @ ( multiset @ A ) @ B @ ( plus_plus @ ( multiset @ A ) ) @ ( zero_zero @ ( multiset @ A ) ) @ F3 @ S2 )
            = ( zero_zero @ ( multiset @ A ) ) )
         => ( ( member @ B @ I2 @ S2 )
           => ( ( F3 @ I2 )
              = ( zero_zero @ ( multiset @ A ) ) ) ) ) ) ) ).

% subset_mset.sum_nonneg_0
thf(fact_3884_subset__mset_Osum__nonneg__leq__bound,axiom,
    ! [B: $tType,A: $tType,S2: set @ B,F3: B > ( multiset @ A ),B6: multiset @ A,I2: B] :
      ( ( finite_finite2 @ B @ S2 )
     => ( ! [I3: B] :
            ( ( member @ B @ I3 @ S2 )
           => ( subseteq_mset @ A @ ( zero_zero @ ( multiset @ A ) ) @ ( F3 @ I3 ) ) )
       => ( ( ( groups3894954378712506084id_sum @ ( multiset @ A ) @ B @ ( plus_plus @ ( multiset @ A ) ) @ ( zero_zero @ ( multiset @ A ) ) @ F3 @ S2 )
            = B6 )
         => ( ( member @ B @ I2 @ S2 )
           => ( subseteq_mset @ A @ ( F3 @ I2 ) @ B6 ) ) ) ) ) ).

% subset_mset.sum_nonneg_leq_bound
thf(fact_3885_of__int_Orep__eq,axiom,
    ! [A: $tType] :
      ( ( ring_1 @ A )
     => ( ( ring_1_of_int @ A )
        = ( ^ [X4: int] :
              ( product_case_prod @ nat @ nat @ A
              @ ^ [I: nat,J: nat] : ( minus_minus @ A @ ( semiring_1_of_nat @ A @ I ) @ ( semiring_1_of_nat @ A @ J ) )
              @ ( rep_Integ @ X4 ) ) ) ) ) ).

% of_int.rep_eq
thf(fact_3886_mset__size2elem,axiom,
    ! [A: $tType,P2: multiset @ A,Q6: A,Q7: A] :
      ( ( ord_less_eq @ nat @ ( size_size @ ( multiset @ A ) @ P2 ) @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) )
     => ( ( subseteq_mset @ A @ ( plus_plus @ ( multiset @ A ) @ ( add_mset @ A @ Q6 @ ( zero_zero @ ( multiset @ A ) ) ) @ ( add_mset @ A @ Q7 @ ( zero_zero @ ( multiset @ A ) ) ) ) @ P2 )
       => ( P2
          = ( plus_plus @ ( multiset @ A ) @ ( add_mset @ A @ Q6 @ ( zero_zero @ ( multiset @ A ) ) ) @ ( add_mset @ A @ Q7 @ ( zero_zero @ ( multiset @ A ) ) ) ) ) ) ) ).

% mset_size2elem
thf(fact_3887_floor__rat__def,axiom,
    ( ( archim6421214686448440834_floor @ rat )
    = ( ^ [X4: rat] :
          ( the @ int
          @ ^ [Z2: int] :
              ( ( ord_less_eq @ rat @ ( ring_1_of_int @ rat @ Z2 ) @ X4 )
              & ( ord_less @ rat @ X4 @ ( ring_1_of_int @ rat @ ( plus_plus @ int @ Z2 @ ( one_one @ int ) ) ) ) ) ) ) ) ).

% floor_rat_def
thf(fact_3888_uminus__int__def,axiom,
    ( ( uminus_uminus @ int )
    = ( map_fun @ int @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) @ int @ rep_Integ @ abs_Integ
      @ ( product_case_prod @ nat @ nat @ ( product_prod @ nat @ nat )
        @ ^ [X4: nat,Y4: nat] : ( product_Pair @ nat @ nat @ Y4 @ X4 ) ) ) ) ).

% uminus_int_def
thf(fact_3889_in__set__enumerate__eq,axiom,
    ! [A: $tType,P3: product_prod @ nat @ A,N: nat,Xs: list @ A] :
      ( ( member @ ( product_prod @ nat @ A ) @ P3 @ ( set2 @ ( product_prod @ nat @ A ) @ ( enumerate @ A @ N @ Xs ) ) )
      = ( ( ord_less_eq @ nat @ N @ ( product_fst @ nat @ A @ P3 ) )
        & ( ord_less @ nat @ ( product_fst @ nat @ A @ P3 ) @ ( plus_plus @ nat @ ( size_size @ ( list @ A ) @ Xs ) @ N ) )
        & ( ( nth @ A @ Xs @ ( minus_minus @ nat @ ( product_fst @ nat @ A @ P3 ) @ N ) )
          = ( product_snd @ nat @ A @ P3 ) ) ) ) ).

% in_set_enumerate_eq
thf(fact_3890_union__mset__add__mset__right,axiom,
    ! [A: $tType,A6: multiset @ A,A3: A,B6: multiset @ A] :
      ( ( plus_plus @ ( multiset @ A ) @ A6 @ ( add_mset @ A @ A3 @ B6 ) )
      = ( add_mset @ A @ A3 @ ( plus_plus @ ( multiset @ A ) @ A6 @ B6 ) ) ) ).

% union_mset_add_mset_right
thf(fact_3891_union__mset__add__mset__left,axiom,
    ! [A: $tType,A3: A,A6: multiset @ A,B6: multiset @ A] :
      ( ( plus_plus @ ( multiset @ A ) @ ( add_mset @ A @ A3 @ A6 ) @ B6 )
      = ( add_mset @ A @ A3 @ ( plus_plus @ ( multiset @ A ) @ A6 @ B6 ) ) ) ).

% union_mset_add_mset_left
thf(fact_3892_fst__apsnd,axiom,
    ! [B: $tType,C: $tType,A: $tType,F3: C > B,X: product_prod @ A @ C] :
      ( ( product_fst @ A @ B @ ( product_apsnd @ C @ B @ A @ F3 @ X ) )
      = ( product_fst @ A @ C @ X ) ) ).

% fst_apsnd
thf(fact_3893_prod_Ocollapse,axiom,
    ! [B: $tType,A: $tType,Prod: product_prod @ A @ B] :
      ( ( product_Pair @ A @ B @ ( product_fst @ A @ B @ Prod ) @ ( product_snd @ A @ B @ Prod ) )
      = Prod ) ).

% prod.collapse
thf(fact_3894_fst__comp__apsnd,axiom,
    ! [C: $tType,B: $tType,A: $tType,F3: B > C] :
      ( ( comp @ ( product_prod @ A @ C ) @ A @ ( product_prod @ A @ B ) @ ( product_fst @ A @ C ) @ ( product_apsnd @ B @ C @ A @ F3 ) )
      = ( product_fst @ A @ B ) ) ).

% fst_comp_apsnd
thf(fact_3895_prod__eq__iff,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ^ [Y6: product_prod @ A @ B,Z5: product_prod @ A @ B] : Y6 = Z5 )
      = ( ^ [S5: product_prod @ A @ B,T6: product_prod @ A @ B] :
            ( ( ( product_fst @ A @ B @ S5 )
              = ( product_fst @ A @ B @ T6 ) )
            & ( ( product_snd @ A @ B @ S5 )
              = ( product_snd @ A @ B @ T6 ) ) ) ) ) ).

% prod_eq_iff
thf(fact_3896_All__prod__contract,axiom,
    ! [B: $tType,A: $tType,P2: A > B > $o] :
      ( ( ! [A7: A,X11: B] : ( P2 @ A7 @ X11 ) )
      = ( ! [Z2: product_prod @ A @ B] : ( P2 @ ( product_fst @ A @ B @ Z2 ) @ ( product_snd @ A @ B @ Z2 ) ) ) ) ).

% All_prod_contract
thf(fact_3897_prod__eqI,axiom,
    ! [B: $tType,A: $tType,P3: product_prod @ A @ B,Q6: product_prod @ A @ B] :
      ( ( ( product_fst @ A @ B @ P3 )
        = ( product_fst @ A @ B @ Q6 ) )
     => ( ( ( product_snd @ A @ B @ P3 )
          = ( product_snd @ A @ B @ Q6 ) )
       => ( P3 = Q6 ) ) ) ).

% prod_eqI
thf(fact_3898_Ex__prod__contract,axiom,
    ! [B: $tType,A: $tType,P2: A > B > $o] :
      ( ( ? [A7: A,X11: B] : ( P2 @ A7 @ X11 ) )
      = ( ? [Z2: product_prod @ A @ B] : ( P2 @ ( product_fst @ A @ B @ Z2 ) @ ( product_snd @ A @ B @ Z2 ) ) ) ) ).

% Ex_prod_contract
thf(fact_3899_prod_Oexpand,axiom,
    ! [B: $tType,A: $tType,Prod: product_prod @ A @ B,Prod2: product_prod @ A @ B] :
      ( ( ( ( product_fst @ A @ B @ Prod )
          = ( product_fst @ A @ B @ Prod2 ) )
        & ( ( product_snd @ A @ B @ Prod )
          = ( product_snd @ A @ B @ Prod2 ) ) )
     => ( Prod = Prod2 ) ) ).

% prod.expand
thf(fact_3900_mset__union__2__elem,axiom,
    ! [A: $tType,A3: A,B2: A,C3: A,M6: multiset @ A] :
      ( ( ( add_mset @ A @ A3 @ ( add_mset @ A @ B2 @ ( zero_zero @ ( multiset @ A ) ) ) )
        = ( add_mset @ A @ C3 @ M6 ) )
     => ( ( ( ( add_mset @ A @ A3 @ ( zero_zero @ ( multiset @ A ) ) )
            = M6 )
          & ( B2 = C3 ) )
        | ( ( A3 = C3 )
          & ( ( add_mset @ A @ B2 @ ( zero_zero @ ( multiset @ A ) ) )
            = M6 ) ) ) ) ).

% mset_union_2_elem
thf(fact_3901_fst__conv,axiom,
    ! [B: $tType,A: $tType,X1: A,X2: B] :
      ( ( product_fst @ A @ B @ ( product_Pair @ A @ B @ X1 @ X2 ) )
      = X1 ) ).

% fst_conv
thf(fact_3902_fst__eqD,axiom,
    ! [B: $tType,A: $tType,X: A,Y: B,A3: A] :
      ( ( ( product_fst @ A @ B @ ( product_Pair @ A @ B @ X @ Y ) )
        = A3 )
     => ( X = A3 ) ) ).

% fst_eqD
thf(fact_3903_fstE,axiom,
    ! [B: $tType,A: $tType,X: product_prod @ A @ B,A3: A,B2: B,P2: A > $o] :
      ( ( X
        = ( product_Pair @ A @ B @ A3 @ B2 ) )
     => ( ( P2 @ ( product_fst @ A @ B @ X ) )
       => ( P2 @ A3 ) ) ) ).

% fstE
thf(fact_3904_mset__le__add__mset__decr__left1,axiom,
    ! [A: $tType,C3: A,A3: multiset @ A,B2: multiset @ A] :
      ( ( subseteq_mset @ A @ ( add_mset @ A @ C3 @ A3 ) @ B2 )
     => ( subseteq_mset @ A @ A3 @ B2 ) ) ).

% mset_le_add_mset_decr_left1
thf(fact_3905_fst__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( product_fst @ A @ B )
      = ( product_case_prod @ A @ B @ A
        @ ^ [X12: A,X23: B] : X12 ) ) ).

% fst_def
thf(fact_3906_fn__fst__conv,axiom,
    ! [B: $tType,C: $tType,A: $tType,F3: A > C] :
      ( ( ^ [X4: product_prod @ A @ B] : ( F3 @ ( product_fst @ A @ B @ X4 ) ) )
      = ( product_case_prod @ A @ B @ C
        @ ^ [A7: A,Uu2: B] : ( F3 @ A7 ) ) ) ).

% fn_fst_conv
thf(fact_3907_exI__realizer,axiom,
    ! [B: $tType,A: $tType,P2: A > B > $o,Y: A,X: B] :
      ( ( P2 @ Y @ X )
     => ( P2 @ ( product_snd @ B @ A @ ( product_Pair @ B @ A @ X @ Y ) ) @ ( product_fst @ B @ A @ ( product_Pair @ B @ A @ X @ Y ) ) ) ) ).

% exI_realizer
thf(fact_3908_conjI__realizer,axiom,
    ! [A: $tType,B: $tType,P2: A > $o,P3: A,Q2: B > $o,Q6: B] :
      ( ( P2 @ P3 )
     => ( ( Q2 @ Q6 )
       => ( ( P2 @ ( product_fst @ A @ B @ ( product_Pair @ A @ B @ P3 @ Q6 ) ) )
          & ( Q2 @ ( product_snd @ A @ B @ ( product_Pair @ A @ B @ P3 @ Q6 ) ) ) ) ) ) ).

% conjI_realizer
thf(fact_3909_BNF__Greatest__Fixpoint_Osubst__Pair,axiom,
    ! [B: $tType,A: $tType,P2: A > B > $o,X: A,Y: B,A3: product_prod @ A @ B] :
      ( ( P2 @ X @ Y )
     => ( ( A3
          = ( product_Pair @ A @ B @ X @ Y ) )
       => ( P2 @ ( product_fst @ A @ B @ A3 ) @ ( product_snd @ A @ B @ A3 ) ) ) ) ).

% BNF_Greatest_Fixpoint.subst_Pair
thf(fact_3910_prod_Oexhaust__sel,axiom,
    ! [B: $tType,A: $tType,Prod: product_prod @ A @ B] :
      ( Prod
      = ( product_Pair @ A @ B @ ( product_fst @ A @ B @ Prod ) @ ( product_snd @ A @ B @ Prod ) ) ) ).

% prod.exhaust_sel
thf(fact_3911_surjective__pairing,axiom,
    ! [B: $tType,A: $tType,T5: product_prod @ A @ B] :
      ( T5
      = ( product_Pair @ A @ B @ ( product_fst @ A @ B @ T5 ) @ ( product_snd @ A @ B @ T5 ) ) ) ).

% surjective_pairing
thf(fact_3912_case__prod__beta,axiom,
    ! [A: $tType,C: $tType,B: $tType] :
      ( ( product_case_prod @ B @ C @ A )
      = ( ^ [F4: B > C > A,P7: product_prod @ B @ C] : ( F4 @ ( product_fst @ B @ C @ P7 ) @ ( product_snd @ B @ C @ P7 ) ) ) ) ).

% case_prod_beta
thf(fact_3913_split__beta,axiom,
    ! [C: $tType,B: $tType,A: $tType] :
      ( ( product_case_prod @ A @ B @ C )
      = ( ^ [F4: A > B > C,Prod3: product_prod @ A @ B] : ( F4 @ ( product_fst @ A @ B @ Prod3 ) @ ( product_snd @ A @ B @ Prod3 ) ) ) ) ).

% split_beta
thf(fact_3914_mset__le__add__mset__decr__left2,axiom,
    ! [A: $tType,C3: A,A3: multiset @ A,B2: multiset @ A] :
      ( ( subseteq_mset @ A @ ( add_mset @ A @ C3 @ A3 ) @ B2 )
     => ( subseteq_mset @ A @ ( add_mset @ A @ C3 @ ( zero_zero @ ( multiset @ A ) ) ) @ B2 ) ) ).

% mset_le_add_mset_decr_left2
thf(fact_3915_mset__le__single__cases,axiom,
    ! [A: $tType,M6: multiset @ A,A3: A] :
      ( ( subseteq_mset @ A @ M6 @ ( add_mset @ A @ A3 @ ( zero_zero @ ( multiset @ A ) ) ) )
     => ( ( M6
         != ( zero_zero @ ( multiset @ A ) ) )
       => ( M6
          = ( add_mset @ A @ A3 @ ( zero_zero @ ( multiset @ A ) ) ) ) ) ) ).

% mset_le_single_cases
thf(fact_3916_mset__le__add__mset,axiom,
    ! [A: $tType,X: A,B6: multiset @ A,C5: multiset @ A] :
      ( ( subseteq_mset @ A @ ( add_mset @ A @ X @ B6 ) @ C5 )
     => ( ( subseteq_mset @ A @ ( add_mset @ A @ X @ ( zero_zero @ ( multiset @ A ) ) ) @ C5 )
        & ( subseteq_mset @ A @ B6 @ C5 ) ) ) ).

% mset_le_add_mset
thf(fact_3917_Product__Type_OCollect__case__prodD,axiom,
    ! [B: $tType,A: $tType,X: product_prod @ A @ B,A6: A > B > $o] :
      ( ( member @ ( product_prod @ A @ B ) @ X @ ( collect @ ( product_prod @ A @ B ) @ ( product_case_prod @ A @ B @ $o @ A6 ) ) )
     => ( A6 @ ( product_fst @ A @ B @ X ) @ ( product_snd @ A @ B @ X ) ) ) ).

% Product_Type.Collect_case_prodD
thf(fact_3918_add__mset__replicate__mset__safe,axiom,
    ! [A: $tType,B: $tType,M6: multiset @ B,A3: B] :
      ( ( nO_MATCH @ ( multiset @ A ) @ ( multiset @ B ) @ ( zero_zero @ ( multiset @ A ) ) @ M6 )
     => ( ( add_mset @ B @ A3 @ M6 )
        = ( plus_plus @ ( multiset @ B ) @ ( add_mset @ B @ A3 @ ( zero_zero @ ( multiset @ B ) ) ) @ M6 ) ) ) ).

% add_mset_replicate_mset_safe
thf(fact_3919_add__mset__add__single,axiom,
    ! [A: $tType] :
      ( ( add_mset @ A )
      = ( ^ [A7: A,A8: multiset @ A] : ( plus_plus @ ( multiset @ A ) @ A8 @ ( add_mset @ A @ A7 @ ( zero_zero @ ( multiset @ A ) ) ) ) ) ) ).

% add_mset_add_single
thf(fact_3920_union__is__single,axiom,
    ! [A: $tType,M6: multiset @ A,N7: multiset @ A,A3: A] :
      ( ( ( plus_plus @ ( multiset @ A ) @ M6 @ N7 )
        = ( add_mset @ A @ A3 @ ( zero_zero @ ( multiset @ A ) ) ) )
      = ( ( ( M6
            = ( add_mset @ A @ A3 @ ( zero_zero @ ( multiset @ A ) ) ) )
          & ( N7
            = ( zero_zero @ ( multiset @ A ) ) ) )
        | ( ( M6
            = ( zero_zero @ ( multiset @ A ) ) )
          & ( N7
            = ( add_mset @ A @ A3 @ ( zero_zero @ ( multiset @ A ) ) ) ) ) ) ) ).

% union_is_single
thf(fact_3921_single__is__union,axiom,
    ! [A: $tType,A3: A,M6: multiset @ A,N7: multiset @ A] :
      ( ( ( add_mset @ A @ A3 @ ( zero_zero @ ( multiset @ A ) ) )
        = ( plus_plus @ ( multiset @ A ) @ M6 @ N7 ) )
      = ( ( ( ( add_mset @ A @ A3 @ ( zero_zero @ ( multiset @ A ) ) )
            = M6 )
          & ( N7
            = ( zero_zero @ ( multiset @ A ) ) ) )
        | ( ( M6
            = ( zero_zero @ ( multiset @ A ) ) )
          & ( ( add_mset @ A @ A3 @ ( zero_zero @ ( multiset @ A ) ) )
            = N7 ) ) ) ) ).

% single_is_union
thf(fact_3922_exE__realizer,axiom,
    ! [C: $tType,A: $tType,B: $tType,P2: A > B > $o,P3: product_prod @ B @ A,Q2: C > $o,F3: B > A > C] :
      ( ( P2 @ ( product_snd @ B @ A @ P3 ) @ ( product_fst @ B @ A @ P3 ) )
     => ( ! [X3: B,Y3: A] :
            ( ( P2 @ Y3 @ X3 )
           => ( Q2 @ ( F3 @ X3 @ Y3 ) ) )
       => ( Q2 @ ( product_case_prod @ B @ A @ C @ F3 @ P3 ) ) ) ) ).

% exE_realizer
thf(fact_3923_split__comp__eq,axiom,
    ! [A: $tType,C: $tType,B: $tType,D: $tType,F3: A > B > C,G3: D > A] :
      ( ( ^ [U2: product_prod @ D @ B] : ( F3 @ ( G3 @ ( product_fst @ D @ B @ U2 ) ) @ ( product_snd @ D @ B @ U2 ) ) )
      = ( product_case_prod @ D @ B @ C
        @ ^ [X4: D] : ( F3 @ ( G3 @ X4 ) ) ) ) ).

% split_comp_eq
thf(fact_3924_case__prod__beta_H,axiom,
    ! [C: $tType,B: $tType,A: $tType] :
      ( ( product_case_prod @ A @ B @ C )
      = ( ^ [F4: A > B > C,X4: product_prod @ A @ B] : ( F4 @ ( product_fst @ A @ B @ X4 ) @ ( product_snd @ A @ B @ X4 ) ) ) ) ).

% case_prod_beta'
thf(fact_3925_case__prod__unfold,axiom,
    ! [C: $tType,B: $tType,A: $tType] :
      ( ( product_case_prod @ A @ B @ C )
      = ( ^ [C4: A > B > C,P7: product_prod @ A @ B] : ( C4 @ ( product_fst @ A @ B @ P7 ) @ ( product_snd @ A @ B @ P7 ) ) ) ) ).

% case_prod_unfold
thf(fact_3926_Id__fstsnd__eq,axiom,
    ! [A: $tType] :
      ( ( id2 @ A )
      = ( collect @ ( product_prod @ A @ A )
        @ ^ [X4: product_prod @ A @ A] :
            ( ( product_fst @ A @ A @ X4 )
            = ( product_snd @ A @ A @ X4 ) ) ) ) ).

% Id_fstsnd_eq
thf(fact_3927_prod_Osplit__sel,axiom,
    ! [C: $tType,B: $tType,A: $tType,P2: C > $o,F3: A > B > C,Prod: product_prod @ A @ B] :
      ( ( P2 @ ( product_case_prod @ A @ B @ C @ F3 @ Prod ) )
      = ( ( Prod
          = ( product_Pair @ A @ B @ ( product_fst @ A @ B @ Prod ) @ ( product_snd @ A @ B @ Prod ) ) )
       => ( P2 @ ( F3 @ ( product_fst @ A @ B @ Prod ) @ ( product_snd @ A @ B @ Prod ) ) ) ) ) ).

% prod.split_sel
thf(fact_3928_prod_Osplit__sel__asm,axiom,
    ! [C: $tType,B: $tType,A: $tType,P2: C > $o,F3: A > B > C,Prod: product_prod @ A @ B] :
      ( ( P2 @ ( product_case_prod @ A @ B @ C @ F3 @ Prod ) )
      = ( ~ ( ( Prod
              = ( product_Pair @ A @ B @ ( product_fst @ A @ B @ Prod ) @ ( product_snd @ A @ B @ Prod ) ) )
            & ~ ( P2 @ ( F3 @ ( product_fst @ A @ B @ Prod ) @ ( product_snd @ A @ B @ Prod ) ) ) ) ) ) ).

% prod.split_sel_asm
thf(fact_3929_scomp__unfold,axiom,
    ! [D: $tType,C: $tType,B: $tType,A: $tType] :
      ( ( product_scomp @ A @ B @ C @ D )
      = ( ^ [F4: A > ( product_prod @ B @ C ),G4: B > C > D,X4: A] : ( G4 @ ( product_fst @ B @ C @ ( F4 @ X4 ) ) @ ( product_snd @ B @ C @ ( F4 @ X4 ) ) ) ) ) ).

% scomp_unfold
thf(fact_3930_mset__le__subtract__add__mset__left,axiom,
    ! [A: $tType,X: A,B6: multiset @ A,X7: multiset @ A] :
      ( ( subseteq_mset @ A @ ( add_mset @ A @ X @ B6 ) @ X7 )
     => ( ( subseteq_mset @ A @ B6 @ ( minus_minus @ ( multiset @ A ) @ X7 @ ( add_mset @ A @ X @ ( zero_zero @ ( multiset @ A ) ) ) ) )
        & ( subseteq_mset @ A @ ( add_mset @ A @ X @ ( zero_zero @ ( multiset @ A ) ) ) @ X7 ) ) ) ).

% mset_le_subtract_add_mset_left
thf(fact_3931_mset__le__subtract__add__mset__right,axiom,
    ! [A: $tType,X: A,B6: multiset @ A,X7: multiset @ A] :
      ( ( subseteq_mset @ A @ ( add_mset @ A @ X @ B6 ) @ X7 )
     => ( ( subseteq_mset @ A @ ( add_mset @ A @ X @ ( zero_zero @ ( multiset @ A ) ) ) @ ( minus_minus @ ( multiset @ A ) @ X7 @ B6 ) )
        & ( subseteq_mset @ A @ B6 @ X7 ) ) ) ).

% mset_le_subtract_add_mset_right
thf(fact_3932_mset__unplusm__dist__cases2,axiom,
    ! [A: $tType,B6: multiset @ A,C5: multiset @ A,S2: A,A6: multiset @ A] :
      ( ( ( plus_plus @ ( multiset @ A ) @ B6 @ C5 )
        = ( plus_plus @ ( multiset @ A ) @ ( add_mset @ A @ S2 @ ( zero_zero @ ( multiset @ A ) ) ) @ A6 ) )
     => ( ( ( B6
            = ( plus_plus @ ( multiset @ A ) @ ( add_mset @ A @ S2 @ ( zero_zero @ ( multiset @ A ) ) ) @ ( minus_minus @ ( multiset @ A ) @ B6 @ ( add_mset @ A @ S2 @ ( zero_zero @ ( multiset @ A ) ) ) ) ) )
         => ( A6
           != ( plus_plus @ ( multiset @ A ) @ ( minus_minus @ ( multiset @ A ) @ B6 @ ( add_mset @ A @ S2 @ ( zero_zero @ ( multiset @ A ) ) ) ) @ C5 ) ) )
       => ~ ( ( C5
              = ( plus_plus @ ( multiset @ A ) @ ( add_mset @ A @ S2 @ ( zero_zero @ ( multiset @ A ) ) ) @ ( minus_minus @ ( multiset @ A ) @ C5 @ ( add_mset @ A @ S2 @ ( zero_zero @ ( multiset @ A ) ) ) ) ) )
           => ( A6
             != ( plus_plus @ ( multiset @ A ) @ B6 @ ( minus_minus @ ( multiset @ A ) @ C5 @ ( add_mset @ A @ S2 @ ( zero_zero @ ( multiset @ A ) ) ) ) ) ) ) ) ) ).

% mset_unplusm_dist_cases2
thf(fact_3933_mset__unplusm__dist__cases,axiom,
    ! [A: $tType,S2: A,A6: multiset @ A,B6: multiset @ A,C5: multiset @ A] :
      ( ( ( plus_plus @ ( multiset @ A ) @ ( add_mset @ A @ S2 @ ( zero_zero @ ( multiset @ A ) ) ) @ A6 )
        = ( plus_plus @ ( multiset @ A ) @ B6 @ C5 ) )
     => ( ( ( B6
            = ( plus_plus @ ( multiset @ A ) @ ( add_mset @ A @ S2 @ ( zero_zero @ ( multiset @ A ) ) ) @ ( minus_minus @ ( multiset @ A ) @ B6 @ ( add_mset @ A @ S2 @ ( zero_zero @ ( multiset @ A ) ) ) ) ) )
         => ( A6
           != ( plus_plus @ ( multiset @ A ) @ ( minus_minus @ ( multiset @ A ) @ B6 @ ( add_mset @ A @ S2 @ ( zero_zero @ ( multiset @ A ) ) ) ) @ C5 ) ) )
       => ~ ( ( C5
              = ( plus_plus @ ( multiset @ A ) @ ( add_mset @ A @ S2 @ ( zero_zero @ ( multiset @ A ) ) ) @ ( minus_minus @ ( multiset @ A ) @ C5 @ ( add_mset @ A @ S2 @ ( zero_zero @ ( multiset @ A ) ) ) ) ) )
           => ( A6
             != ( plus_plus @ ( multiset @ A ) @ B6 @ ( minus_minus @ ( multiset @ A ) @ C5 @ ( add_mset @ A @ S2 @ ( zero_zero @ ( multiset @ A ) ) ) ) ) ) ) ) ) ).

% mset_unplusm_dist_cases
thf(fact_3934_mset__single__cases2_H,axiom,
    ! [A: $tType,S2: A,C3: multiset @ A,R7: A,C7: multiset @ A] :
      ( ( ( add_mset @ A @ S2 @ C3 )
        = ( add_mset @ A @ R7 @ C7 ) )
     => ( ( ( S2 = R7 )
         => ( C3 != C7 ) )
       => ~ ! [Cc: multiset @ A] :
              ( ( C7
                = ( plus_plus @ ( multiset @ A ) @ Cc @ ( add_mset @ A @ S2 @ ( zero_zero @ ( multiset @ A ) ) ) ) )
             => ( ( C3
                  = ( plus_plus @ ( multiset @ A ) @ Cc @ ( add_mset @ A @ R7 @ ( zero_zero @ ( multiset @ A ) ) ) ) )
               => ( ( ( minus_minus @ ( multiset @ A ) @ C7 @ ( add_mset @ A @ S2 @ ( zero_zero @ ( multiset @ A ) ) ) )
                    = Cc )
                 => ( ( minus_minus @ ( multiset @ A ) @ C3 @ ( add_mset @ A @ R7 @ ( zero_zero @ ( multiset @ A ) ) ) )
                   != Cc ) ) ) ) ) ) ).

% mset_single_cases2'
thf(fact_3935_mset__single__cases2,axiom,
    ! [A: $tType,S2: A,C3: multiset @ A,R7: A,C7: multiset @ A] :
      ( ( ( add_mset @ A @ S2 @ C3 )
        = ( add_mset @ A @ R7 @ C7 ) )
     => ( ( ( S2 = R7 )
         => ( C3 != C7 ) )
       => ~ ( ( C7
              = ( plus_plus @ ( multiset @ A ) @ ( minus_minus @ ( multiset @ A ) @ C7 @ ( add_mset @ A @ S2 @ ( zero_zero @ ( multiset @ A ) ) ) ) @ ( add_mset @ A @ S2 @ ( zero_zero @ ( multiset @ A ) ) ) ) )
           => ( ( C3
                = ( plus_plus @ ( multiset @ A ) @ ( minus_minus @ ( multiset @ A ) @ C3 @ ( add_mset @ A @ R7 @ ( zero_zero @ ( multiset @ A ) ) ) ) @ ( add_mset @ A @ R7 @ ( zero_zero @ ( multiset @ A ) ) ) ) )
             => ( ( minus_minus @ ( multiset @ A ) @ C3 @ ( add_mset @ A @ R7 @ ( zero_zero @ ( multiset @ A ) ) ) )
               != ( minus_minus @ ( multiset @ A ) @ C7 @ ( add_mset @ A @ S2 @ ( zero_zero @ ( multiset @ A ) ) ) ) ) ) ) ) ) ).

% mset_single_cases2
thf(fact_3936_mset__single__cases_H,axiom,
    ! [A: $tType,S2: A,C3: multiset @ A,R7: A,C7: multiset @ A] :
      ( ( ( add_mset @ A @ S2 @ C3 )
        = ( add_mset @ A @ R7 @ C7 ) )
     => ( ( ( S2 = R7 )
         => ( C3 != C7 ) )
       => ~ ! [Cc: multiset @ A] :
              ( ( C7
                = ( plus_plus @ ( multiset @ A ) @ ( add_mset @ A @ S2 @ ( zero_zero @ ( multiset @ A ) ) ) @ Cc ) )
             => ( ( C3
                  = ( plus_plus @ ( multiset @ A ) @ ( add_mset @ A @ R7 @ ( zero_zero @ ( multiset @ A ) ) ) @ Cc ) )
               => ( ( ( minus_minus @ ( multiset @ A ) @ C7 @ ( add_mset @ A @ S2 @ ( zero_zero @ ( multiset @ A ) ) ) )
                    = Cc )
                 => ( ( minus_minus @ ( multiset @ A ) @ C3 @ ( add_mset @ A @ R7 @ ( zero_zero @ ( multiset @ A ) ) ) )
                   != Cc ) ) ) ) ) ) ).

% mset_single_cases'
thf(fact_3937_mset__single__cases,axiom,
    ! [A: $tType,S2: A,C3: multiset @ A,R7: A,C7: multiset @ A] :
      ( ( ( add_mset @ A @ S2 @ C3 )
        = ( add_mset @ A @ R7 @ C7 ) )
     => ( ( ( S2 = R7 )
         => ( C3 != C7 ) )
       => ~ ( ( C7
              = ( plus_plus @ ( multiset @ A ) @ ( add_mset @ A @ S2 @ ( zero_zero @ ( multiset @ A ) ) ) @ ( minus_minus @ ( multiset @ A ) @ C7 @ ( add_mset @ A @ S2 @ ( zero_zero @ ( multiset @ A ) ) ) ) ) )
           => ( ( C3
                = ( plus_plus @ ( multiset @ A ) @ ( add_mset @ A @ R7 @ ( zero_zero @ ( multiset @ A ) ) ) @ ( minus_minus @ ( multiset @ A ) @ C3 @ ( add_mset @ A @ R7 @ ( zero_zero @ ( multiset @ A ) ) ) ) ) )
             => ( ( minus_minus @ ( multiset @ A ) @ C3 @ ( add_mset @ A @ R7 @ ( zero_zero @ ( multiset @ A ) ) ) )
               != ( minus_minus @ ( multiset @ A ) @ C7 @ ( add_mset @ A @ S2 @ ( zero_zero @ ( multiset @ A ) ) ) ) ) ) ) ) ) ).

% mset_single_cases
thf(fact_3938_case__prod__comp,axiom,
    ! [D: $tType,A: $tType,C: $tType,B: $tType,F3: D > C > A,G3: B > D,X: product_prod @ B @ C] :
      ( ( product_case_prod @ B @ C @ A @ ( comp @ D @ ( C > A ) @ B @ F3 @ G3 ) @ X )
      = ( F3 @ ( G3 @ ( product_fst @ B @ C @ X ) ) @ ( product_snd @ B @ C @ X ) ) ) ).

% case_prod_comp
thf(fact_3939_fst__diag__fst,axiom,
    ! [B: $tType,A: $tType] :
      ( ( comp @ ( product_prod @ A @ A ) @ A @ ( product_prod @ A @ B ) @ ( product_fst @ A @ A )
        @ ( comp @ A @ ( product_prod @ A @ A ) @ ( product_prod @ A @ B )
          @ ^ [X4: A] : ( product_Pair @ A @ A @ X4 @ X4 )
          @ ( product_fst @ A @ B ) ) )
      = ( product_fst @ A @ B ) ) ).

% fst_diag_fst
thf(fact_3940_size__mset__SucE,axiom,
    ! [A: $tType,A6: multiset @ A,N: nat] :
      ( ( ( size_size @ ( multiset @ A ) @ A6 )
        = ( suc @ N ) )
     => ~ ! [A5: A,B10: multiset @ A] :
            ( ( A6
              = ( plus_plus @ ( multiset @ A ) @ ( add_mset @ A @ A5 @ ( zero_zero @ ( multiset @ A ) ) ) @ B10 ) )
           => ( ( size_size @ ( multiset @ A ) @ B10 )
             != N ) ) ) ).

% size_mset_SucE
thf(fact_3941_size__Diff1__le,axiom,
    ! [A: $tType,M6: multiset @ A,X: A] : ( ord_less_eq @ nat @ ( size_size @ ( multiset @ A ) @ ( minus_minus @ ( multiset @ A ) @ M6 @ ( add_mset @ A @ X @ ( zero_zero @ ( multiset @ A ) ) ) ) ) @ ( size_size @ ( multiset @ A ) @ M6 ) ) ).

% size_Diff1_le
thf(fact_3942_the__elem__def,axiom,
    ! [A: $tType] :
      ( ( the_elem @ A )
      = ( ^ [X11: set @ A] :
            ( the @ A
            @ ^ [X4: A] :
                ( X11
                = ( insert @ A @ X4 @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ) ).

% the_elem_def
thf(fact_3943_fst__diag__snd,axiom,
    ! [B: $tType,A: $tType] :
      ( ( comp @ ( product_prod @ B @ B ) @ B @ ( product_prod @ A @ B ) @ ( product_fst @ B @ B )
        @ ( comp @ B @ ( product_prod @ B @ B ) @ ( product_prod @ A @ B )
          @ ^ [X4: B] : ( product_Pair @ B @ B @ X4 @ X4 )
          @ ( product_snd @ A @ B ) ) )
      = ( product_snd @ A @ B ) ) ).

% fst_diag_snd
thf(fact_3944_snd__diag__fst,axiom,
    ! [B: $tType,A: $tType] :
      ( ( comp @ ( product_prod @ A @ A ) @ A @ ( product_prod @ A @ B ) @ ( product_snd @ A @ A )
        @ ( comp @ A @ ( product_prod @ A @ A ) @ ( product_prod @ A @ B )
          @ ^ [X4: A] : ( product_Pair @ A @ A @ X4 @ X4 )
          @ ( product_fst @ A @ B ) ) )
      = ( product_fst @ A @ B ) ) ).

% snd_diag_fst
thf(fact_3945_mset__size__le1__cases,axiom,
    ! [A: $tType,M6: multiset @ A] :
      ( ( ord_less_eq @ nat @ ( size_size @ ( multiset @ A ) @ M6 ) @ ( suc @ ( zero_zero @ nat ) ) )
     => ( ( M6
         != ( zero_zero @ ( multiset @ A ) ) )
       => ~ ! [M5: A] :
              ( M6
             != ( add_mset @ A @ M5 @ ( zero_zero @ ( multiset @ A ) ) ) ) ) ) ).

% mset_size_le1_cases
thf(fact_3946_in__set__zip,axiom,
    ! [B: $tType,A: $tType,P3: product_prod @ A @ B,Xs: list @ A,Ys3: list @ B] :
      ( ( member @ ( product_prod @ A @ B ) @ P3 @ ( set2 @ ( product_prod @ A @ B ) @ ( zip @ A @ B @ Xs @ Ys3 ) ) )
      = ( ? [N3: nat] :
            ( ( ( nth @ A @ Xs @ N3 )
              = ( product_fst @ A @ B @ P3 ) )
            & ( ( nth @ B @ Ys3 @ N3 )
              = ( product_snd @ A @ B @ P3 ) )
            & ( ord_less @ nat @ N3 @ ( size_size @ ( list @ A ) @ Xs ) )
            & ( ord_less @ nat @ N3 @ ( size_size @ ( list @ B ) @ Ys3 ) ) ) ) ) ).

% in_set_zip
thf(fact_3947_old_Orec__unit__def,axiom,
    ! [T: $tType] :
      ( ( product_rec_unit @ T )
      = ( ^ [F12: T,X4: product_unit] : ( the @ T @ ( product_rec_set_unit @ T @ F12 @ X4 ) ) ) ) ).

% old.rec_unit_def
thf(fact_3948_old_Orec__prod__def,axiom,
    ! [T: $tType,B: $tType,A: $tType] :
      ( ( product_rec_prod @ A @ B @ T )
      = ( ^ [F12: A > B > T,X4: product_prod @ A @ B] : ( the @ T @ ( product_rec_set_prod @ A @ B @ T @ F12 @ X4 ) ) ) ) ).

% old.rec_prod_def
thf(fact_3949_old_Orec__nat__def,axiom,
    ! [T: $tType] :
      ( ( rec_nat @ T )
      = ( ^ [F12: T,F23: nat > T > T,X4: nat] : ( the @ T @ ( rec_set_nat @ T @ F12 @ F23 @ X4 ) ) ) ) ).

% old.rec_nat_def
thf(fact_3950_snd__fst__flip,axiom,
    ! [A: $tType,B: $tType] :
      ( ( product_snd @ B @ A )
      = ( comp @ ( product_prod @ A @ B ) @ A @ ( product_prod @ B @ A ) @ ( product_fst @ A @ B )
        @ ( product_case_prod @ B @ A @ ( product_prod @ A @ B )
          @ ^ [X4: B,Y4: A] : ( product_Pair @ A @ B @ Y4 @ X4 ) ) ) ) ).

% snd_fst_flip
thf(fact_3951_The__split__eq,axiom,
    ! [A: $tType,B: $tType,X: A,Y: B] :
      ( ( the @ ( product_prod @ A @ B )
        @ ( product_case_prod @ A @ B @ $o
          @ ^ [X8: A,Y9: B] :
              ( ( X = X8 )
              & ( Y = Y9 ) ) ) )
      = ( product_Pair @ A @ B @ X @ Y ) ) ).

% The_split_eq
thf(fact_3952_effect__heapE,axiom,
    ! [A: $tType,F3: ( heap_ext @ product_unit ) > ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ),H: heap_ext @ product_unit,H5: heap_ext @ product_unit,R3: A,N: nat] :
      ( ( heap_Time_effect @ A @ ( heap_Time_heap @ A @ F3 ) @ H @ H5 @ R3 @ N )
     => ~ ( ( H5
            = ( product_fst @ ( heap_ext @ product_unit ) @ nat @ ( product_snd @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ ( F3 @ H ) ) ) )
         => ( ( N
              = ( product_snd @ ( heap_ext @ product_unit ) @ nat @ ( product_snd @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ ( F3 @ H ) ) ) )
           => ( R3
             != ( product_fst @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ ( F3 @ H ) ) ) ) ) ) ).

% effect_heapE
thf(fact_3953_effect__heapI,axiom,
    ! [A: $tType,N: nat,F3: ( heap_ext @ product_unit ) > ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ),H: heap_ext @ product_unit,H5: heap_ext @ product_unit,R3: A] :
      ( ( N
        = ( product_snd @ ( heap_ext @ product_unit ) @ nat @ ( product_snd @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ ( F3 @ H ) ) ) )
     => ( ( H5
          = ( product_fst @ ( heap_ext @ product_unit ) @ nat @ ( product_snd @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ ( F3 @ H ) ) ) )
       => ( ( R3
            = ( product_fst @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ ( F3 @ H ) ) )
         => ( heap_Time_effect @ A @ ( heap_Time_heap @ A @ F3 ) @ H @ H5 @ R3 @ N ) ) ) ) ).

% effect_heapI
thf(fact_3954_effect__guardI,axiom,
    ! [A: $tType,P2: ( heap_ext @ product_unit ) > $o,H: heap_ext @ product_unit,H5: heap_ext @ product_unit,F3: ( heap_ext @ product_unit ) > ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ),N: nat,R3: A] :
      ( ( P2 @ H )
     => ( ( H5
          = ( product_fst @ ( heap_ext @ product_unit ) @ nat @ ( product_snd @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ ( F3 @ H ) ) ) )
       => ( ( N
            = ( product_snd @ ( heap_ext @ product_unit ) @ nat @ ( product_snd @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ ( F3 @ H ) ) ) )
         => ( ( R3
              = ( product_fst @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ ( F3 @ H ) ) )
           => ( heap_Time_effect @ A @ ( heap_Time_guard @ A @ P2 @ F3 ) @ H @ H5 @ R3 @ N ) ) ) ) ) ).

% effect_guardI
thf(fact_3955_effect__guardE,axiom,
    ! [A: $tType,P2: ( heap_ext @ product_unit ) > $o,F3: ( heap_ext @ product_unit ) > ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ),H: heap_ext @ product_unit,H5: heap_ext @ product_unit,R3: A,N: nat] :
      ( ( heap_Time_effect @ A @ ( heap_Time_guard @ A @ P2 @ F3 ) @ H @ H5 @ R3 @ N )
     => ~ ( ( H5
            = ( product_fst @ ( heap_ext @ product_unit ) @ nat @ ( product_snd @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ ( F3 @ H ) ) ) )
         => ( ( N
              = ( product_snd @ ( heap_ext @ product_unit ) @ nat @ ( product_snd @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ ( F3 @ H ) ) ) )
           => ( ( R3
                = ( product_fst @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ ( F3 @ H ) ) )
             => ~ ( P2 @ H ) ) ) ) ) ).

% effect_guardE
thf(fact_3956_ge__eq__refl,axiom,
    ! [A: $tType,R4: A > A > $o,X: A] :
      ( ( ord_less_eq @ ( A > A > $o )
        @ ^ [Y6: A,Z5: A] : Y6 = Z5
        @ R4 )
     => ( R4 @ X @ X ) ) ).

% ge_eq_refl
thf(fact_3957_refl__ge__eq,axiom,
    ! [A: $tType,R4: A > A > $o] :
      ( ! [X3: A] : ( R4 @ X3 @ X3 )
     => ( ord_less_eq @ ( A > A > $o )
        @ ^ [Y6: A,Z5: A] : Y6 = Z5
        @ R4 ) ) ).

% refl_ge_eq
thf(fact_3958_The__case__prod,axiom,
    ! [B: $tType,A: $tType,P2: A > B > $o] :
      ( ( the @ ( product_prod @ A @ B ) @ ( product_case_prod @ A @ B @ $o @ P2 ) )
      = ( the @ ( product_prod @ A @ B )
        @ ^ [Xy2: product_prod @ A @ B] : ( P2 @ ( product_fst @ A @ B @ Xy2 ) @ ( product_snd @ A @ B @ Xy2 ) ) ) ) ).

% The_case_prod
thf(fact_3959_range,axiom,
    ! [K2: code_natural,S2: product_prod @ code_natural @ code_natural] :
      ( ( ord_less @ code_natural @ ( zero_zero @ code_natural ) @ K2 )
     => ( ord_less @ code_natural @ ( product_fst @ code_natural @ ( product_prod @ code_natural @ code_natural ) @ ( range @ K2 @ S2 ) ) @ K2 ) ) ).

% range
thf(fact_3960_fstI,axiom,
    ! [B: $tType,A: $tType,X: product_prod @ A @ B,Y: A,Z4: B] :
      ( ( X
        = ( product_Pair @ A @ B @ Y @ Z4 ) )
     => ( ( product_fst @ A @ B @ X )
        = Y ) ) ).

% fstI
thf(fact_3961_sndI,axiom,
    ! [A: $tType,B: $tType,X: product_prod @ A @ B,Y: A,Z4: B] :
      ( ( X
        = ( product_Pair @ A @ B @ Y @ Z4 ) )
     => ( ( product_snd @ A @ B @ X )
        = Z4 ) ) ).

% sndI
thf(fact_3962_fst__snd__flip,axiom,
    ! [B: $tType,A: $tType] :
      ( ( product_fst @ A @ B )
      = ( comp @ ( product_prod @ B @ A ) @ A @ ( product_prod @ A @ B ) @ ( product_snd @ B @ A )
        @ ( product_case_prod @ A @ B @ ( product_prod @ B @ A )
          @ ^ [X4: A,Y4: B] : ( product_Pair @ B @ A @ Y4 @ X4 ) ) ) ) ).

% fst_snd_flip
thf(fact_3963_size__prod__simp,axiom,
    ! [B: $tType,A: $tType] :
      ( ( basic_BNF_size_prod @ A @ B )
      = ( ^ [F4: A > nat,G4: B > nat,P7: product_prod @ A @ B] : ( plus_plus @ nat @ ( plus_plus @ nat @ ( F4 @ ( product_fst @ A @ B @ P7 ) ) @ ( G4 @ ( product_snd @ A @ B @ P7 ) ) ) @ ( suc @ ( zero_zero @ nat ) ) ) ) ) ).

% size_prod_simp
thf(fact_3964_the__sym__eq__trivial,axiom,
    ! [A: $tType,X: A] :
      ( ( the @ A
        @ ( ^ [Y6: A,Z5: A] : Y6 = Z5
          @ X ) )
      = X ) ).

% the_sym_eq_trivial
thf(fact_3965_the__eq__trivial,axiom,
    ! [A: $tType,A3: A] :
      ( ( the @ A
        @ ^ [X4: A] : X4 = A3 )
      = A3 ) ).

% the_eq_trivial
thf(fact_3966_the__equality,axiom,
    ! [A: $tType,P2: A > $o,A3: A] :
      ( ( P2 @ A3 )
     => ( ! [X3: A] :
            ( ( P2 @ X3 )
           => ( X3 = A3 ) )
       => ( ( the @ A @ P2 )
          = A3 ) ) ) ).

% the_equality
thf(fact_3967_theI,axiom,
    ! [A: $tType,P2: A > $o,A3: A] :
      ( ( P2 @ A3 )
     => ( ! [X3: A] :
            ( ( P2 @ X3 )
           => ( X3 = A3 ) )
       => ( P2 @ ( the @ A @ P2 ) ) ) ) ).

% theI
thf(fact_3968_theI_H,axiom,
    ! [A: $tType,P2: A > $o] :
      ( ? [X6: A] :
          ( ( P2 @ X6 )
          & ! [Y3: A] :
              ( ( P2 @ Y3 )
             => ( Y3 = X6 ) ) )
     => ( P2 @ ( the @ A @ P2 ) ) ) ).

% theI'
thf(fact_3969_theI2,axiom,
    ! [A: $tType,P2: A > $o,A3: A,Q2: A > $o] :
      ( ( P2 @ A3 )
     => ( ! [X3: A] :
            ( ( P2 @ X3 )
           => ( X3 = A3 ) )
       => ( ! [X3: A] :
              ( ( P2 @ X3 )
             => ( Q2 @ X3 ) )
         => ( Q2 @ ( the @ A @ P2 ) ) ) ) ) ).

% theI2
thf(fact_3970_If__def,axiom,
    ! [A: $tType] :
      ( ( if @ A )
      = ( ^ [P5: $o,X4: A,Y4: A] :
            ( the @ A
            @ ^ [Z2: A] :
                ( ( P5
                 => ( Z2 = X4 ) )
                & ( ~ P5
                 => ( Z2 = Y4 ) ) ) ) ) ) ).

% If_def
thf(fact_3971_the1I2,axiom,
    ! [A: $tType,P2: A > $o,Q2: A > $o] :
      ( ? [X6: A] :
          ( ( P2 @ X6 )
          & ! [Y3: A] :
              ( ( P2 @ Y3 )
             => ( Y3 = X6 ) ) )
     => ( ! [X3: A] :
            ( ( P2 @ X3 )
           => ( Q2 @ X3 ) )
       => ( Q2 @ ( the @ A @ P2 ) ) ) ) ).

% the1I2
thf(fact_3972_the1__equality,axiom,
    ! [A: $tType,P2: A > $o,A3: A] :
      ( ? [X6: A] :
          ( ( P2 @ X6 )
          & ! [Y3: A] :
              ( ( P2 @ Y3 )
             => ( Y3 = X6 ) ) )
     => ( ( P2 @ A3 )
       => ( ( the @ A @ P2 )
          = A3 ) ) ) ).

% the1_equality
thf(fact_3973_bezw__non__0,axiom,
    ! [Y: nat,X: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ Y )
     => ( ( bezw @ X @ Y )
        = ( product_Pair @ int @ int @ ( product_snd @ int @ int @ ( bezw @ Y @ ( modulo_modulo @ nat @ X @ Y ) ) ) @ ( minus_minus @ int @ ( product_fst @ int @ int @ ( bezw @ Y @ ( modulo_modulo @ nat @ X @ Y ) ) ) @ ( times_times @ int @ ( product_snd @ int @ int @ ( bezw @ Y @ ( modulo_modulo @ nat @ X @ Y ) ) ) @ ( semiring_1_of_nat @ int @ ( divide_divide @ nat @ X @ Y ) ) ) ) ) ) ) ).

% bezw_non_0
thf(fact_3974_times__int__def,axiom,
    ( ( times_times @ int )
    = ( map_fun @ int @ ( product_prod @ nat @ nat ) @ ( ( product_prod @ nat @ nat ) > ( product_prod @ nat @ nat ) ) @ ( int > int ) @ rep_Integ @ ( map_fun @ int @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) @ int @ rep_Integ @ abs_Integ )
      @ ( product_case_prod @ nat @ nat @ ( ( product_prod @ nat @ nat ) > ( product_prod @ nat @ nat ) )
        @ ^ [X4: nat,Y4: nat] :
            ( product_case_prod @ nat @ nat @ ( product_prod @ nat @ nat )
            @ ^ [U2: nat,V3: nat] : ( product_Pair @ nat @ nat @ ( plus_plus @ nat @ ( times_times @ nat @ X4 @ U2 ) @ ( times_times @ nat @ Y4 @ V3 ) ) @ ( plus_plus @ nat @ ( times_times @ nat @ X4 @ V3 ) @ ( times_times @ nat @ Y4 @ U2 ) ) ) ) ) ) ) ).

% times_int_def
thf(fact_3975_pick_Osimps,axiom,
    ! [A: $tType,I2: code_natural,X: product_prod @ code_natural @ A,Xs: list @ ( product_prod @ code_natural @ A )] :
      ( ( ( ord_less @ code_natural @ I2 @ ( product_fst @ code_natural @ A @ X ) )
       => ( ( pick @ A @ ( cons @ ( product_prod @ code_natural @ A ) @ X @ Xs ) @ I2 )
          = ( product_snd @ code_natural @ A @ X ) ) )
      & ( ~ ( ord_less @ code_natural @ I2 @ ( product_fst @ code_natural @ A @ X ) )
       => ( ( pick @ A @ ( cons @ ( product_prod @ code_natural @ A ) @ X @ Xs ) @ I2 )
          = ( pick @ A @ Xs @ ( minus_minus @ code_natural @ I2 @ ( product_fst @ code_natural @ A @ X ) ) ) ) ) ) ).

% pick.simps
thf(fact_3976_execute__bind__success,axiom,
    ! [B: $tType,A: $tType,F3: heap_Time_Heap @ A,H: heap_ext @ product_unit,G3: A > ( heap_Time_Heap @ B )] :
      ( ( heap_Time_success @ A @ F3 @ H )
     => ( ( heap_Time_execute @ B @ ( heap_Time_bind @ A @ B @ F3 @ G3 ) @ H )
        = ( heap_Time_timeFrame @ B @ ( product_snd @ ( heap_ext @ product_unit ) @ nat @ ( product_snd @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ ( the2 @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( heap_Time_execute @ A @ F3 @ H ) ) ) ) @ ( heap_Time_execute @ B @ ( G3 @ ( product_fst @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ ( the2 @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( heap_Time_execute @ A @ F3 @ H ) ) ) ) @ ( product_fst @ ( heap_ext @ product_unit ) @ nat @ ( product_snd @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ ( the2 @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( heap_Time_execute @ A @ F3 @ H ) ) ) ) ) ) ) ) ).

% execute_bind_success
thf(fact_3977_option_Ocollapse,axiom,
    ! [A: $tType,Option: option @ A] :
      ( ( Option
       != ( none @ A ) )
     => ( ( some @ A @ ( the2 @ A @ Option ) )
        = Option ) ) ).

% option.collapse
thf(fact_3978_option_Oexpand,axiom,
    ! [A: $tType,Option: option @ A,Option2: option @ A] :
      ( ( ( Option
          = ( none @ A ) )
        = ( Option2
          = ( none @ A ) ) )
     => ( ( ( Option
           != ( none @ A ) )
         => ( ( Option2
             != ( none @ A ) )
           => ( ( the2 @ A @ Option )
              = ( the2 @ A @ Option2 ) ) ) )
       => ( Option = Option2 ) ) ) ).

% option.expand
thf(fact_3979_option_Osel,axiom,
    ! [A: $tType,X2: A] :
      ( ( the2 @ A @ ( some @ A @ X2 ) )
      = X2 ) ).

% option.sel
thf(fact_3980_option_Oexhaust__sel,axiom,
    ! [A: $tType,Option: option @ A] :
      ( ( Option
       != ( none @ A ) )
     => ( Option
        = ( some @ A @ ( the2 @ A @ Option ) ) ) ) ).

% option.exhaust_sel
thf(fact_3981_option_Omap__sel,axiom,
    ! [B: $tType,A: $tType,A3: option @ A,F3: A > B] :
      ( ( A3
       != ( none @ A ) )
     => ( ( the2 @ B @ ( map_option @ A @ B @ F3 @ A3 ) )
        = ( F3 @ ( the2 @ A @ A3 ) ) ) ) ).

% option.map_sel
thf(fact_3982_option_Ocase__eq__if,axiom,
    ! [A: $tType,B: $tType] :
      ( ( case_option @ B @ A )
      = ( ^ [F12: B,F23: A > B,Option3: option @ A] :
            ( if @ B
            @ ( Option3
              = ( none @ A ) )
            @ F12
            @ ( F23 @ ( the2 @ A @ Option3 ) ) ) ) ) ).

% option.case_eq_if
thf(fact_3983_option_Osplit__sel,axiom,
    ! [B: $tType,A: $tType,P2: B > $o,F1: B,F22: A > B,Option: option @ A] :
      ( ( P2 @ ( case_option @ B @ A @ F1 @ F22 @ Option ) )
      = ( ( ( Option
            = ( none @ A ) )
         => ( P2 @ F1 ) )
        & ( ( Option
            = ( some @ A @ ( the2 @ A @ Option ) ) )
         => ( P2 @ ( F22 @ ( the2 @ A @ Option ) ) ) ) ) ) ).

% option.split_sel
thf(fact_3984_option_Osplit__sel__asm,axiom,
    ! [B: $tType,A: $tType,P2: B > $o,F1: B,F22: A > B,Option: option @ A] :
      ( ( P2 @ ( case_option @ B @ A @ F1 @ F22 @ Option ) )
      = ( ~ ( ( ( Option
                = ( none @ A ) )
              & ~ ( P2 @ F1 ) )
            | ( ( Option
                = ( some @ A @ ( the2 @ A @ Option ) ) )
              & ~ ( P2 @ ( F22 @ ( the2 @ A @ Option ) ) ) ) ) ) ) ).

% option.split_sel_asm
thf(fact_3985_effectE,axiom,
    ! [A: $tType,C3: heap_Time_Heap @ A,H: heap_ext @ product_unit,H5: heap_ext @ product_unit,R3: A,N: nat] :
      ( ( heap_Time_effect @ A @ C3 @ H @ H5 @ R3 @ N )
     => ~ ( ( R3
            = ( product_fst @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ ( the2 @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( heap_Time_execute @ A @ C3 @ H ) ) ) )
         => ( ( H5
              = ( product_fst @ ( heap_ext @ product_unit ) @ nat @ ( product_snd @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ ( the2 @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( heap_Time_execute @ A @ C3 @ H ) ) ) ) )
           => ( ( N
                = ( product_snd @ ( heap_ext @ product_unit ) @ nat @ ( product_snd @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ ( the2 @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( heap_Time_execute @ A @ C3 @ H ) ) ) ) )
             => ~ ( heap_Time_success @ A @ C3 @ H ) ) ) ) ) ).

% effectE
thf(fact_3986_plus__int__def,axiom,
    ( ( plus_plus @ int )
    = ( map_fun @ int @ ( product_prod @ nat @ nat ) @ ( ( product_prod @ nat @ nat ) > ( product_prod @ nat @ nat ) ) @ ( int > int ) @ rep_Integ @ ( map_fun @ int @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) @ int @ rep_Integ @ abs_Integ )
      @ ( product_case_prod @ nat @ nat @ ( ( product_prod @ nat @ nat ) > ( product_prod @ nat @ nat ) )
        @ ^ [X4: nat,Y4: nat] :
            ( product_case_prod @ nat @ nat @ ( product_prod @ nat @ nat )
            @ ^ [U2: nat,V3: nat] : ( product_Pair @ nat @ nat @ ( plus_plus @ nat @ X4 @ U2 ) @ ( plus_plus @ nat @ Y4 @ V3 ) ) ) ) ) ) ).

% plus_int_def
thf(fact_3987_minus__int__def,axiom,
    ( ( minus_minus @ int )
    = ( map_fun @ int @ ( product_prod @ nat @ nat ) @ ( ( product_prod @ nat @ nat ) > ( product_prod @ nat @ nat ) ) @ ( int > int ) @ rep_Integ @ ( map_fun @ int @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) @ int @ rep_Integ @ abs_Integ )
      @ ( product_case_prod @ nat @ nat @ ( ( product_prod @ nat @ nat ) > ( product_prod @ nat @ nat ) )
        @ ^ [X4: nat,Y4: nat] :
            ( product_case_prod @ nat @ nat @ ( product_prod @ nat @ nat )
            @ ^ [U2: nat,V3: nat] : ( product_Pair @ nat @ nat @ ( plus_plus @ nat @ X4 @ V3 ) @ ( plus_plus @ nat @ Y4 @ U2 ) ) ) ) ) ) ).

% minus_int_def
thf(fact_3988_normalize__def,axiom,
    ( normalize
    = ( ^ [P7: product_prod @ int @ int] :
          ( if @ ( product_prod @ int @ int ) @ ( ord_less @ int @ ( zero_zero @ int ) @ ( product_snd @ int @ int @ P7 ) ) @ ( product_Pair @ int @ int @ ( divide_divide @ int @ ( product_fst @ int @ int @ P7 ) @ ( gcd_gcd @ int @ ( product_fst @ int @ int @ P7 ) @ ( product_snd @ int @ int @ P7 ) ) ) @ ( divide_divide @ int @ ( product_snd @ int @ int @ P7 ) @ ( gcd_gcd @ int @ ( product_fst @ int @ int @ P7 ) @ ( product_snd @ int @ int @ P7 ) ) ) )
          @ ( if @ ( product_prod @ int @ int )
            @ ( ( product_snd @ int @ int @ P7 )
              = ( zero_zero @ int ) )
            @ ( product_Pair @ int @ int @ ( zero_zero @ int ) @ ( one_one @ int ) )
            @ ( product_Pair @ int @ int @ ( divide_divide @ int @ ( product_fst @ int @ int @ P7 ) @ ( uminus_uminus @ int @ ( gcd_gcd @ int @ ( product_fst @ int @ int @ P7 ) @ ( product_snd @ int @ int @ P7 ) ) ) ) @ ( divide_divide @ int @ ( product_snd @ int @ int @ P7 ) @ ( uminus_uminus @ int @ ( gcd_gcd @ int @ ( product_fst @ int @ int @ P7 ) @ ( product_snd @ int @ int @ P7 ) ) ) ) ) ) ) ) ) ).

% normalize_def
thf(fact_3989_mergesort__by__rel__split__length,axiom,
    ! [A: $tType,Xs1: list @ A,Xs22: list @ A,Xs: list @ A] :
      ( ( ( size_size @ ( list @ A ) @ ( product_fst @ ( list @ A ) @ ( list @ A ) @ ( merges295452479951948502_split @ A @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xs1 @ Xs22 ) @ Xs ) ) )
        = ( plus_plus @ nat @ ( plus_plus @ nat @ ( size_size @ ( list @ A ) @ Xs1 ) @ ( divide_divide @ nat @ ( size_size @ ( list @ A ) @ Xs ) @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) ) @ ( modulo_modulo @ nat @ ( size_size @ ( list @ A ) @ Xs ) @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) ) )
      & ( ( size_size @ ( list @ A ) @ ( product_snd @ ( list @ A ) @ ( list @ A ) @ ( merges295452479951948502_split @ A @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xs1 @ Xs22 ) @ Xs ) ) )
        = ( plus_plus @ nat @ ( size_size @ ( list @ A ) @ Xs22 ) @ ( divide_divide @ nat @ ( size_size @ ( list @ A ) @ Xs ) @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) ) ) ) ).

% mergesort_by_rel_split_length
thf(fact_3990_wcount__add__mset,axiom,
    ! [A: $tType,F3: A > nat,X: A,M6: multiset @ A,A3: A] :
      ( ( wcount @ A @ F3 @ ( add_mset @ A @ X @ M6 ) @ A3 )
      = ( plus_plus @ nat @ ( if @ nat @ ( X = A3 ) @ ( suc @ ( F3 @ A3 ) ) @ ( zero_zero @ nat ) ) @ ( wcount @ A @ F3 @ M6 @ A3 ) ) ) ).

% wcount_add_mset
thf(fact_3991_apfst__apsnd,axiom,
    ! [A: $tType,B: $tType,D: $tType,C: $tType,F3: C > A,G3: D > B,X: product_prod @ C @ D] :
      ( ( product_apfst @ C @ A @ B @ F3 @ ( product_apsnd @ D @ B @ C @ G3 @ X ) )
      = ( product_Pair @ A @ B @ ( F3 @ ( product_fst @ C @ D @ X ) ) @ ( G3 @ ( product_snd @ C @ D @ X ) ) ) ) ).

% apfst_apsnd
thf(fact_3992_gcd__add1,axiom,
    ! [A: $tType] :
      ( ( semiring_gcd @ A )
     => ! [M: A,N: A] :
          ( ( gcd_gcd @ A @ ( plus_plus @ A @ M @ N ) @ N )
          = ( gcd_gcd @ A @ M @ N ) ) ) ).

% gcd_add1
thf(fact_3993_gcd__add2,axiom,
    ! [A: $tType] :
      ( ( semiring_gcd @ A )
     => ! [M: A,N: A] :
          ( ( gcd_gcd @ A @ M @ ( plus_plus @ A @ M @ N ) )
          = ( gcd_gcd @ A @ M @ N ) ) ) ).

% gcd_add2
thf(fact_3994_apfst__conv,axiom,
    ! [C: $tType,A: $tType,B: $tType,F3: C > A,X: C,Y: B] :
      ( ( product_apfst @ C @ A @ B @ F3 @ ( product_Pair @ C @ B @ X @ Y ) )
      = ( product_Pair @ A @ B @ ( F3 @ X ) @ Y ) ) ).

% apfst_conv
thf(fact_3995_apfst__eq__conv,axiom,
    ! [A: $tType,B: $tType,C: $tType,F3: C > A,X: product_prod @ C @ B,G3: C > A] :
      ( ( ( product_apfst @ C @ A @ B @ F3 @ X )
        = ( product_apfst @ C @ A @ B @ G3 @ X ) )
      = ( ( F3 @ ( product_fst @ C @ B @ X ) )
        = ( G3 @ ( product_fst @ C @ B @ X ) ) ) ) ).

% apfst_eq_conv
thf(fact_3996_fst__apfst,axiom,
    ! [A: $tType,B: $tType,C: $tType,F3: C > A,X: product_prod @ C @ B] :
      ( ( product_fst @ A @ B @ ( product_apfst @ C @ A @ B @ F3 @ X ) )
      = ( F3 @ ( product_fst @ C @ B @ X ) ) ) ).

% fst_apfst
thf(fact_3997_snd__apfst,axiom,
    ! [B: $tType,A: $tType,C: $tType,F3: C > B,X: product_prod @ C @ A] :
      ( ( product_snd @ B @ A @ ( product_apfst @ C @ B @ A @ F3 @ X ) )
      = ( product_snd @ C @ A @ X ) ) ).

% snd_apfst
thf(fact_3998_gcd__pos__int,axiom,
    ! [M: int,N: int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ ( gcd_gcd @ int @ M @ N ) )
      = ( ( M
         != ( zero_zero @ int ) )
        | ( N
         != ( zero_zero @ int ) ) ) ) ).

% gcd_pos_int
thf(fact_3999_snd__comp__apfst,axiom,
    ! [C: $tType,B: $tType,A: $tType,F3: A > C] :
      ( ( comp @ ( product_prod @ C @ B ) @ B @ ( product_prod @ A @ B ) @ ( product_snd @ C @ B ) @ ( product_apfst @ A @ C @ B @ F3 ) )
      = ( product_snd @ A @ B ) ) ).

% snd_comp_apfst
thf(fact_4000_fst__comp__apfst,axiom,
    ! [C: $tType,B: $tType,A: $tType,F3: A > C] :
      ( ( comp @ ( product_prod @ C @ B ) @ C @ ( product_prod @ A @ B ) @ ( product_fst @ C @ B ) @ ( product_apfst @ A @ C @ B @ F3 ) )
      = ( comp @ A @ C @ ( product_prod @ A @ B ) @ F3 @ ( product_fst @ A @ B ) ) ) ).

% fst_comp_apfst
thf(fact_4001_apsnd__apfst,axiom,
    ! [A: $tType,B: $tType,C: $tType,D: $tType,F3: C > B,G3: D > A,X: product_prod @ D @ C] :
      ( ( product_apsnd @ C @ B @ A @ F3 @ ( product_apfst @ D @ A @ C @ G3 @ X ) )
      = ( product_Pair @ A @ B @ ( G3 @ ( product_fst @ D @ C @ X ) ) @ ( F3 @ ( product_snd @ D @ C @ X ) ) ) ) ).

% apsnd_apfst
thf(fact_4002_apfst__compose,axiom,
    ! [C: $tType,A: $tType,B: $tType,D: $tType,F3: C > A,G3: D > C,X: product_prod @ D @ B] :
      ( ( product_apfst @ C @ A @ B @ F3 @ ( product_apfst @ D @ C @ B @ G3 @ X ) )
      = ( product_apfst @ D @ A @ B @ ( comp @ C @ A @ D @ F3 @ G3 ) @ X ) ) ).

% apfst_compose
thf(fact_4003_mergesort__by__rel__split_Osimps_I3_J,axiom,
    ! [A: $tType,Xs1: list @ A,Xs22: list @ A,X1: A,X2: A,Xs: list @ A] :
      ( ( merges295452479951948502_split @ A @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xs1 @ Xs22 ) @ ( cons @ A @ X1 @ ( cons @ A @ X2 @ Xs ) ) )
      = ( merges295452479951948502_split @ A @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( cons @ A @ X1 @ Xs1 ) @ ( cons @ A @ X2 @ Xs22 ) ) @ Xs ) ) ).

% mergesort_by_rel_split.simps(3)
thf(fact_4004_apsnd__apfst__commute,axiom,
    ! [A: $tType,B: $tType,C: $tType,D: $tType,F3: C > B,G3: D > A,P3: product_prod @ D @ C] :
      ( ( product_apsnd @ C @ B @ A @ F3 @ ( product_apfst @ D @ A @ C @ G3 @ P3 ) )
      = ( product_apfst @ D @ A @ B @ G3 @ ( product_apsnd @ C @ B @ D @ F3 @ P3 ) ) ) ).

% apsnd_apfst_commute
thf(fact_4005_gcd__add__mult,axiom,
    ! [A: $tType] :
      ( ( semiring_gcd @ A )
     => ! [M: A,K2: A,N: A] :
          ( ( gcd_gcd @ A @ M @ ( plus_plus @ A @ ( times_times @ A @ K2 @ M ) @ N ) )
          = ( gcd_gcd @ A @ M @ N ) ) ) ).

% gcd_add_mult
thf(fact_4006_gcd__ge__0__int,axiom,
    ! [X: int,Y: int] : ( ord_less_eq @ int @ ( zero_zero @ int ) @ ( gcd_gcd @ int @ X @ Y ) ) ).

% gcd_ge_0_int
thf(fact_4007_bezout__int,axiom,
    ! [X: int,Y: int] :
    ? [U4: int,V5: int] :
      ( ( plus_plus @ int @ ( times_times @ int @ U4 @ X ) @ ( times_times @ int @ V5 @ Y ) )
      = ( gcd_gcd @ int @ X @ Y ) ) ).

% bezout_int
thf(fact_4008_gcd__le2__int,axiom,
    ! [B2: int,A3: int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ B2 )
     => ( ord_less_eq @ int @ ( gcd_gcd @ int @ A3 @ B2 ) @ B2 ) ) ).

% gcd_le2_int
thf(fact_4009_gcd__le1__int,axiom,
    ! [A3: int,B2: int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ A3 )
     => ( ord_less_eq @ int @ ( gcd_gcd @ int @ A3 @ B2 ) @ A3 ) ) ).

% gcd_le1_int
thf(fact_4010_gcd__cases__int,axiom,
    ! [X: int,Y: int,P2: int > $o] :
      ( ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ X )
       => ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ Y )
         => ( P2 @ ( gcd_gcd @ int @ X @ Y ) ) ) )
     => ( ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ X )
         => ( ( ord_less_eq @ int @ Y @ ( zero_zero @ int ) )
           => ( P2 @ ( gcd_gcd @ int @ X @ ( uminus_uminus @ int @ Y ) ) ) ) )
       => ( ( ( ord_less_eq @ int @ X @ ( zero_zero @ int ) )
           => ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ Y )
             => ( P2 @ ( gcd_gcd @ int @ ( uminus_uminus @ int @ X ) @ Y ) ) ) )
         => ( ( ( ord_less_eq @ int @ X @ ( zero_zero @ int ) )
             => ( ( ord_less_eq @ int @ Y @ ( zero_zero @ int ) )
               => ( P2 @ ( gcd_gcd @ int @ ( uminus_uminus @ int @ X ) @ ( uminus_uminus @ int @ Y ) ) ) ) )
           => ( P2 @ ( gcd_gcd @ int @ X @ Y ) ) ) ) ) ) ).

% gcd_cases_int
thf(fact_4011_gcd__unique__int,axiom,
    ! [D3: int,A3: int,B2: int] :
      ( ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ D3 )
        & ( dvd_dvd @ int @ D3 @ A3 )
        & ( dvd_dvd @ int @ D3 @ B2 )
        & ! [E4: int] :
            ( ( ( dvd_dvd @ int @ E4 @ A3 )
              & ( dvd_dvd @ int @ E4 @ B2 ) )
           => ( dvd_dvd @ int @ E4 @ D3 ) ) )
      = ( D3
        = ( gcd_gcd @ int @ A3 @ B2 ) ) ) ).

% gcd_unique_int
thf(fact_4012_gcd__non__0__int,axiom,
    ! [Y: int,X: int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ Y )
     => ( ( gcd_gcd @ int @ X @ Y )
        = ( gcd_gcd @ int @ Y @ ( modulo_modulo @ int @ X @ Y ) ) ) ) ).

% gcd_non_0_int
thf(fact_4013_wcount__union,axiom,
    ! [A: $tType,F3: A > nat,M6: multiset @ A,N7: multiset @ A,A3: A] :
      ( ( wcount @ A @ F3 @ ( plus_plus @ ( multiset @ A ) @ M6 @ N7 ) @ A3 )
      = ( plus_plus @ nat @ ( wcount @ A @ F3 @ M6 @ A3 ) @ ( wcount @ A @ F3 @ N7 @ A3 ) ) ) ).

% wcount_union
thf(fact_4014_part__code_I2_J,axiom,
    ! [A: $tType,B: $tType] :
      ( ( linorder @ A )
     => ! [F3: B > A,Pivot: A,X: B,Xs: list @ B] :
          ( ( linorder_part @ B @ A @ F3 @ Pivot @ ( cons @ B @ X @ Xs ) )
          = ( product_case_prod @ ( list @ B ) @ ( product_prod @ ( list @ B ) @ ( list @ B ) ) @ ( product_prod @ ( list @ B ) @ ( product_prod @ ( list @ B ) @ ( list @ B ) ) )
            @ ^ [Lts: list @ B] :
                ( product_case_prod @ ( list @ B ) @ ( list @ B ) @ ( product_prod @ ( list @ B ) @ ( product_prod @ ( list @ B ) @ ( list @ B ) ) )
                @ ^ [Eqs: list @ B,Gts: list @ B] : ( if @ ( product_prod @ ( list @ B ) @ ( product_prod @ ( list @ B ) @ ( list @ B ) ) ) @ ( ord_less @ A @ ( F3 @ X ) @ Pivot ) @ ( product_Pair @ ( list @ B ) @ ( product_prod @ ( list @ B ) @ ( list @ B ) ) @ ( cons @ B @ X @ Lts ) @ ( product_Pair @ ( list @ B ) @ ( list @ B ) @ Eqs @ Gts ) ) @ ( if @ ( product_prod @ ( list @ B ) @ ( product_prod @ ( list @ B ) @ ( list @ B ) ) ) @ ( ord_less @ A @ Pivot @ ( F3 @ X ) ) @ ( product_Pair @ ( list @ B ) @ ( product_prod @ ( list @ B ) @ ( list @ B ) ) @ Lts @ ( product_Pair @ ( list @ B ) @ ( list @ B ) @ Eqs @ ( cons @ B @ X @ Gts ) ) ) @ ( product_Pair @ ( list @ B ) @ ( product_prod @ ( list @ B ) @ ( list @ B ) ) @ Lts @ ( product_Pair @ ( list @ B ) @ ( list @ B ) @ ( cons @ B @ X @ Eqs ) @ Gts ) ) ) ) )
            @ ( linorder_part @ B @ A @ F3 @ Pivot @ Xs ) ) ) ) ).

% part_code(2)
thf(fact_4015_apfst__convE,axiom,
    ! [C: $tType,A: $tType,B: $tType,Q6: product_prod @ A @ B,F3: C > A,P3: product_prod @ C @ B] :
      ( ( Q6
        = ( product_apfst @ C @ A @ B @ F3 @ P3 ) )
     => ~ ! [X3: C,Y3: B] :
            ( ( P3
              = ( product_Pair @ C @ B @ X3 @ Y3 ) )
           => ( Q6
             != ( product_Pair @ A @ B @ ( F3 @ X3 ) @ Y3 ) ) ) ) ).

% apfst_convE
thf(fact_4016_mergesort__by__rel_Opinduct,axiom,
    ! [A: $tType,A0: A > A > $o,A1: list @ A,P2: ( A > A > $o ) > ( list @ A ) > $o] :
      ( ( accp @ ( product_prod @ ( A > A > $o ) @ ( list @ A ) ) @ ( mergesort_by_rel_rel @ A ) @ ( product_Pair @ ( A > A > $o ) @ ( list @ A ) @ A0 @ A1 ) )
     => ( ! [R8: A > A > $o,Xs2: list @ A] :
            ( ( accp @ ( product_prod @ ( A > A > $o ) @ ( list @ A ) ) @ ( mergesort_by_rel_rel @ A ) @ ( product_Pair @ ( A > A > $o ) @ ( list @ A ) @ R8 @ Xs2 ) )
           => ( ( ~ ( ord_less @ nat @ ( size_size @ ( list @ A ) @ Xs2 ) @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) )
               => ( P2 @ R8 @ ( product_fst @ ( list @ A ) @ ( list @ A ) @ ( merges295452479951948502_split @ A @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( nil @ A ) @ ( nil @ A ) ) @ Xs2 ) ) ) )
             => ( ( ~ ( ord_less @ nat @ ( size_size @ ( list @ A ) @ Xs2 ) @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) )
                 => ( P2 @ R8 @ ( product_snd @ ( list @ A ) @ ( list @ A ) @ ( merges295452479951948502_split @ A @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( nil @ A ) @ ( nil @ A ) ) @ Xs2 ) ) ) )
               => ( P2 @ R8 @ Xs2 ) ) ) )
       => ( P2 @ A0 @ A1 ) ) ) ).

% mergesort_by_rel.pinduct
thf(fact_4017_gcd__pos__nat,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ ( gcd_gcd @ nat @ M @ N ) )
      = ( ( M
         != ( zero_zero @ nat ) )
        | ( N
         != ( zero_zero @ nat ) ) ) ) ).

% gcd_pos_nat
thf(fact_4018_slice__Nil,axiom,
    ! [A: $tType,Begin: nat,End: nat] :
      ( ( slice @ A @ Begin @ End @ ( nil @ A ) )
      = ( nil @ A ) ) ).

% slice_Nil
thf(fact_4019_slice__eq__bounds__empty,axiom,
    ! [A: $tType,I2: nat,Xs: list @ A] :
      ( ( slice @ A @ I2 @ I2 @ Xs )
      = ( nil @ A ) ) ).

% slice_eq_bounds_empty
thf(fact_4020_length__greater__0__conv,axiom,
    ! [A: $tType,Xs: list @ A] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ ( size_size @ ( list @ A ) @ Xs ) )
      = ( Xs
       != ( nil @ A ) ) ) ).

% length_greater_0_conv
thf(fact_4021_length__ge__1__conv,axiom,
    ! [A: $tType,L: list @ A] :
      ( ( ord_less_eq @ nat @ ( suc @ ( zero_zero @ nat ) ) @ ( size_size @ ( list @ A ) @ L ) )
      = ( L
       != ( nil @ A ) ) ) ).

% length_ge_1_conv
thf(fact_4022_mergesort__by__rel__merge__induct,axiom,
    ! [A: $tType,B: $tType,P2: ( list @ A ) > ( list @ B ) > $o,R4: A > B > $o,Xs: list @ A,Ys3: list @ B] :
      ( ! [Xs2: list @ A] : ( P2 @ Xs2 @ ( nil @ B ) )
     => ( ! [X_1: list @ B] : ( P2 @ ( nil @ A ) @ X_1 )
       => ( ! [X3: A,Xs2: list @ A,Y3: B,Ys5: list @ B] :
              ( ( R4 @ X3 @ Y3 )
             => ( ( P2 @ Xs2 @ ( cons @ B @ Y3 @ Ys5 ) )
               => ( P2 @ ( cons @ A @ X3 @ Xs2 ) @ ( cons @ B @ Y3 @ Ys5 ) ) ) )
         => ( ! [X3: A,Xs2: list @ A,Y3: B,Ys5: list @ B] :
                ( ~ ( R4 @ X3 @ Y3 )
               => ( ( P2 @ ( cons @ A @ X3 @ Xs2 ) @ Ys5 )
                 => ( P2 @ ( cons @ A @ X3 @ Xs2 ) @ ( cons @ B @ Y3 @ Ys5 ) ) ) )
           => ( P2 @ Xs @ Ys3 ) ) ) ) ) ).

% mergesort_by_rel_merge_induct
thf(fact_4023_list__induct__first2,axiom,
    ! [A: $tType,P2: ( list @ A ) > $o,Xs: list @ A] :
      ( ( P2 @ ( nil @ A ) )
     => ( ! [X3: A] : ( P2 @ ( cons @ A @ X3 @ ( nil @ A ) ) )
       => ( ! [X13: A,X22: A,Xs2: list @ A] :
              ( ( P2 @ Xs2 )
             => ( P2 @ ( cons @ A @ X13 @ ( cons @ A @ X22 @ Xs2 ) ) ) )
         => ( P2 @ Xs ) ) ) ) ).

% list_induct_first2
thf(fact_4024_list__2pre__induct,axiom,
    ! [A: $tType,B: $tType,P2: ( list @ A ) > ( list @ B ) > $o,W1: list @ A,W22: list @ B] :
      ( ( P2 @ ( nil @ A ) @ ( nil @ B ) )
     => ( ! [E2: A,W12: list @ A,W23: list @ B] :
            ( ( P2 @ W12 @ W23 )
           => ( P2 @ ( cons @ A @ E2 @ W12 ) @ W23 ) )
       => ( ! [E2: B,W13: list @ A,W24: list @ B] :
              ( ( P2 @ W13 @ W24 )
             => ( P2 @ W13 @ ( cons @ B @ E2 @ W24 ) ) )
         => ( P2 @ W1 @ W22 ) ) ) ) ).

% list_2pre_induct
thf(fact_4025_neq__NilE,axiom,
    ! [A: $tType,L: list @ A] :
      ( ( L
       != ( nil @ A ) )
     => ~ ! [X3: A,Xs2: list @ A] :
            ( L
           != ( cons @ A @ X3 @ Xs2 ) ) ) ).

% neq_NilE
thf(fact_4026_gcd__le2__nat,axiom,
    ! [B2: nat,A3: nat] :
      ( ( B2
       != ( zero_zero @ nat ) )
     => ( ord_less_eq @ nat @ ( gcd_gcd @ nat @ A3 @ B2 ) @ B2 ) ) ).

% gcd_le2_nat
thf(fact_4027_gcd__le1__nat,axiom,
    ! [A3: nat,B2: nat] :
      ( ( A3
       != ( zero_zero @ nat ) )
     => ( ord_less_eq @ nat @ ( gcd_gcd @ nat @ A3 @ B2 ) @ A3 ) ) ).

% gcd_le1_nat
thf(fact_4028_gcd__diff1__nat,axiom,
    ! [N: nat,M: nat] :
      ( ( ord_less_eq @ nat @ N @ M )
     => ( ( gcd_gcd @ nat @ ( minus_minus @ nat @ M @ N ) @ N )
        = ( gcd_gcd @ nat @ M @ N ) ) ) ).

% gcd_diff1_nat
thf(fact_4029_gcd__diff2__nat,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ M @ N )
     => ( ( gcd_gcd @ nat @ ( minus_minus @ nat @ N @ M ) @ N )
        = ( gcd_gcd @ nat @ M @ N ) ) ) ).

% gcd_diff2_nat
thf(fact_4030_len__greater__imp__nonempty,axiom,
    ! [A: $tType,X: nat,L: list @ A] :
      ( ( ord_less @ nat @ X @ ( size_size @ ( list @ A ) @ L ) )
     => ( L
       != ( nil @ A ) ) ) ).

% len_greater_imp_nonempty
thf(fact_4031_mergesort__by__rel__split_Ocases,axiom,
    ! [A: $tType,X: product_prod @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( list @ A )] :
      ( ! [Xs12: list @ A,Xs23: list @ A] :
          ( X
         != ( product_Pair @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( list @ A ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xs12 @ Xs23 ) @ ( nil @ A ) ) )
     => ( ! [Xs12: list @ A,Xs23: list @ A,X3: A] :
            ( X
           != ( product_Pair @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( list @ A ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xs12 @ Xs23 ) @ ( cons @ A @ X3 @ ( nil @ A ) ) ) )
       => ~ ! [Xs12: list @ A,Xs23: list @ A,X13: A,X22: A,Xs2: list @ A] :
              ( X
             != ( product_Pair @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( list @ A ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xs12 @ Xs23 ) @ ( cons @ A @ X13 @ ( cons @ A @ X22 @ Xs2 ) ) ) ) ) ) ).

% mergesort_by_rel_split.cases
thf(fact_4032_mergesort__by__rel__merge_Ocases,axiom,
    ! [A: $tType,X: product_prod @ ( A > A > $o ) @ ( product_prod @ ( list @ A ) @ ( list @ A ) )] :
      ( ! [R8: A > A > $o,X3: A,Xs2: list @ A,Y3: A,Ys5: list @ A] :
          ( X
         != ( product_Pair @ ( A > A > $o ) @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ R8 @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( cons @ A @ X3 @ Xs2 ) @ ( cons @ A @ Y3 @ Ys5 ) ) ) )
     => ( ! [R8: A > A > $o,Xs2: list @ A] :
            ( X
           != ( product_Pair @ ( A > A > $o ) @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ R8 @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xs2 @ ( nil @ A ) ) ) )
       => ~ ! [R8: A > A > $o,V5: A,Va: list @ A] :
              ( X
             != ( product_Pair @ ( A > A > $o ) @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ R8 @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( nil @ A ) @ ( cons @ A @ V5 @ Va ) ) ) ) ) ) ).

% mergesort_by_rel_merge.cases
thf(fact_4033_quicksort__by__rel_Ocases,axiom,
    ! [A: $tType,X: product_prod @ ( A > A > $o ) @ ( product_prod @ ( list @ A ) @ ( list @ A ) )] :
      ( ! [R8: A > A > $o,Sl: list @ A] :
          ( X
         != ( product_Pair @ ( A > A > $o ) @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ R8 @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Sl @ ( nil @ A ) ) ) )
     => ~ ! [R8: A > A > $o,Sl: list @ A,X3: A,Xs2: list @ A] :
            ( X
           != ( product_Pair @ ( A > A > $o ) @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ R8 @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Sl @ ( cons @ A @ X3 @ Xs2 ) ) ) ) ) ).

% quicksort_by_rel.cases
thf(fact_4034_partition__rev_Ocases,axiom,
    ! [A: $tType,X: product_prod @ ( A > $o ) @ ( product_prod @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( list @ A ) )] :
      ( ! [P: A > $o,Yes: list @ A,No: list @ A] :
          ( X
         != ( product_Pair @ ( A > $o ) @ ( product_prod @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( list @ A ) ) @ P @ ( product_Pair @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( list @ A ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Yes @ No ) @ ( nil @ A ) ) ) )
     => ~ ! [P: A > $o,Yes: list @ A,No: list @ A,X3: A,Xs2: list @ A] :
            ( X
           != ( product_Pair @ ( A > $o ) @ ( product_prod @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( list @ A ) ) @ P @ ( product_Pair @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( list @ A ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Yes @ No ) @ ( cons @ A @ X3 @ Xs2 ) ) ) ) ) ).

% partition_rev.cases
thf(fact_4035_list__all__zip_Ocases,axiom,
    ! [A: $tType,B: $tType,X: product_prod @ ( A > B > $o ) @ ( product_prod @ ( list @ A ) @ ( list @ B ) )] :
      ( ! [P: A > B > $o] :
          ( X
         != ( product_Pair @ ( A > B > $o ) @ ( product_prod @ ( list @ A ) @ ( list @ B ) ) @ P @ ( product_Pair @ ( list @ A ) @ ( list @ B ) @ ( nil @ A ) @ ( nil @ B ) ) ) )
     => ( ! [P: A > B > $o,A5: A,As2: list @ A,B4: B,Bs2: list @ B] :
            ( X
           != ( product_Pair @ ( A > B > $o ) @ ( product_prod @ ( list @ A ) @ ( list @ B ) ) @ P @ ( product_Pair @ ( list @ A ) @ ( list @ B ) @ ( cons @ A @ A5 @ As2 ) @ ( cons @ B @ B4 @ Bs2 ) ) ) )
       => ( ! [P: A > B > $o,V5: A,Va: list @ A] :
              ( X
             != ( product_Pair @ ( A > B > $o ) @ ( product_prod @ ( list @ A ) @ ( list @ B ) ) @ P @ ( product_Pair @ ( list @ A ) @ ( list @ B ) @ ( cons @ A @ V5 @ Va ) @ ( nil @ B ) ) ) )
         => ~ ! [P: A > B > $o,V5: B,Va: list @ B] :
                ( X
               != ( product_Pair @ ( A > B > $o ) @ ( product_prod @ ( list @ A ) @ ( list @ B ) ) @ P @ ( product_Pair @ ( list @ A ) @ ( list @ B ) @ ( nil @ A ) @ ( cons @ B @ V5 @ Va ) ) ) ) ) ) ) ).

% list_all_zip.cases
thf(fact_4036_merge_Ocases,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [X: product_prod @ ( list @ A ) @ ( list @ A )] :
          ( ! [L22: list @ A] :
              ( X
             != ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( nil @ A ) @ L22 ) )
         => ( ! [V5: A,Va: list @ A] :
                ( X
               != ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( cons @ A @ V5 @ Va ) @ ( nil @ A ) ) )
           => ~ ! [X13: A,L1: list @ A,X22: A,L22: list @ A] :
                  ( X
                 != ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( cons @ A @ X13 @ L1 ) @ ( cons @ A @ X22 @ L22 ) ) ) ) ) ) ).

% merge.cases
thf(fact_4037_zipf_Ocases,axiom,
    ! [C: $tType,A: $tType,B: $tType,X: product_prod @ ( A > B > C ) @ ( product_prod @ ( list @ A ) @ ( list @ B ) )] :
      ( ! [F: A > B > C] :
          ( X
         != ( product_Pair @ ( A > B > C ) @ ( product_prod @ ( list @ A ) @ ( list @ B ) ) @ F @ ( product_Pair @ ( list @ A ) @ ( list @ B ) @ ( nil @ A ) @ ( nil @ B ) ) ) )
     => ( ! [F: A > B > C,A5: A,As2: list @ A,B4: B,Bs2: list @ B] :
            ( X
           != ( product_Pair @ ( A > B > C ) @ ( product_prod @ ( list @ A ) @ ( list @ B ) ) @ F @ ( product_Pair @ ( list @ A ) @ ( list @ B ) @ ( cons @ A @ A5 @ As2 ) @ ( cons @ B @ B4 @ Bs2 ) ) ) )
       => ( ! [A5: A > B > C,V5: A,Va: list @ A] :
              ( X
             != ( product_Pair @ ( A > B > C ) @ ( product_prod @ ( list @ A ) @ ( list @ B ) ) @ A5 @ ( product_Pair @ ( list @ A ) @ ( list @ B ) @ ( cons @ A @ V5 @ Va ) @ ( nil @ B ) ) ) )
         => ~ ! [A5: A > B > C,V5: B,Va: list @ B] :
                ( X
               != ( product_Pair @ ( A > B > C ) @ ( product_prod @ ( list @ A ) @ ( list @ B ) ) @ A5 @ ( product_Pair @ ( list @ A ) @ ( list @ B ) @ ( nil @ A ) @ ( cons @ B @ V5 @ Va ) ) ) ) ) ) ) ).

% zipf.cases
thf(fact_4038_sorted0,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( nil @ A ) ) ) ).

% sorted0
thf(fact_4039_strict__sorted__simps_I1_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ( sorted_wrt @ A @ ( ord_less @ A ) @ ( nil @ A ) ) ) ).

% strict_sorted_simps(1)
thf(fact_4040_mergesort__by__rel__split_Osimps_I1_J,axiom,
    ! [A: $tType,Xs1: list @ A,Xs22: list @ A] :
      ( ( merges295452479951948502_split @ A @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xs1 @ Xs22 ) @ ( nil @ A ) )
      = ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xs1 @ Xs22 ) ) ).

% mergesort_by_rel_split.simps(1)
thf(fact_4041_bezout__nat,axiom,
    ! [A3: nat,B2: nat] :
      ( ( A3
       != ( zero_zero @ nat ) )
     => ? [X3: nat,Y3: nat] :
          ( ( times_times @ nat @ A3 @ X3 )
          = ( plus_plus @ nat @ ( times_times @ nat @ B2 @ Y3 ) @ ( gcd_gcd @ nat @ A3 @ B2 ) ) ) ) ).

% bezout_nat
thf(fact_4042_bezout__gcd__nat_H,axiom,
    ! [B2: nat,A3: nat] :
    ? [X3: nat,Y3: nat] :
      ( ( ( ord_less_eq @ nat @ ( times_times @ nat @ B2 @ Y3 ) @ ( times_times @ nat @ A3 @ X3 ) )
        & ( ( minus_minus @ nat @ ( times_times @ nat @ A3 @ X3 ) @ ( times_times @ nat @ B2 @ Y3 ) )
          = ( gcd_gcd @ nat @ A3 @ B2 ) ) )
      | ( ( ord_less_eq @ nat @ ( times_times @ nat @ A3 @ Y3 ) @ ( times_times @ nat @ B2 @ X3 ) )
        & ( ( minus_minus @ nat @ ( times_times @ nat @ B2 @ X3 ) @ ( times_times @ nat @ A3 @ Y3 ) )
          = ( gcd_gcd @ nat @ A3 @ B2 ) ) ) ) ).

% bezout_gcd_nat'
thf(fact_4043_length__compl__induct,axiom,
    ! [A: $tType,P2: ( list @ A ) > $o,L: list @ A] :
      ( ( P2 @ ( nil @ A ) )
     => ( ! [E2: A,L3: list @ A] :
            ( ! [Ll: list @ A] :
                ( ( ord_less_eq @ nat @ ( size_size @ ( list @ A ) @ Ll ) @ ( size_size @ ( list @ A ) @ L3 ) )
               => ( P2 @ Ll ) )
           => ( P2 @ ( cons @ A @ E2 @ L3 ) ) )
       => ( P2 @ L ) ) ) ).

% length_compl_induct
thf(fact_4044_sorted1,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [X: A] : ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( cons @ A @ X @ ( nil @ A ) ) ) ) ).

% sorted1
thf(fact_4045_list__decomp__1,axiom,
    ! [A: $tType,L: list @ A] :
      ( ( ( size_size @ ( list @ A ) @ L )
        = ( one_one @ nat ) )
     => ? [A5: A] :
          ( L
          = ( cons @ A @ A5 @ ( nil @ A ) ) ) ) ).

% list_decomp_1
thf(fact_4046_mergesort__by__rel__split_Osimps_I2_J,axiom,
    ! [A: $tType,Xs1: list @ A,Xs22: list @ A,X: A] :
      ( ( merges295452479951948502_split @ A @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xs1 @ Xs22 ) @ ( cons @ A @ X @ ( nil @ A ) ) )
      = ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( cons @ A @ X @ Xs1 ) @ Xs22 ) ) ).

% mergesort_by_rel_split.simps(2)
thf(fact_4047_mergesort__by__rel__split_Oelims,axiom,
    ! [A: $tType,X: product_prod @ ( list @ A ) @ ( list @ A ),Xa: list @ A,Y: product_prod @ ( list @ A ) @ ( list @ A )] :
      ( ( ( merges295452479951948502_split @ A @ X @ Xa )
        = Y )
     => ( ! [Xs12: list @ A,Xs23: list @ A] :
            ( ( X
              = ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xs12 @ Xs23 ) )
           => ( ( Xa
                = ( nil @ A ) )
             => ( Y
               != ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xs12 @ Xs23 ) ) ) )
       => ( ! [Xs12: list @ A,Xs23: list @ A] :
              ( ( X
                = ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xs12 @ Xs23 ) )
             => ! [X3: A] :
                  ( ( Xa
                    = ( cons @ A @ X3 @ ( nil @ A ) ) )
                 => ( Y
                   != ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( cons @ A @ X3 @ Xs12 ) @ Xs23 ) ) ) )
         => ~ ! [Xs12: list @ A,Xs23: list @ A] :
                ( ( X
                  = ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xs12 @ Xs23 ) )
               => ! [X13: A,X22: A,Xs2: list @ A] :
                    ( ( Xa
                      = ( cons @ A @ X13 @ ( cons @ A @ X22 @ Xs2 ) ) )
                   => ( Y
                     != ( merges295452479951948502_split @ A @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( cons @ A @ X13 @ Xs12 ) @ ( cons @ A @ X22 @ Xs23 ) ) @ Xs2 ) ) ) ) ) ) ) ).

% mergesort_by_rel_split.elims
thf(fact_4048_gcd__nat_Osemilattice__neutr__order__axioms,axiom,
    ( semila1105856199041335345_order @ nat @ ( gcd_gcd @ nat ) @ ( zero_zero @ nat ) @ ( dvd_dvd @ nat )
    @ ^ [M3: nat,N3: nat] :
        ( ( dvd_dvd @ nat @ M3 @ N3 )
        & ( M3 != N3 ) ) ) ).

% gcd_nat.semilattice_neutr_order_axioms
thf(fact_4049_list__decomp__2,axiom,
    ! [A: $tType,L: list @ A] :
      ( ( ( size_size @ ( list @ A ) @ L )
        = ( numeral_numeral @ nat @ ( bit0 @ one ) ) )
     => ? [A5: A,B4: A] :
          ( L
          = ( cons @ A @ A5 @ ( cons @ A @ B4 @ ( nil @ A ) ) ) ) ) ).

% list_decomp_2
thf(fact_4050_bezw__aux,axiom,
    ! [X: nat,Y: nat] :
      ( ( semiring_1_of_nat @ int @ ( gcd_gcd @ nat @ X @ Y ) )
      = ( plus_plus @ int @ ( times_times @ int @ ( product_fst @ int @ int @ ( bezw @ X @ Y ) ) @ ( semiring_1_of_nat @ int @ X ) ) @ ( times_times @ int @ ( product_snd @ int @ int @ ( bezw @ X @ Y ) ) @ ( semiring_1_of_nat @ int @ Y ) ) ) ) ).

% bezw_aux
thf(fact_4051_mergesort__by__rel__split_Opelims,axiom,
    ! [A: $tType,X: product_prod @ ( list @ A ) @ ( list @ A ),Xa: list @ A,Y: product_prod @ ( list @ A ) @ ( list @ A )] :
      ( ( ( merges295452479951948502_split @ A @ X @ Xa )
        = Y )
     => ( ( accp @ ( product_prod @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( list @ A ) ) @ ( merges7066485432131860899it_rel @ A ) @ ( product_Pair @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( list @ A ) @ X @ Xa ) )
       => ( ! [Xs12: list @ A,Xs23: list @ A] :
              ( ( X
                = ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xs12 @ Xs23 ) )
             => ( ( Xa
                  = ( nil @ A ) )
               => ( ( Y
                    = ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xs12 @ Xs23 ) )
                 => ~ ( accp @ ( product_prod @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( list @ A ) ) @ ( merges7066485432131860899it_rel @ A ) @ ( product_Pair @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( list @ A ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xs12 @ Xs23 ) @ ( nil @ A ) ) ) ) ) )
         => ( ! [Xs12: list @ A,Xs23: list @ A] :
                ( ( X
                  = ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xs12 @ Xs23 ) )
               => ! [X3: A] :
                    ( ( Xa
                      = ( cons @ A @ X3 @ ( nil @ A ) ) )
                   => ( ( Y
                        = ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( cons @ A @ X3 @ Xs12 ) @ Xs23 ) )
                     => ~ ( accp @ ( product_prod @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( list @ A ) ) @ ( merges7066485432131860899it_rel @ A ) @ ( product_Pair @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( list @ A ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xs12 @ Xs23 ) @ ( cons @ A @ X3 @ ( nil @ A ) ) ) ) ) ) )
           => ~ ! [Xs12: list @ A,Xs23: list @ A] :
                  ( ( X
                    = ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xs12 @ Xs23 ) )
                 => ! [X13: A,X22: A,Xs2: list @ A] :
                      ( ( Xa
                        = ( cons @ A @ X13 @ ( cons @ A @ X22 @ Xs2 ) ) )
                     => ( ( Y
                          = ( merges295452479951948502_split @ A @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( cons @ A @ X13 @ Xs12 ) @ ( cons @ A @ X22 @ Xs23 ) ) @ Xs2 ) )
                       => ~ ( accp @ ( product_prod @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( list @ A ) ) @ ( merges7066485432131860899it_rel @ A ) @ ( product_Pair @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( list @ A ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xs12 @ Xs23 ) @ ( cons @ A @ X13 @ ( cons @ A @ X22 @ Xs2 ) ) ) ) ) ) ) ) ) ) ) ).

% mergesort_by_rel_split.pelims
thf(fact_4052_mergesort__by__rel_Opsimps,axiom,
    ! [A: $tType,R4: A > A > $o,Xs: list @ A] :
      ( ( accp @ ( product_prod @ ( A > A > $o ) @ ( list @ A ) ) @ ( mergesort_by_rel_rel @ A ) @ ( product_Pair @ ( A > A > $o ) @ ( list @ A ) @ R4 @ Xs ) )
     => ( ( ( ord_less @ nat @ ( size_size @ ( list @ A ) @ Xs ) @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) )
         => ( ( mergesort_by_rel @ A @ R4 @ Xs )
            = Xs ) )
        & ( ~ ( ord_less @ nat @ ( size_size @ ( list @ A ) @ Xs ) @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) )
         => ( ( mergesort_by_rel @ A @ R4 @ Xs )
            = ( merges9089515139780605204_merge @ A @ R4 @ ( mergesort_by_rel @ A @ R4 @ ( product_fst @ ( list @ A ) @ ( list @ A ) @ ( merges295452479951948502_split @ A @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( nil @ A ) @ ( nil @ A ) ) @ Xs ) ) ) @ ( mergesort_by_rel @ A @ R4 @ ( product_snd @ ( list @ A ) @ ( list @ A ) @ ( merges295452479951948502_split @ A @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( nil @ A ) @ ( nil @ A ) ) @ Xs ) ) ) ) ) ) ) ) ).

% mergesort_by_rel.psimps
thf(fact_4053_mergesort__by__rel_Opelims,axiom,
    ! [A: $tType,X: A > A > $o,Xa: list @ A,Y: list @ A] :
      ( ( ( mergesort_by_rel @ A @ X @ Xa )
        = Y )
     => ( ( accp @ ( product_prod @ ( A > A > $o ) @ ( list @ A ) ) @ ( mergesort_by_rel_rel @ A ) @ ( product_Pair @ ( A > A > $o ) @ ( list @ A ) @ X @ Xa ) )
       => ~ ( ( ( ( ord_less @ nat @ ( size_size @ ( list @ A ) @ Xa ) @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) )
               => ( Y = Xa ) )
              & ( ~ ( ord_less @ nat @ ( size_size @ ( list @ A ) @ Xa ) @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) )
               => ( Y
                  = ( merges9089515139780605204_merge @ A @ X @ ( mergesort_by_rel @ A @ X @ ( product_fst @ ( list @ A ) @ ( list @ A ) @ ( merges295452479951948502_split @ A @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( nil @ A ) @ ( nil @ A ) ) @ Xa ) ) ) @ ( mergesort_by_rel @ A @ X @ ( product_snd @ ( list @ A ) @ ( list @ A ) @ ( merges295452479951948502_split @ A @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( nil @ A ) @ ( nil @ A ) ) @ Xa ) ) ) ) ) ) )
           => ~ ( accp @ ( product_prod @ ( A > A > $o ) @ ( list @ A ) ) @ ( mergesort_by_rel_rel @ A ) @ ( product_Pair @ ( A > A > $o ) @ ( list @ A ) @ X @ Xa ) ) ) ) ) ).

% mergesort_by_rel.pelims
thf(fact_4054_upto_Opsimps,axiom,
    ! [I2: int,J2: int] :
      ( ( accp @ ( product_prod @ int @ int ) @ upto_rel @ ( product_Pair @ int @ int @ I2 @ J2 ) )
     => ( ( ( ord_less_eq @ int @ I2 @ J2 )
         => ( ( upto @ I2 @ J2 )
            = ( cons @ int @ I2 @ ( upto @ ( plus_plus @ int @ I2 @ ( one_one @ int ) ) @ J2 ) ) ) )
        & ( ~ ( ord_less_eq @ int @ I2 @ J2 )
         => ( ( upto @ I2 @ J2 )
            = ( nil @ int ) ) ) ) ) ).

% upto.psimps
thf(fact_4055_mergesort__by__rel__simps_I1_J,axiom,
    ! [A: $tType,R4: A > A > $o] :
      ( ( mergesort_by_rel @ A @ R4 @ ( nil @ A ) )
      = ( nil @ A ) ) ).

% mergesort_by_rel_simps(1)
thf(fact_4056_set__mergesort__by__rel,axiom,
    ! [A: $tType,R4: A > A > $o,Xs: list @ A] :
      ( ( set2 @ A @ ( mergesort_by_rel @ A @ R4 @ Xs ) )
      = ( set2 @ A @ Xs ) ) ).

% set_mergesort_by_rel
thf(fact_4057_mergesort__by__rel__merge__simps_I3_J,axiom,
    ! [A: $tType,R4: A > A > $o,Ys3: list @ A] :
      ( ( merges9089515139780605204_merge @ A @ R4 @ ( nil @ A ) @ Ys3 )
      = Ys3 ) ).

% mergesort_by_rel_merge_simps(3)
thf(fact_4058_sorted__wrt__mergesort__by__rel__merge,axiom,
    ! [A: $tType,R4: A > A > $o,Xs: list @ A,Ys3: list @ A] :
      ( ! [X3: A,Y3: A] :
          ( ( R4 @ X3 @ Y3 )
          | ( R4 @ Y3 @ X3 ) )
     => ( ! [X3: A,Y3: A,Z3: A] :
            ( ( R4 @ X3 @ Y3 )
           => ( ( R4 @ Y3 @ Z3 )
             => ( R4 @ X3 @ Z3 ) ) )
       => ( ( sorted_wrt @ A @ R4 @ ( merges9089515139780605204_merge @ A @ R4 @ Xs @ Ys3 ) )
          = ( ( sorted_wrt @ A @ R4 @ Xs )
            & ( sorted_wrt @ A @ R4 @ Ys3 ) ) ) ) ) ).

% sorted_wrt_mergesort_by_rel_merge
thf(fact_4059_mergesort__by__rel__simps_I2_J,axiom,
    ! [A: $tType,R4: A > A > $o,X: A] :
      ( ( mergesort_by_rel @ A @ R4 @ ( cons @ A @ X @ ( nil @ A ) ) )
      = ( cons @ A @ X @ ( nil @ A ) ) ) ).

% mergesort_by_rel_simps(2)
thf(fact_4060_set__mergesort__by__rel__merge,axiom,
    ! [A: $tType,R4: A > A > $o,Xs: list @ A,Ys3: list @ A] :
      ( ( set2 @ A @ ( merges9089515139780605204_merge @ A @ R4 @ Xs @ Ys3 ) )
      = ( sup_sup @ ( set @ A ) @ ( set2 @ A @ Xs ) @ ( set2 @ A @ Ys3 ) ) ) ).

% set_mergesort_by_rel_merge
thf(fact_4061_upto__Nil,axiom,
    ! [I2: int,J2: int] :
      ( ( ( upto @ I2 @ J2 )
        = ( nil @ int ) )
      = ( ord_less @ int @ J2 @ I2 ) ) ).

% upto_Nil
thf(fact_4062_upto__Nil2,axiom,
    ! [I2: int,J2: int] :
      ( ( ( nil @ int )
        = ( upto @ I2 @ J2 ) )
      = ( ord_less @ int @ J2 @ I2 ) ) ).

% upto_Nil2
thf(fact_4063_upto__empty,axiom,
    ! [J2: int,I2: int] :
      ( ( ord_less @ int @ J2 @ I2 )
     => ( ( upto @ I2 @ J2 )
        = ( nil @ int ) ) ) ).

% upto_empty
thf(fact_4064_nth__upto,axiom,
    ! [I2: int,K2: nat,J2: int] :
      ( ( ord_less_eq @ int @ ( plus_plus @ int @ I2 @ ( semiring_1_of_nat @ int @ K2 ) ) @ J2 )
     => ( ( nth @ int @ ( upto @ I2 @ J2 ) @ K2 )
        = ( plus_plus @ int @ I2 @ ( semiring_1_of_nat @ int @ K2 ) ) ) ) ).

% nth_upto
thf(fact_4065_length__upto,axiom,
    ! [I2: int,J2: int] :
      ( ( size_size @ ( list @ int ) @ ( upto @ I2 @ J2 ) )
      = ( nat2 @ ( plus_plus @ int @ ( minus_minus @ int @ J2 @ I2 ) @ ( one_one @ int ) ) ) ) ).

% length_upto
thf(fact_4066_mergesort__by__rel__simps_I3_J,axiom,
    ! [A: $tType,R4: A > A > $o,X1: A,X2: A,Xs: list @ A] :
      ( ( mergesort_by_rel @ A @ R4 @ ( cons @ A @ X1 @ ( cons @ A @ X2 @ Xs ) ) )
      = ( product_case_prod @ ( list @ A ) @ ( list @ A ) @ ( list @ A )
        @ ^ [Xs13: list @ A,Xs24: list @ A] : ( merges9089515139780605204_merge @ A @ R4 @ ( mergesort_by_rel @ A @ R4 @ Xs13 ) @ ( mergesort_by_rel @ A @ R4 @ Xs24 ) )
        @ ( merges295452479951948502_split @ A @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( cons @ A @ X1 @ ( nil @ A ) ) @ ( cons @ A @ X2 @ ( nil @ A ) ) ) @ Xs ) ) ) ).

% mergesort_by_rel_simps(3)
thf(fact_4067_upto__rec__numeral_I1_J,axiom,
    ! [M: num,N: num] :
      ( ( ( ord_less_eq @ int @ ( numeral_numeral @ int @ M ) @ ( numeral_numeral @ int @ N ) )
       => ( ( upto @ ( numeral_numeral @ int @ M ) @ ( numeral_numeral @ int @ N ) )
          = ( cons @ int @ ( numeral_numeral @ int @ M ) @ ( upto @ ( plus_plus @ int @ ( numeral_numeral @ int @ M ) @ ( one_one @ int ) ) @ ( numeral_numeral @ int @ N ) ) ) ) )
      & ( ~ ( ord_less_eq @ int @ ( numeral_numeral @ int @ M ) @ ( numeral_numeral @ int @ N ) )
       => ( ( upto @ ( numeral_numeral @ int @ M ) @ ( numeral_numeral @ int @ N ) )
          = ( nil @ int ) ) ) ) ).

% upto_rec_numeral(1)
thf(fact_4068_upto__rec__numeral_I4_J,axiom,
    ! [M: num,N: num] :
      ( ( ( ord_less_eq @ int @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ M ) ) @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ N ) ) )
       => ( ( upto @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ M ) ) @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ N ) ) )
          = ( cons @ int @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ M ) ) @ ( upto @ ( plus_plus @ int @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ M ) ) @ ( one_one @ int ) ) @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ N ) ) ) ) ) )
      & ( ~ ( ord_less_eq @ int @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ M ) ) @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ N ) ) )
       => ( ( upto @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ M ) ) @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ N ) ) )
          = ( nil @ int ) ) ) ) ).

% upto_rec_numeral(4)
thf(fact_4069_upto__rec__numeral_I3_J,axiom,
    ! [M: num,N: num] :
      ( ( ( ord_less_eq @ int @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ M ) ) @ ( numeral_numeral @ int @ N ) )
       => ( ( upto @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ M ) ) @ ( numeral_numeral @ int @ N ) )
          = ( cons @ int @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ M ) ) @ ( upto @ ( plus_plus @ int @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ M ) ) @ ( one_one @ int ) ) @ ( numeral_numeral @ int @ N ) ) ) ) )
      & ( ~ ( ord_less_eq @ int @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ M ) ) @ ( numeral_numeral @ int @ N ) )
       => ( ( upto @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ M ) ) @ ( numeral_numeral @ int @ N ) )
          = ( nil @ int ) ) ) ) ).

% upto_rec_numeral(3)
thf(fact_4070_upto__rec__numeral_I2_J,axiom,
    ! [M: num,N: num] :
      ( ( ( ord_less_eq @ int @ ( numeral_numeral @ int @ M ) @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ N ) ) )
       => ( ( upto @ ( numeral_numeral @ int @ M ) @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ N ) ) )
          = ( cons @ int @ ( numeral_numeral @ int @ M ) @ ( upto @ ( plus_plus @ int @ ( numeral_numeral @ int @ M ) @ ( one_one @ int ) ) @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ N ) ) ) ) ) )
      & ( ~ ( ord_less_eq @ int @ ( numeral_numeral @ int @ M ) @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ N ) ) )
       => ( ( upto @ ( numeral_numeral @ int @ M ) @ ( uminus_uminus @ int @ ( numeral_numeral @ int @ N ) ) )
          = ( nil @ int ) ) ) ) ).

% upto_rec_numeral(2)
thf(fact_4071_sorted__wrt__upto,axiom,
    ! [I2: int,J2: int] : ( sorted_wrt @ int @ ( ord_less @ int ) @ ( upto @ I2 @ J2 ) ) ).

% sorted_wrt_upto
thf(fact_4072_sorted__upto,axiom,
    ! [M: int,N: int] : ( sorted_wrt @ int @ ( ord_less_eq @ int ) @ ( upto @ M @ N ) ) ).

% sorted_upto
thf(fact_4073_mergesort__by__rel__merge__simps_I1_J,axiom,
    ! [A: $tType,R4: A > A > $o,X: A,Y: A,Xs: list @ A,Ys3: list @ A] :
      ( ( ( R4 @ X @ Y )
       => ( ( merges9089515139780605204_merge @ A @ R4 @ ( cons @ A @ X @ Xs ) @ ( cons @ A @ Y @ Ys3 ) )
          = ( cons @ A @ X @ ( merges9089515139780605204_merge @ A @ R4 @ Xs @ ( cons @ A @ Y @ Ys3 ) ) ) ) )
      & ( ~ ( R4 @ X @ Y )
       => ( ( merges9089515139780605204_merge @ A @ R4 @ ( cons @ A @ X @ Xs ) @ ( cons @ A @ Y @ Ys3 ) )
          = ( cons @ A @ Y @ ( merges9089515139780605204_merge @ A @ R4 @ ( cons @ A @ X @ Xs ) @ Ys3 ) ) ) ) ) ).

% mergesort_by_rel_merge_simps(1)
thf(fact_4074_mergesort__by__rel__merge__simps_I2_J,axiom,
    ! [A: $tType,R4: A > A > $o,Xs: list @ A] :
      ( ( merges9089515139780605204_merge @ A @ R4 @ Xs @ ( nil @ A ) )
      = Xs ) ).

% mergesort_by_rel_merge_simps(2)
thf(fact_4075_sorted__wrt__mergesort__by__rel,axiom,
    ! [X14: $tType,R4: X14 > X14 > $o,Xs: list @ X14] :
      ( ! [X3: X14,Y3: X14] :
          ( ( R4 @ X3 @ Y3 )
          | ( R4 @ Y3 @ X3 ) )
     => ( ! [X3: X14,Y3: X14,Z3: X14] :
            ( ( R4 @ X3 @ Y3 )
           => ( ( R4 @ Y3 @ Z3 )
             => ( R4 @ X3 @ Z3 ) ) )
       => ( sorted_wrt @ X14 @ R4 @ ( mergesort_by_rel @ X14 @ R4 @ Xs ) ) ) ) ).

% sorted_wrt_mergesort_by_rel
thf(fact_4076_sorted__mergesort__by__rel,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Xs: list @ A] : ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( mergesort_by_rel @ A @ ( ord_less_eq @ A ) @ Xs ) ) ) ).

% sorted_mergesort_by_rel
thf(fact_4077_mergesort__by__rel__merge_Osimps_I3_J,axiom,
    ! [A: $tType,R4: A > A > $o,V2: A,Va2: list @ A] :
      ( ( merges9089515139780605204_merge @ A @ R4 @ ( nil @ A ) @ ( cons @ A @ V2 @ Va2 ) )
      = ( cons @ A @ V2 @ Va2 ) ) ).

% mergesort_by_rel_merge.simps(3)
thf(fact_4078_mergesort__by__rel__merge_Oelims,axiom,
    ! [A: $tType,X: A > A > $o,Xa: list @ A,Xb: list @ A,Y: list @ A] :
      ( ( ( merges9089515139780605204_merge @ A @ X @ Xa @ Xb )
        = Y )
     => ( ! [X3: A,Xs2: list @ A] :
            ( ( Xa
              = ( cons @ A @ X3 @ Xs2 ) )
           => ! [Y3: A,Ys5: list @ A] :
                ( ( Xb
                  = ( cons @ A @ Y3 @ Ys5 ) )
               => ~ ( ( ( X @ X3 @ Y3 )
                     => ( Y
                        = ( cons @ A @ X3 @ ( merges9089515139780605204_merge @ A @ X @ Xs2 @ ( cons @ A @ Y3 @ Ys5 ) ) ) ) )
                    & ( ~ ( X @ X3 @ Y3 )
                     => ( Y
                        = ( cons @ A @ Y3 @ ( merges9089515139780605204_merge @ A @ X @ ( cons @ A @ X3 @ Xs2 ) @ Ys5 ) ) ) ) ) ) )
       => ( ( ( Xb
              = ( nil @ A ) )
           => ( Y != Xa ) )
         => ~ ( ( Xa
                = ( nil @ A ) )
             => ! [V5: A,Va: list @ A] :
                  ( ( Xb
                    = ( cons @ A @ V5 @ Va ) )
                 => ( Y
                   != ( cons @ A @ V5 @ Va ) ) ) ) ) ) ) ).

% mergesort_by_rel_merge.elims
thf(fact_4079_greaterThanAtMost__upto,axiom,
    ( ( set_or3652927894154168847AtMost @ int )
    = ( ^ [I: int,J: int] : ( set2 @ int @ ( upto @ ( plus_plus @ int @ I @ ( one_one @ int ) ) @ J ) ) ) ) ).

% greaterThanAtMost_upto
thf(fact_4080_upto__rec1,axiom,
    ! [I2: int,J2: int] :
      ( ( ord_less_eq @ int @ I2 @ J2 )
     => ( ( upto @ I2 @ J2 )
        = ( cons @ int @ I2 @ ( upto @ ( plus_plus @ int @ I2 @ ( one_one @ int ) ) @ J2 ) ) ) ) ).

% upto_rec1
thf(fact_4081_upto_Oelims,axiom,
    ! [X: int,Xa: int,Y: list @ int] :
      ( ( ( upto @ X @ Xa )
        = Y )
     => ( ( ( ord_less_eq @ int @ X @ Xa )
         => ( Y
            = ( cons @ int @ X @ ( upto @ ( plus_plus @ int @ X @ ( one_one @ int ) ) @ Xa ) ) ) )
        & ( ~ ( ord_less_eq @ int @ X @ Xa )
         => ( Y
            = ( nil @ int ) ) ) ) ) ).

% upto.elims
thf(fact_4082_upto_Osimps,axiom,
    ( upto
    = ( ^ [I: int,J: int] : ( if @ ( list @ int ) @ ( ord_less_eq @ int @ I @ J ) @ ( cons @ int @ I @ ( upto @ ( plus_plus @ int @ I @ ( one_one @ int ) ) @ J ) ) @ ( nil @ int ) ) ) ) ).

% upto.simps
thf(fact_4083_greaterThanLessThan__upto,axiom,
    ( ( set_or5935395276787703475ssThan @ int )
    = ( ^ [I: int,J: int] : ( set2 @ int @ ( upto @ ( plus_plus @ int @ I @ ( one_one @ int ) ) @ ( minus_minus @ int @ J @ ( one_one @ int ) ) ) ) ) ) ).

% greaterThanLessThan_upto
thf(fact_4084_mergesort__by__rel_Oelims,axiom,
    ! [A: $tType,X: A > A > $o,Xa: list @ A,Y: list @ A] :
      ( ( ( mergesort_by_rel @ A @ X @ Xa )
        = Y )
     => ( ( ( ord_less @ nat @ ( size_size @ ( list @ A ) @ Xa ) @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) )
         => ( Y = Xa ) )
        & ( ~ ( ord_less @ nat @ ( size_size @ ( list @ A ) @ Xa ) @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) )
         => ( Y
            = ( merges9089515139780605204_merge @ A @ X @ ( mergesort_by_rel @ A @ X @ ( product_fst @ ( list @ A ) @ ( list @ A ) @ ( merges295452479951948502_split @ A @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( nil @ A ) @ ( nil @ A ) ) @ Xa ) ) ) @ ( mergesort_by_rel @ A @ X @ ( product_snd @ ( list @ A ) @ ( list @ A ) @ ( merges295452479951948502_split @ A @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( nil @ A ) @ ( nil @ A ) ) @ Xa ) ) ) ) ) ) ) ) ).

% mergesort_by_rel.elims
thf(fact_4085_mergesort__by__rel_Osimps,axiom,
    ! [A: $tType] :
      ( ( mergesort_by_rel @ A )
      = ( ^ [R2: A > A > $o,Xs3: list @ A] : ( if @ ( list @ A ) @ ( ord_less @ nat @ ( size_size @ ( list @ A ) @ Xs3 ) @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) @ Xs3 @ ( merges9089515139780605204_merge @ A @ R2 @ ( mergesort_by_rel @ A @ R2 @ ( product_fst @ ( list @ A ) @ ( list @ A ) @ ( merges295452479951948502_split @ A @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( nil @ A ) @ ( nil @ A ) ) @ Xs3 ) ) ) @ ( mergesort_by_rel @ A @ R2 @ ( product_snd @ ( list @ A ) @ ( list @ A ) @ ( merges295452479951948502_split @ A @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( nil @ A ) @ ( nil @ A ) ) @ Xs3 ) ) ) ) ) ) ) ).

% mergesort_by_rel.simps
thf(fact_4086_upto_Opelims,axiom,
    ! [X: int,Xa: int,Y: list @ int] :
      ( ( ( upto @ X @ Xa )
        = Y )
     => ( ( accp @ ( product_prod @ int @ int ) @ upto_rel @ ( product_Pair @ int @ int @ X @ Xa ) )
       => ~ ( ( ( ( ord_less_eq @ int @ X @ Xa )
               => ( Y
                  = ( cons @ int @ X @ ( upto @ ( plus_plus @ int @ X @ ( one_one @ int ) ) @ Xa ) ) ) )
              & ( ~ ( ord_less_eq @ int @ X @ Xa )
               => ( Y
                  = ( nil @ int ) ) ) )
           => ~ ( accp @ ( product_prod @ int @ int ) @ upto_rel @ ( product_Pair @ int @ int @ X @ Xa ) ) ) ) ) ).

% upto.pelims
thf(fact_4087_mergesort__by__rel__merge_Opelims,axiom,
    ! [A: $tType,X: A > A > $o,Xa: list @ A,Xb: list @ A,Y: list @ A] :
      ( ( ( merges9089515139780605204_merge @ A @ X @ Xa @ Xb )
        = Y )
     => ( ( accp @ ( product_prod @ ( A > A > $o ) @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) ) @ ( merges2244889521215249637ge_rel @ A ) @ ( product_Pair @ ( A > A > $o ) @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ X @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xa @ Xb ) ) )
       => ( ! [X3: A,Xs2: list @ A] :
              ( ( Xa
                = ( cons @ A @ X3 @ Xs2 ) )
             => ! [Y3: A,Ys5: list @ A] :
                  ( ( Xb
                    = ( cons @ A @ Y3 @ Ys5 ) )
                 => ( ( ( ( X @ X3 @ Y3 )
                       => ( Y
                          = ( cons @ A @ X3 @ ( merges9089515139780605204_merge @ A @ X @ Xs2 @ ( cons @ A @ Y3 @ Ys5 ) ) ) ) )
                      & ( ~ ( X @ X3 @ Y3 )
                       => ( Y
                          = ( cons @ A @ Y3 @ ( merges9089515139780605204_merge @ A @ X @ ( cons @ A @ X3 @ Xs2 ) @ Ys5 ) ) ) ) )
                   => ~ ( accp @ ( product_prod @ ( A > A > $o ) @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) ) @ ( merges2244889521215249637ge_rel @ A ) @ ( product_Pair @ ( A > A > $o ) @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ X @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( cons @ A @ X3 @ Xs2 ) @ ( cons @ A @ Y3 @ Ys5 ) ) ) ) ) ) )
         => ( ( ( Xb
                = ( nil @ A ) )
             => ( ( Y = Xa )
               => ~ ( accp @ ( product_prod @ ( A > A > $o ) @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) ) @ ( merges2244889521215249637ge_rel @ A ) @ ( product_Pair @ ( A > A > $o ) @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ X @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xa @ ( nil @ A ) ) ) ) ) )
           => ~ ( ( Xa
                  = ( nil @ A ) )
               => ! [V5: A,Va: list @ A] :
                    ( ( Xb
                      = ( cons @ A @ V5 @ Va ) )
                   => ( ( Y
                        = ( cons @ A @ V5 @ Va ) )
                     => ~ ( accp @ ( product_prod @ ( A > A > $o ) @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) ) @ ( merges2244889521215249637ge_rel @ A ) @ ( product_Pair @ ( A > A > $o ) @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ X @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( nil @ A ) @ ( cons @ A @ V5 @ Va ) ) ) ) ) ) ) ) ) ) ) ).

% mergesort_by_rel_merge.pelims
thf(fact_4088_mergesort__def,axiom,
    ! [A: $tType] :
      ( ( ord @ A )
     => ( ( mergesort @ A )
        = ( mergesort_by_rel @ A @ ( ord_less_eq @ A ) ) ) ) ).

% mergesort_def
thf(fact_4089_extract__Cons__code,axiom,
    ! [A: $tType,P2: A > $o,X: A,Xs: list @ A] :
      ( ( ( P2 @ X )
       => ( ( extract @ A @ P2 @ ( cons @ A @ X @ Xs ) )
          = ( some @ ( product_prod @ ( list @ A ) @ ( product_prod @ A @ ( list @ A ) ) ) @ ( product_Pair @ ( list @ A ) @ ( product_prod @ A @ ( list @ A ) ) @ ( nil @ A ) @ ( product_Pair @ A @ ( list @ A ) @ X @ Xs ) ) ) ) )
      & ( ~ ( P2 @ X )
       => ( ( extract @ A @ P2 @ ( cons @ A @ X @ Xs ) )
          = ( case_option @ ( option @ ( product_prod @ ( list @ A ) @ ( product_prod @ A @ ( list @ A ) ) ) ) @ ( product_prod @ ( list @ A ) @ ( product_prod @ A @ ( list @ A ) ) ) @ ( none @ ( product_prod @ ( list @ A ) @ ( product_prod @ A @ ( list @ A ) ) ) )
            @ ( product_case_prod @ ( list @ A ) @ ( product_prod @ A @ ( list @ A ) ) @ ( option @ ( product_prod @ ( list @ A ) @ ( product_prod @ A @ ( list @ A ) ) ) )
              @ ^ [Ys2: list @ A] :
                  ( product_case_prod @ A @ ( list @ A ) @ ( option @ ( product_prod @ ( list @ A ) @ ( product_prod @ A @ ( list @ A ) ) ) )
                  @ ^ [Y4: A,Zs3: list @ A] : ( some @ ( product_prod @ ( list @ A ) @ ( product_prod @ A @ ( list @ A ) ) ) @ ( product_Pair @ ( list @ A ) @ ( product_prod @ A @ ( list @ A ) ) @ ( cons @ A @ X @ Ys2 ) @ ( product_Pair @ A @ ( list @ A ) @ Y4 @ Zs3 ) ) ) ) )
            @ ( extract @ A @ P2 @ Xs ) ) ) ) ) ).

% extract_Cons_code
thf(fact_4090_Cons__lenlex__iff,axiom,
    ! [A: $tType,M: A,Ms: list @ A,N: A,Ns: list @ A,R3: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( cons @ A @ M @ Ms ) @ ( cons @ A @ N @ Ns ) ) @ ( lenlex @ A @ R3 ) )
      = ( ( ord_less @ nat @ ( size_size @ ( list @ A ) @ Ms ) @ ( size_size @ ( list @ A ) @ Ns ) )
        | ( ( ( size_size @ ( list @ A ) @ Ms )
            = ( size_size @ ( list @ A ) @ Ns ) )
          & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ M @ N ) @ R3 ) )
        | ( ( M = N )
          & ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Ms @ Ns ) @ ( lenlex @ A @ R3 ) ) ) ) ) ).

% Cons_lenlex_iff
thf(fact_4091_lenlex__irreflexive,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),Xs: list @ A] :
      ( ! [X3: A] :
          ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X3 @ X3 ) @ R3 )
     => ~ ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xs @ Xs ) @ ( lenlex @ A @ R3 ) ) ) ).

% lenlex_irreflexive
thf(fact_4092_lenlex__length,axiom,
    ! [A: $tType,Ms: list @ A,Ns: list @ A,R3: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Ms @ Ns ) @ ( lenlex @ A @ R3 ) )
     => ( ord_less_eq @ nat @ ( size_size @ ( list @ A ) @ Ms ) @ ( size_size @ ( list @ A ) @ Ns ) ) ) ).

% lenlex_length
thf(fact_4093_arg__min__if__finite_I2_J,axiom,
    ! [B: $tType,A: $tType] :
      ( ( order @ B )
     => ! [S: set @ A,F3: A > B] :
          ( ( finite_finite2 @ A @ S )
         => ( ( S
             != ( bot_bot @ ( set @ A ) ) )
           => ~ ? [X6: A] :
                  ( ( member @ A @ X6 @ S )
                  & ( ord_less @ B @ ( F3 @ X6 ) @ ( F3 @ ( lattic7623131987881927897min_on @ A @ B @ F3 @ S ) ) ) ) ) ) ) ).

% arg_min_if_finite(2)
thf(fact_4094_Cons__in__lex,axiom,
    ! [A: $tType,X: A,Xs: list @ A,Y: A,Ys3: list @ A,R3: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( cons @ A @ X @ Xs ) @ ( cons @ A @ Y @ Ys3 ) ) @ ( lex @ A @ R3 ) )
      = ( ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ R3 )
          & ( ( size_size @ ( list @ A ) @ Xs )
            = ( size_size @ ( list @ A ) @ Ys3 ) ) )
        | ( ( X = Y )
          & ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xs @ Ys3 ) @ ( lex @ A @ R3 ) ) ) ) ) ).

% Cons_in_lex
thf(fact_4095_arg__min__least,axiom,
    ! [B: $tType,A: $tType] :
      ( ( linorder @ B )
     => ! [S: set @ A,Y: A,F3: A > B] :
          ( ( finite_finite2 @ A @ S )
         => ( ( S
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( member @ A @ Y @ S )
             => ( ord_less_eq @ B @ ( F3 @ ( lattic7623131987881927897min_on @ A @ B @ F3 @ S ) ) @ ( F3 @ Y ) ) ) ) ) ) ).

% arg_min_least
thf(fact_4096_num__of__nat_Osimps_I2_J,axiom,
    ! [N: nat] :
      ( ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
       => ( ( num_of_nat @ ( suc @ N ) )
          = ( inc @ ( num_of_nat @ N ) ) ) )
      & ( ~ ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
       => ( ( num_of_nat @ ( suc @ N ) )
          = one ) ) ) ).

% num_of_nat.simps(2)
thf(fact_4097_numeral__num__of__nat,axiom,
    ! [N: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
     => ( ( numeral_numeral @ nat @ ( num_of_nat @ N ) )
        = N ) ) ).

% numeral_num_of_nat
thf(fact_4098_num__of__nat__One,axiom,
    ! [N: nat] :
      ( ( ord_less_eq @ nat @ N @ ( one_one @ nat ) )
     => ( ( num_of_nat @ N )
        = one ) ) ).

% num_of_nat_One
thf(fact_4099_arg__min__if__finite_I1_J,axiom,
    ! [B: $tType,A: $tType] :
      ( ( order @ B )
     => ! [S: set @ A,F3: A > B] :
          ( ( finite_finite2 @ A @ S )
         => ( ( S
             != ( bot_bot @ ( set @ A ) ) )
           => ( member @ A @ ( lattic7623131987881927897min_on @ A @ B @ F3 @ S ) @ S ) ) ) ) ).

% arg_min_if_finite(1)
thf(fact_4100_num__of__nat__double,axiom,
    ! [N: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
     => ( ( num_of_nat @ ( plus_plus @ nat @ N @ N ) )
        = ( bit0 @ ( num_of_nat @ N ) ) ) ) ).

% num_of_nat_double
thf(fact_4101_num__of__nat__plus__distrib,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ M )
     => ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
       => ( ( num_of_nat @ ( plus_plus @ nat @ M @ N ) )
          = ( plus_plus @ num @ ( num_of_nat @ M ) @ ( num_of_nat @ N ) ) ) ) ) ).

% num_of_nat_plus_distrib
thf(fact_4102_lenlex__conv,axiom,
    ! [A: $tType] :
      ( ( lenlex @ A )
      = ( ^ [R5: set @ ( product_prod @ A @ A )] :
            ( collect @ ( product_prod @ ( list @ A ) @ ( list @ A ) )
            @ ( product_case_prod @ ( list @ A ) @ ( list @ A ) @ $o
              @ ^ [Xs3: list @ A,Ys2: list @ A] :
                  ( ( ord_less @ nat @ ( size_size @ ( list @ A ) @ Xs3 ) @ ( size_size @ ( list @ A ) @ Ys2 ) )
                  | ( ( ( size_size @ ( list @ A ) @ Xs3 )
                      = ( size_size @ ( list @ A ) @ Ys2 ) )
                    & ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xs3 @ Ys2 ) @ ( lex @ A @ R5 ) ) ) ) ) ) ) ) ).

% lenlex_conv
thf(fact_4103_sorted__list__of__set_Osorted__key__list__of__set__insert__remove,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( linord4507533701916653071of_set @ A @ ( insert @ A @ X @ A6 ) )
            = ( linorder_insort_key @ A @ A
              @ ^ [X4: A] : X4
              @ X
              @ ( linord4507533701916653071of_set @ A @ ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ) ) ) ).

% sorted_list_of_set.sorted_key_list_of_set_insert_remove
thf(fact_4104_add__neg__numeral__special_I4_J,axiom,
    ! [A: $tType] :
      ( ( neg_numeral @ A )
     => ! [N: num] :
          ( ( plus_plus @ A @ ( uminus_uminus @ A @ ( one_one @ A ) ) @ ( numeral_numeral @ A @ N ) )
          = ( neg_numeral_sub @ A @ N @ one ) ) ) ).

% add_neg_numeral_special(4)
thf(fact_4105_add__neg__numeral__special_I3_J,axiom,
    ! [A: $tType] :
      ( ( neg_numeral @ A )
     => ! [M: num] :
          ( ( plus_plus @ A @ ( numeral_numeral @ A @ M ) @ ( uminus_uminus @ A @ ( one_one @ A ) ) )
          = ( neg_numeral_sub @ A @ M @ one ) ) ) ).

% add_neg_numeral_special(3)
thf(fact_4106_add__neg__numeral__special_I2_J,axiom,
    ! [A: $tType] :
      ( ( neg_numeral @ A )
     => ! [M: num] :
          ( ( plus_plus @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ M ) ) @ ( one_one @ A ) )
          = ( neg_numeral_sub @ A @ one @ M ) ) ) ).

% add_neg_numeral_special(2)
thf(fact_4107_semiring__norm_I166_J,axiom,
    ! [A: $tType] :
      ( ( neg_numeral @ A )
     => ! [V2: num,W2: num,Y: A] :
          ( ( plus_plus @ A @ ( numeral_numeral @ A @ V2 ) @ ( plus_plus @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ W2 ) ) @ Y ) )
          = ( plus_plus @ A @ ( neg_numeral_sub @ A @ V2 @ W2 ) @ Y ) ) ) ).

% semiring_norm(166)
thf(fact_4108_semiring__norm_I167_J,axiom,
    ! [A: $tType] :
      ( ( neg_numeral @ A )
     => ! [V2: num,W2: num,Y: A] :
          ( ( plus_plus @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ V2 ) ) @ ( plus_plus @ A @ ( numeral_numeral @ A @ W2 ) @ Y ) )
          = ( plus_plus @ A @ ( neg_numeral_sub @ A @ W2 @ V2 ) @ Y ) ) ) ).

% semiring_norm(167)
thf(fact_4109_add__neg__numeral__simps_I1_J,axiom,
    ! [A: $tType] :
      ( ( neg_numeral @ A )
     => ! [M: num,N: num] :
          ( ( plus_plus @ A @ ( numeral_numeral @ A @ M ) @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ N ) ) )
          = ( neg_numeral_sub @ A @ M @ N ) ) ) ).

% add_neg_numeral_simps(1)
thf(fact_4110_add__neg__numeral__simps_I2_J,axiom,
    ! [A: $tType] :
      ( ( neg_numeral @ A )
     => ! [M: num,N: num] :
          ( ( plus_plus @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ M ) ) @ ( numeral_numeral @ A @ N ) )
          = ( neg_numeral_sub @ A @ N @ M ) ) ) ).

% add_neg_numeral_simps(2)
thf(fact_4111_sorted__list__of__set_Osorted__key__list__of__set__insert,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ~ ( member @ A @ X @ A6 )
           => ( ( linord4507533701916653071of_set @ A @ ( insert @ A @ X @ A6 ) )
              = ( linorder_insort_key @ A @ A
                @ ^ [X4: A] : X4
                @ X
                @ ( linord4507533701916653071of_set @ A @ A6 ) ) ) ) ) ) ).

% sorted_list_of_set.sorted_key_list_of_set_insert
thf(fact_4112_add__neg__numeral__special_I1_J,axiom,
    ! [A: $tType] :
      ( ( neg_numeral @ A )
     => ! [M: num] :
          ( ( plus_plus @ A @ ( one_one @ A ) @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ M ) ) )
          = ( neg_numeral_sub @ A @ one @ M ) ) ) ).

% add_neg_numeral_special(1)
thf(fact_4113_insort__left__comm,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [X: A,Y: A,Xs: list @ A] :
          ( ( linorder_insort_key @ A @ A
            @ ^ [X4: A] : X4
            @ X
            @ ( linorder_insort_key @ A @ A
              @ ^ [X4: A] : X4
              @ Y
              @ Xs ) )
          = ( linorder_insort_key @ A @ A
            @ ^ [X4: A] : X4
            @ Y
            @ ( linorder_insort_key @ A @ A
              @ ^ [X4: A] : X4
              @ X
              @ Xs ) ) ) ) ).

% insort_left_comm
thf(fact_4114_sorted__list__of__set_Ofold__insort__key_Ocomp__fun__commute__on,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Y: A,X: A] :
          ( ( comp @ ( list @ A ) @ ( list @ A ) @ ( list @ A )
            @ ( linorder_insort_key @ A @ A
              @ ^ [X4: A] : X4
              @ Y )
            @ ( linorder_insort_key @ A @ A
              @ ^ [X4: A] : X4
              @ X ) )
          = ( comp @ ( list @ A ) @ ( list @ A ) @ ( list @ A )
            @ ( linorder_insort_key @ A @ A
              @ ^ [X4: A] : X4
              @ X )
            @ ( linorder_insort_key @ A @ A
              @ ^ [X4: A] : X4
              @ Y ) ) ) ) ).

% sorted_list_of_set.fold_insort_key.comp_fun_commute_on
thf(fact_4115_insort__key_Osimps_I2_J,axiom,
    ! [A: $tType,B: $tType] :
      ( ( linorder @ A )
     => ! [F3: B > A,X: B,Y: B,Ys3: list @ B] :
          ( ( ( ord_less_eq @ A @ ( F3 @ X ) @ ( F3 @ Y ) )
           => ( ( linorder_insort_key @ B @ A @ F3 @ X @ ( cons @ B @ Y @ Ys3 ) )
              = ( cons @ B @ X @ ( cons @ B @ Y @ Ys3 ) ) ) )
          & ( ~ ( ord_less_eq @ A @ ( F3 @ X ) @ ( F3 @ Y ) )
           => ( ( linorder_insort_key @ B @ A @ F3 @ X @ ( cons @ B @ Y @ Ys3 ) )
              = ( cons @ B @ Y @ ( linorder_insort_key @ B @ A @ F3 @ X @ Ys3 ) ) ) ) ) ) ).

% insort_key.simps(2)
thf(fact_4116_sorted__insort,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [X: A,Xs: list @ A] :
          ( ( sorted_wrt @ A @ ( ord_less_eq @ A )
            @ ( linorder_insort_key @ A @ A
              @ ^ [X4: A] : X4
              @ X
              @ Xs ) )
          = ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ Xs ) ) ) ).

% sorted_insort
thf(fact_4117_insort__is__Cons,axiom,
    ! [A: $tType,B: $tType] :
      ( ( linorder @ A )
     => ! [Xs: list @ B,F3: B > A,A3: B] :
          ( ! [X3: B] :
              ( ( member @ B @ X3 @ ( set2 @ B @ Xs ) )
             => ( ord_less_eq @ A @ ( F3 @ A3 ) @ ( F3 @ X3 ) ) )
         => ( ( linorder_insort_key @ B @ A @ F3 @ A3 @ Xs )
            = ( cons @ B @ A3 @ Xs ) ) ) ) ).

% insort_is_Cons
thf(fact_4118_sub__non__positive,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [N: num,M: num] :
          ( ( ord_less_eq @ A @ ( neg_numeral_sub @ A @ N @ M ) @ ( zero_zero @ A ) )
          = ( ord_less_eq @ num @ N @ M ) ) ) ).

% sub_non_positive
thf(fact_4119_sub__non__negative,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [N: num,M: num] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( neg_numeral_sub @ A @ N @ M ) )
          = ( ord_less_eq @ num @ M @ N ) ) ) ).

% sub_non_negative
thf(fact_4120_sub__positive,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [N: num,M: num] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ ( neg_numeral_sub @ A @ N @ M ) )
          = ( ord_less @ num @ M @ N ) ) ) ).

% sub_positive
thf(fact_4121_sub__negative,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [N: num,M: num] :
          ( ( ord_less @ A @ ( neg_numeral_sub @ A @ N @ M ) @ ( zero_zero @ A ) )
          = ( ord_less @ num @ N @ M ) ) ) ).

% sub_negative
thf(fact_4122_sorted__list__of__set_Ofold__insort__key_Oremove,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( member @ A @ X @ A6 )
           => ( ( linord4507533701916653071of_set @ A @ A6 )
              = ( linorder_insort_key @ A @ A
                @ ^ [X4: A] : X4
                @ X
                @ ( linord4507533701916653071of_set @ A @ ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ) ) ) ) ).

% sorted_list_of_set.fold_insort_key.remove
thf(fact_4123_sorted__list__of__multiset__insert,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [X: A,M6: multiset @ A] :
          ( ( linord6283353356039996273ltiset @ A @ ( add_mset @ A @ X @ M6 ) )
          = ( linorder_insort_key @ A @ A
            @ ^ [X4: A] : X4
            @ X
            @ ( linord6283353356039996273ltiset @ A @ M6 ) ) ) ) ).

% sorted_list_of_multiset_insert
thf(fact_4124_pred__nat__def,axiom,
    ( pred_nat
    = ( collect @ ( product_prod @ nat @ nat )
      @ ( product_case_prod @ nat @ nat @ $o
        @ ^ [M3: nat,N3: nat] :
            ( N3
            = ( suc @ M3 ) ) ) ) ) ).

% pred_nat_def
thf(fact_4125_eq__numeral__iff__iszero_I7_J,axiom,
    ! [A: $tType] :
      ( ( ring_1 @ A )
     => ! [X: num] :
          ( ( ( uminus_uminus @ A @ ( numeral_numeral @ A @ X ) )
            = ( one_one @ A ) )
          = ( ring_1_iszero @ A @ ( numeral_numeral @ A @ ( plus_plus @ num @ X @ one ) ) ) ) ) ).

% eq_numeral_iff_iszero(7)
thf(fact_4126_eq__numeral__iff__iszero_I8_J,axiom,
    ! [A: $tType] :
      ( ( ring_1 @ A )
     => ! [Y: num] :
          ( ( ( one_one @ A )
            = ( uminus_uminus @ A @ ( numeral_numeral @ A @ Y ) ) )
          = ( ring_1_iszero @ A @ ( numeral_numeral @ A @ ( plus_plus @ num @ one @ Y ) ) ) ) ) ).

% eq_numeral_iff_iszero(8)
thf(fact_4127_eq__numeral__iff__iszero_I3_J,axiom,
    ! [A: $tType] :
      ( ( ring_1 @ A )
     => ! [X: num,Y: num] :
          ( ( ( uminus_uminus @ A @ ( numeral_numeral @ A @ X ) )
            = ( numeral_numeral @ A @ Y ) )
          = ( ring_1_iszero @ A @ ( numeral_numeral @ A @ ( plus_plus @ num @ X @ Y ) ) ) ) ) ).

% eq_numeral_iff_iszero(3)
thf(fact_4128_eq__numeral__iff__iszero_I2_J,axiom,
    ! [A: $tType] :
      ( ( ring_1 @ A )
     => ! [X: num,Y: num] :
          ( ( ( numeral_numeral @ A @ X )
            = ( uminus_uminus @ A @ ( numeral_numeral @ A @ Y ) ) )
          = ( ring_1_iszero @ A @ ( numeral_numeral @ A @ ( plus_plus @ num @ X @ Y ) ) ) ) ) ).

% eq_numeral_iff_iszero(2)
thf(fact_4129_less__eq,axiom,
    ! [M: nat,N: nat] :
      ( ( member @ ( product_prod @ nat @ nat ) @ ( product_Pair @ nat @ nat @ M @ N ) @ ( transitive_trancl @ nat @ pred_nat ) )
      = ( ord_less @ nat @ M @ N ) ) ).

% less_eq
thf(fact_4130_eq__snd__iff,axiom,
    ! [A: $tType,B: $tType,B2: A,P3: product_prod @ B @ A] :
      ( ( B2
        = ( product_snd @ B @ A @ P3 ) )
      = ( ? [A7: B] :
            ( P3
            = ( product_Pair @ B @ A @ A7 @ B2 ) ) ) ) ).

% eq_snd_iff
thf(fact_4131_eq__fst__iff,axiom,
    ! [A: $tType,B: $tType,A3: A,P3: product_prod @ A @ B] :
      ( ( A3
        = ( product_fst @ A @ B @ P3 ) )
      = ( ? [B5: B] :
            ( P3
            = ( product_Pair @ A @ B @ A3 @ B5 ) ) ) ) ).

% eq_fst_iff
thf(fact_4132_merge__correct,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [L12: list @ A,L23: list @ A] :
          ( ( ( distinct @ A @ L12 )
            & ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ L12 ) )
         => ( ( ( distinct @ A @ L23 )
              & ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ L23 ) )
           => ( ( distinct @ A @ ( merge @ A @ L12 @ L23 ) )
              & ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( merge @ A @ L12 @ L23 ) )
              & ( ( set2 @ A @ ( merge @ A @ L12 @ L23 ) )
                = ( sup_sup @ ( set @ A ) @ ( set2 @ A @ L12 ) @ ( set2 @ A @ L23 ) ) ) ) ) ) ) ).

% merge_correct
thf(fact_4133_distinct__foldl__invar,axiom,
    ! [B: $tType,A: $tType,S: list @ A,I5: ( set @ A ) > B > $o,Sigma_0: B,F3: B > A > B] :
      ( ( distinct @ A @ S )
     => ( ( I5 @ ( set2 @ A @ S ) @ Sigma_0 )
       => ( ! [X3: A,It: set @ A,Sigma: B] :
              ( ( member @ A @ X3 @ It )
             => ( ( ord_less_eq @ ( set @ A ) @ It @ ( set2 @ A @ S ) )
               => ( ( I5 @ It @ Sigma )
                 => ( I5 @ ( minus_minus @ ( set @ A ) @ It @ ( insert @ A @ X3 @ ( bot_bot @ ( set @ A ) ) ) ) @ ( F3 @ Sigma @ X3 ) ) ) ) )
         => ( I5 @ ( bot_bot @ ( set @ A ) ) @ ( foldl @ B @ A @ F3 @ Sigma_0 @ S ) ) ) ) ) ).

% distinct_foldl_invar
thf(fact_4134_foldl__length,axiom,
    ! [A: $tType,L: list @ A] :
      ( ( foldl @ nat @ A
        @ ^ [I: nat,X4: A] : ( suc @ I )
        @ ( zero_zero @ nat )
        @ L )
      = ( size_size @ ( list @ A ) @ L ) ) ).

% foldl_length
thf(fact_4135_foldl__A1__eq,axiom,
    ! [A: $tType,F3: A > A > A,N: A,I2: A,Ww: list @ A] :
      ( ! [E2: A] :
          ( ( F3 @ N @ E2 )
          = E2 )
     => ( ! [E2: A] :
            ( ( F3 @ E2 @ N )
            = E2 )
       => ( ! [A5: A,B4: A,C2: A] :
              ( ( F3 @ A5 @ ( F3 @ B4 @ C2 ) )
              = ( F3 @ ( F3 @ A5 @ B4 ) @ C2 ) )
         => ( ( foldl @ A @ A @ F3 @ I2 @ Ww )
            = ( F3 @ I2 @ ( foldl @ A @ A @ F3 @ N @ Ww ) ) ) ) ) ) ).

% foldl_A1_eq
thf(fact_4136_merge_Osimps_I1_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [L23: list @ A] :
          ( ( merge @ A @ ( nil @ A ) @ L23 )
          = L23 ) ) ).

% merge.simps(1)
thf(fact_4137_fst__foldl,axiom,
    ! [B: $tType,A: $tType,C: $tType,F3: A > C > A,G3: A > B > C > B,A3: A,B2: B,Xs: list @ C] :
      ( ( product_fst @ A @ B
        @ ( foldl @ ( product_prod @ A @ B ) @ C
          @ ( product_case_prod @ A @ B @ ( C > ( product_prod @ A @ B ) )
            @ ^ [A7: A,B5: B,X4: C] : ( product_Pair @ A @ B @ ( F3 @ A7 @ X4 ) @ ( G3 @ A7 @ B5 @ X4 ) ) )
          @ ( product_Pair @ A @ B @ A3 @ B2 )
          @ Xs ) )
      = ( foldl @ A @ C @ F3 @ A3 @ Xs ) ) ).

% fst_foldl
thf(fact_4138_foldl__absorb1,axiom,
    ! [A: $tType] :
      ( ( monoid_mult @ A )
     => ! [X: A,Zs: list @ A] :
          ( ( times_times @ A @ X @ ( foldl @ A @ A @ ( times_times @ A ) @ ( one_one @ A ) @ Zs ) )
          = ( foldl @ A @ A @ ( times_times @ A ) @ X @ Zs ) ) ) ).

% foldl_absorb1
thf(fact_4139_foldl__un__empty__eq,axiom,
    ! [A: $tType,I2: set @ A,Ww: list @ ( set @ A )] :
      ( ( foldl @ ( set @ A ) @ ( set @ A ) @ ( sup_sup @ ( set @ A ) ) @ I2 @ Ww )
      = ( sup_sup @ ( set @ A ) @ I2 @ ( foldl @ ( set @ A ) @ ( set @ A ) @ ( sup_sup @ ( set @ A ) ) @ ( bot_bot @ ( set @ A ) ) @ Ww ) ) ) ).

% foldl_un_empty_eq
thf(fact_4140_foldl__snd__zip,axiom,
    ! [B: $tType,C: $tType,A: $tType,Ys3: list @ A,Xs: list @ B,F3: C > A > C,B2: C] :
      ( ( ord_less_eq @ nat @ ( size_size @ ( list @ A ) @ Ys3 ) @ ( size_size @ ( list @ B ) @ Xs ) )
     => ( ( foldl @ C @ ( product_prod @ B @ A )
          @ ^ [B5: C] :
              ( product_case_prod @ B @ A @ C
              @ ^ [X4: B] : ( F3 @ B5 ) )
          @ B2
          @ ( zip @ B @ A @ Xs @ Ys3 ) )
        = ( foldl @ C @ A @ F3 @ B2 @ Ys3 ) ) ) ).

% foldl_snd_zip
thf(fact_4141_merge_Osimps_I3_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [X1: A,X2: A,L12: list @ A,L23: list @ A] :
          ( ( ( ord_less @ A @ X1 @ X2 )
           => ( ( merge @ A @ ( cons @ A @ X1 @ L12 ) @ ( cons @ A @ X2 @ L23 ) )
              = ( cons @ A @ X1 @ ( merge @ A @ L12 @ ( cons @ A @ X2 @ L23 ) ) ) ) )
          & ( ~ ( ord_less @ A @ X1 @ X2 )
           => ( ( ( X1 = X2 )
               => ( ( merge @ A @ ( cons @ A @ X1 @ L12 ) @ ( cons @ A @ X2 @ L23 ) )
                  = ( cons @ A @ X1 @ ( merge @ A @ L12 @ L23 ) ) ) )
              & ( ( X1 != X2 )
               => ( ( merge @ A @ ( cons @ A @ X1 @ L12 ) @ ( cons @ A @ X2 @ L23 ) )
                  = ( cons @ A @ X2 @ ( merge @ A @ ( cons @ A @ X1 @ L12 ) @ L23 ) ) ) ) ) ) ) ) ).

% merge.simps(3)
thf(fact_4142_merge_Osimps_I2_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [V2: A,Va2: list @ A] :
          ( ( merge @ A @ ( cons @ A @ V2 @ Va2 ) @ ( nil @ A ) )
          = ( cons @ A @ V2 @ Va2 ) ) ) ).

% merge.simps(2)
thf(fact_4143_foldl__length__aux,axiom,
    ! [A: $tType,A3: nat,L: list @ A] :
      ( ( foldl @ nat @ A
        @ ^ [I: nat,X4: A] : ( suc @ I )
        @ A3
        @ L )
      = ( plus_plus @ nat @ A3 @ ( size_size @ ( list @ A ) @ L ) ) ) ).

% foldl_length_aux
thf(fact_4144_merge_Oelims,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [X: list @ A,Xa: list @ A,Y: list @ A] :
          ( ( ( merge @ A @ X @ Xa )
            = Y )
         => ( ( ( X
                = ( nil @ A ) )
             => ( Y != Xa ) )
           => ( ! [V5: A,Va: list @ A] :
                  ( ( X
                    = ( cons @ A @ V5 @ Va ) )
                 => ( ( Xa
                      = ( nil @ A ) )
                   => ( Y
                     != ( cons @ A @ V5 @ Va ) ) ) )
             => ~ ! [X13: A,L1: list @ A] :
                    ( ( X
                      = ( cons @ A @ X13 @ L1 ) )
                   => ! [X22: A,L22: list @ A] :
                        ( ( Xa
                          = ( cons @ A @ X22 @ L22 ) )
                       => ~ ( ( ( ord_less @ A @ X13 @ X22 )
                             => ( Y
                                = ( cons @ A @ X13 @ ( merge @ A @ L1 @ ( cons @ A @ X22 @ L22 ) ) ) ) )
                            & ( ~ ( ord_less @ A @ X13 @ X22 )
                             => ( ( ( X13 = X22 )
                                 => ( Y
                                    = ( cons @ A @ X13 @ ( merge @ A @ L1 @ L22 ) ) ) )
                                & ( ( X13 != X22 )
                                 => ( Y
                                    = ( cons @ A @ X22 @ ( merge @ A @ ( cons @ A @ X13 @ L1 ) @ L22 ) ) ) ) ) ) ) ) ) ) ) ) ) ).

% merge.elims
thf(fact_4145_merge_Opelims,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [X: list @ A,Xa: list @ A,Y: list @ A] :
          ( ( ( merge @ A @ X @ Xa )
            = Y )
         => ( ( accp @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( merge_rel @ A ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ X @ Xa ) )
           => ( ( ( X
                  = ( nil @ A ) )
               => ( ( Y = Xa )
                 => ~ ( accp @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( merge_rel @ A ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( nil @ A ) @ Xa ) ) ) )
             => ( ! [V5: A,Va: list @ A] :
                    ( ( X
                      = ( cons @ A @ V5 @ Va ) )
                   => ( ( Xa
                        = ( nil @ A ) )
                     => ( ( Y
                          = ( cons @ A @ V5 @ Va ) )
                       => ~ ( accp @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( merge_rel @ A ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( cons @ A @ V5 @ Va ) @ ( nil @ A ) ) ) ) ) )
               => ~ ! [X13: A,L1: list @ A] :
                      ( ( X
                        = ( cons @ A @ X13 @ L1 ) )
                     => ! [X22: A,L22: list @ A] :
                          ( ( Xa
                            = ( cons @ A @ X22 @ L22 ) )
                         => ( ( ( ( ord_less @ A @ X13 @ X22 )
                               => ( Y
                                  = ( cons @ A @ X13 @ ( merge @ A @ L1 @ ( cons @ A @ X22 @ L22 ) ) ) ) )
                              & ( ~ ( ord_less @ A @ X13 @ X22 )
                               => ( ( ( X13 = X22 )
                                   => ( Y
                                      = ( cons @ A @ X13 @ ( merge @ A @ L1 @ L22 ) ) ) )
                                  & ( ( X13 != X22 )
                                   => ( Y
                                      = ( cons @ A @ X22 @ ( merge @ A @ ( cons @ A @ X13 @ L1 ) @ L22 ) ) ) ) ) ) )
                           => ~ ( accp @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( merge_rel @ A ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( cons @ A @ X13 @ L1 ) @ ( cons @ A @ X22 @ L22 ) ) ) ) ) ) ) ) ) ) ) ).

% merge.pelims
thf(fact_4146_rat__floor__lemma,axiom,
    ! [A3: int,B2: int] :
      ( ( ord_less_eq @ rat @ ( ring_1_of_int @ rat @ ( divide_divide @ int @ A3 @ B2 ) ) @ ( fract @ A3 @ B2 ) )
      & ( ord_less @ rat @ ( fract @ A3 @ B2 ) @ ( ring_1_of_int @ rat @ ( plus_plus @ int @ ( divide_divide @ int @ A3 @ B2 ) @ ( one_one @ int ) ) ) ) ) ).

% rat_floor_lemma
thf(fact_4147_upto__rec2,axiom,
    ! [I2: int,J2: int] :
      ( ( ord_less_eq @ int @ I2 @ J2 )
     => ( ( upto @ I2 @ J2 )
        = ( append @ int @ ( upto @ I2 @ ( minus_minus @ int @ J2 @ ( one_one @ int ) ) ) @ ( cons @ int @ J2 @ ( nil @ int ) ) ) ) ) ).

% upto_rec2
thf(fact_4148_prod_Oinsert_H,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [I5: set @ B,P3: B > A,I2: B] :
          ( ( finite_finite2 @ B
            @ ( collect @ B
              @ ^ [X4: B] :
                  ( ( member @ B @ X4 @ I5 )
                  & ( ( P3 @ X4 )
                   != ( one_one @ A ) ) ) ) )
         => ( ( ( member @ B @ I2 @ I5 )
             => ( ( groups1962203154675924110t_prod @ B @ A @ P3 @ ( insert @ B @ I2 @ I5 ) )
                = ( groups1962203154675924110t_prod @ B @ A @ P3 @ I5 ) ) )
            & ( ~ ( member @ B @ I2 @ I5 )
             => ( ( groups1962203154675924110t_prod @ B @ A @ P3 @ ( insert @ B @ I2 @ I5 ) )
                = ( times_times @ A @ ( P3 @ I2 ) @ ( groups1962203154675924110t_prod @ B @ A @ P3 @ I5 ) ) ) ) ) ) ) ).

% prod.insert'
thf(fact_4149_empty__append__eq__id,axiom,
    ! [A: $tType] :
      ( ( append @ A @ ( nil @ A ) )
      = ( ^ [X4: list @ A] : X4 ) ) ).

% empty_append_eq_id
thf(fact_4150_list__e__eq__lel_I2_J,axiom,
    ! [A: $tType,L12: list @ A,E5: A,L23: list @ A,E3: A] :
      ( ( ( append @ A @ L12 @ ( cons @ A @ E5 @ L23 ) )
        = ( cons @ A @ E3 @ ( nil @ A ) ) )
      = ( ( L12
          = ( nil @ A ) )
        & ( E5 = E3 )
        & ( L23
          = ( nil @ A ) ) ) ) ).

% list_e_eq_lel(2)
thf(fact_4151_list__e__eq__lel_I1_J,axiom,
    ! [A: $tType,E3: A,L12: list @ A,E5: A,L23: list @ A] :
      ( ( ( cons @ A @ E3 @ ( nil @ A ) )
        = ( append @ A @ L12 @ ( cons @ A @ E5 @ L23 ) ) )
      = ( ( L12
          = ( nil @ A ) )
        & ( E5 = E3 )
        & ( L23
          = ( nil @ A ) ) ) ) ).

% list_e_eq_lel(1)
thf(fact_4152_list__se__match_I4_J,axiom,
    ! [A: $tType,L23: list @ A,A3: A,L12: list @ A] :
      ( ( L23
       != ( nil @ A ) )
     => ( ( ( cons @ A @ A3 @ ( nil @ A ) )
          = ( append @ A @ L12 @ L23 ) )
        = ( ( L12
            = ( nil @ A ) )
          & ( L23
            = ( cons @ A @ A3 @ ( nil @ A ) ) ) ) ) ) ).

% list_se_match(4)
thf(fact_4153_list__se__match_I3_J,axiom,
    ! [A: $tType,L12: list @ A,A3: A,L23: list @ A] :
      ( ( L12
       != ( nil @ A ) )
     => ( ( ( cons @ A @ A3 @ ( nil @ A ) )
          = ( append @ A @ L12 @ L23 ) )
        = ( ( L12
            = ( cons @ A @ A3 @ ( nil @ A ) ) )
          & ( L23
            = ( nil @ A ) ) ) ) ) ).

% list_se_match(3)
thf(fact_4154_list__se__match_I2_J,axiom,
    ! [A: $tType,L23: list @ A,L12: list @ A,A3: A] :
      ( ( L23
       != ( nil @ A ) )
     => ( ( ( append @ A @ L12 @ L23 )
          = ( cons @ A @ A3 @ ( nil @ A ) ) )
        = ( ( L12
            = ( nil @ A ) )
          & ( L23
            = ( cons @ A @ A3 @ ( nil @ A ) ) ) ) ) ) ).

% list_se_match(2)
thf(fact_4155_list__se__match_I1_J,axiom,
    ! [A: $tType,L12: list @ A,L23: list @ A,A3: A] :
      ( ( L12
       != ( nil @ A ) )
     => ( ( ( append @ A @ L12 @ L23 )
          = ( cons @ A @ A3 @ ( nil @ A ) ) )
        = ( ( L12
            = ( cons @ A @ A3 @ ( nil @ A ) ) )
          & ( L23
            = ( nil @ A ) ) ) ) ) ).

% list_se_match(1)
thf(fact_4156_list__ee__eq__leel_I2_J,axiom,
    ! [A: $tType,L12: list @ A,E1: A,E22: A,L23: list @ A,E12: A,E23: A] :
      ( ( ( append @ A @ L12 @ ( cons @ A @ E1 @ ( cons @ A @ E22 @ L23 ) ) )
        = ( cons @ A @ E12 @ ( cons @ A @ E23 @ ( nil @ A ) ) ) )
      = ( ( L12
          = ( nil @ A ) )
        & ( E12 = E1 )
        & ( E23 = E22 )
        & ( L23
          = ( nil @ A ) ) ) ) ).

% list_ee_eq_leel(2)
thf(fact_4157_list__ee__eq__leel_I1_J,axiom,
    ! [A: $tType,E12: A,E23: A,L12: list @ A,E1: A,E22: A,L23: list @ A] :
      ( ( ( cons @ A @ E12 @ ( cons @ A @ E23 @ ( nil @ A ) ) )
        = ( append @ A @ L12 @ ( cons @ A @ E1 @ ( cons @ A @ E22 @ L23 ) ) ) )
      = ( ( L12
          = ( nil @ A ) )
        & ( E12 = E1 )
        & ( E23 = E22 )
        & ( L23
          = ( nil @ A ) ) ) ) ).

% list_ee_eq_leel(1)
thf(fact_4158_length__append,axiom,
    ! [A: $tType,Xs: list @ A,Ys3: list @ A] :
      ( ( size_size @ ( list @ A ) @ ( append @ A @ Xs @ Ys3 ) )
      = ( plus_plus @ nat @ ( size_size @ ( list @ A ) @ Xs ) @ ( size_size @ ( list @ A ) @ Ys3 ) ) ) ).

% length_append
thf(fact_4159_nth__append__first,axiom,
    ! [A: $tType,I2: nat,L: list @ A,L4: list @ A] :
      ( ( ord_less @ nat @ I2 @ ( size_size @ ( list @ A ) @ L ) )
     => ( ( nth @ A @ ( append @ A @ L @ L4 ) @ I2 )
        = ( nth @ A @ L @ I2 ) ) ) ).

% nth_append_first
thf(fact_4160_nth__append__length__plus,axiom,
    ! [A: $tType,Xs: list @ A,Ys3: list @ A,N: nat] :
      ( ( nth @ A @ ( append @ A @ Xs @ Ys3 ) @ ( plus_plus @ nat @ ( size_size @ ( list @ A ) @ Xs ) @ N ) )
      = ( nth @ A @ Ys3 @ N ) ) ).

% nth_append_length_plus
thf(fact_4161_less__rat,axiom,
    ! [B2: int,D3: int,A3: int,C3: int] :
      ( ( B2
       != ( zero_zero @ int ) )
     => ( ( D3
         != ( zero_zero @ int ) )
       => ( ( ord_less @ rat @ ( fract @ A3 @ B2 ) @ ( fract @ C3 @ D3 ) )
          = ( ord_less @ int @ ( times_times @ int @ ( times_times @ int @ A3 @ D3 ) @ ( times_times @ int @ B2 @ D3 ) ) @ ( times_times @ int @ ( times_times @ int @ C3 @ B2 ) @ ( times_times @ int @ B2 @ D3 ) ) ) ) ) ) ).

% less_rat
thf(fact_4162_le__rat,axiom,
    ! [B2: int,D3: int,A3: int,C3: int] :
      ( ( B2
       != ( zero_zero @ int ) )
     => ( ( D3
         != ( zero_zero @ int ) )
       => ( ( ord_less_eq @ rat @ ( fract @ A3 @ B2 ) @ ( fract @ C3 @ D3 ) )
          = ( ord_less_eq @ int @ ( times_times @ int @ ( times_times @ int @ A3 @ D3 ) @ ( times_times @ int @ B2 @ D3 ) ) @ ( times_times @ int @ ( times_times @ int @ C3 @ B2 ) @ ( times_times @ int @ B2 @ D3 ) ) ) ) ) ) ).

% le_rat
thf(fact_4163_add__rat,axiom,
    ! [B2: int,D3: int,A3: int,C3: int] :
      ( ( B2
       != ( zero_zero @ int ) )
     => ( ( D3
         != ( zero_zero @ int ) )
       => ( ( plus_plus @ rat @ ( fract @ A3 @ B2 ) @ ( fract @ C3 @ D3 ) )
          = ( fract @ ( plus_plus @ int @ ( times_times @ int @ A3 @ D3 ) @ ( times_times @ int @ C3 @ B2 ) ) @ ( times_times @ int @ B2 @ D3 ) ) ) ) ) ).

% add_rat
thf(fact_4164_foldl__conc__empty__eq,axiom,
    ! [A: $tType,I2: list @ A,Ww: list @ ( list @ A )] :
      ( ( foldl @ ( list @ A ) @ ( list @ A ) @ ( append @ A ) @ I2 @ Ww )
      = ( append @ A @ I2 @ ( foldl @ ( list @ A ) @ ( list @ A ) @ ( append @ A ) @ ( nil @ A ) @ Ww ) ) ) ).

% foldl_conc_empty_eq
thf(fact_4165_merge__list_Ocases,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [X: product_prod @ ( list @ ( list @ A ) ) @ ( list @ ( list @ A ) )] :
          ( ( X
           != ( product_Pair @ ( list @ ( list @ A ) ) @ ( list @ ( list @ A ) ) @ ( nil @ ( list @ A ) ) @ ( nil @ ( list @ A ) ) ) )
         => ( ! [L3: list @ A] :
                ( X
               != ( product_Pair @ ( list @ ( list @ A ) ) @ ( list @ ( list @ A ) ) @ ( nil @ ( list @ A ) ) @ ( cons @ ( list @ A ) @ L3 @ ( nil @ ( list @ A ) ) ) ) )
           => ( ! [La: list @ A,Acc22: list @ ( list @ A )] :
                  ( X
                 != ( product_Pair @ ( list @ ( list @ A ) ) @ ( list @ ( list @ A ) ) @ ( cons @ ( list @ A ) @ La @ Acc22 ) @ ( nil @ ( list @ A ) ) ) )
             => ( ! [La: list @ A,Acc22: list @ ( list @ A ),L3: list @ A] :
                    ( X
                   != ( product_Pair @ ( list @ ( list @ A ) ) @ ( list @ ( list @ A ) ) @ ( cons @ ( list @ A ) @ La @ Acc22 ) @ ( cons @ ( list @ A ) @ L3 @ ( nil @ ( list @ A ) ) ) ) )
               => ~ ! [Acc22: list @ ( list @ A ),L1: list @ A,L22: list @ A,Ls: list @ ( list @ A )] :
                      ( X
                     != ( product_Pair @ ( list @ ( list @ A ) ) @ ( list @ ( list @ A ) ) @ Acc22 @ ( cons @ ( list @ A ) @ L1 @ ( cons @ ( list @ A ) @ L22 @ Ls ) ) ) ) ) ) ) ) ) ).

% merge_list.cases
thf(fact_4166_list__match__lel__lel,axiom,
    ! [A: $tType,C1: list @ A,Qs: A,C22: list @ A,C12: list @ A,Qs2: A,C23: list @ A] :
      ( ( ( append @ A @ C1 @ ( cons @ A @ Qs @ C22 ) )
        = ( append @ A @ C12 @ ( cons @ A @ Qs2 @ C23 ) ) )
     => ( ! [C21: list @ A] :
            ( ( C1
              = ( append @ A @ C12 @ ( cons @ A @ Qs2 @ C21 ) ) )
           => ( C23
             != ( append @ A @ C21 @ ( cons @ A @ Qs @ C22 ) ) ) )
       => ( ( ( C12 = C1 )
           => ( ( Qs2 = Qs )
             => ( C23 != C22 ) ) )
         => ~ ! [C212: list @ A] :
                ( ( C12
                  = ( append @ A @ C1 @ ( cons @ A @ Qs @ C212 ) ) )
               => ( C22
                 != ( append @ A @ C212 @ ( cons @ A @ Qs2 @ C23 ) ) ) ) ) ) ) ).

% list_match_lel_lel
thf(fact_4167_enumerate__append__eq,axiom,
    ! [A: $tType,N: nat,Xs: list @ A,Ys3: list @ A] :
      ( ( enumerate @ A @ N @ ( append @ A @ Xs @ Ys3 ) )
      = ( append @ ( product_prod @ nat @ A ) @ ( enumerate @ A @ N @ Xs ) @ ( enumerate @ A @ ( plus_plus @ nat @ N @ ( size_size @ ( list @ A ) @ Xs ) ) @ Ys3 ) ) ) ).

% enumerate_append_eq
thf(fact_4168_prod_Onon__neutral_H,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [G3: B > A,I5: set @ B] :
          ( ( groups1962203154675924110t_prod @ B @ A @ G3
            @ ( collect @ B
              @ ^ [X4: B] :
                  ( ( member @ B @ X4 @ I5 )
                  & ( ( G3 @ X4 )
                   != ( one_one @ A ) ) ) ) )
          = ( groups1962203154675924110t_prod @ B @ A @ G3 @ I5 ) ) ) ).

% prod.non_neutral'
thf(fact_4169_neq__Nil__revE,axiom,
    ! [A: $tType,L: list @ A] :
      ( ( L
       != ( nil @ A ) )
     => ~ ! [Ll2: list @ A,E2: A] :
            ( L
           != ( append @ A @ Ll2 @ ( cons @ A @ E2 @ ( nil @ A ) ) ) ) ) ).

% neq_Nil_revE
thf(fact_4170_rev__induct2_H,axiom,
    ! [A: $tType,B: $tType,P2: ( list @ A ) > ( list @ B ) > $o,Xs: list @ A,Ys3: list @ B] :
      ( ( P2 @ ( nil @ A ) @ ( nil @ B ) )
     => ( ! [X3: A,Xs2: list @ A] : ( P2 @ ( append @ A @ Xs2 @ ( cons @ A @ X3 @ ( nil @ A ) ) ) @ ( nil @ B ) )
       => ( ! [Y3: B,Ys5: list @ B] : ( P2 @ ( nil @ A ) @ ( append @ B @ Ys5 @ ( cons @ B @ Y3 @ ( nil @ B ) ) ) )
         => ( ! [X3: A,Xs2: list @ A,Y3: B,Ys5: list @ B] :
                ( ( P2 @ Xs2 @ Ys5 )
               => ( P2 @ ( append @ A @ Xs2 @ ( cons @ A @ X3 @ ( nil @ A ) ) ) @ ( append @ B @ Ys5 @ ( cons @ B @ Y3 @ ( nil @ B ) ) ) ) )
           => ( P2 @ Xs @ Ys3 ) ) ) ) ) ).

% rev_induct2'
thf(fact_4171_neq__Nil__rev__conv,axiom,
    ! [A: $tType,L: list @ A] :
      ( ( L
       != ( nil @ A ) )
      = ( ? [Xs3: list @ A,X4: A] :
            ( L
            = ( append @ A @ Xs3 @ ( cons @ A @ X4 @ ( nil @ A ) ) ) ) ) ) ).

% neq_Nil_rev_conv
thf(fact_4172_rev__nonempty__induct2_H,axiom,
    ! [A: $tType,B: $tType,Xs: list @ A,Ys3: list @ B,P2: ( list @ A ) > ( list @ B ) > $o] :
      ( ( Xs
       != ( nil @ A ) )
     => ( ( Ys3
         != ( nil @ B ) )
       => ( ! [X3: A,Y3: B] : ( P2 @ ( cons @ A @ X3 @ ( nil @ A ) ) @ ( cons @ B @ Y3 @ ( nil @ B ) ) )
         => ( ! [X3: A,Xs2: list @ A,Y3: B] :
                ( ( Xs2
                 != ( nil @ A ) )
               => ( P2 @ ( append @ A @ Xs2 @ ( cons @ A @ X3 @ ( nil @ A ) ) ) @ ( cons @ B @ Y3 @ ( nil @ B ) ) ) )
           => ( ! [X3: A,Y3: B,Ys5: list @ B] :
                  ( ( Ys5
                   != ( nil @ B ) )
                 => ( P2 @ ( cons @ A @ X3 @ ( nil @ A ) ) @ ( append @ B @ Ys5 @ ( cons @ B @ Y3 @ ( nil @ B ) ) ) ) )
             => ( ! [X3: A,Xs2: list @ A,Y3: B,Ys5: list @ B] :
                    ( ( P2 @ Xs2 @ Ys5 )
                   => ( ( Xs2
                       != ( nil @ A ) )
                     => ( ( Ys5
                         != ( nil @ B ) )
                       => ( P2 @ ( append @ A @ Xs2 @ ( cons @ A @ X3 @ ( nil @ A ) ) ) @ ( append @ B @ Ys5 @ ( cons @ B @ Y3 @ ( nil @ B ) ) ) ) ) ) )
               => ( P2 @ Xs @ Ys3 ) ) ) ) ) ) ) ).

% rev_nonempty_induct2'
thf(fact_4173_list__Cons__eq__append__cases,axiom,
    ! [A: $tType,X: A,Xs: list @ A,Ys3: list @ A,Zs: list @ A] :
      ( ( ( cons @ A @ X @ Xs )
        = ( append @ A @ Ys3 @ Zs ) )
     => ( ( ( Ys3
            = ( nil @ A ) )
         => ( Zs
           != ( cons @ A @ X @ Xs ) ) )
       => ~ ! [Ys4: list @ A] :
              ( ( Ys3
                = ( cons @ A @ X @ Ys4 ) )
             => ( ( append @ A @ Ys4 @ Zs )
               != Xs ) ) ) ) ).

% list_Cons_eq_append_cases
thf(fact_4174_list__append__eq__Cons__cases,axiom,
    ! [A: $tType,Ys3: list @ A,Zs: list @ A,X: A,Xs: list @ A] :
      ( ( ( append @ A @ Ys3 @ Zs )
        = ( cons @ A @ X @ Xs ) )
     => ( ( ( Ys3
            = ( nil @ A ) )
         => ( Zs
           != ( cons @ A @ X @ Xs ) ) )
       => ~ ! [Ys4: list @ A] :
              ( ( Ys3
                = ( cons @ A @ X @ Ys4 ) )
             => ( ( append @ A @ Ys4 @ Zs )
               != Xs ) ) ) ) ).

% list_append_eq_Cons_cases
thf(fact_4175_Rat__induct__pos,axiom,
    ! [P2: rat > $o,Q6: rat] :
      ( ! [A5: int,B4: int] :
          ( ( ord_less @ int @ ( zero_zero @ int ) @ B4 )
         => ( P2 @ ( fract @ A5 @ B4 ) ) )
     => ( P2 @ Q6 ) ) ).

% Rat_induct_pos
thf(fact_4176_xy__in__set__cases,axiom,
    ! [A: $tType,X: A,L: list @ A,Y: A] :
      ( ( member @ A @ X @ ( set2 @ A @ L ) )
     => ( ( member @ A @ Y @ ( set2 @ A @ L ) )
       => ( ( ( X = Y )
           => ! [L1: list @ A,L22: list @ A] :
                ( L
               != ( append @ A @ L1 @ ( cons @ A @ Y @ L22 ) ) ) )
         => ( ( ( X != Y )
             => ! [L1: list @ A,L22: list @ A,L32: list @ A] :
                  ( L
                 != ( append @ A @ L1 @ ( cons @ A @ X @ ( append @ A @ L22 @ ( cons @ A @ Y @ L32 ) ) ) ) ) )
           => ~ ( ( X != Y )
               => ! [L1: list @ A,L22: list @ A,L32: list @ A] :
                    ( L
                   != ( append @ A @ L1 @ ( cons @ A @ Y @ ( append @ A @ L22 @ ( cons @ A @ X @ L32 ) ) ) ) ) ) ) ) ) ) ).

% xy_in_set_cases
thf(fact_4177_in__set__list__format,axiom,
    ! [A: $tType,E3: A,L: list @ A] :
      ( ( member @ A @ E3 @ ( set2 @ A @ L ) )
     => ~ ! [L1: list @ A,L22: list @ A] :
            ( L
           != ( append @ A @ L1 @ ( cons @ A @ E3 @ L22 ) ) ) ) ).

% in_set_list_format
thf(fact_4178_list__rest__coinc,axiom,
    ! [A: $tType,S22: list @ A,S1: list @ A,R12: list @ A,R23: list @ A] :
      ( ( ord_less_eq @ nat @ ( size_size @ ( list @ A ) @ S22 ) @ ( size_size @ ( list @ A ) @ S1 ) )
     => ( ( ( append @ A @ S1 @ R12 )
          = ( append @ A @ S22 @ R23 ) )
       => ? [R1p: list @ A] :
            ( R23
            = ( append @ A @ R1p @ R12 ) ) ) ) ).

% list_rest_coinc
thf(fact_4179_set__union__code,axiom,
    ! [A: $tType,Xs: list @ A,Ys3: list @ A] :
      ( ( sup_sup @ ( set @ A ) @ ( set2 @ A @ Xs ) @ ( set2 @ A @ Ys3 ) )
      = ( set2 @ A @ ( append @ A @ Xs @ Ys3 ) ) ) ).

% set_union_code
thf(fact_4180_distinct__match,axiom,
    ! [A: $tType,Al: list @ A,E3: A,Bl: list @ A,Al2: list @ A,Bl2: list @ A] :
      ( ( distinct @ A @ ( append @ A @ Al @ ( cons @ A @ E3 @ Bl ) ) )
     => ( ( ( append @ A @ Al @ ( cons @ A @ E3 @ Bl ) )
          = ( append @ A @ Al2 @ ( cons @ A @ E3 @ Bl2 ) ) )
        = ( ( Al = Al2 )
          & ( Bl = Bl2 ) ) ) ) ).

% distinct_match
thf(fact_4181_prod_Odistrib__triv_H,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [I5: set @ B,G3: B > A,H: B > A] :
          ( ( finite_finite2 @ B @ I5 )
         => ( ( groups1962203154675924110t_prod @ B @ A
              @ ^ [I: B] : ( times_times @ A @ ( G3 @ I ) @ ( H @ I ) )
              @ I5 )
            = ( times_times @ A @ ( groups1962203154675924110t_prod @ B @ A @ G3 @ I5 ) @ ( groups1962203154675924110t_prod @ B @ A @ H @ I5 ) ) ) ) ) ).

% prod.distrib_triv'
thf(fact_4182_sorted__append,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Xs: list @ A,Ys3: list @ A] :
          ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( append @ A @ Xs @ Ys3 ) )
          = ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ Xs )
            & ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ Ys3 )
            & ! [X4: A] :
                ( ( member @ A @ X4 @ ( set2 @ A @ Xs ) )
               => ! [Y4: A] :
                    ( ( member @ A @ Y4 @ ( set2 @ A @ Ys3 ) )
                   => ( ord_less_eq @ A @ X4 @ Y4 ) ) ) ) ) ) ).

% sorted_append
thf(fact_4183_list__update__append1,axiom,
    ! [A: $tType,I2: nat,Xs: list @ A,Ys3: list @ A,X: A] :
      ( ( ord_less @ nat @ I2 @ ( size_size @ ( list @ A ) @ Xs ) )
     => ( ( list_update @ A @ ( append @ A @ Xs @ Ys3 ) @ I2 @ X )
        = ( append @ A @ ( list_update @ A @ Xs @ I2 @ X ) @ Ys3 ) ) ) ).

% list_update_append1
thf(fact_4184_foldl__rule,axiom,
    ! [Sigma2: $tType,A: $tType,I5: Sigma2 > ( list @ A ) > ( list @ A ) > $o,Sigma_0: Sigma2,L0: list @ A,F3: Sigma2 > A > Sigma2] :
      ( ( I5 @ Sigma_0 @ ( nil @ A ) @ L0 )
     => ( ! [L1: list @ A,L22: list @ A,X3: A,Sigma: Sigma2] :
            ( ( L0
              = ( append @ A @ L1 @ ( cons @ A @ X3 @ L22 ) ) )
           => ( ( I5 @ Sigma @ L1 @ ( cons @ A @ X3 @ L22 ) )
             => ( I5 @ ( F3 @ Sigma @ X3 ) @ ( append @ A @ L1 @ ( cons @ A @ X3 @ ( nil @ A ) ) ) @ L22 ) ) )
       => ( I5 @ ( foldl @ Sigma2 @ A @ F3 @ Sigma_0 @ L0 ) @ L0 @ ( nil @ A ) ) ) ) ).

% foldl_rule
thf(fact_4185_foldl__rule__P,axiom,
    ! [Sigma2: $tType,A: $tType,I5: Sigma2 > ( list @ A ) > ( list @ A ) > $o,Sigma_0: Sigma2,L0: list @ A,F3: Sigma2 > A > Sigma2,P2: Sigma2 > $o] :
      ( ( I5 @ Sigma_0 @ ( nil @ A ) @ L0 )
     => ( ! [L1: list @ A,L22: list @ A,X3: A,Sigma: Sigma2] :
            ( ( L0
              = ( append @ A @ L1 @ ( cons @ A @ X3 @ L22 ) ) )
           => ( ( I5 @ Sigma @ L1 @ ( cons @ A @ X3 @ L22 ) )
             => ( I5 @ ( F3 @ Sigma @ X3 ) @ ( append @ A @ L1 @ ( cons @ A @ X3 @ ( nil @ A ) ) ) @ L22 ) ) )
       => ( ! [Sigma: Sigma2] :
              ( ( I5 @ Sigma @ L0 @ ( nil @ A ) )
             => ( P2 @ Sigma ) )
         => ( P2 @ ( foldl @ Sigma2 @ A @ F3 @ Sigma_0 @ L0 ) ) ) ) ) ).

% foldl_rule_P
thf(fact_4186_foldl__rule__aux,axiom,
    ! [Sigma2: $tType,A: $tType,I5: Sigma2 > ( list @ A ) > $o,Sigma_0: Sigma2,L0: list @ A,F3: Sigma2 > A > Sigma2] :
      ( ( I5 @ Sigma_0 @ L0 )
     => ( ! [L1: list @ A,L22: list @ A,X3: A,Sigma: Sigma2] :
            ( ( L0
              = ( append @ A @ L1 @ ( cons @ A @ X3 @ L22 ) ) )
           => ( ( I5 @ Sigma @ ( cons @ A @ X3 @ L22 ) )
             => ( I5 @ ( F3 @ Sigma @ X3 ) @ L22 ) ) )
       => ( I5 @ ( foldl @ Sigma2 @ A @ F3 @ Sigma_0 @ L0 ) @ ( nil @ A ) ) ) ) ).

% foldl_rule_aux
thf(fact_4187_foldl__rule__aux__P,axiom,
    ! [Sigma2: $tType,A: $tType,I5: Sigma2 > ( list @ A ) > $o,Sigma_0: Sigma2,L0: list @ A,F3: Sigma2 > A > Sigma2,P2: Sigma2 > $o] :
      ( ( I5 @ Sigma_0 @ L0 )
     => ( ! [L1: list @ A,L22: list @ A,X3: A,Sigma: Sigma2] :
            ( ( L0
              = ( append @ A @ L1 @ ( cons @ A @ X3 @ L22 ) ) )
           => ( ( I5 @ Sigma @ ( cons @ A @ X3 @ L22 ) )
             => ( I5 @ ( F3 @ Sigma @ X3 ) @ L22 ) ) )
       => ( ! [Sigma: Sigma2] :
              ( ( I5 @ Sigma @ ( nil @ A ) )
             => ( P2 @ Sigma ) )
         => ( P2 @ ( foldl @ Sigma2 @ A @ F3 @ Sigma_0 @ L0 ) ) ) ) ) ).

% foldl_rule_aux_P
thf(fact_4188_lex__append__left__iff,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),Xs: list @ A,Ys3: list @ A,Zs: list @ A] :
      ( ! [X3: A] :
          ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X3 @ X3 ) @ R3 )
     => ( ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( append @ A @ Xs @ Ys3 ) @ ( append @ A @ Xs @ Zs ) ) @ ( lex @ A @ R3 ) )
        = ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Ys3 @ Zs ) @ ( lex @ A @ R3 ) ) ) ) ).

% lex_append_left_iff
thf(fact_4189_lex__append__leftD,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),Xs: list @ A,Ys3: list @ A,Zs: list @ A] :
      ( ! [X3: A] :
          ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X3 @ X3 ) @ R3 )
     => ( ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( append @ A @ Xs @ Ys3 ) @ ( append @ A @ Xs @ Zs ) ) @ ( lex @ A @ R3 ) )
       => ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Ys3 @ Zs ) @ ( lex @ A @ R3 ) ) ) ) ).

% lex_append_leftD
thf(fact_4190_prod_Omono__neutral__left_H,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [S: set @ B,T8: set @ B,G3: B > A] :
          ( ( ord_less_eq @ ( set @ B ) @ S @ T8 )
         => ( ! [X3: B] :
                ( ( member @ B @ X3 @ ( minus_minus @ ( set @ B ) @ T8 @ S ) )
               => ( ( G3 @ X3 )
                  = ( one_one @ A ) ) )
           => ( ( groups1962203154675924110t_prod @ B @ A @ G3 @ S )
              = ( groups1962203154675924110t_prod @ B @ A @ G3 @ T8 ) ) ) ) ) ).

% prod.mono_neutral_left'
thf(fact_4191_prod_Omono__neutral__right_H,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [S: set @ B,T8: set @ B,G3: B > A] :
          ( ( ord_less_eq @ ( set @ B ) @ S @ T8 )
         => ( ! [X3: B] :
                ( ( member @ B @ X3 @ ( minus_minus @ ( set @ B ) @ T8 @ S ) )
               => ( ( G3 @ X3 )
                  = ( one_one @ A ) ) )
           => ( ( groups1962203154675924110t_prod @ B @ A @ G3 @ T8 )
              = ( groups1962203154675924110t_prod @ B @ A @ G3 @ S ) ) ) ) ) ).

% prod.mono_neutral_right'
thf(fact_4192_prod_Omono__neutral__cong__left_H,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [S: set @ B,T8: set @ B,H: B > A,G3: B > A] :
          ( ( ord_less_eq @ ( set @ B ) @ S @ T8 )
         => ( ! [I3: B] :
                ( ( member @ B @ I3 @ ( minus_minus @ ( set @ B ) @ T8 @ S ) )
               => ( ( H @ I3 )
                  = ( one_one @ A ) ) )
           => ( ! [X3: B] :
                  ( ( member @ B @ X3 @ S )
                 => ( ( G3 @ X3 )
                    = ( H @ X3 ) ) )
             => ( ( groups1962203154675924110t_prod @ B @ A @ G3 @ S )
                = ( groups1962203154675924110t_prod @ B @ A @ H @ T8 ) ) ) ) ) ) ).

% prod.mono_neutral_cong_left'
thf(fact_4193_prod_Omono__neutral__cong__right_H,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [S: set @ B,T8: set @ B,G3: B > A,H: B > A] :
          ( ( ord_less_eq @ ( set @ B ) @ S @ T8 )
         => ( ! [X3: B] :
                ( ( member @ B @ X3 @ ( minus_minus @ ( set @ B ) @ T8 @ S ) )
               => ( ( G3 @ X3 )
                  = ( one_one @ A ) ) )
           => ( ! [X3: B] :
                  ( ( member @ B @ X3 @ S )
                 => ( ( G3 @ X3 )
                    = ( H @ X3 ) ) )
             => ( ( groups1962203154675924110t_prod @ B @ A @ G3 @ T8 )
                = ( groups1962203154675924110t_prod @ B @ A @ H @ S ) ) ) ) ) ) ).

% prod.mono_neutral_cong_right'
thf(fact_4194_length__Suc__rev__conv,axiom,
    ! [A: $tType,Xs: list @ A,N: nat] :
      ( ( ( size_size @ ( list @ A ) @ Xs )
        = ( suc @ N ) )
      = ( ? [Ys2: list @ A,Y4: A] :
            ( ( Xs
              = ( append @ A @ Ys2 @ ( cons @ A @ Y4 @ ( nil @ A ) ) ) )
            & ( ( size_size @ ( list @ A ) @ Ys2 )
              = N ) ) ) ) ).

% length_Suc_rev_conv
thf(fact_4195_length__append__singleton,axiom,
    ! [A: $tType,Xs: list @ A,X: A] :
      ( ( size_size @ ( list @ A ) @ ( append @ A @ Xs @ ( cons @ A @ X @ ( nil @ A ) ) ) )
      = ( suc @ ( size_size @ ( list @ A ) @ Xs ) ) ) ).

% length_append_singleton
thf(fact_4196_length__compl__rev__induct,axiom,
    ! [A: $tType,P2: ( list @ A ) > $o,L: list @ A] :
      ( ( P2 @ ( nil @ A ) )
     => ( ! [L3: list @ A,E2: A] :
            ( ! [Ll: list @ A] :
                ( ( ord_less_eq @ nat @ ( size_size @ ( list @ A ) @ Ll ) @ ( size_size @ ( list @ A ) @ L3 ) )
               => ( P2 @ Ll ) )
           => ( P2 @ ( append @ A @ L3 @ ( cons @ A @ E2 @ ( nil @ A ) ) ) ) )
       => ( P2 @ L ) ) ) ).

% length_compl_rev_induct
thf(fact_4197_not__distinct__split__distinct,axiom,
    ! [A: $tType,Xs: list @ A] :
      ( ~ ( distinct @ A @ Xs )
     => ~ ! [Y3: A,Ys5: list @ A] :
            ( ( distinct @ A @ Ys5 )
           => ( ( member @ A @ Y3 @ ( set2 @ A @ Ys5 ) )
             => ! [Zs2: list @ A] :
                  ( Xs
                 != ( append @ A @ Ys5 @ ( append @ A @ ( cons @ A @ Y3 @ ( nil @ A ) ) @ Zs2 ) ) ) ) ) ) ).

% not_distinct_split_distinct
thf(fact_4198_nth__append,axiom,
    ! [A: $tType,N: nat,Xs: list @ A,Ys3: list @ A] :
      ( ( ( ord_less @ nat @ N @ ( size_size @ ( list @ A ) @ Xs ) )
       => ( ( nth @ A @ ( append @ A @ Xs @ Ys3 ) @ N )
          = ( nth @ A @ Xs @ N ) ) )
      & ( ~ ( ord_less @ nat @ N @ ( size_size @ ( list @ A ) @ Xs ) )
       => ( ( nth @ A @ ( append @ A @ Xs @ Ys3 ) @ N )
          = ( nth @ A @ Ys3 @ ( minus_minus @ nat @ N @ ( size_size @ ( list @ A ) @ Xs ) ) ) ) ) ) ).

% nth_append
thf(fact_4199_list__update__append,axiom,
    ! [A: $tType,N: nat,Xs: list @ A,Ys3: list @ A,X: A] :
      ( ( ( ord_less @ nat @ N @ ( size_size @ ( list @ A ) @ Xs ) )
       => ( ( list_update @ A @ ( append @ A @ Xs @ Ys3 ) @ N @ X )
          = ( append @ A @ ( list_update @ A @ Xs @ N @ X ) @ Ys3 ) ) )
      & ( ~ ( ord_less @ nat @ N @ ( size_size @ ( list @ A ) @ Xs ) )
       => ( ( list_update @ A @ ( append @ A @ Xs @ Ys3 ) @ N @ X )
          = ( append @ A @ Xs @ ( list_update @ A @ Ys3 @ ( minus_minus @ nat @ N @ ( size_size @ ( list @ A ) @ Xs ) ) @ X ) ) ) ) ) ).

% list_update_append
thf(fact_4200_prod_Odistrib_H,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [I5: set @ B,G3: B > A,H: B > A] :
          ( ( finite_finite2 @ B
            @ ( collect @ B
              @ ^ [X4: B] :
                  ( ( member @ B @ X4 @ I5 )
                  & ( ( G3 @ X4 )
                   != ( one_one @ A ) ) ) ) )
         => ( ( finite_finite2 @ B
              @ ( collect @ B
                @ ^ [X4: B] :
                    ( ( member @ B @ X4 @ I5 )
                    & ( ( H @ X4 )
                     != ( one_one @ A ) ) ) ) )
           => ( ( groups1962203154675924110t_prod @ B @ A
                @ ^ [I: B] : ( times_times @ A @ ( G3 @ I ) @ ( H @ I ) )
                @ I5 )
              = ( times_times @ A @ ( groups1962203154675924110t_prod @ B @ A @ G3 @ I5 ) @ ( groups1962203154675924110t_prod @ B @ A @ H @ I5 ) ) ) ) ) ) ).

% prod.distrib'
thf(fact_4201_upto__split2,axiom,
    ! [I2: int,J2: int,K2: int] :
      ( ( ord_less_eq @ int @ I2 @ J2 )
     => ( ( ord_less_eq @ int @ J2 @ K2 )
       => ( ( upto @ I2 @ K2 )
          = ( append @ int @ ( upto @ I2 @ J2 ) @ ( upto @ ( plus_plus @ int @ J2 @ ( one_one @ int ) ) @ K2 ) ) ) ) ) ).

% upto_split2
thf(fact_4202_upto__split1,axiom,
    ! [I2: int,J2: int,K2: int] :
      ( ( ord_less_eq @ int @ I2 @ J2 )
     => ( ( ord_less_eq @ int @ J2 @ K2 )
       => ( ( upto @ I2 @ K2 )
          = ( append @ int @ ( upto @ I2 @ ( minus_minus @ int @ J2 @ ( one_one @ int ) ) ) @ ( upto @ J2 @ K2 ) ) ) ) ) ).

% upto_split1
thf(fact_4203_prod_OG__def,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_mult @ A )
     => ( ( groups1962203154675924110t_prod @ B @ A )
        = ( ^ [P7: B > A,I7: set @ B] :
              ( if @ A
              @ ( finite_finite2 @ B
                @ ( collect @ B
                  @ ^ [X4: B] :
                      ( ( member @ B @ X4 @ I7 )
                      & ( ( P7 @ X4 )
                       != ( one_one @ A ) ) ) ) )
              @ ( groups7121269368397514597t_prod @ B @ A @ P7
                @ ( collect @ B
                  @ ^ [X4: B] :
                      ( ( member @ B @ X4 @ I7 )
                      & ( ( P7 @ X4 )
                       != ( one_one @ A ) ) ) ) )
              @ ( one_one @ A ) ) ) ) ) ).

% prod.G_def
thf(fact_4204_zero__less__Fract__iff,axiom,
    ! [B2: int,A3: int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ B2 )
     => ( ( ord_less @ rat @ ( zero_zero @ rat ) @ ( fract @ A3 @ B2 ) )
        = ( ord_less @ int @ ( zero_zero @ int ) @ A3 ) ) ) ).

% zero_less_Fract_iff
thf(fact_4205_Fract__less__zero__iff,axiom,
    ! [B2: int,A3: int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ B2 )
     => ( ( ord_less @ rat @ ( fract @ A3 @ B2 ) @ ( zero_zero @ rat ) )
        = ( ord_less @ int @ A3 @ ( zero_zero @ int ) ) ) ) ).

% Fract_less_zero_iff
thf(fact_4206_Fract__less__one__iff,axiom,
    ! [B2: int,A3: int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ B2 )
     => ( ( ord_less @ rat @ ( fract @ A3 @ B2 ) @ ( one_one @ rat ) )
        = ( ord_less @ int @ A3 @ B2 ) ) ) ).

% Fract_less_one_iff
thf(fact_4207_one__less__Fract__iff,axiom,
    ! [B2: int,A3: int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ B2 )
     => ( ( ord_less @ rat @ ( one_one @ rat ) @ ( fract @ A3 @ B2 ) )
        = ( ord_less @ int @ B2 @ A3 ) ) ) ).

% one_less_Fract_iff
thf(fact_4208_Fract__add__one,axiom,
    ! [N: int,M: int] :
      ( ( N
       != ( zero_zero @ int ) )
     => ( ( fract @ ( plus_plus @ int @ M @ N ) @ N )
        = ( plus_plus @ rat @ ( fract @ M @ N ) @ ( one_one @ rat ) ) ) ) ).

% Fract_add_one
thf(fact_4209_slice__prepend,axiom,
    ! [A: $tType,I2: nat,K2: nat,Xs: list @ A,Ys3: list @ A] :
      ( ( ord_less_eq @ nat @ I2 @ K2 )
     => ( ( ord_less_eq @ nat @ K2 @ ( size_size @ ( list @ A ) @ Xs ) )
       => ( ( slice @ A @ I2 @ K2 @ Xs )
          = ( slice @ A @ ( plus_plus @ nat @ I2 @ ( size_size @ ( list @ A ) @ Ys3 ) ) @ ( plus_plus @ nat @ K2 @ ( size_size @ ( list @ A ) @ Ys3 ) ) @ ( append @ A @ Ys3 @ Xs ) ) ) ) ) ).

% slice_prepend
thf(fact_4210_sorted__append__bigger,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Xs: list @ A,Y: A] :
          ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ Xs )
         => ( ! [X3: A] :
                ( ( member @ A @ X3 @ ( set2 @ A @ Xs ) )
               => ( ord_less_eq @ A @ X3 @ Y ) )
           => ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( append @ A @ Xs @ ( cons @ A @ Y @ ( nil @ A ) ) ) ) ) ) ) ).

% sorted_append_bigger
thf(fact_4211_horner__sum__append,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_semiring_1 @ A )
     => ! [F3: B > A,A3: A,Xs: list @ B,Ys3: list @ B] :
          ( ( groups4207007520872428315er_sum @ B @ A @ F3 @ A3 @ ( append @ B @ Xs @ Ys3 ) )
          = ( plus_plus @ A @ ( groups4207007520872428315er_sum @ B @ A @ F3 @ A3 @ Xs ) @ ( times_times @ A @ ( power_power @ A @ A3 @ ( size_size @ ( list @ B ) @ Xs ) ) @ ( groups4207007520872428315er_sum @ B @ A @ F3 @ A3 @ Ys3 ) ) ) ) ) ).

% horner_sum_append
thf(fact_4212_Fract__le__zero__iff,axiom,
    ! [B2: int,A3: int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ B2 )
     => ( ( ord_less_eq @ rat @ ( fract @ A3 @ B2 ) @ ( zero_zero @ rat ) )
        = ( ord_less_eq @ int @ A3 @ ( zero_zero @ int ) ) ) ) ).

% Fract_le_zero_iff
thf(fact_4213_zero__le__Fract__iff,axiom,
    ! [B2: int,A3: int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ B2 )
     => ( ( ord_less_eq @ rat @ ( zero_zero @ rat ) @ ( fract @ A3 @ B2 ) )
        = ( ord_less_eq @ int @ ( zero_zero @ int ) @ A3 ) ) ) ).

% zero_le_Fract_iff
thf(fact_4214_one__le__Fract__iff,axiom,
    ! [B2: int,A3: int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ B2 )
     => ( ( ord_less_eq @ rat @ ( one_one @ rat ) @ ( fract @ A3 @ B2 ) )
        = ( ord_less_eq @ int @ B2 @ A3 ) ) ) ).

% one_le_Fract_iff
thf(fact_4215_Fract__le__one__iff,axiom,
    ! [B2: int,A3: int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ B2 )
     => ( ( ord_less_eq @ rat @ ( fract @ A3 @ B2 ) @ ( one_one @ rat ) )
        = ( ord_less_eq @ int @ A3 @ B2 ) ) ) ).

% Fract_le_one_iff
thf(fact_4216_sorted__insort__is__snoc,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Xs: list @ A,A3: A] :
          ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ Xs )
         => ( ! [X3: A] :
                ( ( member @ A @ X3 @ ( set2 @ A @ Xs ) )
               => ( ord_less_eq @ A @ X3 @ A3 ) )
           => ( ( linorder_insort_key @ A @ A
                @ ^ [X4: A] : X4
                @ A3
                @ Xs )
              = ( append @ A @ Xs @ ( cons @ A @ A3 @ ( nil @ A ) ) ) ) ) ) ) ).

% sorted_insort_is_snoc
thf(fact_4217_upto__split3,axiom,
    ! [I2: int,J2: int,K2: int] :
      ( ( ord_less_eq @ int @ I2 @ J2 )
     => ( ( ord_less_eq @ int @ J2 @ K2 )
       => ( ( upto @ I2 @ K2 )
          = ( append @ int @ ( upto @ I2 @ ( minus_minus @ int @ J2 @ ( one_one @ int ) ) ) @ ( cons @ int @ J2 @ ( upto @ ( plus_plus @ int @ J2 @ ( one_one @ int ) ) @ K2 ) ) ) ) ) ) ).

% upto_split3
thf(fact_4218_subset__eq__mset__impl_Oelims,axiom,
    ! [A: $tType,X: list @ A,Xa: list @ A,Y: option @ $o] :
      ( ( ( subset_eq_mset_impl @ A @ X @ Xa )
        = Y )
     => ( ( ( X
            = ( nil @ A ) )
         => ( Y
           != ( some @ $o
              @ ( Xa
               != ( nil @ A ) ) ) ) )
       => ~ ! [X3: A,Xs2: list @ A] :
              ( ( X
                = ( cons @ A @ X3 @ Xs2 ) )
             => ( Y
               != ( case_option @ ( option @ $o ) @ ( product_prod @ ( list @ A ) @ ( product_prod @ A @ ( list @ A ) ) ) @ ( none @ $o )
                  @ ( product_case_prod @ ( list @ A ) @ ( product_prod @ A @ ( list @ A ) ) @ ( option @ $o )
                    @ ^ [Ys1: list @ A] :
                        ( product_case_prod @ A @ ( list @ A ) @ ( option @ $o )
                        @ ^ [Y4: A,Ys22: list @ A] : ( subset_eq_mset_impl @ A @ Xs2 @ ( append @ A @ Ys1 @ Ys22 ) ) ) )
                  @ ( extract @ A
                    @ ( ^ [Y6: A,Z5: A] : Y6 = Z5
                      @ X3 )
                    @ Xa ) ) ) ) ) ) ).

% subset_eq_mset_impl.elims
thf(fact_4219_subset__eq__mset__impl_Opelims,axiom,
    ! [A: $tType,X: list @ A,Xa: list @ A,Y: option @ $o] :
      ( ( ( subset_eq_mset_impl @ A @ X @ Xa )
        = Y )
     => ( ( accp @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( subset751672762298770561pl_rel @ A ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ X @ Xa ) )
       => ( ( ( X
              = ( nil @ A ) )
           => ( ( Y
                = ( some @ $o
                  @ ( Xa
                   != ( nil @ A ) ) ) )
             => ~ ( accp @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( subset751672762298770561pl_rel @ A ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( nil @ A ) @ Xa ) ) ) )
         => ~ ! [X3: A,Xs2: list @ A] :
                ( ( X
                  = ( cons @ A @ X3 @ Xs2 ) )
               => ( ( Y
                    = ( case_option @ ( option @ $o ) @ ( product_prod @ ( list @ A ) @ ( product_prod @ A @ ( list @ A ) ) ) @ ( none @ $o )
                      @ ( product_case_prod @ ( list @ A ) @ ( product_prod @ A @ ( list @ A ) ) @ ( option @ $o )
                        @ ^ [Ys1: list @ A] :
                            ( product_case_prod @ A @ ( list @ A ) @ ( option @ $o )
                            @ ^ [Y4: A,Ys22: list @ A] : ( subset_eq_mset_impl @ A @ Xs2 @ ( append @ A @ Ys1 @ Ys22 ) ) ) )
                      @ ( extract @ A
                        @ ( ^ [Y6: A,Z5: A] : Y6 = Z5
                          @ X3 )
                        @ Xa ) ) )
                 => ~ ( accp @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( subset751672762298770561pl_rel @ A ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( cons @ A @ X3 @ Xs2 ) @ Xa ) ) ) ) ) ) ) ).

% subset_eq_mset_impl.pelims
thf(fact_4220_Succ__def,axiom,
    ! [A: $tType] :
      ( ( bNF_Greatest_Succ @ A )
      = ( ^ [Kl2: set @ ( list @ A ),Kl: list @ A] :
            ( collect @ A
            @ ^ [K3: A] : ( member @ ( list @ A ) @ ( append @ A @ Kl @ ( cons @ A @ K3 @ ( nil @ A ) ) ) @ Kl2 ) ) ) ) ).

% Succ_def
thf(fact_4221_sort__key__by__quicksort__code,axiom,
    ! [A: $tType,B: $tType] :
      ( ( linorder @ A )
     => ( ( linorder_sort_key @ B @ A )
        = ( ^ [F4: B > A,Xs3: list @ B] :
              ( case_list @ ( list @ B ) @ B @ ( nil @ B )
              @ ^ [X4: B] :
                  ( case_list @ ( list @ B ) @ B @ Xs3
                  @ ^ [Y4: B] :
                      ( case_list @ ( list @ B ) @ B @ ( if @ ( list @ B ) @ ( ord_less_eq @ A @ ( F4 @ X4 ) @ ( F4 @ Y4 ) ) @ Xs3 @ ( cons @ B @ Y4 @ ( cons @ B @ X4 @ ( nil @ B ) ) ) )
                      @ ^ [Ab: B,List: list @ B] :
                          ( product_case_prod @ ( list @ B ) @ ( product_prod @ ( list @ B ) @ ( list @ B ) ) @ ( list @ B )
                          @ ^ [Lts: list @ B] :
                              ( product_case_prod @ ( list @ B ) @ ( list @ B ) @ ( list @ B )
                              @ ^ [Eqs: list @ B,Gts: list @ B] : ( append @ B @ ( linorder_sort_key @ B @ A @ F4 @ Lts ) @ ( append @ B @ Eqs @ ( linorder_sort_key @ B @ A @ F4 @ Gts ) ) ) )
                          @ ( linorder_part @ B @ A @ F4 @ ( F4 @ ( nth @ B @ Xs3 @ ( divide_divide @ nat @ ( size_size @ ( list @ B ) @ Xs3 ) @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) ) ) @ Xs3 ) ) ) )
              @ Xs3 ) ) ) ) ).

% sort_key_by_quicksort_code
thf(fact_4222_sort__upto,axiom,
    ! [I2: int,J2: int] :
      ( ( linorder_sort_key @ int @ int
        @ ^ [X4: int] : X4
        @ ( upto @ I2 @ J2 ) )
      = ( upto @ I2 @ J2 ) ) ).

% sort_upto
thf(fact_4223_sort__key__const,axiom,
    ! [B: $tType,A: $tType] :
      ( ( linorder @ B )
     => ! [C3: B,Xs: list @ A] :
          ( ( linorder_sort_key @ A @ B
            @ ^ [X4: A] : C3
            @ Xs )
          = Xs ) ) ).

% sort_key_const
thf(fact_4224_list_Ocase__distrib,axiom,
    ! [B: $tType,C: $tType,A: $tType,H: B > C,F1: B,F22: A > ( list @ A ) > B,List2: list @ A] :
      ( ( H @ ( case_list @ B @ A @ F1 @ F22 @ List2 ) )
      = ( case_list @ C @ A @ ( H @ F1 )
        @ ^ [X12: A,X23: list @ A] : ( H @ ( F22 @ X12 @ X23 ) )
        @ List2 ) ) ).

% list.case_distrib
thf(fact_4225_sorted__sort__id,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Xs: list @ A] :
          ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ Xs )
         => ( ( linorder_sort_key @ A @ A
              @ ^ [X4: A] : X4
              @ Xs )
            = Xs ) ) ) ).

% sorted_sort_id
thf(fact_4226_sorted__sort,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Xs: list @ A] :
          ( sorted_wrt @ A @ ( ord_less_eq @ A )
          @ ( linorder_sort_key @ A @ A
            @ ^ [X4: A] : X4
            @ Xs ) ) ) ).

% sorted_sort
thf(fact_4227_sort__mergesort,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ( ( linorder_sort_key @ A @ A
          @ ^ [X4: A] : X4 )
        = ( mergesort @ A ) ) ) ).

% sort_mergesort
thf(fact_4228_sort__mergesort__by__rel,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ( ( linorder_sort_key @ A @ A
          @ ^ [X4: A] : X4 )
        = ( mergesort_by_rel @ A @ ( ord_less_eq @ A ) ) ) ) ).

% sort_mergesort_by_rel
thf(fact_4229_zip__Cons1,axiom,
    ! [A: $tType,B: $tType,X: A,Xs: list @ A,Ys3: list @ B] :
      ( ( zip @ A @ B @ ( cons @ A @ X @ Xs ) @ Ys3 )
      = ( case_list @ ( list @ ( product_prod @ A @ B ) ) @ B @ ( nil @ ( product_prod @ A @ B ) )
        @ ^ [Y4: B,Ys2: list @ B] : ( cons @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X @ Y4 ) @ ( zip @ A @ B @ Xs @ Ys2 ) )
        @ Ys3 ) ) ).

% zip_Cons1
thf(fact_4230_zip__Cons,axiom,
    ! [B: $tType,A: $tType,Xs: list @ A,Y: B,Ys3: list @ B] :
      ( ( zip @ A @ B @ Xs @ ( cons @ B @ Y @ Ys3 ) )
      = ( case_list @ ( list @ ( product_prod @ A @ B ) ) @ A @ ( nil @ ( product_prod @ A @ B ) )
        @ ^ [Z2: A,Zs3: list @ A] : ( cons @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ Z2 @ Y ) @ ( zip @ A @ B @ Zs3 @ Ys3 ) )
        @ Xs ) ) ).

% zip_Cons
thf(fact_4231_SuccI,axiom,
    ! [A: $tType,Kl3: list @ A,K2: A,Kl4: set @ ( list @ A )] :
      ( ( member @ ( list @ A ) @ ( append @ A @ Kl3 @ ( cons @ A @ K2 @ ( nil @ A ) ) ) @ Kl4 )
     => ( member @ A @ K2 @ ( bNF_Greatest_Succ @ A @ Kl4 @ Kl3 ) ) ) ).

% SuccI
thf(fact_4232_SuccD,axiom,
    ! [A: $tType,K2: A,Kl4: set @ ( list @ A ),Kl3: list @ A] :
      ( ( member @ A @ K2 @ ( bNF_Greatest_Succ @ A @ Kl4 @ Kl3 ) )
     => ( member @ ( list @ A ) @ ( append @ A @ Kl3 @ ( cons @ A @ K2 @ ( nil @ A ) ) ) @ Kl4 ) ) ).

% SuccD
thf(fact_4233_subset__eq__mset__impl_Osimps_I2_J,axiom,
    ! [A: $tType,X: A,Xs: list @ A,Ys3: list @ A] :
      ( ( subset_eq_mset_impl @ A @ ( cons @ A @ X @ Xs ) @ Ys3 )
      = ( case_option @ ( option @ $o ) @ ( product_prod @ ( list @ A ) @ ( product_prod @ A @ ( list @ A ) ) ) @ ( none @ $o )
        @ ( product_case_prod @ ( list @ A ) @ ( product_prod @ A @ ( list @ A ) ) @ ( option @ $o )
          @ ^ [Ys1: list @ A] :
              ( product_case_prod @ A @ ( list @ A ) @ ( option @ $o )
              @ ^ [X4: A,Ys22: list @ A] : ( subset_eq_mset_impl @ A @ Xs @ ( append @ A @ Ys1 @ Ys22 ) ) ) )
        @ ( extract @ A
          @ ( ^ [Y6: A,Z5: A] : Y6 = Z5
            @ X )
          @ Ys3 ) ) ) ).

% subset_eq_mset_impl.simps(2)
thf(fact_4234_sort__by__quicksort,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Xs: list @ A] :
          ( ( linorder_sort_key @ A @ A
            @ ^ [X4: A] : X4
            @ Xs )
          = ( append @ A
            @ ( linorder_sort_key @ A @ A
              @ ^ [X4: A] : X4
              @ ( filter2 @ A
                @ ^ [X4: A] : ( ord_less @ A @ X4 @ ( nth @ A @ Xs @ ( divide_divide @ nat @ ( size_size @ ( list @ A ) @ Xs ) @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) ) )
                @ Xs ) )
            @ ( append @ A
              @ ( filter2 @ A
                @ ^ [X4: A] :
                    ( X4
                    = ( nth @ A @ Xs @ ( divide_divide @ nat @ ( size_size @ ( list @ A ) @ Xs ) @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) ) )
                @ Xs )
              @ ( linorder_sort_key @ A @ A
                @ ^ [X4: A] : X4
                @ ( filter2 @ A @ ( ord_less @ A @ ( nth @ A @ Xs @ ( divide_divide @ nat @ ( size_size @ ( list @ A ) @ Xs ) @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) ) ) @ Xs ) ) ) ) ) ) ).

% sort_by_quicksort
thf(fact_4235_sort__key__by__quicksort,axiom,
    ! [A: $tType,B: $tType] :
      ( ( linorder @ A )
     => ( ( linorder_sort_key @ B @ A )
        = ( ^ [F4: B > A,Xs3: list @ B] :
              ( append @ B
              @ ( linorder_sort_key @ B @ A @ F4
                @ ( filter2 @ B
                  @ ^ [X4: B] : ( ord_less @ A @ ( F4 @ X4 ) @ ( F4 @ ( nth @ B @ Xs3 @ ( divide_divide @ nat @ ( size_size @ ( list @ B ) @ Xs3 ) @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) ) ) )
                  @ Xs3 ) )
              @ ( append @ B
                @ ( filter2 @ B
                  @ ^ [X4: B] :
                      ( ( F4 @ X4 )
                      = ( F4 @ ( nth @ B @ Xs3 @ ( divide_divide @ nat @ ( size_size @ ( list @ B ) @ Xs3 ) @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) ) ) )
                  @ Xs3 )
                @ ( linorder_sort_key @ B @ A @ F4
                  @ ( filter2 @ B
                    @ ^ [X4: B] : ( ord_less @ A @ ( F4 @ ( nth @ B @ Xs3 @ ( divide_divide @ nat @ ( size_size @ ( list @ B ) @ Xs3 ) @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) ) ) @ ( F4 @ X4 ) )
                    @ Xs3 ) ) ) ) ) ) ) ).

% sort_key_by_quicksort
thf(fact_4236_empty__Shift,axiom,
    ! [A: $tType,Kl4: set @ ( list @ A ),K2: A] :
      ( ( member @ ( list @ A ) @ ( nil @ A ) @ Kl4 )
     => ( ( member @ A @ K2 @ ( bNF_Greatest_Succ @ A @ Kl4 @ ( nil @ A ) ) )
       => ( member @ ( list @ A ) @ ( nil @ A ) @ ( bNF_Greatest_Shift @ A @ Kl4 @ K2 ) ) ) ) ).

% empty_Shift
thf(fact_4237_Succ__Shift,axiom,
    ! [A: $tType,Kl4: set @ ( list @ A ),K2: A,Kl3: list @ A] :
      ( ( bNF_Greatest_Succ @ A @ ( bNF_Greatest_Shift @ A @ Kl4 @ K2 ) @ Kl3 )
      = ( bNF_Greatest_Succ @ A @ Kl4 @ ( cons @ A @ K2 @ Kl3 ) ) ) ).

% Succ_Shift
thf(fact_4238_filter__filter,axiom,
    ! [A: $tType,P2: A > $o,Q2: A > $o,Xs: list @ A] :
      ( ( filter2 @ A @ P2 @ ( filter2 @ A @ Q2 @ Xs ) )
      = ( filter2 @ A
        @ ^ [X4: A] :
            ( ( Q2 @ X4 )
            & ( P2 @ X4 ) )
        @ Xs ) ) ).

% filter_filter
thf(fact_4239_set__filter,axiom,
    ! [A: $tType,P2: A > $o,Xs: list @ A] :
      ( ( set2 @ A @ ( filter2 @ A @ P2 @ Xs ) )
      = ( collect @ A
        @ ^ [X4: A] :
            ( ( member @ A @ X4 @ ( set2 @ A @ Xs ) )
            & ( P2 @ X4 ) ) ) ) ).

% set_filter
thf(fact_4240_sort__key__stable,axiom,
    ! [B: $tType,A: $tType] :
      ( ( linorder @ B )
     => ! [F3: A > B,K2: B,Xs: list @ A] :
          ( ( filter2 @ A
            @ ^ [Y4: A] :
                ( ( F3 @ Y4 )
                = K2 )
            @ ( linorder_sort_key @ A @ B @ F3 @ Xs ) )
          = ( filter2 @ A
            @ ^ [Y4: A] :
                ( ( F3 @ Y4 )
                = K2 )
            @ Xs ) ) ) ).

% sort_key_stable
thf(fact_4241_partition__in__shuffles,axiom,
    ! [A: $tType,Xs: list @ A,P2: A > $o] :
      ( member @ ( list @ A ) @ Xs
      @ ( shuffles @ A @ ( filter2 @ A @ P2 @ Xs )
        @ ( filter2 @ A
          @ ^ [X4: A] :
              ~ ( P2 @ X4 )
          @ Xs ) ) ) ).

% partition_in_shuffles
thf(fact_4242_filter__is__subset,axiom,
    ! [A: $tType,P2: A > $o,Xs: list @ A] : ( ord_less_eq @ ( set @ A ) @ ( set2 @ A @ ( filter2 @ A @ P2 @ Xs ) ) @ ( set2 @ A @ Xs ) ) ).

% filter_is_subset
thf(fact_4243_length__filter__le,axiom,
    ! [A: $tType,P2: A > $o,Xs: list @ A] : ( ord_less_eq @ nat @ ( size_size @ ( list @ A ) @ ( filter2 @ A @ P2 @ Xs ) ) @ ( size_size @ ( list @ A ) @ Xs ) ) ).

% length_filter_le
thf(fact_4244_sorted__filter_H,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [L: list @ A,P2: A > $o] :
          ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ L )
         => ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( filter2 @ A @ P2 @ L ) ) ) ) ).

% sorted_filter'
thf(fact_4245_list_Odisc__eq__case_I1_J,axiom,
    ! [A: $tType,List2: list @ A] :
      ( ( List2
        = ( nil @ A ) )
      = ( case_list @ $o @ A @ $true
        @ ^ [Uu2: A,Uv2: list @ A] : $false
        @ List2 ) ) ).

% list.disc_eq_case(1)
thf(fact_4246_list_Odisc__eq__case_I2_J,axiom,
    ! [A: $tType,List2: list @ A] :
      ( ( List2
       != ( nil @ A ) )
      = ( case_list @ $o @ A @ $false
        @ ^ [Uu2: A,Uv2: list @ A] : $true
        @ List2 ) ) ).

% list.disc_eq_case(2)
thf(fact_4247_sum__length__filter__compl,axiom,
    ! [A: $tType,P2: A > $o,Xs: list @ A] :
      ( ( plus_plus @ nat @ ( size_size @ ( list @ A ) @ ( filter2 @ A @ P2 @ Xs ) )
        @ ( size_size @ ( list @ A )
          @ ( filter2 @ A
            @ ^ [X4: A] :
                ~ ( P2 @ X4 )
            @ Xs ) ) )
      = ( size_size @ ( list @ A ) @ Xs ) ) ).

% sum_length_filter_compl
thf(fact_4248_inter__set__filter,axiom,
    ! [A: $tType,A6: set @ A,Xs: list @ A] :
      ( ( inf_inf @ ( set @ A ) @ A6 @ ( set2 @ A @ Xs ) )
      = ( set2 @ A
        @ ( filter2 @ A
          @ ^ [X4: A] : ( member @ A @ X4 @ A6 )
          @ Xs ) ) ) ).

% inter_set_filter
thf(fact_4249_sorted__same,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [G3: ( list @ A ) > A,Xs: list @ A] :
          ( sorted_wrt @ A @ ( ord_less_eq @ A )
          @ ( filter2 @ A
            @ ^ [X4: A] :
                ( X4
                = ( G3 @ Xs ) )
            @ Xs ) ) ) ).

% sorted_same
thf(fact_4250_length__filter__less,axiom,
    ! [A: $tType,X: A,Xs: list @ A,P2: A > $o] :
      ( ( member @ A @ X @ ( set2 @ A @ Xs ) )
     => ( ~ ( P2 @ X )
       => ( ord_less @ nat @ ( size_size @ ( list @ A ) @ ( filter2 @ A @ P2 @ Xs ) ) @ ( size_size @ ( list @ A ) @ Xs ) ) ) ) ).

% length_filter_less
thf(fact_4251_ShiftD,axiom,
    ! [A: $tType,Kl3: list @ A,Kl4: set @ ( list @ A ),K2: A] :
      ( ( member @ ( list @ A ) @ Kl3 @ ( bNF_Greatest_Shift @ A @ Kl4 @ K2 ) )
     => ( member @ ( list @ A ) @ ( cons @ A @ K2 @ Kl3 ) @ Kl4 ) ) ).

% ShiftD
thf(fact_4252_filter__eq__snocD,axiom,
    ! [A: $tType,P2: A > $o,L: list @ A,L4: list @ A,X: A] :
      ( ( ( filter2 @ A @ P2 @ L )
        = ( append @ A @ L4 @ ( cons @ A @ X @ ( nil @ A ) ) ) )
     => ( ( member @ A @ X @ ( set2 @ A @ L ) )
        & ( P2 @ X ) ) ) ).

% filter_eq_snocD
thf(fact_4253_pick__drop__zero,axiom,
    ! [A: $tType,Xs: list @ ( product_prod @ code_natural @ A )] :
      ( ( pick @ A
        @ ( filter2 @ ( product_prod @ code_natural @ A )
          @ ( product_case_prod @ code_natural @ A @ $o
            @ ^ [K3: code_natural,Uu2: A] : ( ord_less @ code_natural @ ( zero_zero @ code_natural ) @ K3 ) )
          @ Xs ) )
      = ( pick @ A @ Xs ) ) ).

% pick_drop_zero
thf(fact_4254_set__minus__filter__out,axiom,
    ! [A: $tType,Xs: list @ A,Y: A] :
      ( ( minus_minus @ ( set @ A ) @ ( set2 @ A @ Xs ) @ ( insert @ A @ Y @ ( bot_bot @ ( set @ A ) ) ) )
      = ( set2 @ A
        @ ( filter2 @ A
          @ ^ [X4: A] : X4 != Y
          @ Xs ) ) ) ).

% set_minus_filter_out
thf(fact_4255_filter__shuffles__disjoint1_I2_J,axiom,
    ! [A: $tType,Xs: list @ A,Ys3: list @ A,Zs: list @ A] :
      ( ( ( inf_inf @ ( set @ A ) @ ( set2 @ A @ Xs ) @ ( set2 @ A @ Ys3 ) )
        = ( bot_bot @ ( set @ A ) ) )
     => ( ( member @ ( list @ A ) @ Zs @ ( shuffles @ A @ Xs @ Ys3 ) )
       => ( ( filter2 @ A
            @ ^ [X4: A] :
                ~ ( member @ A @ X4 @ ( set2 @ A @ Xs ) )
            @ Zs )
          = Ys3 ) ) ) ).

% filter_shuffles_disjoint1(2)
thf(fact_4256_filter__shuffles__disjoint1_I1_J,axiom,
    ! [A: $tType,Xs: list @ A,Ys3: list @ A,Zs: list @ A] :
      ( ( ( inf_inf @ ( set @ A ) @ ( set2 @ A @ Xs ) @ ( set2 @ A @ Ys3 ) )
        = ( bot_bot @ ( set @ A ) ) )
     => ( ( member @ ( list @ A ) @ Zs @ ( shuffles @ A @ Xs @ Ys3 ) )
       => ( ( filter2 @ A
            @ ^ [X4: A] : ( member @ A @ X4 @ ( set2 @ A @ Xs ) )
            @ Zs )
          = Xs ) ) ) ).

% filter_shuffles_disjoint1(1)
thf(fact_4257_filter__shuffles__disjoint2_I2_J,axiom,
    ! [A: $tType,Xs: list @ A,Ys3: list @ A,Zs: list @ A] :
      ( ( ( inf_inf @ ( set @ A ) @ ( set2 @ A @ Xs ) @ ( set2 @ A @ Ys3 ) )
        = ( bot_bot @ ( set @ A ) ) )
     => ( ( member @ ( list @ A ) @ Zs @ ( shuffles @ A @ Xs @ Ys3 ) )
       => ( ( filter2 @ A
            @ ^ [X4: A] :
                ~ ( member @ A @ X4 @ ( set2 @ A @ Ys3 ) )
            @ Zs )
          = Xs ) ) ) ).

% filter_shuffles_disjoint2(2)
thf(fact_4258_filter__shuffles__disjoint2_I1_J,axiom,
    ! [A: $tType,Xs: list @ A,Ys3: list @ A,Zs: list @ A] :
      ( ( ( inf_inf @ ( set @ A ) @ ( set2 @ A @ Xs ) @ ( set2 @ A @ Ys3 ) )
        = ( bot_bot @ ( set @ A ) ) )
     => ( ( member @ ( list @ A ) @ Zs @ ( shuffles @ A @ Xs @ Ys3 ) )
       => ( ( filter2 @ A
            @ ^ [X4: A] : ( member @ A @ X4 @ ( set2 @ A @ Ys3 ) )
            @ Zs )
          = Ys3 ) ) ) ).

% filter_shuffles_disjoint2(1)
thf(fact_4259_length__filter__conv__card,axiom,
    ! [A: $tType,P3: A > $o,Xs: list @ A] :
      ( ( size_size @ ( list @ A ) @ ( filter2 @ A @ P3 @ Xs ) )
      = ( finite_card @ nat
        @ ( collect @ nat
          @ ^ [I: nat] :
              ( ( ord_less @ nat @ I @ ( size_size @ ( list @ A ) @ Xs ) )
              & ( P3 @ ( nth @ A @ Xs @ I ) ) ) ) ) ) ).

% length_filter_conv_card
thf(fact_4260_Shift__def,axiom,
    ! [A: $tType] :
      ( ( bNF_Greatest_Shift @ A )
      = ( ^ [Kl2: set @ ( list @ A ),K3: A] :
            ( collect @ ( list @ A )
            @ ^ [Kl: list @ A] : ( member @ ( list @ A ) @ ( cons @ A @ K3 @ Kl ) @ Kl2 ) ) ) ) ).

% Shift_def
thf(fact_4261_distinct__length__filter,axiom,
    ! [A: $tType,Xs: list @ A,P2: A > $o] :
      ( ( distinct @ A @ Xs )
     => ( ( size_size @ ( list @ A ) @ ( filter2 @ A @ P2 @ Xs ) )
        = ( finite_card @ A @ ( inf_inf @ ( set @ A ) @ ( collect @ A @ P2 ) @ ( set2 @ A @ Xs ) ) ) ) ) ).

% distinct_length_filter
thf(fact_4262_part__def,axiom,
    ! [A: $tType,B: $tType] :
      ( ( linorder @ A )
     => ( ( linorder_part @ B @ A )
        = ( ^ [F4: B > A,Pivot2: A,Xs3: list @ B] :
              ( product_Pair @ ( list @ B ) @ ( product_prod @ ( list @ B ) @ ( list @ B ) )
              @ ( filter2 @ B
                @ ^ [X4: B] : ( ord_less @ A @ ( F4 @ X4 ) @ Pivot2 )
                @ Xs3 )
              @ ( product_Pair @ ( list @ B ) @ ( list @ B )
                @ ( filter2 @ B
                  @ ^ [X4: B] :
                      ( ( F4 @ X4 )
                      = Pivot2 )
                  @ Xs3 )
                @ ( filter2 @ B
                  @ ^ [X4: B] : ( ord_less @ A @ Pivot2 @ ( F4 @ X4 ) )
                  @ Xs3 ) ) ) ) ) ) ).

% part_def
thf(fact_4263_Bleast__code,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Xs: list @ A,P2: A > $o] :
          ( ( bleast @ A @ ( set2 @ A @ Xs ) @ P2 )
          = ( case_list @ A @ A @ ( abort_Bleast @ A @ ( set2 @ A @ Xs ) @ P2 )
            @ ^ [X4: A,Xs3: list @ A] : X4
            @ ( filter2 @ A @ P2
              @ ( linorder_sort_key @ A @ A
                @ ^ [X4: A] : X4
                @ Xs ) ) ) ) ) ).

% Bleast_code
thf(fact_4264_transpose__aux__max,axiom,
    ! [A: $tType,B: $tType,Xs: list @ A,Xss: list @ ( list @ B )] :
      ( ( ord_max @ nat @ ( suc @ ( size_size @ ( list @ A ) @ Xs ) )
        @ ( foldr @ ( list @ B ) @ nat
          @ ^ [Xs3: list @ B] : ( ord_max @ nat @ ( size_size @ ( list @ B ) @ Xs3 ) )
          @ Xss
          @ ( zero_zero @ nat ) ) )
      = ( suc
        @ ( ord_max @ nat @ ( size_size @ ( list @ A ) @ Xs )
          @ ( foldr @ ( list @ B ) @ nat
            @ ^ [X4: list @ B] : ( ord_max @ nat @ ( minus_minus @ nat @ ( size_size @ ( list @ B ) @ X4 ) @ ( suc @ ( zero_zero @ nat ) ) ) )
            @ ( filter2 @ ( list @ B )
              @ ^ [Ys2: list @ B] :
                  ( Ys2
                 != ( nil @ B ) )
              @ Xss )
            @ ( zero_zero @ nat ) ) ) ) ) ).

% transpose_aux_max
thf(fact_4265_merge__list_Opinduct,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A0: list @ ( list @ A ),A1: list @ ( list @ A ),P2: ( list @ ( list @ A ) ) > ( list @ ( list @ A ) ) > $o] :
          ( ( accp @ ( product_prod @ ( list @ ( list @ A ) ) @ ( list @ ( list @ A ) ) ) @ ( merge_list_rel @ A ) @ ( product_Pair @ ( list @ ( list @ A ) ) @ ( list @ ( list @ A ) ) @ A0 @ A1 ) )
         => ( ( ( accp @ ( product_prod @ ( list @ ( list @ A ) ) @ ( list @ ( list @ A ) ) ) @ ( merge_list_rel @ A ) @ ( product_Pair @ ( list @ ( list @ A ) ) @ ( list @ ( list @ A ) ) @ ( nil @ ( list @ A ) ) @ ( nil @ ( list @ A ) ) ) )
             => ( P2 @ ( nil @ ( list @ A ) ) @ ( nil @ ( list @ A ) ) ) )
           => ( ! [L3: list @ A] :
                  ( ( accp @ ( product_prod @ ( list @ ( list @ A ) ) @ ( list @ ( list @ A ) ) ) @ ( merge_list_rel @ A ) @ ( product_Pair @ ( list @ ( list @ A ) ) @ ( list @ ( list @ A ) ) @ ( nil @ ( list @ A ) ) @ ( cons @ ( list @ A ) @ L3 @ ( nil @ ( list @ A ) ) ) ) )
                 => ( P2 @ ( nil @ ( list @ A ) ) @ ( cons @ ( list @ A ) @ L3 @ ( nil @ ( list @ A ) ) ) ) )
             => ( ! [La: list @ A,Acc22: list @ ( list @ A )] :
                    ( ( accp @ ( product_prod @ ( list @ ( list @ A ) ) @ ( list @ ( list @ A ) ) ) @ ( merge_list_rel @ A ) @ ( product_Pair @ ( list @ ( list @ A ) ) @ ( list @ ( list @ A ) ) @ ( cons @ ( list @ A ) @ La @ Acc22 ) @ ( nil @ ( list @ A ) ) ) )
                   => ( ( P2 @ ( nil @ ( list @ A ) ) @ ( cons @ ( list @ A ) @ La @ Acc22 ) )
                     => ( P2 @ ( cons @ ( list @ A ) @ La @ Acc22 ) @ ( nil @ ( list @ A ) ) ) ) )
               => ( ! [La: list @ A,Acc22: list @ ( list @ A ),L3: list @ A] :
                      ( ( accp @ ( product_prod @ ( list @ ( list @ A ) ) @ ( list @ ( list @ A ) ) ) @ ( merge_list_rel @ A ) @ ( product_Pair @ ( list @ ( list @ A ) ) @ ( list @ ( list @ A ) ) @ ( cons @ ( list @ A ) @ La @ Acc22 ) @ ( cons @ ( list @ A ) @ L3 @ ( nil @ ( list @ A ) ) ) ) )
                     => ( ( P2 @ ( nil @ ( list @ A ) ) @ ( cons @ ( list @ A ) @ L3 @ ( cons @ ( list @ A ) @ La @ Acc22 ) ) )
                       => ( P2 @ ( cons @ ( list @ A ) @ La @ Acc22 ) @ ( cons @ ( list @ A ) @ L3 @ ( nil @ ( list @ A ) ) ) ) ) )
                 => ( ! [Acc22: list @ ( list @ A ),L1: list @ A,L22: list @ A,Ls: list @ ( list @ A )] :
                        ( ( accp @ ( product_prod @ ( list @ ( list @ A ) ) @ ( list @ ( list @ A ) ) ) @ ( merge_list_rel @ A ) @ ( product_Pair @ ( list @ ( list @ A ) ) @ ( list @ ( list @ A ) ) @ Acc22 @ ( cons @ ( list @ A ) @ L1 @ ( cons @ ( list @ A ) @ L22 @ Ls ) ) ) )
                       => ( ( P2 @ ( cons @ ( list @ A ) @ ( merge @ A @ L1 @ L22 ) @ Acc22 ) @ Ls )
                         => ( P2 @ Acc22 @ ( cons @ ( list @ A ) @ L1 @ ( cons @ ( list @ A ) @ L22 @ Ls ) ) ) ) )
                   => ( P2 @ A0 @ A1 ) ) ) ) ) ) ) ) ).

% merge_list.pinduct
thf(fact_4266_foldr__length,axiom,
    ! [A: $tType,L: list @ A] :
      ( ( foldr @ A @ nat
        @ ^ [X4: A] : suc
        @ L
        @ ( zero_zero @ nat ) )
      = ( size_size @ ( list @ A ) @ L ) ) ).

% foldr_length
thf(fact_4267_foldr__snd__zip,axiom,
    ! [B: $tType,A: $tType,C: $tType,Ys3: list @ A,Xs: list @ B,F3: A > C > C,B2: C] :
      ( ( ord_less_eq @ nat @ ( size_size @ ( list @ A ) @ Ys3 ) @ ( size_size @ ( list @ B ) @ Xs ) )
     => ( ( foldr @ ( product_prod @ B @ A ) @ C
          @ ( product_case_prod @ B @ A @ ( C > C )
            @ ^ [X4: B] : F3 )
          @ ( zip @ B @ A @ Xs @ Ys3 )
          @ B2 )
        = ( foldr @ A @ C @ F3 @ Ys3 @ B2 ) ) ) ).

% foldr_snd_zip
thf(fact_4268_foldr__length__aux,axiom,
    ! [A: $tType,L: list @ A,A3: nat] :
      ( ( foldr @ A @ nat
        @ ^ [X4: A] : suc
        @ L
        @ A3 )
      = ( plus_plus @ nat @ A3 @ ( size_size @ ( list @ A ) @ L ) ) ) ).

% foldr_length_aux
thf(fact_4269_horner__sum__foldr,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_semiring_0 @ A )
     => ( ( groups4207007520872428315er_sum @ B @ A )
        = ( ^ [F4: B > A,A7: A,Xs3: list @ B] :
              ( foldr @ B @ A
              @ ^ [X4: B,B5: A] : ( plus_plus @ A @ ( F4 @ X4 ) @ ( times_times @ A @ A7 @ B5 ) )
              @ Xs3
              @ ( zero_zero @ A ) ) ) ) ) ).

% horner_sum_foldr
thf(fact_4270_select__weight__drop__zero,axiom,
    ! [A: $tType,Xs: list @ ( product_prod @ code_natural @ A )] :
      ( ( select_weight @ A
        @ ( filter2 @ ( product_prod @ code_natural @ A )
          @ ( product_case_prod @ code_natural @ A @ $o
            @ ^ [K3: code_natural,Uu2: A] : ( ord_less @ code_natural @ ( zero_zero @ code_natural ) @ K3 ) )
          @ Xs ) )
      = ( select_weight @ A @ Xs ) ) ).

% select_weight_drop_zero
thf(fact_4271_merge__list_Opelims,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [X: list @ ( list @ A ),Xa: list @ ( list @ A ),Y: list @ A] :
          ( ( ( merge_list @ A @ X @ Xa )
            = Y )
         => ( ( accp @ ( product_prod @ ( list @ ( list @ A ) ) @ ( list @ ( list @ A ) ) ) @ ( merge_list_rel @ A ) @ ( product_Pair @ ( list @ ( list @ A ) ) @ ( list @ ( list @ A ) ) @ X @ Xa ) )
           => ( ( ( X
                  = ( nil @ ( list @ A ) ) )
               => ( ( Xa
                    = ( nil @ ( list @ A ) ) )
                 => ( ( Y
                      = ( nil @ A ) )
                   => ~ ( accp @ ( product_prod @ ( list @ ( list @ A ) ) @ ( list @ ( list @ A ) ) ) @ ( merge_list_rel @ A ) @ ( product_Pair @ ( list @ ( list @ A ) ) @ ( list @ ( list @ A ) ) @ ( nil @ ( list @ A ) ) @ ( nil @ ( list @ A ) ) ) ) ) ) )
             => ( ( ( X
                    = ( nil @ ( list @ A ) ) )
                 => ! [L3: list @ A] :
                      ( ( Xa
                        = ( cons @ ( list @ A ) @ L3 @ ( nil @ ( list @ A ) ) ) )
                     => ( ( Y = L3 )
                       => ~ ( accp @ ( product_prod @ ( list @ ( list @ A ) ) @ ( list @ ( list @ A ) ) ) @ ( merge_list_rel @ A ) @ ( product_Pair @ ( list @ ( list @ A ) ) @ ( list @ ( list @ A ) ) @ ( nil @ ( list @ A ) ) @ ( cons @ ( list @ A ) @ L3 @ ( nil @ ( list @ A ) ) ) ) ) ) ) )
               => ( ! [La: list @ A,Acc22: list @ ( list @ A )] :
                      ( ( X
                        = ( cons @ ( list @ A ) @ La @ Acc22 ) )
                     => ( ( Xa
                          = ( nil @ ( list @ A ) ) )
                       => ( ( Y
                            = ( merge_list @ A @ ( nil @ ( list @ A ) ) @ ( cons @ ( list @ A ) @ La @ Acc22 ) ) )
                         => ~ ( accp @ ( product_prod @ ( list @ ( list @ A ) ) @ ( list @ ( list @ A ) ) ) @ ( merge_list_rel @ A ) @ ( product_Pair @ ( list @ ( list @ A ) ) @ ( list @ ( list @ A ) ) @ ( cons @ ( list @ A ) @ La @ Acc22 ) @ ( nil @ ( list @ A ) ) ) ) ) ) )
                 => ( ! [La: list @ A,Acc22: list @ ( list @ A )] :
                        ( ( X
                          = ( cons @ ( list @ A ) @ La @ Acc22 ) )
                       => ! [L3: list @ A] :
                            ( ( Xa
                              = ( cons @ ( list @ A ) @ L3 @ ( nil @ ( list @ A ) ) ) )
                           => ( ( Y
                                = ( merge_list @ A @ ( nil @ ( list @ A ) ) @ ( cons @ ( list @ A ) @ L3 @ ( cons @ ( list @ A ) @ La @ Acc22 ) ) ) )
                             => ~ ( accp @ ( product_prod @ ( list @ ( list @ A ) ) @ ( list @ ( list @ A ) ) ) @ ( merge_list_rel @ A ) @ ( product_Pair @ ( list @ ( list @ A ) ) @ ( list @ ( list @ A ) ) @ ( cons @ ( list @ A ) @ La @ Acc22 ) @ ( cons @ ( list @ A ) @ L3 @ ( nil @ ( list @ A ) ) ) ) ) ) ) )
                   => ~ ! [L1: list @ A,L22: list @ A,Ls: list @ ( list @ A )] :
                          ( ( Xa
                            = ( cons @ ( list @ A ) @ L1 @ ( cons @ ( list @ A ) @ L22 @ Ls ) ) )
                         => ( ( Y
                              = ( merge_list @ A @ ( cons @ ( list @ A ) @ ( merge @ A @ L1 @ L22 ) @ X ) @ Ls ) )
                           => ~ ( accp @ ( product_prod @ ( list @ ( list @ A ) ) @ ( list @ ( list @ A ) ) ) @ ( merge_list_rel @ A ) @ ( product_Pair @ ( list @ ( list @ A ) ) @ ( list @ ( list @ A ) ) @ X @ ( cons @ ( list @ A ) @ L1 @ ( cons @ ( list @ A ) @ L22 @ Ls ) ) ) ) ) ) ) ) ) ) ) ) ) ).

% merge_list.pelims
thf(fact_4272_transpose__max__length,axiom,
    ! [A: $tType,Xs: list @ ( list @ A )] :
      ( ( foldr @ ( list @ A ) @ nat
        @ ^ [Xs3: list @ A] : ( ord_max @ nat @ ( size_size @ ( list @ A ) @ Xs3 ) )
        @ ( transpose @ A @ Xs )
        @ ( zero_zero @ nat ) )
      = ( size_size @ ( list @ ( list @ A ) )
        @ ( filter2 @ ( list @ A )
          @ ^ [X4: list @ A] :
              ( X4
             != ( nil @ A ) )
          @ Xs ) ) ) ).

% transpose_max_length
thf(fact_4273_quicksort_Osimps_I2_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [X: A,Xs: list @ A] :
          ( ( linorder_quicksort @ A @ ( cons @ A @ X @ Xs ) )
          = ( append @ A
            @ ( linorder_quicksort @ A
              @ ( filter2 @ A
                @ ^ [Y4: A] :
                    ~ ( ord_less_eq @ A @ X @ Y4 )
                @ Xs ) )
            @ ( append @ A @ ( cons @ A @ X @ ( nil @ A ) ) @ ( linorder_quicksort @ A @ ( filter2 @ A @ ( ord_less_eq @ A @ X ) @ Xs ) ) ) ) ) ) ).

% quicksort.simps(2)
thf(fact_4274_Misc_Ofoldr__Cons,axiom,
    ! [A: $tType,Xs: list @ A] :
      ( ( foldr @ A @ ( list @ A ) @ ( cons @ A ) @ Xs @ ( nil @ A ) )
      = Xs ) ).

% Misc.foldr_Cons
thf(fact_4275_sort__quicksort,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ( ( linorder_sort_key @ A @ A
          @ ^ [X4: A] : X4 )
        = ( linorder_quicksort @ A ) ) ) ).

% sort_quicksort
thf(fact_4276_merge__list_Osimps_I1_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ( ( merge_list @ A @ ( nil @ ( list @ A ) ) @ ( nil @ ( list @ A ) ) )
        = ( nil @ A ) ) ) ).

% merge_list.simps(1)
thf(fact_4277_merge__list_Osimps_I4_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [La2: list @ A,Acc23: list @ ( list @ A ),L: list @ A] :
          ( ( merge_list @ A @ ( cons @ ( list @ A ) @ La2 @ Acc23 ) @ ( cons @ ( list @ A ) @ L @ ( nil @ ( list @ A ) ) ) )
          = ( merge_list @ A @ ( nil @ ( list @ A ) ) @ ( cons @ ( list @ A ) @ L @ ( cons @ ( list @ A ) @ La2 @ Acc23 ) ) ) ) ) ).

% merge_list.simps(4)
thf(fact_4278_merge__list_Osimps_I3_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [La2: list @ A,Acc23: list @ ( list @ A )] :
          ( ( merge_list @ A @ ( cons @ ( list @ A ) @ La2 @ Acc23 ) @ ( nil @ ( list @ A ) ) )
          = ( merge_list @ A @ ( nil @ ( list @ A ) ) @ ( cons @ ( list @ A ) @ La2 @ Acc23 ) ) ) ) ).

% merge_list.simps(3)
thf(fact_4279_merge__list_Osimps_I2_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [L: list @ A] :
          ( ( merge_list @ A @ ( nil @ ( list @ A ) ) @ ( cons @ ( list @ A ) @ L @ ( nil @ ( list @ A ) ) ) )
          = L ) ) ).

% merge_list.simps(2)
thf(fact_4280_merge__list_Osimps_I5_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Acc23: list @ ( list @ A ),L12: list @ A,L23: list @ A,Ls2: list @ ( list @ A )] :
          ( ( merge_list @ A @ Acc23 @ ( cons @ ( list @ A ) @ L12 @ ( cons @ ( list @ A ) @ L23 @ Ls2 ) ) )
          = ( merge_list @ A @ ( cons @ ( list @ A ) @ ( merge @ A @ L12 @ L23 ) @ Acc23 ) @ Ls2 ) ) ) ).

% merge_list.simps(5)
thf(fact_4281_sorted__quicksort,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Xs: list @ A] : ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( linorder_quicksort @ A @ Xs ) ) ) ).

% sorted_quicksort
thf(fact_4282_filter__conv__foldr,axiom,
    ! [A: $tType] :
      ( ( filter2 @ A )
      = ( ^ [P5: A > $o,Xs3: list @ A] :
            ( foldr @ A @ ( list @ A )
            @ ^ [X4: A,Xt: list @ A] : ( if @ ( list @ A ) @ ( P5 @ X4 ) @ ( cons @ A @ X4 @ Xt ) @ Xt )
            @ Xs3
            @ ( nil @ A ) ) ) ) ).

% filter_conv_foldr
thf(fact_4283_merge__list_Oelims,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [X: list @ ( list @ A ),Xa: list @ ( list @ A ),Y: list @ A] :
          ( ( ( merge_list @ A @ X @ Xa )
            = Y )
         => ( ( ( X
                = ( nil @ ( list @ A ) ) )
             => ( ( Xa
                  = ( nil @ ( list @ A ) ) )
               => ( Y
                 != ( nil @ A ) ) ) )
           => ( ( ( X
                  = ( nil @ ( list @ A ) ) )
               => ! [L3: list @ A] :
                    ( ( Xa
                      = ( cons @ ( list @ A ) @ L3 @ ( nil @ ( list @ A ) ) ) )
                   => ( Y != L3 ) ) )
             => ( ! [La: list @ A,Acc22: list @ ( list @ A )] :
                    ( ( X
                      = ( cons @ ( list @ A ) @ La @ Acc22 ) )
                   => ( ( Xa
                        = ( nil @ ( list @ A ) ) )
                     => ( Y
                       != ( merge_list @ A @ ( nil @ ( list @ A ) ) @ ( cons @ ( list @ A ) @ La @ Acc22 ) ) ) ) )
               => ( ! [La: list @ A,Acc22: list @ ( list @ A )] :
                      ( ( X
                        = ( cons @ ( list @ A ) @ La @ Acc22 ) )
                     => ! [L3: list @ A] :
                          ( ( Xa
                            = ( cons @ ( list @ A ) @ L3 @ ( nil @ ( list @ A ) ) ) )
                         => ( Y
                           != ( merge_list @ A @ ( nil @ ( list @ A ) ) @ ( cons @ ( list @ A ) @ L3 @ ( cons @ ( list @ A ) @ La @ Acc22 ) ) ) ) ) )
                 => ~ ! [L1: list @ A,L22: list @ A,Ls: list @ ( list @ A )] :
                        ( ( Xa
                          = ( cons @ ( list @ A ) @ L1 @ ( cons @ ( list @ A ) @ L22 @ Ls ) ) )
                       => ( Y
                         != ( merge_list @ A @ ( cons @ ( list @ A ) @ ( merge @ A @ L1 @ L22 ) @ X ) @ Ls ) ) ) ) ) ) ) ) ) ).

% merge_list.elims
thf(fact_4284_length__transpose,axiom,
    ! [A: $tType,Xs: list @ ( list @ A )] :
      ( ( size_size @ ( list @ ( list @ A ) ) @ ( transpose @ A @ Xs ) )
      = ( foldr @ ( list @ A ) @ nat
        @ ^ [Xs3: list @ A] : ( ord_max @ nat @ ( size_size @ ( list @ A ) @ Xs3 ) )
        @ Xs
        @ ( zero_zero @ nat ) ) ) ).

% length_transpose
thf(fact_4285_merge__list_Opsimps_I1_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ( ( accp @ ( product_prod @ ( list @ ( list @ A ) ) @ ( list @ ( list @ A ) ) ) @ ( merge_list_rel @ A ) @ ( product_Pair @ ( list @ ( list @ A ) ) @ ( list @ ( list @ A ) ) @ ( nil @ ( list @ A ) ) @ ( nil @ ( list @ A ) ) ) )
       => ( ( merge_list @ A @ ( nil @ ( list @ A ) ) @ ( nil @ ( list @ A ) ) )
          = ( nil @ A ) ) ) ) ).

% merge_list.psimps(1)
thf(fact_4286_merge__list_Opsimps_I2_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [L: list @ A] :
          ( ( accp @ ( product_prod @ ( list @ ( list @ A ) ) @ ( list @ ( list @ A ) ) ) @ ( merge_list_rel @ A ) @ ( product_Pair @ ( list @ ( list @ A ) ) @ ( list @ ( list @ A ) ) @ ( nil @ ( list @ A ) ) @ ( cons @ ( list @ A ) @ L @ ( nil @ ( list @ A ) ) ) ) )
         => ( ( merge_list @ A @ ( nil @ ( list @ A ) ) @ ( cons @ ( list @ A ) @ L @ ( nil @ ( list @ A ) ) ) )
            = L ) ) ) ).

% merge_list.psimps(2)
thf(fact_4287_merge__list_Opsimps_I3_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [La2: list @ A,Acc23: list @ ( list @ A )] :
          ( ( accp @ ( product_prod @ ( list @ ( list @ A ) ) @ ( list @ ( list @ A ) ) ) @ ( merge_list_rel @ A ) @ ( product_Pair @ ( list @ ( list @ A ) ) @ ( list @ ( list @ A ) ) @ ( cons @ ( list @ A ) @ La2 @ Acc23 ) @ ( nil @ ( list @ A ) ) ) )
         => ( ( merge_list @ A @ ( cons @ ( list @ A ) @ La2 @ Acc23 ) @ ( nil @ ( list @ A ) ) )
            = ( merge_list @ A @ ( nil @ ( list @ A ) ) @ ( cons @ ( list @ A ) @ La2 @ Acc23 ) ) ) ) ) ).

% merge_list.psimps(3)
thf(fact_4288_merge__list_Opsimps_I4_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [La2: list @ A,Acc23: list @ ( list @ A ),L: list @ A] :
          ( ( accp @ ( product_prod @ ( list @ ( list @ A ) ) @ ( list @ ( list @ A ) ) ) @ ( merge_list_rel @ A ) @ ( product_Pair @ ( list @ ( list @ A ) ) @ ( list @ ( list @ A ) ) @ ( cons @ ( list @ A ) @ La2 @ Acc23 ) @ ( cons @ ( list @ A ) @ L @ ( nil @ ( list @ A ) ) ) ) )
         => ( ( merge_list @ A @ ( cons @ ( list @ A ) @ La2 @ Acc23 ) @ ( cons @ ( list @ A ) @ L @ ( nil @ ( list @ A ) ) ) )
            = ( merge_list @ A @ ( nil @ ( list @ A ) ) @ ( cons @ ( list @ A ) @ L @ ( cons @ ( list @ A ) @ La2 @ Acc23 ) ) ) ) ) ) ).

% merge_list.psimps(4)
thf(fact_4289_merge__list_Opsimps_I5_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Acc23: list @ ( list @ A ),L12: list @ A,L23: list @ A,Ls2: list @ ( list @ A )] :
          ( ( accp @ ( product_prod @ ( list @ ( list @ A ) ) @ ( list @ ( list @ A ) ) ) @ ( merge_list_rel @ A ) @ ( product_Pair @ ( list @ ( list @ A ) ) @ ( list @ ( list @ A ) ) @ Acc23 @ ( cons @ ( list @ A ) @ L12 @ ( cons @ ( list @ A ) @ L23 @ Ls2 ) ) ) )
         => ( ( merge_list @ A @ Acc23 @ ( cons @ ( list @ A ) @ L12 @ ( cons @ ( list @ A ) @ L23 @ Ls2 ) ) )
            = ( merge_list @ A @ ( cons @ ( list @ A ) @ ( merge @ A @ L12 @ L23 ) @ Acc23 ) @ Ls2 ) ) ) ) ).

% merge_list.psimps(5)
thf(fact_4290_quicksort_Oelims,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [X: list @ A,Y: list @ A] :
          ( ( ( linorder_quicksort @ A @ X )
            = Y )
         => ( ( ( X
                = ( nil @ A ) )
             => ( Y
               != ( nil @ A ) ) )
           => ~ ! [X3: A,Xs2: list @ A] :
                  ( ( X
                    = ( cons @ A @ X3 @ Xs2 ) )
                 => ( Y
                   != ( append @ A
                      @ ( linorder_quicksort @ A
                        @ ( filter2 @ A
                          @ ^ [Y4: A] :
                              ~ ( ord_less_eq @ A @ X3 @ Y4 )
                          @ Xs2 ) )
                      @ ( append @ A @ ( cons @ A @ X3 @ ( nil @ A ) ) @ ( linorder_quicksort @ A @ ( filter2 @ A @ ( ord_less_eq @ A @ X3 ) @ Xs2 ) ) ) ) ) ) ) ) ) ).

% quicksort.elims
thf(fact_4291_quicksort_Opelims,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [X: list @ A,Y: list @ A] :
          ( ( ( linorder_quicksort @ A @ X )
            = Y )
         => ( ( accp @ ( list @ A ) @ ( linord6200660962353139674rt_rel @ A ) @ X )
           => ( ( ( X
                  = ( nil @ A ) )
               => ( ( Y
                    = ( nil @ A ) )
                 => ~ ( accp @ ( list @ A ) @ ( linord6200660962353139674rt_rel @ A ) @ ( nil @ A ) ) ) )
             => ~ ! [X3: A,Xs2: list @ A] :
                    ( ( X
                      = ( cons @ A @ X3 @ Xs2 ) )
                   => ( ( Y
                        = ( append @ A
                          @ ( linorder_quicksort @ A
                            @ ( filter2 @ A
                              @ ^ [Y4: A] :
                                  ~ ( ord_less_eq @ A @ X3 @ Y4 )
                              @ Xs2 ) )
                          @ ( append @ A @ ( cons @ A @ X3 @ ( nil @ A ) ) @ ( linorder_quicksort @ A @ ( filter2 @ A @ ( ord_less_eq @ A @ X3 ) @ Xs2 ) ) ) ) )
                     => ~ ( accp @ ( list @ A ) @ ( linord6200660962353139674rt_rel @ A ) @ ( cons @ A @ X3 @ Xs2 ) ) ) ) ) ) ) ) ).

% quicksort.pelims
thf(fact_4292_distinct__concat_H,axiom,
    ! [A: $tType,Xs: list @ ( list @ A )] :
      ( ( distinct @ ( list @ A )
        @ ( filter2 @ ( list @ A )
          @ ^ [Ys2: list @ A] :
              ( Ys2
             != ( nil @ A ) )
          @ Xs ) )
     => ( ! [Ys5: list @ A] :
            ( ( member @ ( list @ A ) @ Ys5 @ ( set2 @ ( list @ A ) @ Xs ) )
           => ( distinct @ A @ Ys5 ) )
       => ( ! [Ys5: list @ A,Zs2: list @ A] :
              ( ( member @ ( list @ A ) @ Ys5 @ ( set2 @ ( list @ A ) @ Xs ) )
             => ( ( member @ ( list @ A ) @ Zs2 @ ( set2 @ ( list @ A ) @ Xs ) )
               => ( ( Ys5 != Zs2 )
                 => ( ( inf_inf @ ( set @ A ) @ ( set2 @ A @ Ys5 ) @ ( set2 @ A @ Zs2 ) )
                    = ( bot_bot @ ( set @ A ) ) ) ) ) )
         => ( distinct @ A @ ( concat @ A @ Xs ) ) ) ) ) ).

% distinct_concat'
thf(fact_4293_set__n__lists,axiom,
    ! [A: $tType,N: nat,Xs: list @ A] :
      ( ( set2 @ ( list @ A ) @ ( n_lists @ A @ N @ Xs ) )
      = ( collect @ ( list @ A )
        @ ^ [Ys2: list @ A] :
            ( ( ( size_size @ ( list @ A ) @ Ys2 )
              = N )
            & ( ord_less_eq @ ( set @ A ) @ ( set2 @ A @ Ys2 ) @ ( set2 @ A @ Xs ) ) ) ) ) ).

% set_n_lists
thf(fact_4294_execute__new,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [N: nat,X: A,H: heap_ext @ product_unit] :
          ( ( heap_Time_execute @ ( array @ A ) @ ( array_new @ A @ N @ X ) @ H )
          = ( some @ ( product_prod @ ( array @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) )
            @ ( product_case_prod @ ( array @ A ) @ ( heap_ext @ product_unit ) @ ( product_prod @ ( array @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) )
              @ ^ [R5: array @ A,H8: heap_ext @ product_unit] : ( product_Pair @ ( array @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ R5 @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ H8 @ ( plus_plus @ nat @ N @ ( one_one @ nat ) ) ) )
              @ ( array_alloc @ A @ ( replicate @ A @ N @ X ) @ H ) ) ) ) ) ).

% execute_new
thf(fact_4295_nth__replicate,axiom,
    ! [A: $tType,I2: nat,N: nat,X: A] :
      ( ( ord_less @ nat @ I2 @ N )
     => ( ( nth @ A @ ( replicate @ A @ N @ X ) @ I2 )
        = X ) ) ).

% nth_replicate
thf(fact_4296_comm__append__is__replicate,axiom,
    ! [A: $tType,Xs: list @ A,Ys3: list @ A] :
      ( ( Xs
       != ( nil @ A ) )
     => ( ( Ys3
         != ( nil @ A ) )
       => ( ( ( append @ A @ Xs @ Ys3 )
            = ( append @ A @ Ys3 @ Xs ) )
         => ? [N4: nat,Zs2: list @ A] :
              ( ( ord_less @ nat @ ( one_one @ nat ) @ N4 )
              & ( ( concat @ A @ ( replicate @ ( list @ A ) @ N4 @ Zs2 ) )
                = ( append @ A @ Xs @ Ys3 ) ) ) ) ) ) ).

% comm_append_is_replicate
thf(fact_4297_sorted__replicate,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [N: nat,X: A] : ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( replicate @ A @ N @ X ) ) ) ).

% sorted_replicate
thf(fact_4298_replicate__add,axiom,
    ! [A: $tType,N: nat,M: nat,X: A] :
      ( ( replicate @ A @ ( plus_plus @ nat @ N @ M ) @ X )
      = ( append @ A @ ( replicate @ A @ N @ X ) @ ( replicate @ A @ M @ X ) ) ) ).

% replicate_add
thf(fact_4299_replicate__length__filter,axiom,
    ! [A: $tType,X: A,Xs: list @ A] :
      ( ( replicate @ A
        @ ( size_size @ ( list @ A )
          @ ( filter2 @ A
            @ ( ^ [Y6: A,Z5: A] : Y6 = Z5
              @ X )
            @ Xs ) )
        @ X )
      = ( filter2 @ A
        @ ( ^ [Y6: A,Z5: A] : Y6 = Z5
          @ X )
        @ Xs ) ) ).

% replicate_length_filter
thf(fact_4300_new__rule,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [N: nat,X: A] :
          ( hoare_hoare_triple @ ( array @ A ) @ ( one_one @ assn ) @ ( array_new @ A @ N @ X )
          @ ^ [R5: array @ A] : ( snga_assn @ A @ R5 @ ( replicate @ A @ N @ X ) ) ) ) ).

% new_rule
thf(fact_4301_concat__filter__neq__Nil,axiom,
    ! [A: $tType,Xs: list @ ( list @ A )] :
      ( ( concat @ A
        @ ( filter2 @ ( list @ A )
          @ ^ [Ys2: list @ A] :
              ( Ys2
             != ( nil @ A ) )
          @ Xs ) )
      = ( concat @ A @ Xs ) ) ).

% concat_filter_neq_Nil
thf(fact_4302_foldl__foldl__conv__concat,axiom,
    ! [A: $tType,B: $tType,F3: A > B > A,A3: A,Xs: list @ ( list @ B )] :
      ( ( foldl @ A @ ( list @ B ) @ ( foldl @ A @ B @ F3 ) @ A3 @ Xs )
      = ( foldl @ A @ B @ F3 @ A3 @ ( concat @ B @ Xs ) ) ) ).

% foldl_foldl_conv_concat
thf(fact_4303_replicate__Suc__conv__snoc,axiom,
    ! [A: $tType,N: nat,X: A] :
      ( ( replicate @ A @ ( suc @ N ) @ X )
      = ( append @ A @ ( replicate @ A @ N @ X ) @ ( cons @ A @ X @ ( nil @ A ) ) ) ) ).

% replicate_Suc_conv_snoc
thf(fact_4304_array__make,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ( ( array_new @ A )
        = ( ^ [N3: nat,X4: A] :
              ( array_make @ A @ N3
              @ ^ [Uu2: nat] : X4 ) ) ) ) ).

% array_make
thf(fact_4305_effect__newI,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [A3: array @ A,H5: heap_ext @ product_unit,N: nat,X: A,H: heap_ext @ product_unit] :
          ( ( ( product_Pair @ ( array @ A ) @ ( heap_ext @ product_unit ) @ A3 @ H5 )
            = ( array_alloc @ A @ ( replicate @ A @ N @ X ) @ H ) )
         => ( heap_Time_effect @ ( array @ A ) @ ( array_new @ A @ N @ X ) @ H @ H5 @ A3 @ ( plus_plus @ nat @ N @ ( one_one @ nat ) ) ) ) ) ).

% effect_newI
thf(fact_4306_Cons__replicate__eq,axiom,
    ! [A: $tType,X: A,Xs: list @ A,N: nat,Y: A] :
      ( ( ( cons @ A @ X @ Xs )
        = ( replicate @ A @ N @ Y ) )
      = ( ( X = Y )
        & ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
        & ( Xs
          = ( replicate @ A @ ( minus_minus @ nat @ N @ ( one_one @ nat ) ) @ X ) ) ) ) ).

% Cons_replicate_eq
thf(fact_4307_merge__list__correct,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Ls2: list @ ( list @ A ),As: list @ ( list @ A )] :
          ( ! [L3: list @ A] :
              ( ( member @ ( list @ A ) @ L3 @ ( set2 @ ( list @ A ) @ Ls2 ) )
             => ( ( distinct @ A @ L3 )
                & ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ L3 ) ) )
         => ( ! [L3: list @ A] :
                ( ( member @ ( list @ A ) @ L3 @ ( set2 @ ( list @ A ) @ As ) )
               => ( ( distinct @ A @ L3 )
                  & ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ L3 ) ) )
           => ( ( distinct @ A @ ( merge_list @ A @ As @ Ls2 ) )
              & ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( merge_list @ A @ As @ Ls2 ) )
              & ( ( set2 @ A @ ( merge_list @ A @ As @ Ls2 ) )
                = ( set2 @ A @ ( concat @ A @ ( append @ ( list @ A ) @ As @ Ls2 ) ) ) ) ) ) ) ) ).

% merge_list_correct
thf(fact_4308_new__def,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ( ( array_new @ A )
        = ( ^ [N3: nat,X4: A] :
              ( heap_Time_heap @ ( array @ A )
              @ ^ [H7: heap_ext @ product_unit] :
                  ( product_case_prod @ ( array @ A ) @ ( heap_ext @ product_unit ) @ ( product_prod @ ( array @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) )
                  @ ^ [R5: array @ A,H8: heap_ext @ product_unit] : ( product_Pair @ ( array @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ R5 @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ H8 @ ( plus_plus @ nat @ N3 @ ( one_one @ nat ) ) ) )
                  @ ( array_alloc @ A @ ( replicate @ A @ N3 @ X4 ) @ H7 ) ) ) ) ) ) ).

% new_def
thf(fact_4309_listrel1__iff__update,axiom,
    ! [A: $tType,Xs: list @ A,Ys3: list @ A,R3: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xs @ Ys3 ) @ ( listrel1 @ A @ R3 ) )
      = ( ? [Y4: A,N3: nat] :
            ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ ( nth @ A @ Xs @ N3 ) @ Y4 ) @ R3 )
            & ( ord_less @ nat @ N3 @ ( size_size @ ( list @ A ) @ Xs ) )
            & ( Ys3
              = ( list_update @ A @ Xs @ N3 @ Y4 ) ) ) ) ) ).

% listrel1_iff_update
thf(fact_4310_sorted__list__of__set__def,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ( ( linord4507533701916653071of_set @ A )
        = ( linord144544945434240204of_set @ A @ A
          @ ^ [X4: A] : X4 ) ) ) ).

% sorted_list_of_set_def
thf(fact_4311_mset__mergesort__by__rel__split,axiom,
    ! [A: $tType,Xs1: list @ A,Xs22: list @ A,Xs: list @ A] :
      ( ( plus_plus @ ( multiset @ A ) @ ( mset @ A @ ( product_fst @ ( list @ A ) @ ( list @ A ) @ ( merges295452479951948502_split @ A @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xs1 @ Xs22 ) @ Xs ) ) ) @ ( mset @ A @ ( product_snd @ ( list @ A ) @ ( list @ A ) @ ( merges295452479951948502_split @ A @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xs1 @ Xs22 ) @ Xs ) ) ) )
      = ( plus_plus @ ( multiset @ A ) @ ( plus_plus @ ( multiset @ A ) @ ( mset @ A @ Xs ) @ ( mset @ A @ Xs1 ) ) @ ( mset @ A @ Xs22 ) ) ) ).

% mset_mergesort_by_rel_split
thf(fact_4312_nth__transpose,axiom,
    ! [A: $tType,I2: nat,Xs: list @ ( list @ A )] :
      ( ( ord_less @ nat @ I2 @ ( size_size @ ( list @ ( list @ A ) ) @ ( transpose @ A @ Xs ) ) )
     => ( ( nth @ ( list @ A ) @ ( transpose @ A @ Xs ) @ I2 )
        = ( map @ ( list @ A ) @ A
          @ ^ [Xs3: list @ A] : ( nth @ A @ Xs3 @ I2 )
          @ ( filter2 @ ( list @ A )
            @ ^ [Ys2: list @ A] : ( ord_less @ nat @ I2 @ ( size_size @ ( list @ A ) @ Ys2 ) )
            @ Xs ) ) ) ) ).

% nth_transpose
thf(fact_4313_map__ident,axiom,
    ! [A: $tType] :
      ( ( map @ A @ A
        @ ^ [X4: A] : X4 )
      = ( ^ [Xs3: list @ A] : Xs3 ) ) ).

% map_ident
thf(fact_4314_mergesort__by__rel__permutes,axiom,
    ! [A: $tType,R4: A > A > $o,Xs: list @ A] :
      ( ( mset @ A @ ( mergesort_by_rel @ A @ R4 @ Xs ) )
      = ( mset @ A @ Xs ) ) ).

% mergesort_by_rel_permutes
thf(fact_4315_mset__append,axiom,
    ! [A: $tType,Xs: list @ A,Ys3: list @ A] :
      ( ( mset @ A @ ( append @ A @ Xs @ Ys3 ) )
      = ( plus_plus @ ( multiset @ A ) @ ( mset @ A @ Xs ) @ ( mset @ A @ Ys3 ) ) ) ).

% mset_append
thf(fact_4316_mset__mergesort__by__rel__merge,axiom,
    ! [A: $tType,R4: A > A > $o,Xs: list @ A,Ys3: list @ A] :
      ( ( mset @ A @ ( merges9089515139780605204_merge @ A @ R4 @ Xs @ Ys3 ) )
      = ( plus_plus @ ( multiset @ A ) @ ( mset @ A @ Xs ) @ ( mset @ A @ Ys3 ) ) ) ).

% mset_mergesort_by_rel_merge
thf(fact_4317_Multiset_Omset__insort,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [X: A,Xs: list @ A] :
          ( ( mset @ A
            @ ( linorder_insort_key @ A @ A
              @ ^ [X4: A] : X4
              @ X
              @ Xs ) )
          = ( add_mset @ A @ X @ ( mset @ A @ Xs ) ) ) ) ).

% Multiset.mset_insort
thf(fact_4318_nth__map,axiom,
    ! [B: $tType,A: $tType,N: nat,Xs: list @ A,F3: A > B] :
      ( ( ord_less @ nat @ N @ ( size_size @ ( list @ A ) @ Xs ) )
     => ( ( nth @ B @ ( map @ A @ B @ F3 @ Xs ) @ N )
        = ( F3 @ ( nth @ A @ Xs @ N ) ) ) ) ).

% nth_map
thf(fact_4319_sorted__list__of__multiset__mset,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Xs: list @ A] :
          ( ( linord6283353356039996273ltiset @ A @ ( mset @ A @ Xs ) )
          = ( linorder_sort_key @ A @ A
            @ ^ [X4: A] : X4
            @ Xs ) ) ) ).

% sorted_list_of_multiset_mset
thf(fact_4320_Cons__listrel1__Cons,axiom,
    ! [A: $tType,X: A,Xs: list @ A,Y: A,Ys3: list @ A,R3: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( cons @ A @ X @ Xs ) @ ( cons @ A @ Y @ Ys3 ) ) @ ( listrel1 @ A @ R3 ) )
      = ( ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ R3 )
          & ( Xs = Ys3 ) )
        | ( ( X = Y )
          & ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xs @ Ys3 ) @ ( listrel1 @ A @ R3 ) ) ) ) ) ).

% Cons_listrel1_Cons
thf(fact_4321_concat__map__singleton,axiom,
    ! [A: $tType,B: $tType,F3: B > A,Xs: list @ B] :
      ( ( concat @ A
        @ ( map @ B @ ( list @ A )
          @ ^ [X4: B] : ( cons @ A @ ( F3 @ X4 ) @ ( nil @ A ) )
          @ Xs ) )
      = ( map @ B @ A @ F3 @ Xs ) ) ).

% concat_map_singleton
thf(fact_4322_distinct__mapI,axiom,
    ! [A: $tType,B: $tType,F3: B > A,L: list @ B] :
      ( ( distinct @ A @ ( map @ B @ A @ F3 @ L ) )
     => ( distinct @ B @ L ) ) ).

% distinct_mapI
thf(fact_4323_map__zip__map2,axiom,
    ! [C: $tType,A: $tType,B: $tType,D: $tType,F3: ( product_prod @ B @ C ) > A,Xs: list @ B,G3: D > C,Ys3: list @ D] :
      ( ( map @ ( product_prod @ B @ C ) @ A @ F3 @ ( zip @ B @ C @ Xs @ ( map @ D @ C @ G3 @ Ys3 ) ) )
      = ( map @ ( product_prod @ B @ D ) @ A
        @ ( product_case_prod @ B @ D @ A
          @ ^ [X4: B,Y4: D] : ( F3 @ ( product_Pair @ B @ C @ X4 @ ( G3 @ Y4 ) ) ) )
        @ ( zip @ B @ D @ Xs @ Ys3 ) ) ) ).

% map_zip_map2
thf(fact_4324_map__zip__map,axiom,
    ! [B: $tType,A: $tType,D: $tType,C: $tType,F3: ( product_prod @ B @ C ) > A,G3: D > B,Xs: list @ D,Ys3: list @ C] :
      ( ( map @ ( product_prod @ B @ C ) @ A @ F3 @ ( zip @ B @ C @ ( map @ D @ B @ G3 @ Xs ) @ Ys3 ) )
      = ( map @ ( product_prod @ D @ C ) @ A
        @ ( product_case_prod @ D @ C @ A
          @ ^ [X4: D,Y4: C] : ( F3 @ ( product_Pair @ B @ C @ ( G3 @ X4 ) @ Y4 ) ) )
        @ ( zip @ D @ C @ Xs @ Ys3 ) ) ) ).

% map_zip_map
thf(fact_4325_map2__map__map,axiom,
    ! [B: $tType,A: $tType,C: $tType,D: $tType,H: B > C > A,F3: D > B,Xs: list @ D,G3: D > C] :
      ( ( map @ ( product_prod @ B @ C ) @ A @ ( product_case_prod @ B @ C @ A @ H ) @ ( zip @ B @ C @ ( map @ D @ B @ F3 @ Xs ) @ ( map @ D @ C @ G3 @ Xs ) ) )
      = ( map @ D @ A
        @ ^ [X4: D] : ( H @ ( F3 @ X4 ) @ ( G3 @ X4 ) )
        @ Xs ) ) ).

% map2_map_map
thf(fact_4326_Misc_Omap__eq__append__conv,axiom,
    ! [A: $tType,B: $tType,F3: B > A,Ls2: list @ B,Fl: list @ A,Fl2: list @ A] :
      ( ( ( map @ B @ A @ F3 @ Ls2 )
        = ( append @ A @ Fl @ Fl2 ) )
      = ( ? [L2: list @ B,L5: list @ B] :
            ( ( Ls2
              = ( append @ B @ L2 @ L5 ) )
            & ( ( map @ B @ A @ F3 @ L2 )
              = Fl )
            & ( ( map @ B @ A @ F3 @ L5 )
              = Fl2 ) ) ) ) ).

% Misc.map_eq_append_conv
thf(fact_4327_Misc_Oappend__eq__map__conv,axiom,
    ! [A: $tType,B: $tType,Fl: list @ A,Fl2: list @ A,F3: B > A,Ls2: list @ B] :
      ( ( ( append @ A @ Fl @ Fl2 )
        = ( map @ B @ A @ F3 @ Ls2 ) )
      = ( ? [L2: list @ B,L5: list @ B] :
            ( ( Ls2
              = ( append @ B @ L2 @ L5 ) )
            & ( ( map @ B @ A @ F3 @ L2 )
              = Fl )
            & ( ( map @ B @ A @ F3 @ L5 )
              = Fl2 ) ) ) ) ).

% Misc.append_eq_map_conv
thf(fact_4328_map__eq__appendE,axiom,
    ! [B: $tType,A: $tType,F3: B > A,Ls2: list @ B,Fl: list @ A,Fl2: list @ A] :
      ( ( ( map @ B @ A @ F3 @ Ls2 )
        = ( append @ A @ Fl @ Fl2 ) )
     => ~ ! [L3: list @ B,L6: list @ B] :
            ( ( Ls2
              = ( append @ B @ L3 @ L6 ) )
           => ( ( ( map @ B @ A @ F3 @ L3 )
                = Fl )
             => ( ( map @ B @ A @ F3 @ L6 )
               != Fl2 ) ) ) ) ).

% map_eq_appendE
thf(fact_4329_append__eq__mapE,axiom,
    ! [B: $tType,A: $tType,Fl: list @ A,Fl2: list @ A,F3: B > A,Ls2: list @ B] :
      ( ( ( append @ A @ Fl @ Fl2 )
        = ( map @ B @ A @ F3 @ Ls2 ) )
     => ~ ! [L3: list @ B,L6: list @ B] :
            ( ( Ls2
              = ( append @ B @ L3 @ L6 ) )
           => ( ( ( map @ B @ A @ F3 @ L3 )
                = Fl )
             => ( ( map @ B @ A @ F3 @ L6 )
               != Fl2 ) ) ) ) ).

% append_eq_mapE
thf(fact_4330_map__eq__nth__eq,axiom,
    ! [A: $tType,B: $tType,F3: B > A,L: list @ B,L4: list @ B,I2: nat] :
      ( ( ( map @ B @ A @ F3 @ L )
        = ( map @ B @ A @ F3 @ L4 ) )
     => ( ( F3 @ ( nth @ B @ L @ I2 ) )
        = ( F3 @ ( nth @ B @ L4 @ I2 ) ) ) ) ).

% map_eq_nth_eq
thf(fact_4331_sorted__wrt__map,axiom,
    ! [A: $tType,B: $tType,R4: A > A > $o,F3: B > A,Xs: list @ B] :
      ( ( sorted_wrt @ A @ R4 @ ( map @ B @ A @ F3 @ Xs ) )
      = ( sorted_wrt @ B
        @ ^ [X4: B,Y4: B] : ( R4 @ ( F3 @ X4 ) @ ( F3 @ Y4 ) )
        @ Xs ) ) ).

% sorted_wrt_map
thf(fact_4332_listrel1__mono,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),S2: set @ ( product_prod @ A @ A )] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ R3 @ S2 )
     => ( ord_less_eq @ ( set @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) ) @ ( listrel1 @ A @ R3 ) @ ( listrel1 @ A @ S2 ) ) ) ).

% listrel1_mono
thf(fact_4333_list_Omap__ident,axiom,
    ! [A: $tType,T5: list @ A] :
      ( ( map @ A @ A
        @ ^ [X4: A] : X4
        @ T5 )
      = T5 ) ).

% list.map_ident
thf(fact_4334_map__eq__consE,axiom,
    ! [B: $tType,A: $tType,F3: B > A,Ls2: list @ B,Fa: A,Fl: list @ A] :
      ( ( ( map @ B @ A @ F3 @ Ls2 )
        = ( cons @ A @ Fa @ Fl ) )
     => ~ ! [A5: B,L3: list @ B] :
            ( ( Ls2
              = ( cons @ B @ A5 @ L3 ) )
           => ( ( ( F3 @ A5 )
                = Fa )
             => ( ( map @ B @ A @ F3 @ L3 )
               != Fl ) ) ) ) ).

% map_eq_consE
thf(fact_4335_map__consI_I1_J,axiom,
    ! [A: $tType,B: $tType,W2: list @ A,F3: B > A,Ww: list @ B,A3: B] :
      ( ( W2
        = ( map @ B @ A @ F3 @ Ww ) )
     => ( ( cons @ A @ ( F3 @ A3 ) @ W2 )
        = ( map @ B @ A @ F3 @ ( cons @ B @ A3 @ Ww ) ) ) ) ).

% map_consI(1)
thf(fact_4336_foldl__map,axiom,
    ! [A: $tType,B: $tType,C: $tType,G3: A > B > A,A3: A,F3: C > B,Xs: list @ C] :
      ( ( foldl @ A @ B @ G3 @ A3 @ ( map @ C @ B @ F3 @ Xs ) )
      = ( foldl @ A @ C
        @ ^ [A7: A,X4: C] : ( G3 @ A7 @ ( F3 @ X4 ) )
        @ A3
        @ Xs ) ) ).

% foldl_map
thf(fact_4337_map__prod__fun__zip,axiom,
    ! [C: $tType,A: $tType,B: $tType,D: $tType,F3: C > A,G3: D > B,Xs: list @ C,Ys3: list @ D] :
      ( ( map @ ( product_prod @ C @ D ) @ ( product_prod @ A @ B )
        @ ( product_case_prod @ C @ D @ ( product_prod @ A @ B )
          @ ^ [X4: C,Y4: D] : ( product_Pair @ A @ B @ ( F3 @ X4 ) @ ( G3 @ Y4 ) ) )
        @ ( zip @ C @ D @ Xs @ Ys3 ) )
      = ( zip @ A @ B @ ( map @ C @ A @ F3 @ Xs ) @ ( map @ D @ B @ G3 @ Ys3 ) ) ) ).

% map_prod_fun_zip
thf(fact_4338_zip__map2,axiom,
    ! [B: $tType,A: $tType,C: $tType,Xs: list @ A,F3: C > B,Ys3: list @ C] :
      ( ( zip @ A @ B @ Xs @ ( map @ C @ B @ F3 @ Ys3 ) )
      = ( map @ ( product_prod @ A @ C ) @ ( product_prod @ A @ B )
        @ ( product_case_prod @ A @ C @ ( product_prod @ A @ B )
          @ ^ [X4: A,Y4: C] : ( product_Pair @ A @ B @ X4 @ ( F3 @ Y4 ) ) )
        @ ( zip @ A @ C @ Xs @ Ys3 ) ) ) ).

% zip_map2
thf(fact_4339_zip__map1,axiom,
    ! [A: $tType,C: $tType,B: $tType,F3: C > A,Xs: list @ C,Ys3: list @ B] :
      ( ( zip @ A @ B @ ( map @ C @ A @ F3 @ Xs ) @ Ys3 )
      = ( map @ ( product_prod @ C @ B ) @ ( product_prod @ A @ B )
        @ ( product_case_prod @ C @ B @ ( product_prod @ A @ B )
          @ ^ [X4: C] : ( product_Pair @ A @ B @ ( F3 @ X4 ) ) )
        @ ( zip @ C @ B @ Xs @ Ys3 ) ) ) ).

% zip_map1
thf(fact_4340_mset__eq__finite,axiom,
    ! [A: $tType,Xs: list @ A] :
      ( finite_finite2 @ ( list @ A )
      @ ( collect @ ( list @ A )
        @ ^ [Ys2: list @ A] :
            ( ( mset @ A @ Ys2 )
            = ( mset @ A @ Xs ) ) ) ) ).

% mset_eq_finite
thf(fact_4341_map__consI_I2_J,axiom,
    ! [B: $tType,A: $tType,W2: list @ A,L: list @ A,F3: B > A,Ww: list @ B,A3: B] :
      ( ( ( append @ A @ W2 @ L )
        = ( append @ A @ ( map @ B @ A @ F3 @ Ww ) @ L ) )
     => ( ( cons @ A @ ( F3 @ A3 ) @ ( append @ A @ W2 @ L ) )
        = ( append @ A @ ( map @ B @ A @ F3 @ ( cons @ B @ A3 @ Ww ) ) @ L ) ) ) ).

% map_consI(2)
thf(fact_4342_distinct__map__eq,axiom,
    ! [A: $tType,B: $tType,F3: B > A,L: list @ B,X: B,Y: B] :
      ( ( distinct @ A @ ( map @ B @ A @ F3 @ L ) )
     => ( ( ( F3 @ X )
          = ( F3 @ Y ) )
       => ( ( member @ B @ X @ ( set2 @ B @ L ) )
         => ( ( member @ B @ Y @ ( set2 @ B @ L ) )
           => ( X = Y ) ) ) ) ) ).

% distinct_map_eq
thf(fact_4343_mset__shuffles,axiom,
    ! [A: $tType,Zs: list @ A,Xs: list @ A,Ys3: list @ A] :
      ( ( member @ ( list @ A ) @ Zs @ ( shuffles @ A @ Xs @ Ys3 ) )
     => ( ( mset @ A @ Zs )
        = ( plus_plus @ ( multiset @ A ) @ ( mset @ A @ Xs ) @ ( mset @ A @ Ys3 ) ) ) ) ).

% mset_shuffles
thf(fact_4344_sorted__map,axiom,
    ! [A: $tType,B: $tType] :
      ( ( linorder @ A )
     => ! [F3: B > A,Xs: list @ B] :
          ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( map @ B @ A @ F3 @ Xs ) )
          = ( sorted_wrt @ B
            @ ^ [X4: B,Y4: B] : ( ord_less_eq @ A @ ( F3 @ X4 ) @ ( F3 @ Y4 ) )
            @ Xs ) ) ) ).

% sorted_map
thf(fact_4345_mset__eq__length__filter,axiom,
    ! [A: $tType,Xs: list @ A,Ys3: list @ A,Z4: A] :
      ( ( ( mset @ A @ Xs )
        = ( mset @ A @ Ys3 ) )
     => ( ( size_size @ ( list @ A )
          @ ( filter2 @ A
            @ ( ^ [Y6: A,Z5: A] : Y6 = Z5
              @ Z4 )
            @ Xs ) )
        = ( size_size @ ( list @ A )
          @ ( filter2 @ A
            @ ( ^ [Y6: A,Z5: A] : Y6 = Z5
              @ Z4 )
            @ Ys3 ) ) ) ) ).

% mset_eq_length_filter
thf(fact_4346_map__replicate__const,axiom,
    ! [B: $tType,A: $tType,K2: A,Lst: list @ B] :
      ( ( map @ B @ A
        @ ^ [X4: B] : K2
        @ Lst )
      = ( replicate @ A @ ( size_size @ ( list @ B ) @ Lst ) @ K2 ) ) ).

% map_replicate_const
thf(fact_4347_properties__for__sort__key,axiom,
    ! [A: $tType,B: $tType] :
      ( ( linorder @ A )
     => ! [Ys3: list @ B,Xs: list @ B,F3: B > A] :
          ( ( ( mset @ B @ Ys3 )
            = ( mset @ B @ Xs ) )
         => ( ! [K: B] :
                ( ( member @ B @ K @ ( set2 @ B @ Ys3 ) )
               => ( ( filter2 @ B
                    @ ^ [X4: B] :
                        ( ( F3 @ K )
                        = ( F3 @ X4 ) )
                    @ Ys3 )
                  = ( filter2 @ B
                    @ ^ [X4: B] :
                        ( ( F3 @ K )
                        = ( F3 @ X4 ) )
                    @ Xs ) ) )
           => ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( map @ B @ A @ F3 @ Ys3 ) )
             => ( ( linorder_sort_key @ B @ A @ F3 @ Xs )
                = Ys3 ) ) ) ) ) ).

% properties_for_sort_key
thf(fact_4348_sorted__filter,axiom,
    ! [A: $tType,B: $tType] :
      ( ( linorder @ A )
     => ! [F3: B > A,Xs: list @ B,P2: B > $o] :
          ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( map @ B @ A @ F3 @ Xs ) )
         => ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( map @ B @ A @ F3 @ ( filter2 @ B @ P2 @ Xs ) ) ) ) ) ).

% sorted_filter
thf(fact_4349_sorted__insort__key,axiom,
    ! [A: $tType,B: $tType] :
      ( ( linorder @ A )
     => ! [F3: B > A,X: B,Xs: list @ B] :
          ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( map @ B @ A @ F3 @ ( linorder_insort_key @ B @ A @ F3 @ X @ Xs ) ) )
          = ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( map @ B @ A @ F3 @ Xs ) ) ) ) ).

% sorted_insort_key
thf(fact_4350_sorted__sort__key,axiom,
    ! [A: $tType,B: $tType] :
      ( ( linorder @ A )
     => ! [F3: B > A,Xs: list @ B] : ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( map @ B @ A @ F3 @ ( linorder_sort_key @ B @ A @ F3 @ Xs ) ) ) ) ).

% sorted_sort_key
thf(fact_4351_sorted__map__same,axiom,
    ! [A: $tType,B: $tType] :
      ( ( linorder @ A )
     => ! [F3: B > A,G3: ( list @ B ) > A,Xs: list @ B] :
          ( sorted_wrt @ A @ ( ord_less_eq @ A )
          @ ( map @ B @ A @ F3
            @ ( filter2 @ B
              @ ^ [X4: B] :
                  ( ( F3 @ X4 )
                  = ( G3 @ Xs ) )
              @ Xs ) ) ) ) ).

% sorted_map_same
thf(fact_4352_properties__for__sort,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Ys3: list @ A,Xs: list @ A] :
          ( ( ( mset @ A @ Ys3 )
            = ( mset @ A @ Xs ) )
         => ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ Ys3 )
           => ( ( linorder_sort_key @ A @ A
                @ ^ [X4: A] : X4
                @ Xs )
              = Ys3 ) ) ) ) ).

% properties_for_sort
thf(fact_4353_Cons__listrel1E2,axiom,
    ! [A: $tType,Xs: list @ A,Y: A,Ys3: list @ A,R3: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xs @ ( cons @ A @ Y @ Ys3 ) ) @ ( listrel1 @ A @ R3 ) )
     => ( ! [X3: A] :
            ( ( Xs
              = ( cons @ A @ X3 @ Ys3 ) )
           => ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X3 @ Y ) @ R3 ) )
       => ~ ! [Zs2: list @ A] :
              ( ( Xs
                = ( cons @ A @ Y @ Zs2 ) )
             => ~ ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Zs2 @ Ys3 ) @ ( listrel1 @ A @ R3 ) ) ) ) ) ).

% Cons_listrel1E2
thf(fact_4354_Cons__listrel1E1,axiom,
    ! [A: $tType,X: A,Xs: list @ A,Ys3: list @ A,R3: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( cons @ A @ X @ Xs ) @ Ys3 ) @ ( listrel1 @ A @ R3 ) )
     => ( ! [Y3: A] :
            ( ( Ys3
              = ( cons @ A @ Y3 @ Xs ) )
           => ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y3 ) @ R3 ) )
       => ~ ! [Zs2: list @ A] :
              ( ( Ys3
                = ( cons @ A @ X @ Zs2 ) )
             => ~ ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xs @ Zs2 ) @ ( listrel1 @ A @ R3 ) ) ) ) ) ).

% Cons_listrel1E1
thf(fact_4355_listrel1I1,axiom,
    ! [A: $tType,X: A,Y: A,R3: set @ ( product_prod @ A @ A ),Xs: list @ A] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ R3 )
     => ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( cons @ A @ X @ Xs ) @ ( cons @ A @ Y @ Xs ) ) @ ( listrel1 @ A @ R3 ) ) ) ).

% listrel1I1
thf(fact_4356_transpose_Oelims,axiom,
    ! [A: $tType,X: list @ ( list @ A ),Y: list @ ( list @ A )] :
      ( ( ( transpose @ A @ X )
        = Y )
     => ( ( ( X
            = ( nil @ ( list @ A ) ) )
         => ( Y
           != ( nil @ ( list @ A ) ) ) )
       => ( ! [Xss2: list @ ( list @ A )] :
              ( ( X
                = ( cons @ ( list @ A ) @ ( nil @ A ) @ Xss2 ) )
             => ( Y
               != ( transpose @ A @ Xss2 ) ) )
         => ~ ! [X3: A,Xs2: list @ A,Xss2: list @ ( list @ A )] :
                ( ( X
                  = ( cons @ ( list @ A ) @ ( cons @ A @ X3 @ Xs2 ) @ Xss2 ) )
               => ( Y
                 != ( cons @ ( list @ A )
                    @ ( cons @ A @ X3
                      @ ( concat @ A
                        @ ( map @ ( list @ A ) @ ( list @ A )
                          @ ( case_list @ ( list @ A ) @ A @ ( nil @ A )
                            @ ^ [H7: A,T6: list @ A] : ( cons @ A @ H7 @ ( nil @ A ) ) )
                          @ Xss2 ) ) )
                    @ ( transpose @ A
                      @ ( cons @ ( list @ A ) @ Xs2
                        @ ( concat @ ( list @ A )
                          @ ( map @ ( list @ A ) @ ( list @ ( list @ A ) )
                            @ ( case_list @ ( list @ ( list @ A ) ) @ A @ ( nil @ ( list @ A ) )
                              @ ^ [H7: A,T6: list @ A] : ( cons @ ( list @ A ) @ T6 @ ( nil @ ( list @ A ) ) ) )
                            @ Xss2 ) ) ) ) ) ) ) ) ) ) ).

% transpose.elims
thf(fact_4357_transpose_Osimps_I3_J,axiom,
    ! [A: $tType,X: A,Xs: list @ A,Xss: list @ ( list @ A )] :
      ( ( transpose @ A @ ( cons @ ( list @ A ) @ ( cons @ A @ X @ Xs ) @ Xss ) )
      = ( cons @ ( list @ A )
        @ ( cons @ A @ X
          @ ( concat @ A
            @ ( map @ ( list @ A ) @ ( list @ A )
              @ ( case_list @ ( list @ A ) @ A @ ( nil @ A )
                @ ^ [H7: A,T6: list @ A] : ( cons @ A @ H7 @ ( nil @ A ) ) )
              @ Xss ) ) )
        @ ( transpose @ A
          @ ( cons @ ( list @ A ) @ Xs
            @ ( concat @ ( list @ A )
              @ ( map @ ( list @ A ) @ ( list @ ( list @ A ) )
                @ ( case_list @ ( list @ ( list @ A ) ) @ A @ ( nil @ ( list @ A ) )
                  @ ^ [H7: A,T6: list @ A] : ( cons @ ( list @ A ) @ T6 @ ( nil @ ( list @ A ) ) ) )
                @ Xss ) ) ) ) ) ) ).

% transpose.simps(3)
thf(fact_4358_distinct__idx,axiom,
    ! [B: $tType,A: $tType,F3: B > A,L: list @ B,I2: nat,J2: nat] :
      ( ( distinct @ A @ ( map @ B @ A @ F3 @ L ) )
     => ( ( ord_less @ nat @ I2 @ ( size_size @ ( list @ B ) @ L ) )
       => ( ( ord_less @ nat @ J2 @ ( size_size @ ( list @ B ) @ L ) )
         => ( ( ( F3 @ ( nth @ B @ L @ I2 ) )
              = ( F3 @ ( nth @ B @ L @ J2 ) ) )
           => ( I2 = J2 ) ) ) ) ) ).

% distinct_idx
thf(fact_4359_mset__swap,axiom,
    ! [A: $tType,I2: nat,Ls2: list @ A,J2: nat] :
      ( ( ord_less @ nat @ I2 @ ( size_size @ ( list @ A ) @ Ls2 ) )
     => ( ( ord_less @ nat @ J2 @ ( size_size @ ( list @ A ) @ Ls2 ) )
       => ( ( mset @ A @ ( list_update @ A @ ( list_update @ A @ Ls2 @ J2 @ ( nth @ A @ Ls2 @ I2 ) ) @ I2 @ ( nth @ A @ Ls2 @ J2 ) ) )
          = ( mset @ A @ Ls2 ) ) ) ) ).

% mset_swap
thf(fact_4360_map__upd__eq,axiom,
    ! [B: $tType,A: $tType,I2: nat,L: list @ A,F3: A > B,X: A] :
      ( ( ( ord_less @ nat @ I2 @ ( size_size @ ( list @ A ) @ L ) )
       => ( ( F3 @ ( nth @ A @ L @ I2 ) )
          = ( F3 @ X ) ) )
     => ( ( map @ A @ B @ F3 @ ( list_update @ A @ L @ I2 @ X ) )
        = ( map @ A @ B @ F3 @ L ) ) ) ).

% map_upd_eq
thf(fact_4361_filter__insort,axiom,
    ! [A: $tType,B: $tType] :
      ( ( linorder @ A )
     => ! [F3: B > A,Xs: list @ B,P2: B > $o,X: B] :
          ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( map @ B @ A @ F3 @ Xs ) )
         => ( ( P2 @ X )
           => ( ( filter2 @ B @ P2 @ ( linorder_insort_key @ B @ A @ F3 @ X @ Xs ) )
              = ( linorder_insort_key @ B @ A @ F3 @ X @ ( filter2 @ B @ P2 @ Xs ) ) ) ) ) ) ).

% filter_insort
thf(fact_4362_listrel1I,axiom,
    ! [A: $tType,X: A,Y: A,R3: set @ ( product_prod @ A @ A ),Xs: list @ A,Us: list @ A,Vs: list @ A,Ys3: list @ A] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ R3 )
     => ( ( Xs
          = ( append @ A @ Us @ ( cons @ A @ X @ Vs ) ) )
       => ( ( Ys3
            = ( append @ A @ Us @ ( cons @ A @ Y @ Vs ) ) )
         => ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xs @ Ys3 ) @ ( listrel1 @ A @ R3 ) ) ) ) ) ).

% listrel1I
thf(fact_4363_listrel1E,axiom,
    ! [A: $tType,Xs: list @ A,Ys3: list @ A,R3: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xs @ Ys3 ) @ ( listrel1 @ A @ R3 ) )
     => ~ ! [X3: A,Y3: A] :
            ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X3 @ Y3 ) @ R3 )
           => ! [Us2: list @ A,Vs2: list @ A] :
                ( ( Xs
                  = ( append @ A @ Us2 @ ( cons @ A @ X3 @ Vs2 ) ) )
               => ( Ys3
                 != ( append @ A @ Us2 @ ( cons @ A @ Y3 @ Vs2 ) ) ) ) ) ) ).

% listrel1E
thf(fact_4364_map__by__foldl,axiom,
    ! [B: $tType,A: $tType,F3: A > B,L: list @ A] :
      ( ( foldl @ ( list @ B ) @ A
        @ ^ [L2: list @ B,X4: A] : ( append @ B @ L2 @ ( cons @ B @ ( F3 @ X4 ) @ ( nil @ B ) ) )
        @ ( nil @ B )
        @ L )
      = ( map @ A @ B @ F3 @ L ) ) ).

% map_by_foldl
thf(fact_4365_snoc__listrel1__snoc__iff,axiom,
    ! [A: $tType,Xs: list @ A,X: A,Ys3: list @ A,Y: A,R3: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( append @ A @ Xs @ ( cons @ A @ X @ ( nil @ A ) ) ) @ ( append @ A @ Ys3 @ ( cons @ A @ Y @ ( nil @ A ) ) ) ) @ ( listrel1 @ A @ R3 ) )
      = ( ( ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xs @ Ys3 ) @ ( listrel1 @ A @ R3 ) )
          & ( X = Y ) )
        | ( ( Xs = Ys3 )
          & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ R3 ) ) ) ) ).

% snoc_listrel1_snoc_iff
thf(fact_4366_mset__update,axiom,
    ! [A: $tType,I2: nat,Ls2: list @ A,V2: A] :
      ( ( ord_less @ nat @ I2 @ ( size_size @ ( list @ A ) @ Ls2 ) )
     => ( ( mset @ A @ ( list_update @ A @ Ls2 @ I2 @ V2 ) )
        = ( add_mset @ A @ V2 @ ( minus_minus @ ( multiset @ A ) @ ( mset @ A @ Ls2 ) @ ( add_mset @ A @ ( nth @ A @ Ls2 @ I2 ) @ ( zero_zero @ ( multiset @ A ) ) ) ) ) ) ) ).

% mset_update
thf(fact_4367_listrel1p__def,axiom,
    ! [A: $tType] :
      ( ( listrel1p @ A )
      = ( ^ [R5: A > A > $o,Xs3: list @ A,Ys2: list @ A] : ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xs3 @ Ys2 ) @ ( listrel1 @ A @ ( collect @ ( product_prod @ A @ A ) @ ( product_case_prod @ A @ A @ $o @ R5 ) ) ) ) ) ) ).

% listrel1p_def
thf(fact_4368_transpose_Opelims,axiom,
    ! [A: $tType,X: list @ ( list @ A ),Y: list @ ( list @ A )] :
      ( ( ( transpose @ A @ X )
        = Y )
     => ( ( accp @ ( list @ ( list @ A ) ) @ ( transpose_rel @ A ) @ X )
       => ( ( ( X
              = ( nil @ ( list @ A ) ) )
           => ( ( Y
                = ( nil @ ( list @ A ) ) )
             => ~ ( accp @ ( list @ ( list @ A ) ) @ ( transpose_rel @ A ) @ ( nil @ ( list @ A ) ) ) ) )
         => ( ! [Xss2: list @ ( list @ A )] :
                ( ( X
                  = ( cons @ ( list @ A ) @ ( nil @ A ) @ Xss2 ) )
               => ( ( Y
                    = ( transpose @ A @ Xss2 ) )
                 => ~ ( accp @ ( list @ ( list @ A ) ) @ ( transpose_rel @ A ) @ ( cons @ ( list @ A ) @ ( nil @ A ) @ Xss2 ) ) ) )
           => ~ ! [X3: A,Xs2: list @ A,Xss2: list @ ( list @ A )] :
                  ( ( X
                    = ( cons @ ( list @ A ) @ ( cons @ A @ X3 @ Xs2 ) @ Xss2 ) )
                 => ( ( Y
                      = ( cons @ ( list @ A )
                        @ ( cons @ A @ X3
                          @ ( concat @ A
                            @ ( map @ ( list @ A ) @ ( list @ A )
                              @ ( case_list @ ( list @ A ) @ A @ ( nil @ A )
                                @ ^ [H7: A,T6: list @ A] : ( cons @ A @ H7 @ ( nil @ A ) ) )
                              @ Xss2 ) ) )
                        @ ( transpose @ A
                          @ ( cons @ ( list @ A ) @ Xs2
                            @ ( concat @ ( list @ A )
                              @ ( map @ ( list @ A ) @ ( list @ ( list @ A ) )
                                @ ( case_list @ ( list @ ( list @ A ) ) @ A @ ( nil @ ( list @ A ) )
                                  @ ^ [H7: A,T6: list @ A] : ( cons @ ( list @ A ) @ T6 @ ( nil @ ( list @ A ) ) ) )
                                @ Xss2 ) ) ) ) ) )
                   => ~ ( accp @ ( list @ ( list @ A ) ) @ ( transpose_rel @ A ) @ ( cons @ ( list @ A ) @ ( cons @ A @ X3 @ Xs2 ) @ Xss2 ) ) ) ) ) ) ) ) ).

% transpose.pelims
thf(fact_4369_transpose_Opsimps_I3_J,axiom,
    ! [A: $tType,X: A,Xs: list @ A,Xss: list @ ( list @ A )] :
      ( ( accp @ ( list @ ( list @ A ) ) @ ( transpose_rel @ A ) @ ( cons @ ( list @ A ) @ ( cons @ A @ X @ Xs ) @ Xss ) )
     => ( ( transpose @ A @ ( cons @ ( list @ A ) @ ( cons @ A @ X @ Xs ) @ Xss ) )
        = ( cons @ ( list @ A )
          @ ( cons @ A @ X
            @ ( concat @ A
              @ ( map @ ( list @ A ) @ ( list @ A )
                @ ( case_list @ ( list @ A ) @ A @ ( nil @ A )
                  @ ^ [H7: A,T6: list @ A] : ( cons @ A @ H7 @ ( nil @ A ) ) )
                @ Xss ) ) )
          @ ( transpose @ A
            @ ( cons @ ( list @ A ) @ Xs
              @ ( concat @ ( list @ A )
                @ ( map @ ( list @ A ) @ ( list @ ( list @ A ) )
                  @ ( case_list @ ( list @ ( list @ A ) ) @ A @ ( nil @ ( list @ A ) )
                    @ ^ [H7: A,T6: list @ A] : ( cons @ ( list @ A ) @ T6 @ ( nil @ ( list @ A ) ) ) )
                  @ Xss ) ) ) ) ) ) ) ).

% transpose.psimps(3)
thf(fact_4370_nth__nth__transpose__sorted,axiom,
    ! [A: $tType,Xs: list @ ( list @ A ),I2: nat,J2: nat] :
      ( ( sorted_wrt @ nat @ ( ord_less_eq @ nat ) @ ( rev @ nat @ ( map @ ( list @ A ) @ nat @ ( size_size @ ( list @ A ) ) @ Xs ) ) )
     => ( ( ord_less @ nat @ I2 @ ( size_size @ ( list @ ( list @ A ) ) @ ( transpose @ A @ Xs ) ) )
       => ( ( ord_less @ nat @ J2
            @ ( size_size @ ( list @ ( list @ A ) )
              @ ( filter2 @ ( list @ A )
                @ ^ [Ys2: list @ A] : ( ord_less @ nat @ I2 @ ( size_size @ ( list @ A ) @ Ys2 ) )
                @ Xs ) ) )
         => ( ( nth @ A @ ( nth @ ( list @ A ) @ ( transpose @ A @ Xs ) @ I2 ) @ J2 )
            = ( nth @ A @ ( nth @ ( list @ A ) @ Xs @ J2 ) @ I2 ) ) ) ) ) ).

% nth_nth_transpose_sorted
thf(fact_4371_sorted__wrt__rev__linord,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [L: list @ A] :
          ( ( sorted_wrt @ A
            @ ^ [X4: A,Y4: A] : ( ord_less_eq @ A @ Y4 @ X4 )
            @ L )
          = ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( rev @ A @ L ) ) ) ) ).

% sorted_wrt_rev_linord
thf(fact_4372_sorted__wrt__map__linord,axiom,
    ! [B: $tType,A: $tType] :
      ( ( linorder @ A )
     => ! [L: list @ ( product_prod @ A @ B )] :
          ( ( sorted_wrt @ ( product_prod @ A @ B )
            @ ^ [X4: product_prod @ A @ B,Y4: product_prod @ A @ B] : ( ord_less_eq @ A @ ( product_fst @ A @ B @ X4 ) @ ( product_fst @ A @ B @ Y4 ) )
            @ L )
          = ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( map @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) @ L ) ) ) ) ).

% sorted_wrt_map_linord
thf(fact_4373_map__fst__mk__snd,axiom,
    ! [B: $tType,A: $tType,K2: B,L: list @ A] :
      ( ( map @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B )
        @ ( map @ A @ ( product_prod @ A @ B )
          @ ^ [X4: A] : ( product_Pair @ A @ B @ X4 @ K2 )
          @ L ) )
      = L ) ).

% map_fst_mk_snd
thf(fact_4374_map__snd__mk__fst,axiom,
    ! [B: $tType,A: $tType,K2: B,L: list @ A] :
      ( ( map @ ( product_prod @ B @ A ) @ A @ ( product_snd @ B @ A ) @ ( map @ A @ ( product_prod @ B @ A ) @ ( product_Pair @ B @ A @ K2 ) @ L ) )
      = L ) ).

% map_snd_mk_fst
thf(fact_4375_sorted__wrt__map__rev__linord,axiom,
    ! [B: $tType,A: $tType] :
      ( ( linorder @ A )
     => ! [L: list @ ( product_prod @ A @ B )] :
          ( ( sorted_wrt @ ( product_prod @ A @ B )
            @ ^ [X4: product_prod @ A @ B,Y4: product_prod @ A @ B] : ( ord_less_eq @ A @ ( product_fst @ A @ B @ Y4 ) @ ( product_fst @ A @ B @ X4 ) )
            @ L )
          = ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( rev @ A @ ( map @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) @ L ) ) ) ) ) ).

% sorted_wrt_map_rev_linord
thf(fact_4376_map__fst__mk__fst,axiom,
    ! [B: $tType,A: $tType,K2: A,L: list @ B] :
      ( ( map @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) @ ( map @ B @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ K2 ) @ L ) )
      = ( replicate @ A @ ( size_size @ ( list @ B ) @ L ) @ K2 ) ) ).

% map_fst_mk_fst
thf(fact_4377_map__snd__mk__snd,axiom,
    ! [B: $tType,A: $tType,K2: A,L: list @ B] :
      ( ( map @ ( product_prod @ B @ A ) @ A @ ( product_snd @ B @ A )
        @ ( map @ B @ ( product_prod @ B @ A )
          @ ^ [X4: B] : ( product_Pair @ B @ A @ X4 @ K2 )
          @ L ) )
      = ( replicate @ A @ ( size_size @ ( list @ B ) @ L ) @ K2 ) ) ).

% map_snd_mk_snd
thf(fact_4378_product__concat__map,axiom,
    ! [B: $tType,A: $tType] :
      ( ( product @ A @ B )
      = ( ^ [Xs3: list @ A,Ys2: list @ B] :
            ( concat @ ( product_prod @ A @ B )
            @ ( map @ A @ ( list @ ( product_prod @ A @ B ) )
              @ ^ [X4: A] : ( map @ B @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X4 ) @ Ys2 )
              @ Xs3 ) ) ) ) ).

% product_concat_map
thf(fact_4379_sorted__wrt__rev,axiom,
    ! [A: $tType,P2: A > A > $o,Xs: list @ A] :
      ( ( sorted_wrt @ A @ P2 @ ( rev @ A @ Xs ) )
      = ( sorted_wrt @ A
        @ ^ [X4: A,Y4: A] : ( P2 @ Y4 @ X4 )
        @ Xs ) ) ).

% sorted_wrt_rev
thf(fact_4380_nths__shift__lemma__Suc,axiom,
    ! [A: $tType,P2: nat > $o,Xs: list @ A,Is: list @ nat] :
      ( ( map @ ( product_prod @ A @ nat ) @ A @ ( product_fst @ A @ nat )
        @ ( filter2 @ ( product_prod @ A @ nat )
          @ ^ [P7: product_prod @ A @ nat] : ( P2 @ ( suc @ ( product_snd @ A @ nat @ P7 ) ) )
          @ ( zip @ A @ nat @ Xs @ Is ) ) )
      = ( map @ ( product_prod @ A @ nat ) @ A @ ( product_fst @ A @ nat )
        @ ( filter2 @ ( product_prod @ A @ nat )
          @ ^ [P7: product_prod @ A @ nat] : ( P2 @ ( product_snd @ A @ nat @ P7 ) )
          @ ( zip @ A @ nat @ Xs @ ( map @ nat @ nat @ suc @ Is ) ) ) ) ) ).

% nths_shift_lemma_Suc
thf(fact_4381_zip__same__conv__map,axiom,
    ! [A: $tType,Xs: list @ A] :
      ( ( zip @ A @ A @ Xs @ Xs )
      = ( map @ A @ ( product_prod @ A @ A )
        @ ^ [X4: A] : ( product_Pair @ A @ A @ X4 @ X4 )
        @ Xs ) ) ).

% zip_same_conv_map
thf(fact_4382_foldr__conv__foldl,axiom,
    ! [A: $tType,B: $tType] :
      ( ( foldr @ B @ A )
      = ( ^ [F4: B > A > A,Xs3: list @ B,A7: A] :
            ( foldl @ A @ B
            @ ^ [X4: A,Y4: B] : ( F4 @ Y4 @ X4 )
            @ A7
            @ ( rev @ B @ Xs3 ) ) ) ) ).

% foldr_conv_foldl
thf(fact_4383_foldl__conv__foldr,axiom,
    ! [B: $tType,A: $tType] :
      ( ( foldl @ A @ B )
      = ( ^ [F4: A > B > A,A7: A,Xs3: list @ B] :
            ( foldr @ B @ A
            @ ^ [X4: B,Y4: A] : ( F4 @ Y4 @ X4 )
            @ ( rev @ B @ Xs3 )
            @ A7 ) ) ) ).

% foldl_conv_foldr
thf(fact_4384_distinct__map__fst__filterI,axiom,
    ! [B: $tType,A: $tType,Xs: list @ ( product_prod @ A @ B ),P2: ( product_prod @ A @ B ) > $o] :
      ( ( distinct @ A @ ( map @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) @ Xs ) )
     => ( distinct @ A @ ( map @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) @ ( filter2 @ ( product_prod @ A @ B ) @ P2 @ Xs ) ) ) ) ).

% distinct_map_fst_filterI
thf(fact_4385_zip__assoc,axiom,
    ! [B: $tType,A: $tType,C: $tType,Xs: list @ A,Ys3: list @ B,Zs: list @ C] :
      ( ( zip @ A @ ( product_prod @ B @ C ) @ Xs @ ( zip @ B @ C @ Ys3 @ Zs ) )
      = ( map @ ( product_prod @ ( product_prod @ A @ B ) @ C ) @ ( product_prod @ A @ ( product_prod @ B @ C ) )
        @ ( product_case_prod @ ( product_prod @ A @ B ) @ C @ ( product_prod @ A @ ( product_prod @ B @ C ) )
          @ ( product_case_prod @ A @ B @ ( C > ( product_prod @ A @ ( product_prod @ B @ C ) ) )
            @ ^ [X4: A,Y4: B,Z2: C] : ( product_Pair @ A @ ( product_prod @ B @ C ) @ X4 @ ( product_Pair @ B @ C @ Y4 @ Z2 ) ) ) )
        @ ( zip @ ( product_prod @ A @ B ) @ C @ ( zip @ A @ B @ Xs @ Ys3 ) @ Zs ) ) ) ).

% zip_assoc
thf(fact_4386_zip__commute,axiom,
    ! [B: $tType,A: $tType] :
      ( ( zip @ A @ B )
      = ( ^ [Xs3: list @ A,Ys2: list @ B] :
            ( map @ ( product_prod @ B @ A ) @ ( product_prod @ A @ B )
            @ ( product_case_prod @ B @ A @ ( product_prod @ A @ B )
              @ ^ [X4: B,Y4: A] : ( product_Pair @ A @ B @ Y4 @ X4 ) )
            @ ( zip @ B @ A @ Ys2 @ Xs3 ) ) ) ) ).

% zip_commute
thf(fact_4387_n__lists_Osimps_I2_J,axiom,
    ! [A: $tType,N: nat,Xs: list @ A] :
      ( ( n_lists @ A @ ( suc @ N ) @ Xs )
      = ( concat @ ( list @ A )
        @ ( map @ ( list @ A ) @ ( list @ ( list @ A ) )
          @ ^ [Ys2: list @ A] :
              ( map @ A @ ( list @ A )
              @ ^ [Y4: A] : ( cons @ A @ Y4 @ Ys2 )
              @ Xs )
          @ ( n_lists @ A @ N @ Xs ) ) ) ) ).

% n_lists.simps(2)
thf(fact_4388_eq__key__imp__eq__value,axiom,
    ! [A: $tType,B: $tType,Xs: list @ ( product_prod @ A @ B ),K2: A,V1: B,V22: B] :
      ( ( distinct @ A @ ( map @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) @ Xs ) )
     => ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ K2 @ V1 ) @ ( set2 @ ( product_prod @ A @ B ) @ Xs ) )
       => ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ K2 @ V22 ) @ ( set2 @ ( product_prod @ A @ B ) @ Xs ) )
         => ( V1 = V22 ) ) ) ) ).

% eq_key_imp_eq_value
thf(fact_4389_distinct__map__fstD,axiom,
    ! [A: $tType,B: $tType,Xs: list @ ( product_prod @ A @ B ),X: A,Y: B,Z4: B] :
      ( ( distinct @ A @ ( map @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) @ Xs ) )
     => ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X @ Y ) @ ( set2 @ ( product_prod @ A @ B ) @ Xs ) )
       => ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X @ Z4 ) @ ( set2 @ ( product_prod @ A @ B ) @ Xs ) )
         => ( Y = Z4 ) ) ) ) ).

% distinct_map_fstD
thf(fact_4390_map__zip2,axiom,
    ! [A: $tType,B: $tType,K2: A,L: list @ B] :
      ( ( map @ B @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ K2 ) @ L )
      = ( zip @ A @ B @ ( replicate @ A @ ( size_size @ ( list @ B ) @ L ) @ K2 ) @ L ) ) ).

% map_zip2
thf(fact_4391_map__zip1,axiom,
    ! [A: $tType,B: $tType,K2: B,L: list @ A] :
      ( ( map @ A @ ( product_prod @ A @ B )
        @ ^ [X4: A] : ( product_Pair @ A @ B @ X4 @ K2 )
        @ L )
      = ( zip @ A @ B @ L @ ( replicate @ B @ ( size_size @ ( list @ A ) @ L ) @ K2 ) ) ) ).

% map_zip1
thf(fact_4392_sorted__transpose,axiom,
    ! [A: $tType,Xs: list @ ( list @ A )] : ( sorted_wrt @ nat @ ( ord_less_eq @ nat ) @ ( rev @ nat @ ( map @ ( list @ A ) @ nat @ ( size_size @ ( list @ A ) ) @ ( transpose @ A @ Xs ) ) ) ) ).

% sorted_transpose
thf(fact_4393_product_Osimps_I2_J,axiom,
    ! [A: $tType,B: $tType,X: A,Xs: list @ A,Ys3: list @ B] :
      ( ( product @ A @ B @ ( cons @ A @ X @ Xs ) @ Ys3 )
      = ( append @ ( product_prod @ A @ B ) @ ( map @ B @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X ) @ Ys3 ) @ ( product @ A @ B @ Xs @ Ys3 ) ) ) ).

% product.simps(2)
thf(fact_4394_rev__nth,axiom,
    ! [A: $tType,N: nat,Xs: list @ A] :
      ( ( ord_less @ nat @ N @ ( size_size @ ( list @ A ) @ Xs ) )
     => ( ( nth @ A @ ( rev @ A @ Xs ) @ N )
        = ( nth @ A @ Xs @ ( minus_minus @ nat @ ( size_size @ ( list @ A ) @ Xs ) @ ( suc @ N ) ) ) ) ) ).

% rev_nth
thf(fact_4395_rev__update,axiom,
    ! [A: $tType,K2: nat,Xs: list @ A,Y: A] :
      ( ( ord_less @ nat @ K2 @ ( size_size @ ( list @ A ) @ Xs ) )
     => ( ( rev @ A @ ( list_update @ A @ Xs @ K2 @ Y ) )
        = ( list_update @ A @ ( rev @ A @ Xs ) @ ( minus_minus @ nat @ ( minus_minus @ nat @ ( size_size @ ( list @ A ) @ Xs ) @ K2 ) @ ( one_one @ nat ) ) @ Y ) ) ) ).

% rev_update
thf(fact_4396_sorted__enumerate,axiom,
    ! [A: $tType,N: nat,Xs: list @ A] : ( sorted_wrt @ nat @ ( ord_less_eq @ nat ) @ ( map @ ( product_prod @ nat @ A ) @ nat @ ( product_fst @ nat @ A ) @ ( enumerate @ A @ N @ Xs ) ) ) ).

% sorted_enumerate
thf(fact_4397_sorted__rev__iff__nth__Suc,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Xs: list @ A] :
          ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( rev @ A @ Xs ) )
          = ( ! [I: nat] :
                ( ( ord_less @ nat @ ( suc @ I ) @ ( size_size @ ( list @ A ) @ Xs ) )
               => ( ord_less_eq @ A @ ( nth @ A @ Xs @ ( suc @ I ) ) @ ( nth @ A @ Xs @ I ) ) ) ) ) ) ).

% sorted_rev_iff_nth_Suc
thf(fact_4398_sorted__rev__iff__nth__mono,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Xs: list @ A] :
          ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( rev @ A @ Xs ) )
          = ( ! [I: nat,J: nat] :
                ( ( ord_less_eq @ nat @ I @ J )
               => ( ( ord_less @ nat @ J @ ( size_size @ ( list @ A ) @ Xs ) )
                 => ( ord_less_eq @ A @ ( nth @ A @ Xs @ J ) @ ( nth @ A @ Xs @ I ) ) ) ) ) ) ) ).

% sorted_rev_iff_nth_mono
thf(fact_4399_sorted__rev__nth__mono,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Xs: list @ A,I2: nat,J2: nat] :
          ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( rev @ A @ Xs ) )
         => ( ( ord_less_eq @ nat @ I2 @ J2 )
           => ( ( ord_less @ nat @ J2 @ ( size_size @ ( list @ A ) @ Xs ) )
             => ( ord_less_eq @ A @ ( nth @ A @ Xs @ J2 ) @ ( nth @ A @ Xs @ I2 ) ) ) ) ) ) ).

% sorted_rev_nth_mono
thf(fact_4400_mergesort__remdups__def,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ( ( mergesort_remdups @ A )
        = ( ^ [Xs3: list @ A] :
              ( merge_list @ A @ ( nil @ ( list @ A ) )
              @ ( map @ A @ ( list @ A )
                @ ^ [X4: A] : ( cons @ A @ X4 @ ( nil @ A ) )
                @ Xs3 ) ) ) ) ) ).

% mergesort_remdups_def
thf(fact_4401_zip__left__commute,axiom,
    ! [B: $tType,A: $tType,C: $tType,Xs: list @ A,Ys3: list @ B,Zs: list @ C] :
      ( ( zip @ A @ ( product_prod @ B @ C ) @ Xs @ ( zip @ B @ C @ Ys3 @ Zs ) )
      = ( map @ ( product_prod @ B @ ( product_prod @ A @ C ) ) @ ( product_prod @ A @ ( product_prod @ B @ C ) )
        @ ( product_case_prod @ B @ ( product_prod @ A @ C ) @ ( product_prod @ A @ ( product_prod @ B @ C ) )
          @ ^ [Y4: B] :
              ( product_case_prod @ A @ C @ ( product_prod @ A @ ( product_prod @ B @ C ) )
              @ ^ [X4: A,Z2: C] : ( product_Pair @ A @ ( product_prod @ B @ C ) @ X4 @ ( product_Pair @ B @ C @ Y4 @ Z2 ) ) ) )
        @ ( zip @ B @ ( product_prod @ A @ C ) @ Ys3 @ ( zip @ A @ C @ Xs @ Zs ) ) ) ) ).

% zip_left_commute
thf(fact_4402_foldr__max__sorted,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Xs: list @ A,Y: A] :
          ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( rev @ A @ Xs ) )
         => ( ( ( Xs
                = ( nil @ A ) )
             => ( ( foldr @ A @ A @ ( ord_max @ A ) @ Xs @ Y )
                = Y ) )
            & ( ( Xs
               != ( nil @ A ) )
             => ( ( foldr @ A @ A @ ( ord_max @ A ) @ Xs @ Y )
                = ( ord_max @ A @ ( nth @ A @ Xs @ ( zero_zero @ nat ) ) @ Y ) ) ) ) ) ) ).

% foldr_max_sorted
thf(fact_4403_transpose_Opinduct,axiom,
    ! [A: $tType,A0: list @ ( list @ A ),P2: ( list @ ( list @ A ) ) > $o] :
      ( ( accp @ ( list @ ( list @ A ) ) @ ( transpose_rel @ A ) @ A0 )
     => ( ( ( accp @ ( list @ ( list @ A ) ) @ ( transpose_rel @ A ) @ ( nil @ ( list @ A ) ) )
         => ( P2 @ ( nil @ ( list @ A ) ) ) )
       => ( ! [Xss2: list @ ( list @ A )] :
              ( ( accp @ ( list @ ( list @ A ) ) @ ( transpose_rel @ A ) @ ( cons @ ( list @ A ) @ ( nil @ A ) @ Xss2 ) )
             => ( ( P2 @ Xss2 )
               => ( P2 @ ( cons @ ( list @ A ) @ ( nil @ A ) @ Xss2 ) ) ) )
         => ( ! [X3: A,Xs2: list @ A,Xss2: list @ ( list @ A )] :
                ( ( accp @ ( list @ ( list @ A ) ) @ ( transpose_rel @ A ) @ ( cons @ ( list @ A ) @ ( cons @ A @ X3 @ Xs2 ) @ Xss2 ) )
               => ( ( P2
                    @ ( cons @ ( list @ A ) @ Xs2
                      @ ( concat @ ( list @ A )
                        @ ( map @ ( list @ A ) @ ( list @ ( list @ A ) )
                          @ ( case_list @ ( list @ ( list @ A ) ) @ A @ ( nil @ ( list @ A ) )
                            @ ^ [H7: A,T6: list @ A] : ( cons @ ( list @ A ) @ T6 @ ( nil @ ( list @ A ) ) ) )
                          @ Xss2 ) ) ) )
                 => ( P2 @ ( cons @ ( list @ A ) @ ( cons @ A @ X3 @ Xs2 ) @ Xss2 ) ) ) )
           => ( P2 @ A0 ) ) ) ) ) ).

% transpose.pinduct
thf(fact_4404_length__transpose__sorted,axiom,
    ! [A: $tType,Xs: list @ ( list @ A )] :
      ( ( sorted_wrt @ nat @ ( ord_less_eq @ nat ) @ ( rev @ nat @ ( map @ ( list @ A ) @ nat @ ( size_size @ ( list @ A ) ) @ Xs ) ) )
     => ( ( ( Xs
            = ( nil @ ( list @ A ) ) )
         => ( ( size_size @ ( list @ ( list @ A ) ) @ ( transpose @ A @ Xs ) )
            = ( zero_zero @ nat ) ) )
        & ( ( Xs
           != ( nil @ ( list @ A ) ) )
         => ( ( size_size @ ( list @ ( list @ A ) ) @ ( transpose @ A @ Xs ) )
            = ( size_size @ ( list @ A ) @ ( nth @ ( list @ A ) @ Xs @ ( zero_zero @ nat ) ) ) ) ) ) ) ).

% length_transpose_sorted
thf(fact_4405_transpose__column__length,axiom,
    ! [A: $tType,Xs: list @ ( list @ A ),I2: nat] :
      ( ( sorted_wrt @ nat @ ( ord_less_eq @ nat ) @ ( rev @ nat @ ( map @ ( list @ A ) @ nat @ ( size_size @ ( list @ A ) ) @ Xs ) ) )
     => ( ( ord_less @ nat @ I2 @ ( size_size @ ( list @ ( list @ A ) ) @ Xs ) )
       => ( ( size_size @ ( list @ ( list @ A ) )
            @ ( filter2 @ ( list @ A )
              @ ^ [Ys2: list @ A] : ( ord_less @ nat @ I2 @ ( size_size @ ( list @ A ) @ Ys2 ) )
              @ ( transpose @ A @ Xs ) ) )
          = ( size_size @ ( list @ A ) @ ( nth @ ( list @ A ) @ Xs @ I2 ) ) ) ) ) ).

% transpose_column_length
thf(fact_4406_transpose__column,axiom,
    ! [A: $tType,Xs: list @ ( list @ A ),I2: nat] :
      ( ( sorted_wrt @ nat @ ( ord_less_eq @ nat ) @ ( rev @ nat @ ( map @ ( list @ A ) @ nat @ ( size_size @ ( list @ A ) ) @ Xs ) ) )
     => ( ( ord_less @ nat @ I2 @ ( size_size @ ( list @ ( list @ A ) ) @ Xs ) )
       => ( ( map @ ( list @ A ) @ A
            @ ^ [Ys2: list @ A] : ( nth @ A @ Ys2 @ I2 )
            @ ( filter2 @ ( list @ A )
              @ ^ [Ys2: list @ A] : ( ord_less @ nat @ I2 @ ( size_size @ ( list @ A ) @ Ys2 ) )
              @ ( transpose @ A @ Xs ) ) )
          = ( nth @ ( list @ A ) @ Xs @ I2 ) ) ) ) ).

% transpose_column
thf(fact_4407_product__code,axiom,
    ! [B: $tType,A: $tType,Xs: list @ A,Ys3: list @ B] :
      ( ( product_product @ A @ B @ ( set2 @ A @ Xs ) @ ( set2 @ B @ Ys3 ) )
      = ( set2 @ ( product_prod @ A @ B )
        @ ( concat @ ( product_prod @ A @ B )
          @ ( map @ A @ ( list @ ( product_prod @ A @ B ) )
            @ ^ [X4: A] : ( map @ B @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X4 ) @ Ys3 )
            @ Xs ) ) ) ) ).

% product_code
thf(fact_4408_product__lists_Osimps_I2_J,axiom,
    ! [A: $tType,Xs: list @ A,Xss: list @ ( list @ A )] :
      ( ( product_lists @ A @ ( cons @ ( list @ A ) @ Xs @ Xss ) )
      = ( concat @ ( list @ A )
        @ ( map @ A @ ( list @ ( list @ A ) )
          @ ^ [X4: A] : ( map @ ( list @ A ) @ ( list @ A ) @ ( cons @ A @ X4 ) @ ( product_lists @ A @ Xss ) )
          @ Xs ) ) ) ).

% product_lists.simps(2)
thf(fact_4409_execute__make,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [N: nat,F3: nat > A,H: heap_ext @ product_unit] :
          ( ( heap_Time_execute @ ( array @ A ) @ ( array_make @ A @ N @ F3 ) @ H )
          = ( some @ ( product_prod @ ( array @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) )
            @ ( product_case_prod @ ( array @ A ) @ ( heap_ext @ product_unit ) @ ( product_prod @ ( array @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) )
              @ ^ [R5: array @ A,H8: heap_ext @ product_unit] : ( product_Pair @ ( array @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ R5 @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ H8 @ ( plus_plus @ nat @ N @ ( one_one @ nat ) ) ) )
              @ ( array_alloc @ A @ ( map @ nat @ A @ F3 @ ( upt @ ( zero_zero @ nat ) @ N ) ) @ H ) ) ) ) ) ).

% execute_make
thf(fact_4410_map__filter__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( map_filter @ A @ B )
      = ( ^ [F4: A > ( option @ B ),Xs3: list @ A] :
            ( map @ A @ B @ ( comp @ ( option @ B ) @ B @ A @ ( the2 @ B ) @ F4 )
            @ ( filter2 @ A
              @ ^ [X4: A] :
                  ( ( F4 @ X4 )
                 != ( none @ B ) )
              @ Xs3 ) ) ) ) ).

% map_filter_def
thf(fact_4411_sort__upt,axiom,
    ! [M: nat,N: nat] :
      ( ( linorder_sort_key @ nat @ nat
        @ ^ [X4: nat] : X4
        @ ( upt @ M @ N ) )
      = ( upt @ M @ N ) ) ).

% sort_upt
thf(fact_4412_upt__0__eq__Nil__conv,axiom,
    ! [J2: nat] :
      ( ( ( upt @ ( zero_zero @ nat ) @ J2 )
        = ( nil @ nat ) )
      = ( J2
        = ( zero_zero @ nat ) ) ) ).

% upt_0_eq_Nil_conv
thf(fact_4413_upt__merge,axiom,
    ! [I2: nat,J2: nat,K2: nat] :
      ( ( ( ord_less_eq @ nat @ I2 @ J2 )
        & ( ord_less_eq @ nat @ J2 @ K2 ) )
     => ( ( append @ nat @ ( upt @ I2 @ J2 ) @ ( upt @ J2 @ K2 ) )
        = ( upt @ I2 @ K2 ) ) ) ).

% upt_merge
thf(fact_4414_upt__conv__Nil,axiom,
    ! [J2: nat,I2: nat] :
      ( ( ord_less_eq @ nat @ J2 @ I2 )
     => ( ( upt @ I2 @ J2 )
        = ( nil @ nat ) ) ) ).

% upt_conv_Nil
thf(fact_4415_upt__eq__Nil__conv,axiom,
    ! [I2: nat,J2: nat] :
      ( ( ( upt @ I2 @ J2 )
        = ( nil @ nat ) )
      = ( ( J2
          = ( zero_zero @ nat ) )
        | ( ord_less_eq @ nat @ J2 @ I2 ) ) ) ).

% upt_eq_Nil_conv
thf(fact_4416_nth__upt,axiom,
    ! [I2: nat,K2: nat,J2: nat] :
      ( ( ord_less @ nat @ ( plus_plus @ nat @ I2 @ K2 ) @ J2 )
     => ( ( nth @ nat @ ( upt @ I2 @ J2 ) @ K2 )
        = ( plus_plus @ nat @ I2 @ K2 ) ) ) ).

% nth_upt
thf(fact_4417_upt__rec__numeral,axiom,
    ! [M: num,N: num] :
      ( ( ( ord_less @ nat @ ( numeral_numeral @ nat @ M ) @ ( numeral_numeral @ nat @ N ) )
       => ( ( upt @ ( numeral_numeral @ nat @ M ) @ ( numeral_numeral @ nat @ N ) )
          = ( cons @ nat @ ( numeral_numeral @ nat @ M ) @ ( upt @ ( suc @ ( numeral_numeral @ nat @ M ) ) @ ( numeral_numeral @ nat @ N ) ) ) ) )
      & ( ~ ( ord_less @ nat @ ( numeral_numeral @ nat @ M ) @ ( numeral_numeral @ nat @ N ) )
       => ( ( upt @ ( numeral_numeral @ nat @ M ) @ ( numeral_numeral @ nat @ N ) )
          = ( nil @ nat ) ) ) ) ).

% upt_rec_numeral
thf(fact_4418_map__fst__enumerate,axiom,
    ! [A: $tType,N: nat,Xs: list @ A] :
      ( ( map @ ( product_prod @ nat @ A ) @ nat @ ( product_fst @ nat @ A ) @ ( enumerate @ A @ N @ Xs ) )
      = ( upt @ N @ ( plus_plus @ nat @ N @ ( size_size @ ( list @ A ) @ Xs ) ) ) ) ).

% map_fst_enumerate
thf(fact_4419_upt__eq__append__conv,axiom,
    ! [I2: nat,J2: nat,Xs: list @ nat,Ys3: list @ nat] :
      ( ( ord_less_eq @ nat @ I2 @ J2 )
     => ( ( ( upt @ I2 @ J2 )
          = ( append @ nat @ Xs @ Ys3 ) )
        = ( ? [K3: nat] :
              ( ( ord_less_eq @ nat @ I2 @ K3 )
              & ( ord_less_eq @ nat @ K3 @ J2 )
              & ( ( upt @ I2 @ K3 )
                = Xs )
              & ( ( upt @ K3 @ J2 )
                = Ys3 ) ) ) ) ) ).

% upt_eq_append_conv
thf(fact_4420_map__add__upt_H,axiom,
    ! [Ofs: nat,A3: nat,B2: nat] :
      ( ( map @ nat @ nat
        @ ^ [I: nat] : ( plus_plus @ nat @ I @ Ofs )
        @ ( upt @ A3 @ B2 ) )
      = ( upt @ ( plus_plus @ nat @ A3 @ Ofs ) @ ( plus_plus @ nat @ B2 @ Ofs ) ) ) ).

% map_add_upt'
thf(fact_4421_upt__append,axiom,
    ! [I2: nat,J2: nat] :
      ( ( ord_less @ nat @ I2 @ J2 )
     => ( ( append @ nat @ ( upt @ ( zero_zero @ nat ) @ I2 ) @ ( upt @ I2 @ J2 ) )
        = ( upt @ ( zero_zero @ nat ) @ J2 ) ) ) ).

% upt_append
thf(fact_4422_upt__add__eq__append,axiom,
    ! [I2: nat,J2: nat,K2: nat] :
      ( ( ord_less_eq @ nat @ I2 @ J2 )
     => ( ( upt @ I2 @ ( plus_plus @ nat @ J2 @ K2 ) )
        = ( append @ nat @ ( upt @ I2 @ J2 ) @ ( upt @ J2 @ ( plus_plus @ nat @ J2 @ K2 ) ) ) ) ) ).

% upt_add_eq_append
thf(fact_4423_sorted__wrt__upt,axiom,
    ! [M: nat,N: nat] : ( sorted_wrt @ nat @ ( ord_less @ nat ) @ ( upt @ M @ N ) ) ).

% sorted_wrt_upt
thf(fact_4424_map__add__upt,axiom,
    ! [N: nat,M: nat] :
      ( ( map @ nat @ nat
        @ ^ [I: nat] : ( plus_plus @ nat @ I @ N )
        @ ( upt @ ( zero_zero @ nat ) @ M ) )
      = ( upt @ N @ ( plus_plus @ nat @ M @ N ) ) ) ).

% map_add_upt
thf(fact_4425_sorted__upt,axiom,
    ! [M: nat,N: nat] : ( sorted_wrt @ nat @ ( ord_less_eq @ nat ) @ ( upt @ M @ N ) ) ).

% sorted_upt
thf(fact_4426_map__replicate__trivial,axiom,
    ! [A: $tType,X: A,I2: nat] :
      ( ( map @ nat @ A
        @ ^ [I: nat] : X
        @ ( upt @ ( zero_zero @ nat ) @ I2 ) )
      = ( replicate @ A @ I2 @ X ) ) ).

% map_replicate_trivial
thf(fact_4427_enumerate__map__upt,axiom,
    ! [A: $tType,N: nat,F3: nat > A,M: nat] :
      ( ( enumerate @ A @ N @ ( map @ nat @ A @ F3 @ ( upt @ N @ M ) ) )
      = ( map @ nat @ ( product_prod @ nat @ A )
        @ ^ [K3: nat] : ( product_Pair @ nat @ A @ K3 @ ( F3 @ K3 ) )
        @ ( upt @ N @ M ) ) ) ).

% enumerate_map_upt
thf(fact_4428_upt__conv__Cons,axiom,
    ! [I2: nat,J2: nat] :
      ( ( ord_less @ nat @ I2 @ J2 )
     => ( ( upt @ I2 @ J2 )
        = ( cons @ nat @ I2 @ ( upt @ ( suc @ I2 ) @ J2 ) ) ) ) ).

% upt_conv_Cons
thf(fact_4429_upt__rec,axiom,
    ( upt
    = ( ^ [I: nat,J: nat] : ( if @ ( list @ nat ) @ ( ord_less @ nat @ I @ J ) @ ( cons @ nat @ I @ ( upt @ ( suc @ I ) @ J ) ) @ ( nil @ nat ) ) ) ) ).

% upt_rec
thf(fact_4430_upt__Suc,axiom,
    ! [I2: nat,J2: nat] :
      ( ( ( ord_less_eq @ nat @ I2 @ J2 )
       => ( ( upt @ I2 @ ( suc @ J2 ) )
          = ( append @ nat @ ( upt @ I2 @ J2 ) @ ( cons @ nat @ J2 @ ( nil @ nat ) ) ) ) )
      & ( ~ ( ord_less_eq @ nat @ I2 @ J2 )
       => ( ( upt @ I2 @ ( suc @ J2 ) )
          = ( nil @ nat ) ) ) ) ).

% upt_Suc
thf(fact_4431_upt__Suc__append,axiom,
    ! [I2: nat,J2: nat] :
      ( ( ord_less_eq @ nat @ I2 @ J2 )
     => ( ( upt @ I2 @ ( suc @ J2 ) )
        = ( append @ nat @ ( upt @ I2 @ J2 ) @ ( cons @ nat @ J2 @ ( nil @ nat ) ) ) ) ) ).

% upt_Suc_append
thf(fact_4432_map__filter__simps_I1_J,axiom,
    ! [A: $tType,B: $tType,F3: B > ( option @ A ),X: B,Xs: list @ B] :
      ( ( map_filter @ B @ A @ F3 @ ( cons @ B @ X @ Xs ) )
      = ( case_option @ ( list @ A ) @ A @ ( map_filter @ B @ A @ F3 @ Xs )
        @ ^ [Y4: A] : ( cons @ A @ Y4 @ ( map_filter @ B @ A @ F3 @ Xs ) )
        @ ( F3 @ X ) ) ) ).

% map_filter_simps(1)
thf(fact_4433_enumerate__eq__zip,axiom,
    ! [A: $tType] :
      ( ( enumerate @ A )
      = ( ^ [N3: nat,Xs3: list @ A] : ( zip @ nat @ A @ ( upt @ N3 @ ( plus_plus @ nat @ N3 @ ( size_size @ ( list @ A ) @ Xs3 ) ) ) @ Xs3 ) ) ) ).

% enumerate_eq_zip
thf(fact_4434_map__upt__Suc,axiom,
    ! [A: $tType,F3: nat > A,N: nat] :
      ( ( map @ nat @ A @ F3 @ ( upt @ ( zero_zero @ nat ) @ ( suc @ N ) ) )
      = ( cons @ A @ ( F3 @ ( zero_zero @ nat ) )
        @ ( map @ nat @ A
          @ ^ [I: nat] : ( F3 @ ( suc @ I ) )
          @ ( upt @ ( zero_zero @ nat ) @ N ) ) ) ) ).

% map_upt_Suc
thf(fact_4435_upt__filter__extend,axiom,
    ! [U: nat,U5: nat,P2: nat > $o] :
      ( ( ord_less_eq @ nat @ U @ U5 )
     => ( ! [I3: nat] :
            ( ( ( ord_less_eq @ nat @ U @ I3 )
              & ( ord_less @ nat @ I3 @ U5 ) )
           => ~ ( P2 @ I3 ) )
       => ( ( filter2 @ nat @ P2 @ ( upt @ ( zero_zero @ nat ) @ U ) )
          = ( filter2 @ nat @ P2 @ ( upt @ ( zero_zero @ nat ) @ U5 ) ) ) ) ) ).

% upt_filter_extend
thf(fact_4436_map__decr__upt,axiom,
    ! [M: nat,N: nat] :
      ( ( map @ nat @ nat
        @ ^ [N3: nat] : ( minus_minus @ nat @ N3 @ ( suc @ ( zero_zero @ nat ) ) )
        @ ( upt @ ( suc @ M ) @ ( suc @ N ) ) )
      = ( upt @ M @ N ) ) ).

% map_decr_upt
thf(fact_4437_map__nth,axiom,
    ! [A: $tType,Xs: list @ A] :
      ( ( map @ nat @ A @ ( nth @ A @ Xs ) @ ( upt @ ( zero_zero @ nat ) @ ( size_size @ ( list @ A ) @ Xs ) ) )
      = Xs ) ).

% map_nth
thf(fact_4438_nth__map__upt,axiom,
    ! [A: $tType,I2: nat,N: nat,M: nat,F3: nat > A] :
      ( ( ord_less @ nat @ I2 @ ( minus_minus @ nat @ N @ M ) )
     => ( ( nth @ A @ ( map @ nat @ A @ F3 @ ( upt @ M @ N ) ) @ I2 )
        = ( F3 @ ( plus_plus @ nat @ M @ I2 ) ) ) ) ).

% nth_map_upt
thf(fact_4439_upt__eq__lel__conv,axiom,
    ! [L: nat,H: nat,Is1: list @ nat,I2: nat,Is2: list @ nat] :
      ( ( ( upt @ L @ H )
        = ( append @ nat @ Is1 @ ( cons @ nat @ I2 @ Is2 ) ) )
      = ( ( Is1
          = ( upt @ L @ I2 ) )
        & ( Is2
          = ( upt @ ( suc @ I2 ) @ H ) )
        & ( ord_less_eq @ nat @ L @ I2 )
        & ( ord_less @ nat @ I2 @ H ) ) ) ).

% upt_eq_lel_conv
thf(fact_4440_upt__eq__Cons__conv,axiom,
    ! [I2: nat,J2: nat,X: nat,Xs: list @ nat] :
      ( ( ( upt @ I2 @ J2 )
        = ( cons @ nat @ X @ Xs ) )
      = ( ( ord_less @ nat @ I2 @ J2 )
        & ( I2 = X )
        & ( ( upt @ ( plus_plus @ nat @ I2 @ ( one_one @ nat ) ) @ J2 )
          = Xs ) ) ) ).

% upt_eq_Cons_conv
thf(fact_4441_enumerate__replicate__eq,axiom,
    ! [A: $tType,N: nat,M: nat,A3: A] :
      ( ( enumerate @ A @ N @ ( replicate @ A @ M @ A3 ) )
      = ( map @ nat @ ( product_prod @ nat @ A )
        @ ^ [Q8: nat] : ( product_Pair @ nat @ A @ Q8 @ A3 )
        @ ( upt @ N @ ( plus_plus @ nat @ N @ M ) ) ) ) ).

% enumerate_replicate_eq
thf(fact_4442_map__upt__eqI,axiom,
    ! [A: $tType,Xs: list @ A,N: nat,M: nat,F3: nat > A] :
      ( ( ( size_size @ ( list @ A ) @ Xs )
        = ( minus_minus @ nat @ N @ M ) )
     => ( ! [I3: nat] :
            ( ( ord_less @ nat @ I3 @ ( size_size @ ( list @ A ) @ Xs ) )
           => ( ( nth @ A @ Xs @ I3 )
              = ( F3 @ ( plus_plus @ nat @ M @ I3 ) ) ) )
       => ( ( map @ nat @ A @ F3 @ ( upt @ M @ N ) )
          = Xs ) ) ) ).

% map_upt_eqI
thf(fact_4443_filter__upt__last,axiom,
    ! [A: $tType,P2: A > $o,L: list @ A,Js2: list @ nat,J2: nat,I2: nat] :
      ( ( ( filter2 @ nat
          @ ^ [K3: nat] : ( P2 @ ( nth @ A @ L @ K3 ) )
          @ ( upt @ ( zero_zero @ nat ) @ ( size_size @ ( list @ A ) @ L ) ) )
        = ( append @ nat @ Js2 @ ( cons @ nat @ J2 @ ( nil @ nat ) ) ) )
     => ( ( ord_less @ nat @ J2 @ I2 )
       => ( ( ord_less @ nat @ I2 @ ( size_size @ ( list @ A ) @ L ) )
         => ~ ( P2 @ ( nth @ A @ L @ I2 ) ) ) ) ) ).

% filter_upt_last
thf(fact_4444_nths__shift__lemma,axiom,
    ! [A: $tType,A6: set @ nat,Xs: list @ A,I2: nat] :
      ( ( map @ ( product_prod @ A @ nat ) @ A @ ( product_fst @ A @ nat )
        @ ( filter2 @ ( product_prod @ A @ nat )
          @ ^ [P7: product_prod @ A @ nat] : ( member @ nat @ ( product_snd @ A @ nat @ P7 ) @ A6 )
          @ ( zip @ A @ nat @ Xs @ ( upt @ I2 @ ( plus_plus @ nat @ I2 @ ( size_size @ ( list @ A ) @ Xs ) ) ) ) ) )
      = ( map @ ( product_prod @ A @ nat ) @ A @ ( product_fst @ A @ nat )
        @ ( filter2 @ ( product_prod @ A @ nat )
          @ ^ [P7: product_prod @ A @ nat] : ( member @ nat @ ( plus_plus @ nat @ ( product_snd @ A @ nat @ P7 ) @ I2 ) @ A6 )
          @ ( zip @ A @ nat @ Xs @ ( upt @ ( zero_zero @ nat ) @ ( size_size @ ( list @ A ) @ Xs ) ) ) ) ) ) ).

% nths_shift_lemma
thf(fact_4445_make__rule,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [N: nat,F3: nat > A] :
          ( hoare_hoare_triple @ ( array @ A ) @ ( one_one @ assn ) @ ( array_make @ A @ N @ F3 )
          @ ^ [R5: array @ A] : ( snga_assn @ A @ R5 @ ( map @ nat @ A @ F3 @ ( upt @ ( zero_zero @ nat ) @ N ) ) ) ) ) ).

% make_rule
thf(fact_4446_effect__makeI,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [A3: array @ A,H5: heap_ext @ product_unit,F3: nat > A,N: nat,H: heap_ext @ product_unit] :
          ( ( ( product_Pair @ ( array @ A ) @ ( heap_ext @ product_unit ) @ A3 @ H5 )
            = ( array_alloc @ A @ ( map @ nat @ A @ F3 @ ( upt @ ( zero_zero @ nat ) @ N ) ) @ H ) )
         => ( heap_Time_effect @ ( array @ A ) @ ( array_make @ A @ N @ F3 ) @ H @ H5 @ A3 @ ( plus_plus @ nat @ N @ ( one_one @ nat ) ) ) ) ) ).

% effect_makeI
thf(fact_4447_transpose__rectangle,axiom,
    ! [A: $tType,Xs: list @ ( list @ A ),N: nat] :
      ( ( ( Xs
          = ( nil @ ( list @ A ) ) )
       => ( N
          = ( zero_zero @ nat ) ) )
     => ( ! [I3: nat] :
            ( ( ord_less @ nat @ I3 @ ( size_size @ ( list @ ( list @ A ) ) @ Xs ) )
           => ( ( size_size @ ( list @ A ) @ ( nth @ ( list @ A ) @ Xs @ I3 ) )
              = N ) )
       => ( ( transpose @ A @ Xs )
          = ( map @ nat @ ( list @ A )
            @ ^ [I: nat] :
                ( map @ nat @ A
                @ ^ [J: nat] : ( nth @ A @ ( nth @ ( list @ A ) @ Xs @ J ) @ I )
                @ ( upt @ ( zero_zero @ nat ) @ ( size_size @ ( list @ ( list @ A ) ) @ Xs ) ) )
            @ ( upt @ ( zero_zero @ nat ) @ N ) ) ) ) ) ).

% transpose_rectangle
thf(fact_4448_map__filter__map__filter,axiom,
    ! [A: $tType,B: $tType,F3: B > A,P2: B > $o,Xs: list @ B] :
      ( ( map @ B @ A @ F3 @ ( filter2 @ B @ P2 @ Xs ) )
      = ( map_filter @ B @ A
        @ ^ [X4: B] : ( if @ ( option @ A ) @ ( P2 @ X4 ) @ ( some @ A @ ( F3 @ X4 ) ) @ ( none @ A ) )
        @ Xs ) ) ).

% map_filter_map_filter
thf(fact_4449_Array__Time_Omake__def,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ( ( array_make @ A )
        = ( ^ [N3: nat,F4: nat > A] :
              ( heap_Time_heap @ ( array @ A )
              @ ^ [H7: heap_ext @ product_unit] :
                  ( product_case_prod @ ( array @ A ) @ ( heap_ext @ product_unit ) @ ( product_prod @ ( array @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) )
                  @ ^ [R5: array @ A,H8: heap_ext @ product_unit] : ( product_Pair @ ( array @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ R5 @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ H8 @ ( plus_plus @ nat @ N3 @ ( one_one @ nat ) ) ) )
                  @ ( array_alloc @ A @ ( map @ nat @ A @ F4 @ ( upt @ ( zero_zero @ nat ) @ N3 ) ) @ H7 ) ) ) ) ) ) ).

% Array_Time.make_def
thf(fact_4450_nths__def,axiom,
    ! [A: $tType] :
      ( ( nths @ A )
      = ( ^ [Xs3: list @ A,A8: set @ nat] :
            ( map @ ( product_prod @ A @ nat ) @ A @ ( product_fst @ A @ nat )
            @ ( filter2 @ ( product_prod @ A @ nat )
              @ ^ [P7: product_prod @ A @ nat] : ( member @ nat @ ( product_snd @ A @ nat @ P7 ) @ A8 )
              @ ( zip @ A @ nat @ Xs3 @ ( upt @ ( zero_zero @ nat ) @ ( size_size @ ( list @ A ) @ Xs3 ) ) ) ) ) ) ) ).

% nths_def
thf(fact_4451_sorted__wrt__less__sum__mono__lowerbound,axiom,
    ! [B: $tType] :
      ( ( ordere6911136660526730532id_add @ B )
     => ! [F3: nat > B,Ns: list @ nat] :
          ( ! [X3: nat,Y3: nat] :
              ( ( ord_less_eq @ nat @ X3 @ Y3 )
             => ( ord_less_eq @ B @ ( F3 @ X3 ) @ ( F3 @ Y3 ) ) )
         => ( ( sorted_wrt @ nat @ ( ord_less @ nat ) @ Ns )
           => ( ord_less_eq @ B @ ( groups7311177749621191930dd_sum @ nat @ B @ F3 @ ( set_or7035219750837199246ssThan @ nat @ ( zero_zero @ nat ) @ ( size_size @ ( list @ nat ) @ Ns ) ) ) @ ( groups8242544230860333062m_list @ B @ ( map @ nat @ B @ F3 @ Ns ) ) ) ) ) ) ).

% sorted_wrt_less_sum_mono_lowerbound
thf(fact_4452_remove__rev__alt__def,axiom,
    ! [A: $tType] :
      ( ( remove_rev @ A )
      = ( ^ [X4: A,Xs3: list @ A] :
            ( filter2 @ A
            @ ^ [Y4: A] : Y4 != X4
            @ ( rev @ A @ Xs3 ) ) ) ) ).

% remove_rev_alt_def
thf(fact_4453_transpose__aux__filter__tail,axiom,
    ! [A: $tType,Xss: list @ ( list @ A )] :
      ( ( concat @ ( list @ A )
        @ ( map @ ( list @ A ) @ ( list @ ( list @ A ) )
          @ ( case_list @ ( list @ ( list @ A ) ) @ A @ ( nil @ ( list @ A ) )
            @ ^ [H7: A,T6: list @ A] : ( cons @ ( list @ A ) @ T6 @ ( nil @ ( list @ A ) ) ) )
          @ Xss ) )
      = ( map @ ( list @ A ) @ ( list @ A ) @ ( tl @ A )
        @ ( filter2 @ ( list @ A )
          @ ^ [Ys2: list @ A] :
              ( Ys2
             != ( nil @ A ) )
          @ Xss ) ) ) ).

% transpose_aux_filter_tail
thf(fact_4454_sum__list_OCons,axiom,
    ! [A: $tType] :
      ( ( monoid_add @ A )
     => ! [X: A,Xs: list @ A] :
          ( ( groups8242544230860333062m_list @ A @ ( cons @ A @ X @ Xs ) )
          = ( plus_plus @ A @ X @ ( groups8242544230860333062m_list @ A @ Xs ) ) ) ) ).

% sum_list.Cons
thf(fact_4455_sum__list__append,axiom,
    ! [A: $tType] :
      ( ( monoid_add @ A )
     => ! [Xs: list @ A,Ys3: list @ A] :
          ( ( groups8242544230860333062m_list @ A @ ( append @ A @ Xs @ Ys3 ) )
          = ( plus_plus @ A @ ( groups8242544230860333062m_list @ A @ Xs ) @ ( groups8242544230860333062m_list @ A @ Ys3 ) ) ) ) ).

% sum_list_append
thf(fact_4456_sum__list__0,axiom,
    ! [B: $tType,A: $tType] :
      ( ( monoid_add @ A )
     => ! [Xs: list @ B] :
          ( ( groups8242544230860333062m_list @ A
            @ ( map @ B @ A
              @ ^ [X4: B] : ( zero_zero @ A )
              @ Xs ) )
          = ( zero_zero @ A ) ) ) ).

% sum_list_0
thf(fact_4457_sum__list__upt,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ M @ N )
     => ( ( groups8242544230860333062m_list @ nat @ ( upt @ M @ N ) )
        = ( groups7311177749621191930dd_sum @ nat @ nat
          @ ^ [X4: nat] : X4
          @ ( set_or7035219750837199246ssThan @ nat @ M @ N ) ) ) ) ).

% sum_list_upt
thf(fact_4458_in__set__tlD,axiom,
    ! [A: $tType,X: A,Xs: list @ A] :
      ( ( member @ A @ X @ ( set2 @ A @ ( tl @ A @ Xs ) ) )
     => ( member @ A @ X @ ( set2 @ A @ Xs ) ) ) ).

% in_set_tlD
thf(fact_4459_tl__obtain__elem,axiom,
    ! [A: $tType,Xs: list @ A] :
      ( ( Xs
       != ( nil @ A ) )
     => ( ( ( tl @ A @ Xs )
          = ( nil @ A ) )
       => ~ ! [E2: A] :
              ( Xs
             != ( cons @ A @ E2 @ ( nil @ A ) ) ) ) ) ).

% tl_obtain_elem
thf(fact_4460_sorted__tl,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Xs: list @ A] :
          ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ Xs )
         => ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( tl @ A @ Xs ) ) ) ) ).

% sorted_tl
thf(fact_4461_member__le__sum__list,axiom,
    ! [A: $tType] :
      ( ( canoni5634975068530333245id_add @ A )
     => ! [X: A,Xs: list @ A] :
          ( ( member @ A @ X @ ( set2 @ A @ Xs ) )
         => ( ord_less_eq @ A @ X @ ( groups8242544230860333062m_list @ A @ Xs ) ) ) ) ).

% member_le_sum_list
thf(fact_4462_sum__list__addf,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [F3: B > A,G3: B > A,Xs: list @ B] :
          ( ( groups8242544230860333062m_list @ A
            @ ( map @ B @ A
              @ ^ [X4: B] : ( plus_plus @ A @ ( F3 @ X4 ) @ ( G3 @ X4 ) )
              @ Xs ) )
          = ( plus_plus @ A @ ( groups8242544230860333062m_list @ A @ ( map @ B @ A @ F3 @ Xs ) ) @ ( groups8242544230860333062m_list @ A @ ( map @ B @ A @ G3 @ Xs ) ) ) ) ) ).

% sum_list_addf
thf(fact_4463_sum__list__mult__const,axiom,
    ! [B: $tType,A: $tType] :
      ( ( semiring_0 @ A )
     => ! [F3: B > A,C3: A,Xs: list @ B] :
          ( ( groups8242544230860333062m_list @ A
            @ ( map @ B @ A
              @ ^ [X4: B] : ( times_times @ A @ ( F3 @ X4 ) @ C3 )
              @ Xs ) )
          = ( times_times @ A @ ( groups8242544230860333062m_list @ A @ ( map @ B @ A @ F3 @ Xs ) ) @ C3 ) ) ) ).

% sum_list_mult_const
thf(fact_4464_sum__list__const__mult,axiom,
    ! [A: $tType,B: $tType] :
      ( ( semiring_0 @ A )
     => ! [C3: A,F3: B > A,Xs: list @ B] :
          ( ( groups8242544230860333062m_list @ A
            @ ( map @ B @ A
              @ ^ [X4: B] : ( times_times @ A @ C3 @ ( F3 @ X4 ) )
              @ Xs ) )
          = ( times_times @ A @ C3 @ ( groups8242544230860333062m_list @ A @ ( map @ B @ A @ F3 @ Xs ) ) ) ) ) ).

% sum_list_const_mult
thf(fact_4465_sum__list__subtractf,axiom,
    ! [A: $tType,B: $tType] :
      ( ( ab_group_add @ A )
     => ! [F3: B > A,G3: B > A,Xs: list @ B] :
          ( ( groups8242544230860333062m_list @ A
            @ ( map @ B @ A
              @ ^ [X4: B] : ( minus_minus @ A @ ( F3 @ X4 ) @ ( G3 @ X4 ) )
              @ Xs ) )
          = ( minus_minus @ A @ ( groups8242544230860333062m_list @ A @ ( map @ B @ A @ F3 @ Xs ) ) @ ( groups8242544230860333062m_list @ A @ ( map @ B @ A @ G3 @ Xs ) ) ) ) ) ).

% sum_list_subtractf
thf(fact_4466_set__nths__subset,axiom,
    ! [A: $tType,Xs: list @ A,I5: set @ nat] : ( ord_less_eq @ ( set @ A ) @ ( set2 @ A @ ( nths @ A @ Xs @ I5 ) ) @ ( set2 @ A @ Xs ) ) ).

% set_nths_subset
thf(fact_4467_nths__all,axiom,
    ! [A: $tType,Xs: list @ A,I5: set @ nat] :
      ( ! [I3: nat] :
          ( ( ord_less @ nat @ I3 @ ( size_size @ ( list @ A ) @ Xs ) )
         => ( member @ nat @ I3 @ I5 ) )
     => ( ( nths @ A @ Xs @ I5 )
        = Xs ) ) ).

% nths_all
thf(fact_4468_sorted__nths,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Xs: list @ A,I5: set @ nat] :
          ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ Xs )
         => ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( nths @ A @ Xs @ I5 ) ) ) ) ).

% sorted_nths
thf(fact_4469_tl__def,axiom,
    ! [A: $tType] :
      ( ( tl @ A )
      = ( case_list @ ( list @ A ) @ A @ ( nil @ A )
        @ ^ [X212: A,X223: list @ A] : X223 ) ) ).

% tl_def
thf(fact_4470_tl__append,axiom,
    ! [A: $tType,Xs: list @ A,Ys3: list @ A] :
      ( ( tl @ A @ ( append @ A @ Xs @ Ys3 ) )
      = ( case_list @ ( list @ A ) @ A @ ( tl @ A @ Ys3 )
        @ ^ [Z2: A,Zs3: list @ A] : ( append @ A @ Zs3 @ Ys3 )
        @ Xs ) ) ).

% tl_append
thf(fact_4471_tl__subset,axiom,
    ! [A: $tType,Xs: list @ A,A6: set @ A] :
      ( ( Xs
       != ( nil @ A ) )
     => ( ( ord_less_eq @ ( set @ A ) @ ( set2 @ A @ Xs ) @ A6 )
       => ( ord_less_eq @ ( set @ A ) @ ( set2 @ A @ ( tl @ A @ Xs ) ) @ A6 ) ) ) ).

% tl_subset
thf(fact_4472_Misc_Onth__tl,axiom,
    ! [A: $tType,Xs: list @ A,N: nat] :
      ( ( Xs
       != ( nil @ A ) )
     => ( ( nth @ A @ ( tl @ A @ Xs ) @ N )
        = ( nth @ A @ Xs @ ( suc @ N ) ) ) ) ).

% Misc.nth_tl
thf(fact_4473_list__take__induct__tl2,axiom,
    ! [B: $tType,A: $tType,Xs: list @ A,Ys3: list @ B,P2: B > A > $o] :
      ( ( ( size_size @ ( list @ A ) @ Xs )
        = ( size_size @ ( list @ B ) @ Ys3 ) )
     => ( ! [N4: nat] :
            ( ( ord_less @ nat @ N4 @ ( size_size @ ( list @ A ) @ Xs ) )
           => ( P2 @ ( nth @ B @ Ys3 @ N4 ) @ ( nth @ A @ Xs @ N4 ) ) )
       => ! [N10: nat] :
            ( ( ord_less @ nat @ N10 @ ( size_size @ ( list @ A ) @ ( tl @ A @ Xs ) ) )
           => ( P2 @ ( nth @ B @ ( tl @ B @ Ys3 ) @ N10 ) @ ( nth @ A @ ( tl @ A @ Xs ) @ N10 ) ) ) ) ) ).

% list_take_induct_tl2
thf(fact_4474_sum__list__nonpos,axiom,
    ! [A: $tType] :
      ( ( ordere6911136660526730532id_add @ A )
     => ! [Xs: list @ A] :
          ( ! [X3: A] :
              ( ( member @ A @ X3 @ ( set2 @ A @ Xs ) )
             => ( ord_less_eq @ A @ X3 @ ( zero_zero @ A ) ) )
         => ( ord_less_eq @ A @ ( groups8242544230860333062m_list @ A @ Xs ) @ ( zero_zero @ A ) ) ) ) ).

% sum_list_nonpos
thf(fact_4475_sum__list__nonneg__eq__0__iff,axiom,
    ! [A: $tType] :
      ( ( ordere6911136660526730532id_add @ A )
     => ! [Xs: list @ A] :
          ( ! [X3: A] :
              ( ( member @ A @ X3 @ ( set2 @ A @ Xs ) )
             => ( ord_less_eq @ A @ ( zero_zero @ A ) @ X3 ) )
         => ( ( ( groups8242544230860333062m_list @ A @ Xs )
              = ( zero_zero @ A ) )
            = ( ! [X4: A] :
                  ( ( member @ A @ X4 @ ( set2 @ A @ Xs ) )
                 => ( X4
                    = ( zero_zero @ A ) ) ) ) ) ) ) ).

% sum_list_nonneg_eq_0_iff
thf(fact_4476_Groups__List_Osum__list__nonneg,axiom,
    ! [A: $tType] :
      ( ( ordere6911136660526730532id_add @ A )
     => ! [Xs: list @ A] :
          ( ! [X3: A] :
              ( ( member @ A @ X3 @ ( set2 @ A @ Xs ) )
             => ( ord_less_eq @ A @ ( zero_zero @ A ) @ X3 ) )
         => ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( groups8242544230860333062m_list @ A @ Xs ) ) ) ) ).

% Groups_List.sum_list_nonneg
thf(fact_4477_sum__list__abs,axiom,
    ! [A: $tType] :
      ( ( ordere166539214618696060dd_abs @ A )
     => ! [Xs: list @ A] : ( ord_less_eq @ A @ ( abs_abs @ A @ ( groups8242544230860333062m_list @ A @ Xs ) ) @ ( groups8242544230860333062m_list @ A @ ( map @ A @ A @ ( abs_abs @ A ) @ Xs ) ) ) ) ).

% sum_list_abs
thf(fact_4478_sum__list_Oeq__foldr,axiom,
    ! [A: $tType] :
      ( ( monoid_add @ A )
     => ( ( groups8242544230860333062m_list @ A )
        = ( ^ [Xs3: list @ A] : ( foldr @ A @ A @ ( plus_plus @ A ) @ Xs3 @ ( zero_zero @ A ) ) ) ) ) ).

% sum_list.eq_foldr
thf(fact_4479_sum__list__filter__le__nat,axiom,
    ! [A: $tType,F3: A > nat,P2: A > $o,Xs: list @ A] : ( ord_less_eq @ nat @ ( groups8242544230860333062m_list @ nat @ ( map @ A @ nat @ F3 @ ( filter2 @ A @ P2 @ Xs ) ) ) @ ( groups8242544230860333062m_list @ nat @ ( map @ A @ nat @ F3 @ Xs ) ) ) ).

% sum_list_filter_le_nat
thf(fact_4480_sum__list__mono,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ( monoid_add @ B )
        & ( ordere6658533253407199908up_add @ B ) )
     => ! [Xs: list @ A,F3: A > B,G3: A > B] :
          ( ! [X3: A] :
              ( ( member @ A @ X3 @ ( set2 @ A @ Xs ) )
             => ( ord_less_eq @ B @ ( F3 @ X3 ) @ ( G3 @ X3 ) ) )
         => ( ord_less_eq @ B @ ( groups8242544230860333062m_list @ B @ ( map @ A @ B @ F3 @ Xs ) ) @ ( groups8242544230860333062m_list @ B @ ( map @ A @ B @ G3 @ Xs ) ) ) ) ) ).

% sum_list_mono
thf(fact_4481_sum__list__map__filter_H,axiom,
    ! [A: $tType,B: $tType] :
      ( ( monoid_add @ A )
     => ! [F3: B > A,P2: B > $o,Xs: list @ B] :
          ( ( groups8242544230860333062m_list @ A @ ( map @ B @ A @ F3 @ ( filter2 @ B @ P2 @ Xs ) ) )
          = ( groups8242544230860333062m_list @ A
            @ ( map @ B @ A
              @ ^ [X4: B] : ( if @ A @ ( P2 @ X4 ) @ ( F3 @ X4 ) @ ( zero_zero @ A ) )
              @ Xs ) ) ) ) ).

% sum_list_map_filter'
thf(fact_4482_distinct__sum__list__conv__Sum,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [Xs: list @ A] :
          ( ( distinct @ A @ Xs )
         => ( ( groups8242544230860333062m_list @ A @ Xs )
            = ( groups7311177749621191930dd_sum @ A @ A
              @ ^ [X4: A] : X4
              @ ( set2 @ A @ Xs ) ) ) ) ) ).

% distinct_sum_list_conv_Sum
thf(fact_4483_List_Onth__tl,axiom,
    ! [A: $tType,N: nat,Xs: list @ A] :
      ( ( ord_less @ nat @ N @ ( size_size @ ( list @ A ) @ ( tl @ A @ Xs ) ) )
     => ( ( nth @ A @ ( tl @ A @ Xs ) @ N )
        = ( nth @ A @ Xs @ ( suc @ N ) ) ) ) ).

% List.nth_tl
thf(fact_4484_sum__list__strict__mono,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ( monoid_add @ B )
        & ( strict9044650504122735259up_add @ B ) )
     => ! [Xs: list @ A,F3: A > B,G3: A > B] :
          ( ( Xs
           != ( nil @ A ) )
         => ( ! [X3: A] :
                ( ( member @ A @ X3 @ ( set2 @ A @ Xs ) )
               => ( ord_less @ B @ ( F3 @ X3 ) @ ( G3 @ X3 ) ) )
           => ( ord_less @ B @ ( groups8242544230860333062m_list @ B @ ( map @ A @ B @ F3 @ Xs ) ) @ ( groups8242544230860333062m_list @ B @ ( map @ A @ B @ G3 @ Xs ) ) ) ) ) ) ).

% sum_list_strict_mono
thf(fact_4485_elem__le__sum__list,axiom,
    ! [A: $tType] :
      ( ( canoni5634975068530333245id_add @ A )
     => ! [K2: nat,Ns: list @ A] :
          ( ( ord_less @ nat @ K2 @ ( size_size @ ( list @ A ) @ Ns ) )
         => ( ord_less_eq @ A @ ( nth @ A @ Ns @ K2 ) @ ( groups8242544230860333062m_list @ A @ Ns ) ) ) ) ).

% elem_le_sum_list
thf(fact_4486_nths__append,axiom,
    ! [A: $tType,L: list @ A,L4: list @ A,A6: set @ nat] :
      ( ( nths @ A @ ( append @ A @ L @ L4 ) @ A6 )
      = ( append @ A @ ( nths @ A @ L @ A6 )
        @ ( nths @ A @ L4
          @ ( collect @ nat
            @ ^ [J: nat] : ( member @ nat @ ( plus_plus @ nat @ J @ ( size_size @ ( list @ A ) @ L ) ) @ A6 ) ) ) ) ) ).

% nths_append
thf(fact_4487_filter__in__nths,axiom,
    ! [A: $tType,Xs: list @ A,S2: set @ nat] :
      ( ( distinct @ A @ Xs )
     => ( ( filter2 @ A
          @ ^ [X4: A] : ( member @ A @ X4 @ ( set2 @ A @ ( nths @ A @ Xs @ S2 ) ) )
          @ Xs )
        = ( nths @ A @ Xs @ S2 ) ) ) ).

% filter_in_nths
thf(fact_4488_length__nths,axiom,
    ! [A: $tType,Xs: list @ A,I5: set @ nat] :
      ( ( size_size @ ( list @ A ) @ ( nths @ A @ Xs @ I5 ) )
      = ( finite_card @ nat
        @ ( collect @ nat
          @ ^ [I: nat] :
              ( ( ord_less @ nat @ I @ ( size_size @ ( list @ A ) @ Xs ) )
              & ( member @ nat @ I @ I5 ) ) ) ) ) ).

% length_nths
thf(fact_4489_sum__list__triv,axiom,
    ! [C: $tType,B: $tType] :
      ( ( semiring_1 @ B )
     => ! [R3: B,Xs: list @ C] :
          ( ( groups8242544230860333062m_list @ B
            @ ( map @ C @ B
              @ ^ [X4: C] : R3
              @ Xs ) )
          = ( times_times @ B @ ( semiring_1_of_nat @ B @ ( size_size @ ( list @ C ) @ Xs ) ) @ R3 ) ) ) ).

% sum_list_triv
thf(fact_4490_sum__list__Suc,axiom,
    ! [A: $tType,F3: A > nat,Xs: list @ A] :
      ( ( groups8242544230860333062m_list @ nat
        @ ( map @ A @ nat
          @ ^ [X4: A] : ( suc @ ( F3 @ X4 ) )
          @ Xs ) )
      = ( plus_plus @ nat @ ( groups8242544230860333062m_list @ nat @ ( map @ A @ nat @ F3 @ Xs ) ) @ ( size_size @ ( list @ A ) @ Xs ) ) ) ).

% sum_list_Suc
thf(fact_4491_filter__eq__nths,axiom,
    ! [A: $tType] :
      ( ( filter2 @ A )
      = ( ^ [P5: A > $o,Xs3: list @ A] :
            ( nths @ A @ Xs3
            @ ( collect @ nat
              @ ^ [I: nat] :
                  ( ( ord_less @ nat @ I @ ( size_size @ ( list @ A ) @ Xs3 ) )
                  & ( P5 @ ( nth @ A @ Xs3 @ I ) ) ) ) ) ) ) ).

% filter_eq_nths
thf(fact_4492_sum__list__sum__nth,axiom,
    ! [B: $tType] :
      ( ( comm_monoid_add @ B )
     => ( ( groups8242544230860333062m_list @ B )
        = ( ^ [Xs3: list @ B] : ( groups7311177749621191930dd_sum @ nat @ B @ ( nth @ B @ Xs3 ) @ ( set_or7035219750837199246ssThan @ nat @ ( zero_zero @ nat ) @ ( size_size @ ( list @ B ) @ Xs3 ) ) ) ) ) ) ).

% sum_list_sum_nth
thf(fact_4493_card__length__sum__list__rec,axiom,
    ! [M: nat,N7: nat] :
      ( ( ord_less_eq @ nat @ ( one_one @ nat ) @ M )
     => ( ( finite_card @ ( list @ nat )
          @ ( collect @ ( list @ nat )
            @ ^ [L2: list @ nat] :
                ( ( ( size_size @ ( list @ nat ) @ L2 )
                  = M )
                & ( ( groups8242544230860333062m_list @ nat @ L2 )
                  = N7 ) ) ) )
        = ( plus_plus @ nat
          @ ( finite_card @ ( list @ nat )
            @ ( collect @ ( list @ nat )
              @ ^ [L2: list @ nat] :
                  ( ( ( size_size @ ( list @ nat ) @ L2 )
                    = ( minus_minus @ nat @ M @ ( one_one @ nat ) ) )
                  & ( ( groups8242544230860333062m_list @ nat @ L2 )
                    = N7 ) ) ) )
          @ ( finite_card @ ( list @ nat )
            @ ( collect @ ( list @ nat )
              @ ^ [L2: list @ nat] :
                  ( ( ( size_size @ ( list @ nat ) @ L2 )
                    = M )
                  & ( ( plus_plus @ nat @ ( groups8242544230860333062m_list @ nat @ L2 ) @ ( one_one @ nat ) )
                    = N7 ) ) ) ) ) ) ) ).

% card_length_sum_list_rec
thf(fact_4494_card__length__sum__list,axiom,
    ! [M: nat,N7: nat] :
      ( ( finite_card @ ( list @ nat )
        @ ( collect @ ( list @ nat )
          @ ^ [L2: list @ nat] :
              ( ( ( size_size @ ( list @ nat ) @ L2 )
                = M )
              & ( ( groups8242544230860333062m_list @ nat @ L2 )
                = N7 ) ) ) )
      = ( binomial @ ( minus_minus @ nat @ ( plus_plus @ nat @ N7 @ M ) @ ( one_one @ nat ) ) @ N7 ) ) ).

% card_length_sum_list
thf(fact_4495_sum__list__map__eq__sum__count,axiom,
    ! [A: $tType,F3: A > nat,Xs: list @ A] :
      ( ( groups8242544230860333062m_list @ nat @ ( map @ A @ nat @ F3 @ Xs ) )
      = ( groups7311177749621191930dd_sum @ A @ nat
        @ ^ [X4: A] : ( times_times @ nat @ ( count_list @ A @ Xs @ X4 ) @ ( F3 @ X4 ) )
        @ ( set2 @ A @ Xs ) ) ) ).

% sum_list_map_eq_sum_count
thf(fact_4496_sum__list__update,axiom,
    ! [A: $tType] :
      ( ( ordere1170586879665033532d_diff @ A )
     => ! [K2: nat,Xs: list @ A,X: A] :
          ( ( ord_less @ nat @ K2 @ ( size_size @ ( list @ A ) @ Xs ) )
         => ( ( groups8242544230860333062m_list @ A @ ( list_update @ A @ Xs @ K2 @ X ) )
            = ( minus_minus @ A @ ( plus_plus @ A @ ( groups8242544230860333062m_list @ A @ Xs ) @ X ) @ ( nth @ A @ Xs @ K2 ) ) ) ) ) ).

% sum_list_update
thf(fact_4497_nths__Cons,axiom,
    ! [A: $tType,X: A,L: list @ A,A6: set @ nat] :
      ( ( nths @ A @ ( cons @ A @ X @ L ) @ A6 )
      = ( append @ A @ ( if @ ( list @ A ) @ ( member @ nat @ ( zero_zero @ nat ) @ A6 ) @ ( cons @ A @ X @ ( nil @ A ) ) @ ( nil @ A ) )
        @ ( nths @ A @ L
          @ ( collect @ nat
            @ ^ [J: nat] : ( member @ nat @ ( suc @ J ) @ A6 ) ) ) ) ) ).

% nths_Cons
thf(fact_4498_pick__member,axiom,
    ! [A: $tType,I2: code_natural,Xs: list @ ( product_prod @ code_natural @ A )] :
      ( ( ord_less @ code_natural @ I2 @ ( groups8242544230860333062m_list @ code_natural @ ( map @ ( product_prod @ code_natural @ A ) @ code_natural @ ( product_fst @ code_natural @ A ) @ Xs ) ) )
     => ( member @ A @ ( pick @ A @ Xs @ I2 ) @ ( set2 @ A @ ( map @ ( product_prod @ code_natural @ A ) @ A @ ( product_snd @ code_natural @ A ) @ Xs ) ) ) ) ).

% pick_member
thf(fact_4499_sum__list__map__eq__sum__count2,axiom,
    ! [A: $tType,Xs: list @ A,X7: set @ A,F3: A > nat] :
      ( ( ord_less_eq @ ( set @ A ) @ ( set2 @ A @ Xs ) @ X7 )
     => ( ( finite_finite2 @ A @ X7 )
       => ( ( groups8242544230860333062m_list @ nat @ ( map @ A @ nat @ F3 @ Xs ) )
          = ( groups7311177749621191930dd_sum @ A @ nat
            @ ^ [X4: A] : ( times_times @ nat @ ( count_list @ A @ Xs @ X4 ) @ ( F3 @ X4 ) )
            @ X7 ) ) ) ) ).

% sum_list_map_eq_sum_count2
thf(fact_4500_select__weight__def,axiom,
    ! [A: $tType] :
      ( ( select_weight @ A )
      = ( ^ [Xs3: list @ ( product_prod @ code_natural @ A )] :
            ( product_scomp @ ( product_prod @ code_natural @ code_natural ) @ code_natural @ ( product_prod @ code_natural @ code_natural ) @ ( product_prod @ A @ ( product_prod @ code_natural @ code_natural ) ) @ ( range @ ( groups8242544230860333062m_list @ code_natural @ ( map @ ( product_prod @ code_natural @ A ) @ code_natural @ ( product_fst @ code_natural @ A ) @ Xs3 ) ) )
            @ ^ [K3: code_natural] : ( product_Pair @ A @ ( product_prod @ code_natural @ code_natural ) @ ( pick @ A @ Xs3 @ K3 ) ) ) ) ) ).

% select_weight_def
thf(fact_4501_select__weight__member,axiom,
    ! [A: $tType,Xs: list @ ( product_prod @ code_natural @ A ),S2: product_prod @ code_natural @ code_natural] :
      ( ( ord_less @ code_natural @ ( zero_zero @ code_natural ) @ ( groups8242544230860333062m_list @ code_natural @ ( map @ ( product_prod @ code_natural @ A ) @ code_natural @ ( product_fst @ code_natural @ A ) @ Xs ) ) )
     => ( member @ A @ ( product_fst @ A @ ( product_prod @ code_natural @ code_natural ) @ ( select_weight @ A @ Xs @ S2 ) ) @ ( set2 @ A @ ( map @ ( product_prod @ code_natural @ A ) @ A @ ( product_snd @ code_natural @ A ) @ Xs ) ) ) ) ).

% select_weight_member
thf(fact_4502_folding__insort__key_Ofinite__set__strict__sorted,axiom,
    ! [A: $tType,B: $tType,Less_eq: A > A > $o,Less: A > A > $o,S: set @ B,F3: B > A,A6: set @ B] :
      ( ( folding_insort_key @ A @ B @ Less_eq @ Less @ S @ F3 )
     => ( ( ord_less_eq @ ( set @ B ) @ A6 @ S )
       => ( ( finite_finite2 @ B @ A6 )
         => ~ ! [L3: list @ B] :
                ( ( sorted_wrt @ A @ Less @ ( map @ B @ A @ F3 @ L3 ) )
               => ( ( ( set2 @ B @ L3 )
                    = A6 )
                 => ( ( size_size @ ( list @ B ) @ L3 )
                   != ( finite_card @ B @ A6 ) ) ) ) ) ) ) ).

% folding_insort_key.finite_set_strict_sorted
thf(fact_4503_transpose__transpose,axiom,
    ! [A: $tType,Xs: list @ ( list @ A )] :
      ( ( sorted_wrt @ nat @ ( ord_less_eq @ nat ) @ ( rev @ nat @ ( map @ ( list @ A ) @ nat @ ( size_size @ ( list @ A ) ) @ Xs ) ) )
     => ( ( transpose @ A @ ( transpose @ A @ Xs ) )
        = ( takeWhile @ ( list @ A )
          @ ^ [X4: list @ A] :
              ( X4
             != ( nil @ A ) )
          @ Xs ) ) ) ).

% transpose_transpose
thf(fact_4504_transpose__aux__filter__head,axiom,
    ! [A: $tType,Xss: list @ ( list @ A )] :
      ( ( concat @ A
        @ ( map @ ( list @ A ) @ ( list @ A )
          @ ( case_list @ ( list @ A ) @ A @ ( nil @ A )
            @ ^ [H7: A,T6: list @ A] : ( cons @ A @ H7 @ ( nil @ A ) ) )
          @ Xss ) )
      = ( map @ ( list @ A ) @ A @ ( hd @ A )
        @ ( filter2 @ ( list @ A )
          @ ^ [Ys2: list @ A] :
              ( Ys2
             != ( nil @ A ) )
          @ Xss ) ) ) ).

% transpose_aux_filter_head
thf(fact_4505_set__relcomp,axiom,
    ! [B: $tType,C: $tType,A: $tType,Xys: list @ ( product_prod @ A @ C ),Yzs: list @ ( product_prod @ C @ B )] :
      ( ( relcomp @ A @ C @ B @ ( set2 @ ( product_prod @ A @ C ) @ Xys ) @ ( set2 @ ( product_prod @ C @ B ) @ Yzs ) )
      = ( set2 @ ( product_prod @ A @ B )
        @ ( concat @ ( product_prod @ A @ B )
          @ ( map @ ( product_prod @ A @ C ) @ ( list @ ( product_prod @ A @ B ) )
            @ ^ [Xy2: product_prod @ A @ C] :
                ( concat @ ( product_prod @ A @ B )
                @ ( map @ ( product_prod @ C @ B ) @ ( list @ ( product_prod @ A @ B ) )
                  @ ^ [Yz: product_prod @ C @ B] :
                      ( if @ ( list @ ( product_prod @ A @ B ) )
                      @ ( ( product_snd @ A @ C @ Xy2 )
                        = ( product_fst @ C @ B @ Yz ) )
                      @ ( cons @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ ( product_fst @ A @ C @ Xy2 ) @ ( product_snd @ C @ B @ Yz ) ) @ ( nil @ ( product_prod @ A @ B ) ) )
                      @ ( nil @ ( product_prod @ A @ B ) ) )
                  @ Yzs ) )
            @ Xys ) ) ) ) ).

% set_relcomp
thf(fact_4506_hd__upt,axiom,
    ! [I2: nat,J2: nat] :
      ( ( ord_less @ nat @ I2 @ J2 )
     => ( ( hd @ nat @ ( upt @ I2 @ J2 ) )
        = I2 ) ) ).

% hd_upt
thf(fact_4507_relcomp__distrib2,axiom,
    ! [A: $tType,B: $tType,C: $tType,S: set @ ( product_prod @ A @ C ),T8: set @ ( product_prod @ A @ C ),R4: set @ ( product_prod @ C @ B )] :
      ( ( relcomp @ A @ C @ B @ ( sup_sup @ ( set @ ( product_prod @ A @ C ) ) @ S @ T8 ) @ R4 )
      = ( sup_sup @ ( set @ ( product_prod @ A @ B ) ) @ ( relcomp @ A @ C @ B @ S @ R4 ) @ ( relcomp @ A @ C @ B @ T8 @ R4 ) ) ) ).

% relcomp_distrib2
thf(fact_4508_relcomp__distrib,axiom,
    ! [A: $tType,B: $tType,C: $tType,R4: set @ ( product_prod @ A @ C ),S: set @ ( product_prod @ C @ B ),T8: set @ ( product_prod @ C @ B )] :
      ( ( relcomp @ A @ C @ B @ R4 @ ( sup_sup @ ( set @ ( product_prod @ C @ B ) ) @ S @ T8 ) )
      = ( sup_sup @ ( set @ ( product_prod @ A @ B ) ) @ ( relcomp @ A @ C @ B @ R4 @ S ) @ ( relcomp @ A @ C @ B @ R4 @ T8 ) ) ) ).

% relcomp_distrib
thf(fact_4509_in__hd__or__tl__conv,axiom,
    ! [A: $tType,L: list @ A,X: A] :
      ( ( L
       != ( nil @ A ) )
     => ( ( ( X
            = ( hd @ A @ L ) )
          | ( member @ A @ X @ ( set2 @ A @ ( tl @ A @ L ) ) ) )
        = ( member @ A @ X @ ( set2 @ A @ L ) ) ) ) ).

% in_hd_or_tl_conv
thf(fact_4510_rev__split__conv,axiom,
    ! [A: $tType,L: list @ A] :
      ( ( L
       != ( nil @ A ) )
     => ( ( append @ A @ ( rev @ A @ ( tl @ A @ L ) ) @ ( cons @ A @ ( hd @ A @ L ) @ ( nil @ A ) ) )
        = ( rev @ A @ L ) ) ) ).

% rev_split_conv
thf(fact_4511_hd__zip,axiom,
    ! [A: $tType,B: $tType,Xs: list @ A,Ys3: list @ B] :
      ( ( Xs
       != ( nil @ A ) )
     => ( ( Ys3
         != ( nil @ B ) )
       => ( ( hd @ ( product_prod @ A @ B ) @ ( zip @ A @ B @ Xs @ Ys3 ) )
          = ( product_Pair @ A @ B @ ( hd @ A @ Xs ) @ ( hd @ B @ Ys3 ) ) ) ) ) ).

% hd_zip
thf(fact_4512_relcomp__mono,axiom,
    ! [A: $tType,C: $tType,B: $tType,R7: set @ ( product_prod @ A @ B ),R3: set @ ( product_prod @ A @ B ),S3: set @ ( product_prod @ B @ C ),S2: set @ ( product_prod @ B @ C )] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ B ) ) @ R7 @ R3 )
     => ( ( ord_less_eq @ ( set @ ( product_prod @ B @ C ) ) @ S3 @ S2 )
       => ( ord_less_eq @ ( set @ ( product_prod @ A @ C ) ) @ ( relcomp @ A @ B @ C @ R7 @ S3 ) @ ( relcomp @ A @ B @ C @ R3 @ S2 ) ) ) ) ).

% relcomp_mono
thf(fact_4513_relcomp_Ocases,axiom,
    ! [A: $tType,C: $tType,B: $tType,A1: A,A22: C,R3: set @ ( product_prod @ A @ B ),S2: set @ ( product_prod @ B @ C )] :
      ( ( member @ ( product_prod @ A @ C ) @ ( product_Pair @ A @ C @ A1 @ A22 ) @ ( relcomp @ A @ B @ C @ R3 @ S2 ) )
     => ~ ! [B4: B] :
            ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ A1 @ B4 ) @ R3 )
           => ~ ( member @ ( product_prod @ B @ C ) @ ( product_Pair @ B @ C @ B4 @ A22 ) @ S2 ) ) ) ).

% relcomp.cases
thf(fact_4514_relcomp_Osimps,axiom,
    ! [B: $tType,C: $tType,A: $tType,A1: A,A22: C,R3: set @ ( product_prod @ A @ B ),S2: set @ ( product_prod @ B @ C )] :
      ( ( member @ ( product_prod @ A @ C ) @ ( product_Pair @ A @ C @ A1 @ A22 ) @ ( relcomp @ A @ B @ C @ R3 @ S2 ) )
      = ( ? [A7: A,B5: B,C4: C] :
            ( ( A1 = A7 )
            & ( A22 = C4 )
            & ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ A7 @ B5 ) @ R3 )
            & ( member @ ( product_prod @ B @ C ) @ ( product_Pair @ B @ C @ B5 @ C4 ) @ S2 ) ) ) ) ).

% relcomp.simps
thf(fact_4515_relcomp_OrelcompI,axiom,
    ! [A: $tType,C: $tType,B: $tType,A3: A,B2: B,R3: set @ ( product_prod @ A @ B ),C3: C,S2: set @ ( product_prod @ B @ C )] :
      ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ A3 @ B2 ) @ R3 )
     => ( ( member @ ( product_prod @ B @ C ) @ ( product_Pair @ B @ C @ B2 @ C3 ) @ S2 )
       => ( member @ ( product_prod @ A @ C ) @ ( product_Pair @ A @ C @ A3 @ C3 ) @ ( relcomp @ A @ B @ C @ R3 @ S2 ) ) ) ) ).

% relcomp.relcompI
thf(fact_4516_relcompE,axiom,
    ! [A: $tType,B: $tType,C: $tType,Xz: product_prod @ A @ B,R3: set @ ( product_prod @ A @ C ),S2: set @ ( product_prod @ C @ B )] :
      ( ( member @ ( product_prod @ A @ B ) @ Xz @ ( relcomp @ A @ C @ B @ R3 @ S2 ) )
     => ~ ! [X3: A,Y3: C,Z3: B] :
            ( ( Xz
              = ( product_Pair @ A @ B @ X3 @ Z3 ) )
           => ( ( member @ ( product_prod @ A @ C ) @ ( product_Pair @ A @ C @ X3 @ Y3 ) @ R3 )
             => ~ ( member @ ( product_prod @ C @ B ) @ ( product_Pair @ C @ B @ Y3 @ Z3 ) @ S2 ) ) ) ) ).

% relcompE
thf(fact_4517_relcompEpair,axiom,
    ! [A: $tType,B: $tType,C: $tType,A3: A,C3: B,R3: set @ ( product_prod @ A @ C ),S2: set @ ( product_prod @ C @ B )] :
      ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ A3 @ C3 ) @ ( relcomp @ A @ C @ B @ R3 @ S2 ) )
     => ~ ! [B4: C] :
            ( ( member @ ( product_prod @ A @ C ) @ ( product_Pair @ A @ C @ A3 @ B4 ) @ R3 )
           => ~ ( member @ ( product_prod @ C @ B ) @ ( product_Pair @ C @ B @ B4 @ C3 ) @ S2 ) ) ) ).

% relcompEpair
thf(fact_4518_length__takeWhile__le,axiom,
    ! [A: $tType,P2: A > $o,Xs: list @ A] : ( ord_less_eq @ nat @ ( size_size @ ( list @ A ) @ ( takeWhile @ A @ P2 @ Xs ) ) @ ( size_size @ ( list @ A ) @ Xs ) ) ).

% length_takeWhile_le
thf(fact_4519_sorted__takeWhile,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Xs: list @ A,P2: A > $o] :
          ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ Xs )
         => ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( takeWhile @ A @ P2 @ Xs ) ) ) ) ).

% sorted_takeWhile
thf(fact_4520_trancl__unfold,axiom,
    ! [A: $tType] :
      ( ( transitive_trancl @ A )
      = ( ^ [R5: set @ ( product_prod @ A @ A )] : ( sup_sup @ ( set @ ( product_prod @ A @ A ) ) @ R5 @ ( relcomp @ A @ A @ A @ ( transitive_trancl @ A @ R5 ) @ R5 ) ) ) ) ).

% trancl_unfold
thf(fact_4521_union__comp__emptyR,axiom,
    ! [A: $tType,A6: set @ ( product_prod @ A @ A ),B6: set @ ( product_prod @ A @ A ),C5: set @ ( product_prod @ A @ A )] :
      ( ( ( relcomp @ A @ A @ A @ A6 @ B6 )
        = ( bot_bot @ ( set @ ( product_prod @ A @ A ) ) ) )
     => ( ( ( relcomp @ A @ A @ A @ A6 @ C5 )
          = ( bot_bot @ ( set @ ( product_prod @ A @ A ) ) ) )
       => ( ( relcomp @ A @ A @ A @ A6 @ ( sup_sup @ ( set @ ( product_prod @ A @ A ) ) @ B6 @ C5 ) )
          = ( bot_bot @ ( set @ ( product_prod @ A @ A ) ) ) ) ) ) ).

% union_comp_emptyR
thf(fact_4522_union__comp__emptyL,axiom,
    ! [A: $tType,A6: set @ ( product_prod @ A @ A ),C5: set @ ( product_prod @ A @ A ),B6: set @ ( product_prod @ A @ A )] :
      ( ( ( relcomp @ A @ A @ A @ A6 @ C5 )
        = ( bot_bot @ ( set @ ( product_prod @ A @ A ) ) ) )
     => ( ( ( relcomp @ A @ A @ A @ B6 @ C5 )
          = ( bot_bot @ ( set @ ( product_prod @ A @ A ) ) ) )
       => ( ( relcomp @ A @ A @ A @ ( sup_sup @ ( set @ ( product_prod @ A @ A ) ) @ A6 @ B6 ) @ C5 )
          = ( bot_bot @ ( set @ ( product_prod @ A @ A ) ) ) ) ) ) ).

% union_comp_emptyL
thf(fact_4523_not__hd__in__tl,axiom,
    ! [A: $tType,X: A,Xs: list @ A] :
      ( ( X
       != ( hd @ A @ Xs ) )
     => ( ( member @ A @ X @ ( set2 @ A @ Xs ) )
       => ( member @ A @ X @ ( set2 @ A @ ( tl @ A @ Xs ) ) ) ) ) ).

% not_hd_in_tl
thf(fact_4524_trancl__Int__subset,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),S2: set @ ( product_prod @ A @ A )] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ R3 @ S2 )
     => ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ ( relcomp @ A @ A @ A @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ ( transitive_trancl @ A @ R3 ) @ S2 ) @ R3 ) @ S2 )
       => ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ ( transitive_trancl @ A @ R3 ) @ S2 ) ) ) ).

% trancl_Int_subset
thf(fact_4525_takeWhile__nth,axiom,
    ! [A: $tType,J2: nat,P2: A > $o,Xs: list @ A] :
      ( ( ord_less @ nat @ J2 @ ( size_size @ ( list @ A ) @ ( takeWhile @ A @ P2 @ Xs ) ) )
     => ( ( nth @ A @ ( takeWhile @ A @ P2 @ Xs ) @ J2 )
        = ( nth @ A @ Xs @ J2 ) ) ) ).

% takeWhile_nth
thf(fact_4526_nth__length__takeWhile,axiom,
    ! [A: $tType,P2: A > $o,Xs: list @ A] :
      ( ( ord_less @ nat @ ( size_size @ ( list @ A ) @ ( takeWhile @ A @ P2 @ Xs ) ) @ ( size_size @ ( list @ A ) @ Xs ) )
     => ~ ( P2 @ ( nth @ A @ Xs @ ( size_size @ ( list @ A ) @ ( takeWhile @ A @ P2 @ Xs ) ) ) ) ) ).

% nth_length_takeWhile
thf(fact_4527_distinct__hd__tl,axiom,
    ! [A: $tType,Xs: list @ A,X: A] :
      ( ( distinct @ A @ Xs )
     => ( ( X
          = ( hd @ A @ Xs ) )
       => ~ ( member @ A @ X @ ( set2 @ A @ ( tl @ A @ Xs ) ) ) ) ) ).

% distinct_hd_tl
thf(fact_4528_sorted__hd__min,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Xs: list @ A] :
          ( ( Xs
           != ( nil @ A ) )
         => ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ Xs )
           => ! [X6: A] :
                ( ( member @ A @ X6 @ ( set2 @ A @ Xs ) )
               => ( ord_less_eq @ A @ ( hd @ A @ Xs ) @ X6 ) ) ) ) ) ).

% sorted_hd_min
thf(fact_4529_length__takeWhile__less__P__nth,axiom,
    ! [A: $tType,J2: nat,P2: A > $o,Xs: list @ A] :
      ( ! [I3: nat] :
          ( ( ord_less @ nat @ I3 @ J2 )
         => ( P2 @ ( nth @ A @ Xs @ I3 ) ) )
     => ( ( ord_less_eq @ nat @ J2 @ ( size_size @ ( list @ A ) @ Xs ) )
       => ( ord_less_eq @ nat @ J2 @ ( size_size @ ( list @ A ) @ ( takeWhile @ A @ P2 @ Xs ) ) ) ) ) ).

% length_takeWhile_less_P_nth
thf(fact_4530_less__length__takeWhile__conv,axiom,
    ! [A: $tType,I2: nat,P2: A > $o,L: list @ A] :
      ( ( ord_less @ nat @ I2 @ ( size_size @ ( list @ A ) @ ( takeWhile @ A @ P2 @ L ) ) )
      = ( ( ord_less @ nat @ I2 @ ( size_size @ ( list @ A ) @ L ) )
        & ! [J: nat] :
            ( ( ord_less_eq @ nat @ J @ I2 )
           => ( P2 @ ( nth @ A @ L @ J ) ) ) ) ) ).

% less_length_takeWhile_conv
thf(fact_4531_eq__len__takeWhile__conv,axiom,
    ! [A: $tType,I2: nat,P2: A > $o,L: list @ A] :
      ( ( I2
        = ( size_size @ ( list @ A ) @ ( takeWhile @ A @ P2 @ L ) ) )
      = ( ( ord_less_eq @ nat @ I2 @ ( size_size @ ( list @ A ) @ L ) )
        & ! [J: nat] :
            ( ( ord_less @ nat @ J @ I2 )
           => ( P2 @ ( nth @ A @ L @ J ) ) )
        & ( ( ord_less @ nat @ I2 @ ( size_size @ ( list @ A ) @ L ) )
         => ~ ( P2 @ ( nth @ A @ L @ I2 ) ) ) ) ) ).

% eq_len_takeWhile_conv
thf(fact_4532_slice__head,axiom,
    ! [A: $tType,From: nat,To: nat,Xs: list @ A] :
      ( ( ord_less @ nat @ From @ To )
     => ( ( ord_less_eq @ nat @ To @ ( size_size @ ( list @ A ) @ Xs ) )
       => ( ( hd @ A @ ( slice @ A @ From @ To @ Xs ) )
          = ( nth @ A @ Xs @ From ) ) ) ) ).

% slice_head
thf(fact_4533_filter__equals__takeWhile__sorted__rev,axiom,
    ! [A: $tType,B: $tType] :
      ( ( linorder @ A )
     => ! [F3: B > A,Xs: list @ B,T5: A] :
          ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( rev @ A @ ( map @ B @ A @ F3 @ Xs ) ) )
         => ( ( filter2 @ B
              @ ^ [X4: B] : ( ord_less @ A @ T5 @ ( F3 @ X4 ) )
              @ Xs )
            = ( takeWhile @ B
              @ ^ [X4: B] : ( ord_less @ A @ T5 @ ( F3 @ X4 ) )
              @ Xs ) ) ) ) ).

% filter_equals_takeWhile_sorted_rev
thf(fact_4534_ntrancl__Suc,axiom,
    ! [A: $tType,N: nat,R4: set @ ( product_prod @ A @ A )] :
      ( ( transitive_ntrancl @ A @ ( suc @ N ) @ R4 )
      = ( relcomp @ A @ A @ A @ ( transitive_ntrancl @ A @ N @ R4 ) @ ( sup_sup @ ( set @ ( product_prod @ A @ A ) ) @ ( id2 @ A ) @ R4 ) ) ) ).

% ntrancl_Suc
thf(fact_4535_folding__insort__key_Osorted__key__list__of__set__unique,axiom,
    ! [A: $tType,B: $tType,Less_eq: A > A > $o,Less: A > A > $o,S: set @ B,F3: B > A,A6: set @ B,L: list @ B] :
      ( ( folding_insort_key @ A @ B @ Less_eq @ Less @ S @ F3 )
     => ( ( ord_less_eq @ ( set @ B ) @ A6 @ S )
       => ( ( finite_finite2 @ B @ A6 )
         => ( ( ( sorted_wrt @ A @ Less @ ( map @ B @ A @ F3 @ L ) )
              & ( ( set2 @ B @ L )
                = A6 )
              & ( ( size_size @ ( list @ B ) @ L )
                = ( finite_card @ B @ A6 ) ) )
            = ( ( sorted8670434370408473282of_set @ A @ B @ Less_eq @ F3 @ A6 )
              = L ) ) ) ) ) ).

% folding_insort_key.sorted_key_list_of_set_unique
thf(fact_4536_min__ext__compat,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A ),S: set @ ( product_prod @ A @ A )] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ ( relcomp @ A @ A @ A @ R4 @ S ) @ R4 )
     => ( ord_less_eq @ ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) @ ( relcomp @ ( set @ A ) @ ( set @ A ) @ ( set @ A ) @ ( min_ext @ A @ R4 ) @ ( sup_sup @ ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) @ ( min_ext @ A @ S ) @ ( insert @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) @ ( product_Pair @ ( set @ A ) @ ( set @ A ) @ ( bot_bot @ ( set @ A ) ) @ ( bot_bot @ ( set @ A ) ) ) @ ( bot_bot @ ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) ) ) ) ) @ ( min_ext @ A @ R4 ) ) ) ).

% min_ext_compat
thf(fact_4537_insort__key__remove1,axiom,
    ! [A: $tType,B: $tType] :
      ( ( linorder @ A )
     => ! [A3: B,Xs: list @ B,F3: B > A] :
          ( ( member @ B @ A3 @ ( set2 @ B @ Xs ) )
         => ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( map @ B @ A @ F3 @ Xs ) )
           => ( ( ( hd @ B
                  @ ( filter2 @ B
                    @ ^ [X4: B] :
                        ( ( F3 @ A3 )
                        = ( F3 @ X4 ) )
                    @ Xs ) )
                = A3 )
             => ( ( linorder_insort_key @ B @ A @ F3 @ A3 @ ( remove1 @ B @ A3 @ Xs ) )
                = Xs ) ) ) ) ) ).

% insort_key_remove1
thf(fact_4538_set__remove1__subset,axiom,
    ! [A: $tType,X: A,Xs: list @ A] : ( ord_less_eq @ ( set @ A ) @ ( set2 @ A @ ( remove1 @ A @ X @ Xs ) ) @ ( set2 @ A @ Xs ) ) ).

% set_remove1_subset
thf(fact_4539_sorted__remove1,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Xs: list @ A,A3: A] :
          ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ Xs )
         => ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( remove1 @ A @ A3 @ Xs ) ) ) ) ).

% sorted_remove1
thf(fact_4540_sorted__map__remove1,axiom,
    ! [A: $tType,B: $tType] :
      ( ( linorder @ A )
     => ! [F3: B > A,Xs: list @ B,X: B] :
          ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( map @ B @ A @ F3 @ Xs ) )
         => ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( map @ B @ A @ F3 @ ( remove1 @ B @ X @ Xs ) ) ) ) ) ).

% sorted_map_remove1
thf(fact_4541_folding__insort__key_Osorted__key__list__of__set__remove,axiom,
    ! [A: $tType,B: $tType,Less_eq: A > A > $o,Less: A > A > $o,S: set @ B,F3: B > A,X: B,A6: set @ B] :
      ( ( folding_insort_key @ A @ B @ Less_eq @ Less @ S @ F3 )
     => ( ( ord_less_eq @ ( set @ B ) @ ( insert @ B @ X @ A6 ) @ S )
       => ( ( finite_finite2 @ B @ A6 )
         => ( ( sorted8670434370408473282of_set @ A @ B @ Less_eq @ F3 @ ( minus_minus @ ( set @ B ) @ A6 @ ( insert @ B @ X @ ( bot_bot @ ( set @ B ) ) ) ) )
            = ( remove1 @ B @ X @ ( sorted8670434370408473282of_set @ A @ B @ Less_eq @ F3 @ A6 ) ) ) ) ) ) ).

% folding_insort_key.sorted_key_list_of_set_remove
thf(fact_4542_remove1__tl,axiom,
    ! [A: $tType,Xs: list @ A] :
      ( ( Xs
       != ( nil @ A ) )
     => ( ( remove1 @ A @ ( hd @ A @ Xs ) @ Xs )
        = ( tl @ A @ Xs ) ) ) ).

% remove1_tl
thf(fact_4543_folding__insort__key_Osorted__key__list__of__set__inject,axiom,
    ! [A: $tType,B: $tType,Less_eq: A > A > $o,Less: A > A > $o,S: set @ B,F3: B > A,A6: set @ B,B6: set @ B] :
      ( ( folding_insort_key @ A @ B @ Less_eq @ Less @ S @ F3 )
     => ( ( ord_less_eq @ ( set @ B ) @ A6 @ S )
       => ( ( ord_less_eq @ ( set @ B ) @ B6 @ S )
         => ( ( ( sorted8670434370408473282of_set @ A @ B @ Less_eq @ F3 @ A6 )
              = ( sorted8670434370408473282of_set @ A @ B @ Less_eq @ F3 @ B6 ) )
           => ( ( finite_finite2 @ B @ A6 )
             => ( ( finite_finite2 @ B @ B6 )
               => ( A6 = B6 ) ) ) ) ) ) ) ).

% folding_insort_key.sorted_key_list_of_set_inject
thf(fact_4544_sum__list__map__remove1,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [X: B,Xs: list @ B,F3: B > A] :
          ( ( member @ B @ X @ ( set2 @ B @ Xs ) )
         => ( ( groups8242544230860333062m_list @ A @ ( map @ B @ A @ F3 @ Xs ) )
            = ( plus_plus @ A @ ( F3 @ X ) @ ( groups8242544230860333062m_list @ A @ ( map @ B @ A @ F3 @ ( remove1 @ B @ X @ Xs ) ) ) ) ) ) ) ).

% sum_list_map_remove1
thf(fact_4545_insort__remove1,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A3: A,Xs: list @ A] :
          ( ( member @ A @ A3 @ ( set2 @ A @ Xs ) )
         => ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ Xs )
           => ( ( linorder_insort_key @ A @ A
                @ ^ [X4: A] : X4
                @ A3
                @ ( remove1 @ A @ A3 @ Xs ) )
              = Xs ) ) ) ) ).

% insort_remove1
thf(fact_4546_folding__insort__key_Oset__sorted__key__list__of__set,axiom,
    ! [A: $tType,B: $tType,Less_eq: A > A > $o,Less: A > A > $o,S: set @ B,F3: B > A,A6: set @ B] :
      ( ( folding_insort_key @ A @ B @ Less_eq @ Less @ S @ F3 )
     => ( ( ord_less_eq @ ( set @ B ) @ A6 @ S )
       => ( ( finite_finite2 @ B @ A6 )
         => ( ( set2 @ B @ ( sorted8670434370408473282of_set @ A @ B @ Less_eq @ F3 @ A6 ) )
            = A6 ) ) ) ) ).

% folding_insort_key.set_sorted_key_list_of_set
thf(fact_4547_folding__insort__key_Olength__sorted__key__list__of__set,axiom,
    ! [A: $tType,B: $tType,Less_eq: A > A > $o,Less: A > A > $o,S: set @ B,F3: B > A,A6: set @ B] :
      ( ( folding_insort_key @ A @ B @ Less_eq @ Less @ S @ F3 )
     => ( ( ord_less_eq @ ( set @ B ) @ A6 @ S )
       => ( ( size_size @ ( list @ B ) @ ( sorted8670434370408473282of_set @ A @ B @ Less_eq @ F3 @ A6 ) )
          = ( finite_card @ B @ A6 ) ) ) ) ).

% folding_insort_key.length_sorted_key_list_of_set
thf(fact_4548_folding__insort__key_Odistinct__sorted__key__list__of__set,axiom,
    ! [A: $tType,B: $tType,Less_eq: A > A > $o,Less: A > A > $o,S: set @ B,F3: B > A,A6: set @ B] :
      ( ( folding_insort_key @ A @ B @ Less_eq @ Less @ S @ F3 )
     => ( ( ord_less_eq @ ( set @ B ) @ A6 @ S )
       => ( distinct @ A @ ( map @ B @ A @ F3 @ ( sorted8670434370408473282of_set @ A @ B @ Less_eq @ F3 @ A6 ) ) ) ) ) ).

% folding_insort_key.distinct_sorted_key_list_of_set
thf(fact_4549_folding__insort__key_Osorted__sorted__key__list__of__set,axiom,
    ! [A: $tType,B: $tType,Less_eq: A > A > $o,Less: A > A > $o,S: set @ B,F3: B > A,A6: set @ B] :
      ( ( folding_insort_key @ A @ B @ Less_eq @ Less @ S @ F3 )
     => ( ( ord_less_eq @ ( set @ B ) @ A6 @ S )
       => ( sorted_wrt @ A @ Less_eq @ ( map @ B @ A @ F3 @ ( sorted8670434370408473282of_set @ A @ B @ Less_eq @ F3 @ A6 ) ) ) ) ) ).

% folding_insort_key.sorted_sorted_key_list_of_set
thf(fact_4550_folding__insort__key_Ostrict__sorted__key__list__of__set,axiom,
    ! [A: $tType,B: $tType,Less_eq: A > A > $o,Less: A > A > $o,S: set @ B,F3: B > A,A6: set @ B] :
      ( ( folding_insort_key @ A @ B @ Less_eq @ Less @ S @ F3 )
     => ( ( ord_less_eq @ ( set @ B ) @ A6 @ S )
       => ( sorted_wrt @ A @ Less @ ( map @ B @ A @ F3 @ ( sorted8670434370408473282of_set @ A @ B @ Less_eq @ F3 @ A6 ) ) ) ) ) ).

% folding_insort_key.strict_sorted_key_list_of_set
thf(fact_4551_folding__insort__key_Osorted__key__list__of__set__eq__Nil__iff,axiom,
    ! [A: $tType,B: $tType,Less_eq: A > A > $o,Less: A > A > $o,S: set @ B,F3: B > A,A6: set @ B] :
      ( ( folding_insort_key @ A @ B @ Less_eq @ Less @ S @ F3 )
     => ( ( ord_less_eq @ ( set @ B ) @ A6 @ S )
       => ( ( finite_finite2 @ B @ A6 )
         => ( ( ( sorted8670434370408473282of_set @ A @ B @ Less_eq @ F3 @ A6 )
              = ( nil @ B ) )
            = ( A6
              = ( bot_bot @ ( set @ B ) ) ) ) ) ) ) ).

% folding_insort_key.sorted_key_list_of_set_eq_Nil_iff
thf(fact_4552_folding__insort__key_Oidem__if__sorted__distinct,axiom,
    ! [A: $tType,B: $tType,Less_eq: A > A > $o,Less: A > A > $o,S: set @ B,F3: B > A,Xs: list @ B] :
      ( ( folding_insort_key @ A @ B @ Less_eq @ Less @ S @ F3 )
     => ( ( ord_less_eq @ ( set @ B ) @ ( set2 @ B @ Xs ) @ S )
       => ( ( sorted_wrt @ A @ Less_eq @ ( map @ B @ A @ F3 @ Xs ) )
         => ( ( distinct @ B @ Xs )
           => ( ( sorted8670434370408473282of_set @ A @ B @ Less_eq @ F3 @ ( set2 @ B @ Xs ) )
              = Xs ) ) ) ) ) ).

% folding_insort_key.idem_if_sorted_distinct
thf(fact_4553_max__ext__compat,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A ),S: set @ ( product_prod @ A @ A )] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ ( relcomp @ A @ A @ A @ R4 @ S ) @ R4 )
     => ( ord_less_eq @ ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) @ ( relcomp @ ( set @ A ) @ ( set @ A ) @ ( set @ A ) @ ( max_ext @ A @ R4 ) @ ( sup_sup @ ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) @ ( max_ext @ A @ S ) @ ( insert @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) @ ( product_Pair @ ( set @ A ) @ ( set @ A ) @ ( bot_bot @ ( set @ A ) ) @ ( bot_bot @ ( set @ A ) ) ) @ ( bot_bot @ ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) ) ) ) ) @ ( max_ext @ A @ R4 ) ) ) ).

% max_ext_compat
thf(fact_4554_folding__insort__key_Osorted__key__list__of__set__insert__remove,axiom,
    ! [A: $tType,B: $tType,Less_eq: A > A > $o,Less: A > A > $o,S: set @ B,F3: B > A,X: B,A6: set @ B] :
      ( ( folding_insort_key @ A @ B @ Less_eq @ Less @ S @ F3 )
     => ( ( ord_less_eq @ ( set @ B ) @ ( insert @ B @ X @ A6 ) @ S )
       => ( ( finite_finite2 @ B @ A6 )
         => ( ( sorted8670434370408473282of_set @ A @ B @ Less_eq @ F3 @ ( insert @ B @ X @ A6 ) )
            = ( insort_key @ A @ B @ Less_eq @ F3 @ X @ ( sorted8670434370408473282of_set @ A @ B @ Less_eq @ F3 @ ( minus_minus @ ( set @ B ) @ A6 @ ( insert @ B @ X @ ( bot_bot @ ( set @ B ) ) ) ) ) ) ) ) ) ) ).

% folding_insort_key.sorted_key_list_of_set_insert_remove
thf(fact_4555_folding__insort__key_Osorted__key__list__of__set__insert,axiom,
    ! [A: $tType,B: $tType,Less_eq: A > A > $o,Less: A > A > $o,S: set @ B,F3: B > A,X: B,A6: set @ B] :
      ( ( folding_insort_key @ A @ B @ Less_eq @ Less @ S @ F3 )
     => ( ( ord_less_eq @ ( set @ B ) @ ( insert @ B @ X @ A6 ) @ S )
       => ( ( finite_finite2 @ B @ A6 )
         => ( ~ ( member @ B @ X @ A6 )
           => ( ( sorted8670434370408473282of_set @ A @ B @ Less_eq @ F3 @ ( insert @ B @ X @ A6 ) )
              = ( insort_key @ A @ B @ Less_eq @ F3 @ X @ ( sorted8670434370408473282of_set @ A @ B @ Less_eq @ F3 @ A6 ) ) ) ) ) ) ) ).

% folding_insort_key.sorted_key_list_of_set_insert
thf(fact_4556_extract__def,axiom,
    ! [A: $tType] :
      ( ( extract @ A )
      = ( ^ [P5: A > $o,Xs3: list @ A] :
            ( case_list @ ( option @ ( product_prod @ ( list @ A ) @ ( product_prod @ A @ ( list @ A ) ) ) ) @ A @ ( none @ ( product_prod @ ( list @ A ) @ ( product_prod @ A @ ( list @ A ) ) ) )
            @ ^ [Y4: A,Ys2: list @ A] : ( some @ ( product_prod @ ( list @ A ) @ ( product_prod @ A @ ( list @ A ) ) ) @ ( product_Pair @ ( list @ A ) @ ( product_prod @ A @ ( list @ A ) ) @ ( takeWhile @ A @ ( comp @ $o @ $o @ A @ (~) @ P5 ) @ Xs3 ) @ ( product_Pair @ A @ ( list @ A ) @ Y4 @ Ys2 ) ) )
            @ ( dropWhile @ A @ ( comp @ $o @ $o @ A @ (~) @ P5 ) @ Xs3 ) ) ) ) ).

% extract_def
thf(fact_4557_length__dropWhile__le,axiom,
    ! [A: $tType,P2: A > $o,Xs: list @ A] : ( ord_less_eq @ nat @ ( size_size @ ( list @ A ) @ ( dropWhile @ A @ P2 @ Xs ) ) @ ( size_size @ ( list @ A ) @ Xs ) ) ).

% length_dropWhile_le
thf(fact_4558_sorted__dropWhile,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Xs: list @ A,P2: A > $o] :
          ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ Xs )
         => ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( dropWhile @ A @ P2 @ Xs ) ) ) ) ).

% sorted_dropWhile
thf(fact_4559_max__ext__additive,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A,R4: set @ ( product_prod @ A @ A ),C5: set @ A,D5: set @ A] :
      ( ( member @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) @ ( product_Pair @ ( set @ A ) @ ( set @ A ) @ A6 @ B6 ) @ ( max_ext @ A @ R4 ) )
     => ( ( member @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) @ ( product_Pair @ ( set @ A ) @ ( set @ A ) @ C5 @ D5 ) @ ( max_ext @ A @ R4 ) )
       => ( member @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) @ ( product_Pair @ ( set @ A ) @ ( set @ A ) @ ( sup_sup @ ( set @ A ) @ A6 @ C5 ) @ ( sup_sup @ ( set @ A ) @ B6 @ D5 ) ) @ ( max_ext @ A @ R4 ) ) ) ) ).

% max_ext_additive
thf(fact_4560_find__dropWhile,axiom,
    ! [A: $tType] :
      ( ( find @ A )
      = ( ^ [P5: A > $o,Xs3: list @ A] :
            ( case_list @ ( option @ A ) @ A @ ( none @ A )
            @ ^ [X4: A,Xa2: list @ A] : ( some @ A @ X4 )
            @ ( dropWhile @ A @ ( comp @ $o @ $o @ A @ (~) @ P5 ) @ Xs3 ) ) ) ) ).

% find_dropWhile
thf(fact_4561_length__dropWhile__takeWhile,axiom,
    ! [A: $tType,X: nat,P2: A > $o,Xs: list @ A] :
      ( ( ord_less @ nat @ X @ ( size_size @ ( list @ A ) @ ( dropWhile @ A @ P2 @ Xs ) ) )
     => ( ord_less @ nat @ ( plus_plus @ nat @ X @ ( size_size @ ( list @ A ) @ ( takeWhile @ A @ P2 @ Xs ) ) ) @ ( size_size @ ( list @ A ) @ Xs ) ) ) ).

% length_dropWhile_takeWhile
thf(fact_4562_dropWhile__nth,axiom,
    ! [A: $tType,J2: nat,P2: A > $o,Xs: list @ A] :
      ( ( ord_less @ nat @ J2 @ ( size_size @ ( list @ A ) @ ( dropWhile @ A @ P2 @ Xs ) ) )
     => ( ( nth @ A @ ( dropWhile @ A @ P2 @ Xs ) @ J2 )
        = ( nth @ A @ Xs @ ( plus_plus @ nat @ J2 @ ( size_size @ ( list @ A ) @ ( takeWhile @ A @ P2 @ Xs ) ) ) ) ) ) ).

% dropWhile_nth
thf(fact_4563_dropWhile__neq__rev,axiom,
    ! [A: $tType,Xs: list @ A,X: A] :
      ( ( distinct @ A @ Xs )
     => ( ( member @ A @ X @ ( set2 @ A @ Xs ) )
       => ( ( dropWhile @ A
            @ ^ [Y4: A] : Y4 != X
            @ ( rev @ A @ Xs ) )
          = ( cons @ A @ X
            @ ( rev @ A
              @ ( takeWhile @ A
                @ ^ [Y4: A] : Y4 != X
                @ Xs ) ) ) ) ) ) ).

% dropWhile_neq_rev
thf(fact_4564_takeWhile__neq__rev,axiom,
    ! [A: $tType,Xs: list @ A,X: A] :
      ( ( distinct @ A @ Xs )
     => ( ( member @ A @ X @ ( set2 @ A @ Xs ) )
       => ( ( takeWhile @ A
            @ ^ [Y4: A] : Y4 != X
            @ ( rev @ A @ Xs ) )
          = ( rev @ A
            @ ( tl @ A
              @ ( dropWhile @ A
                @ ^ [Y4: A] : Y4 != X
                @ Xs ) ) ) ) ) ) ).

% takeWhile_neq_rev
thf(fact_4565_max__ext_Ocases,axiom,
    ! [A: $tType,A1: set @ A,A22: set @ A,R4: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) @ ( product_Pair @ ( set @ A ) @ ( set @ A ) @ A1 @ A22 ) @ ( max_ext @ A @ R4 ) )
     => ~ ( ( finite_finite2 @ A @ A1 )
         => ( ( finite_finite2 @ A @ A22 )
           => ( ( A22
               != ( bot_bot @ ( set @ A ) ) )
             => ~ ! [X6: A] :
                    ( ( member @ A @ X6 @ A1 )
                   => ? [Xa4: A] :
                        ( ( member @ A @ Xa4 @ A22 )
                        & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X6 @ Xa4 ) @ R4 ) ) ) ) ) ) ) ).

% max_ext.cases
thf(fact_4566_max__ext_Osimps,axiom,
    ! [A: $tType,A1: set @ A,A22: set @ A,R4: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) @ ( product_Pair @ ( set @ A ) @ ( set @ A ) @ A1 @ A22 ) @ ( max_ext @ A @ R4 ) )
      = ( ( finite_finite2 @ A @ A1 )
        & ( finite_finite2 @ A @ A22 )
        & ( A22
         != ( bot_bot @ ( set @ A ) ) )
        & ! [X4: A] :
            ( ( member @ A @ X4 @ A1 )
           => ? [Y4: A] :
                ( ( member @ A @ Y4 @ A22 )
                & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X4 @ Y4 ) @ R4 ) ) ) ) ) ).

% max_ext.simps
thf(fact_4567_max__ext_Omax__extI,axiom,
    ! [A: $tType,X7: set @ A,Y7: set @ A,R4: set @ ( product_prod @ A @ A )] :
      ( ( finite_finite2 @ A @ X7 )
     => ( ( finite_finite2 @ A @ Y7 )
       => ( ( Y7
           != ( bot_bot @ ( set @ A ) ) )
         => ( ! [X3: A] :
                ( ( member @ A @ X3 @ X7 )
               => ? [Xa3: A] :
                    ( ( member @ A @ Xa3 @ Y7 )
                    & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X3 @ Xa3 ) @ R4 ) ) )
           => ( member @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) @ ( product_Pair @ ( set @ A ) @ ( set @ A ) @ X7 @ Y7 ) @ ( max_ext @ A @ R4 ) ) ) ) ) ) ).

% max_ext.max_extI
thf(fact_4568_remove__rev__def,axiom,
    ! [A: $tType] :
      ( ( remove_rev @ A )
      = ( ^ [X4: A] :
            ( filter_rev @ A
            @ ( comp @ $o @ $o @ A @ (~)
              @ ( ^ [Y6: A,Z5: A] : Y6 = Z5
                @ X4 ) ) ) ) ) ).

% remove_rev_def
thf(fact_4569_Nitpick_Osize__list__simp_I1_J,axiom,
    ! [A: $tType] :
      ( ( size_list @ A )
      = ( ^ [F4: A > nat,Xs3: list @ A] :
            ( if @ nat
            @ ( Xs3
              = ( nil @ A ) )
            @ ( zero_zero @ nat )
            @ ( suc @ ( plus_plus @ nat @ ( F4 @ ( hd @ A @ Xs3 ) ) @ ( size_list @ A @ F4 @ ( tl @ A @ Xs3 ) ) ) ) ) ) ) ).

% Nitpick.size_list_simp(1)
thf(fact_4570_max__ext__def,axiom,
    ! [A: $tType] :
      ( ( max_ext @ A )
      = ( ^ [R2: set @ ( product_prod @ A @ A )] :
            ( collect @ ( product_prod @ ( set @ A ) @ ( set @ A ) )
            @ ( product_case_prod @ ( set @ A ) @ ( set @ A ) @ $o
              @ ( max_extp @ A
                @ ^ [X4: A,Y4: A] : ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X4 @ Y4 ) @ R2 ) ) ) ) ) ) ).

% max_ext_def
thf(fact_4571_size__list__append,axiom,
    ! [A: $tType,F3: A > nat,Xs: list @ A,Ys3: list @ A] :
      ( ( size_list @ A @ F3 @ ( append @ A @ Xs @ Ys3 ) )
      = ( plus_plus @ nat @ ( size_list @ A @ F3 @ Xs ) @ ( size_list @ A @ F3 @ Ys3 ) ) ) ).

% size_list_append
thf(fact_4572_size__list__estimation,axiom,
    ! [A: $tType,X: A,Xs: list @ A,Y: nat,F3: A > nat] :
      ( ( member @ A @ X @ ( set2 @ A @ Xs ) )
     => ( ( ord_less @ nat @ Y @ ( F3 @ X ) )
       => ( ord_less @ nat @ Y @ ( size_list @ A @ F3 @ Xs ) ) ) ) ).

% size_list_estimation
thf(fact_4573_size__list__pointwise,axiom,
    ! [A: $tType,Xs: list @ A,F3: A > nat,G3: A > nat] :
      ( ! [X3: A] :
          ( ( member @ A @ X3 @ ( set2 @ A @ Xs ) )
         => ( ord_less_eq @ nat @ ( F3 @ X3 ) @ ( G3 @ X3 ) ) )
     => ( ord_less_eq @ nat @ ( size_list @ A @ F3 @ Xs ) @ ( size_list @ A @ G3 @ Xs ) ) ) ).

% size_list_pointwise
thf(fact_4574_size__list__estimation_H,axiom,
    ! [A: $tType,X: A,Xs: list @ A,Y: nat,F3: A > nat] :
      ( ( member @ A @ X @ ( set2 @ A @ Xs ) )
     => ( ( ord_less_eq @ nat @ Y @ ( F3 @ X ) )
       => ( ord_less_eq @ nat @ Y @ ( size_list @ A @ F3 @ Xs ) ) ) ) ).

% size_list_estimation'
thf(fact_4575_list_Osize__gen_I2_J,axiom,
    ! [A: $tType,X: A > nat,X21: A,X222: list @ A] :
      ( ( size_list @ A @ X @ ( cons @ A @ X21 @ X222 ) )
      = ( plus_plus @ nat @ ( plus_plus @ nat @ ( X @ X21 ) @ ( size_list @ A @ X @ X222 ) ) @ ( suc @ ( zero_zero @ nat ) ) ) ) ).

% list.size_gen(2)
thf(fact_4576_size__list__conv__sum__list,axiom,
    ! [B: $tType] :
      ( ( size_list @ B )
      = ( ^ [F4: B > nat,Xs3: list @ B] : ( plus_plus @ nat @ ( groups8242544230860333062m_list @ nat @ ( map @ B @ nat @ F4 @ Xs3 ) ) @ ( size_size @ ( list @ B ) @ Xs3 ) ) ) ) ).

% size_list_conv_sum_list
thf(fact_4577_filter__rev__alt,axiom,
    ! [A: $tType] :
      ( ( filter_rev @ A )
      = ( ^ [P5: A > $o,L2: list @ A] : ( filter2 @ A @ P5 @ ( rev @ A @ L2 ) ) ) ) ).

% filter_rev_alt
thf(fact_4578_max__extp__max__ext__eq,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A )] :
      ( ( max_extp @ A
        @ ^ [X4: A,Y4: A] : ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X4 @ Y4 ) @ R4 ) )
      = ( ^ [X4: set @ A,Y4: set @ A] : ( member @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) @ ( product_Pair @ ( set @ A ) @ ( set @ A ) @ X4 @ Y4 ) @ ( max_ext @ A @ R4 ) ) ) ) ).

% max_extp_max_ext_eq
thf(fact_4579_max__extp__eq,axiom,
    ! [A: $tType] :
      ( ( max_extp @ A )
      = ( ^ [R5: A > A > $o,X4: set @ A,Y4: set @ A] : ( member @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) @ ( product_Pair @ ( set @ A ) @ ( set @ A ) @ X4 @ Y4 ) @ ( max_ext @ A @ ( collect @ ( product_prod @ A @ A ) @ ( product_case_prod @ A @ A @ $o @ R5 ) ) ) ) ) ) ).

% max_extp_eq
thf(fact_4580_partition__rev__filter__conv,axiom,
    ! [A: $tType,P2: A > $o,Yes2: list @ A,No2: list @ A,Xs: list @ A] :
      ( ( partition_rev @ A @ P2 @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Yes2 @ No2 ) @ Xs )
      = ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( append @ A @ ( rev @ A @ ( filter2 @ A @ P2 @ Xs ) ) @ Yes2 ) @ ( append @ A @ ( rev @ A @ ( filter2 @ A @ ( comp @ $o @ $o @ A @ (~) @ P2 ) @ Xs ) ) @ No2 ) ) ) ).

% partition_rev_filter_conv
thf(fact_4581_map__distinct__upd__conv,axiom,
    ! [B: $tType,A: $tType,I2: nat,L: list @ A,F3: A > B,X: B] :
      ( ( ord_less @ nat @ I2 @ ( size_size @ ( list @ A ) @ L ) )
     => ( ( distinct @ A @ L )
       => ( ( list_update @ B @ ( map @ A @ B @ F3 @ L ) @ I2 @ X )
          = ( map @ A @ B @ ( fun_upd @ A @ B @ F3 @ ( nth @ A @ L @ I2 ) @ X ) @ L ) ) ) ) ).

% map_distinct_upd_conv
thf(fact_4582_map__of__distinct__lookup,axiom,
    ! [A: $tType,B: $tType,X: A,Xs: list @ ( product_prod @ A @ B ),Ys3: list @ ( product_prod @ A @ B ),Y: B] :
      ( ~ ( member @ A @ X @ ( set2 @ A @ ( map @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) @ Xs ) ) )
     => ( ~ ( member @ A @ X @ ( set2 @ A @ ( map @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) @ Ys3 ) ) )
       => ( ( map_of @ A @ B @ ( append @ ( product_prod @ A @ B ) @ Xs @ ( cons @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X @ Y ) @ Ys3 ) ) @ X )
          = ( some @ B @ Y ) ) ) ) ).

% map_of_distinct_lookup
thf(fact_4583_empty__upd__none,axiom,
    ! [B: $tType,A: $tType,X: A] :
      ( ( fun_upd @ A @ ( option @ B )
        @ ^ [X4: A] : ( none @ B )
        @ X
        @ ( none @ B ) )
      = ( ^ [X4: A] : ( none @ B ) ) ) ).

% empty_upd_none
thf(fact_4584_map__option__o__map__upd,axiom,
    ! [A: $tType,B: $tType,C: $tType,F3: C > B,M: A > ( option @ C ),A3: A,B2: C] :
      ( ( comp @ ( option @ C ) @ ( option @ B ) @ A @ ( map_option @ C @ B @ F3 ) @ ( fun_upd @ A @ ( option @ C ) @ M @ A3 @ ( some @ C @ B2 ) ) )
      = ( fun_upd @ A @ ( option @ B ) @ ( comp @ ( option @ C ) @ ( option @ B ) @ A @ ( map_option @ C @ B @ F3 ) @ M ) @ A3 @ ( some @ B @ ( F3 @ B2 ) ) ) ) ).

% map_option_o_map_upd
thf(fact_4585_empty__eq__map__of__iff,axiom,
    ! [B: $tType,A: $tType,Xys: list @ ( product_prod @ A @ B )] :
      ( ( ( ^ [X4: A] : ( none @ B ) )
        = ( map_of @ A @ B @ Xys ) )
      = ( Xys
        = ( nil @ ( product_prod @ A @ B ) ) ) ) ).

% empty_eq_map_of_iff
thf(fact_4586_ran__map__upd,axiom,
    ! [A: $tType,B: $tType,M: B > ( option @ A ),A3: B,B2: A] :
      ( ( ( M @ A3 )
        = ( none @ A ) )
     => ( ( ran @ B @ A @ ( fun_upd @ B @ ( option @ A ) @ M @ A3 @ ( some @ A @ B2 ) ) )
        = ( insert @ A @ B2 @ ( ran @ B @ A @ M ) ) ) ) ).

% ran_map_upd
thf(fact_4587_map__of__rev__distinct,axiom,
    ! [B: $tType,A: $tType,M: list @ ( product_prod @ A @ B )] :
      ( ( distinct @ A @ ( map @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) @ M ) )
     => ( ( map_of @ A @ B @ ( rev @ ( product_prod @ A @ B ) @ M ) )
        = ( map_of @ A @ B @ M ) ) ) ).

% map_of_rev_distinct
thf(fact_4588_map__of__eq__Some__iff,axiom,
    ! [B: $tType,A: $tType,Xys: list @ ( product_prod @ A @ B ),X: A,Y: B] :
      ( ( distinct @ A @ ( map @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) @ Xys ) )
     => ( ( ( map_of @ A @ B @ Xys @ X )
          = ( some @ B @ Y ) )
        = ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X @ Y ) @ ( set2 @ ( product_prod @ A @ B ) @ Xys ) ) ) ) ).

% map_of_eq_Some_iff
thf(fact_4589_Some__eq__map__of__iff,axiom,
    ! [B: $tType,A: $tType,Xys: list @ ( product_prod @ A @ B ),Y: B,X: A] :
      ( ( distinct @ A @ ( map @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) @ Xys ) )
     => ( ( ( some @ B @ Y )
          = ( map_of @ A @ B @ Xys @ X ) )
        = ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X @ Y ) @ ( set2 @ ( product_prod @ A @ B ) @ Xys ) ) ) ) ).

% Some_eq_map_of_iff
thf(fact_4590_map__of__is__SomeI,axiom,
    ! [A: $tType,B: $tType,Xys: list @ ( product_prod @ A @ B ),X: A,Y: B] :
      ( ( distinct @ A @ ( map @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) @ Xys ) )
     => ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X @ Y ) @ ( set2 @ ( product_prod @ A @ B ) @ Xys ) )
       => ( ( map_of @ A @ B @ Xys @ X )
          = ( some @ B @ Y ) ) ) ) ).

% map_of_is_SomeI
thf(fact_4591_map__upd__Some__unfold,axiom,
    ! [B: $tType,A: $tType,M: B > ( option @ A ),A3: B,B2: A,X: B,Y: A] :
      ( ( ( fun_upd @ B @ ( option @ A ) @ M @ A3 @ ( some @ A @ B2 ) @ X )
        = ( some @ A @ Y ) )
      = ( ( ( X = A3 )
          & ( B2 = Y ) )
        | ( ( X != A3 )
          & ( ( M @ X )
            = ( some @ A @ Y ) ) ) ) ) ).

% map_upd_Some_unfold
thf(fact_4592_map__upd__triv,axiom,
    ! [A: $tType,B: $tType,T5: B > ( option @ A ),K2: B,X: A] :
      ( ( ( T5 @ K2 )
        = ( some @ A @ X ) )
     => ( ( fun_upd @ B @ ( option @ A ) @ T5 @ K2 @ ( some @ A @ X ) )
        = T5 ) ) ).

% map_upd_triv
thf(fact_4593_map__upd__eqD1,axiom,
    ! [A: $tType,B: $tType,M: A > ( option @ B ),A3: A,X: B,N: A > ( option @ B ),Y: B] :
      ( ( ( fun_upd @ A @ ( option @ B ) @ M @ A3 @ ( some @ B @ X ) )
        = ( fun_upd @ A @ ( option @ B ) @ N @ A3 @ ( some @ B @ Y ) ) )
     => ( X = Y ) ) ).

% map_upd_eqD1
thf(fact_4594_finite__update__induct,axiom,
    ! [B: $tType,A: $tType,F3: A > B,C3: B,P2: ( A > B ) > $o] :
      ( ( finite_finite2 @ A
        @ ( collect @ A
          @ ^ [A7: A] :
              ( ( F3 @ A7 )
             != C3 ) ) )
     => ( ( P2
          @ ^ [A7: A] : C3 )
       => ( ! [A5: A,B4: B,F: A > B] :
              ( ( finite_finite2 @ A
                @ ( collect @ A
                  @ ^ [C4: A] :
                      ( ( F @ C4 )
                     != C3 ) ) )
             => ( ( ( F @ A5 )
                  = C3 )
               => ( ( B4 != C3 )
                 => ( ( P2 @ F )
                   => ( P2 @ ( fun_upd @ A @ B @ F @ A5 @ B4 ) ) ) ) ) )
         => ( P2 @ F3 ) ) ) ) ).

% finite_update_induct
thf(fact_4595_map__of__zip__upd,axiom,
    ! [A: $tType,B: $tType,Ys3: list @ B,Xs: list @ A,Zs: list @ B,X: A,Y: B,Z4: B] :
      ( ( ( size_size @ ( list @ B ) @ Ys3 )
        = ( size_size @ ( list @ A ) @ Xs ) )
     => ( ( ( size_size @ ( list @ B ) @ Zs )
          = ( size_size @ ( list @ A ) @ Xs ) )
       => ( ~ ( member @ A @ X @ ( set2 @ A @ Xs ) )
         => ( ( ( fun_upd @ A @ ( option @ B ) @ ( map_of @ A @ B @ ( zip @ A @ B @ Xs @ Ys3 ) ) @ X @ ( some @ B @ Y ) )
              = ( fun_upd @ A @ ( option @ B ) @ ( map_of @ A @ B @ ( zip @ A @ B @ Xs @ Zs ) ) @ X @ ( some @ B @ Z4 ) ) )
           => ( ( map_of @ A @ B @ ( zip @ A @ B @ Xs @ Ys3 ) )
              = ( map_of @ A @ B @ ( zip @ A @ B @ Xs @ Zs ) ) ) ) ) ) ) ).

% map_of_zip_upd
thf(fact_4596_map__upd__nonempty,axiom,
    ! [B: $tType,A: $tType,T5: A > ( option @ B ),K2: A,X: B] :
      ( ( fun_upd @ A @ ( option @ B ) @ T5 @ K2 @ ( some @ B @ X ) )
     != ( ^ [X4: A] : ( none @ B ) ) ) ).

% map_upd_nonempty
thf(fact_4597_map__of_Osimps_I2_J,axiom,
    ! [B: $tType,A: $tType,P3: product_prod @ A @ B,Ps: list @ ( product_prod @ A @ B )] :
      ( ( map_of @ A @ B @ ( cons @ ( product_prod @ A @ B ) @ P3 @ Ps ) )
      = ( fun_upd @ A @ ( option @ B ) @ ( map_of @ A @ B @ Ps ) @ ( product_fst @ A @ B @ P3 ) @ ( some @ B @ ( product_snd @ A @ B @ P3 ) ) ) ) ).

% map_of.simps(2)
thf(fact_4598_map__of__None__filterD,axiom,
    ! [B: $tType,A: $tType,Xs: list @ ( product_prod @ B @ A ),X: B,P2: ( product_prod @ B @ A ) > $o] :
      ( ( ( map_of @ B @ A @ Xs @ X )
        = ( none @ A ) )
     => ( ( map_of @ B @ A @ ( filter2 @ ( product_prod @ B @ A ) @ P2 @ Xs ) @ X )
        = ( none @ A ) ) ) ).

% map_of_None_filterD
thf(fact_4599_partition__rev_Osimps_I2_J,axiom,
    ! [A: $tType,P2: A > $o,Yes2: list @ A,No2: list @ A,X: A,Xs: list @ A] :
      ( ( partition_rev @ A @ P2 @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Yes2 @ No2 ) @ ( cons @ A @ X @ Xs ) )
      = ( partition_rev @ A @ P2 @ ( if @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( P2 @ X ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( cons @ A @ X @ Yes2 ) @ No2 ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Yes2 @ ( cons @ A @ X @ No2 ) ) ) @ Xs ) ) ).

% partition_rev.simps(2)
thf(fact_4600_partition__rev_Osimps_I1_J,axiom,
    ! [A: $tType,P2: A > $o,Yes2: list @ A,No2: list @ A] :
      ( ( partition_rev @ A @ P2 @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Yes2 @ No2 ) @ ( nil @ A ) )
      = ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Yes2 @ No2 ) ) ).

% partition_rev.simps(1)
thf(fact_4601_weak__map__of__SomeI,axiom,
    ! [A: $tType,B: $tType,K2: A,X: B,L: list @ ( product_prod @ A @ B )] :
      ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ K2 @ X ) @ ( set2 @ ( product_prod @ A @ B ) @ L ) )
     => ? [X3: B] :
          ( ( map_of @ A @ B @ L @ K2 )
          = ( some @ B @ X3 ) ) ) ).

% weak_map_of_SomeI
thf(fact_4602_map__of__SomeD,axiom,
    ! [A: $tType,B: $tType,Xs: list @ ( product_prod @ B @ A ),K2: B,Y: A] :
      ( ( ( map_of @ B @ A @ Xs @ K2 )
        = ( some @ A @ Y ) )
     => ( member @ ( product_prod @ B @ A ) @ ( product_Pair @ B @ A @ K2 @ Y ) @ ( set2 @ ( product_prod @ B @ A ) @ Xs ) ) ) ).

% map_of_SomeD
thf(fact_4603_map__of__Cons__code_I2_J,axiom,
    ! [C: $tType,B: $tType,L: B,K2: B,V2: C,Ps: list @ ( product_prod @ B @ C )] :
      ( ( ( L = K2 )
       => ( ( map_of @ B @ C @ ( cons @ ( product_prod @ B @ C ) @ ( product_Pair @ B @ C @ L @ V2 ) @ Ps ) @ K2 )
          = ( some @ C @ V2 ) ) )
      & ( ( L != K2 )
       => ( ( map_of @ B @ C @ ( cons @ ( product_prod @ B @ C ) @ ( product_Pair @ B @ C @ L @ V2 ) @ Ps ) @ K2 )
          = ( map_of @ B @ C @ Ps @ K2 ) ) ) ) ).

% map_of_Cons_code(2)
thf(fact_4604_map__of__filter__in,axiom,
    ! [B: $tType,A: $tType,Xs: list @ ( product_prod @ B @ A ),K2: B,Z4: A,P2: B > A > $o] :
      ( ( ( map_of @ B @ A @ Xs @ K2 )
        = ( some @ A @ Z4 ) )
     => ( ( P2 @ K2 @ Z4 )
       => ( ( map_of @ B @ A @ ( filter2 @ ( product_prod @ B @ A ) @ ( product_case_prod @ B @ A @ $o @ P2 ) @ Xs ) @ K2 )
          = ( some @ A @ Z4 ) ) ) ) ).

% map_of_filter_in
thf(fact_4605_map__of__distinct__upd3,axiom,
    ! [A: $tType,B: $tType,X: A,Xs: list @ ( product_prod @ A @ B ),Ys3: list @ ( product_prod @ A @ B ),Y: B,Y8: B] :
      ( ~ ( member @ A @ X @ ( set2 @ A @ ( map @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) @ Xs ) ) )
     => ( ~ ( member @ A @ X @ ( set2 @ A @ ( map @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) @ Ys3 ) ) )
       => ( ( map_of @ A @ B @ ( append @ ( product_prod @ A @ B ) @ Xs @ ( cons @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X @ Y ) @ Ys3 ) ) )
          = ( fun_upd @ A @ ( option @ B ) @ ( map_of @ A @ B @ ( append @ ( product_prod @ A @ B ) @ Xs @ ( cons @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X @ Y8 ) @ Ys3 ) ) ) @ X @ ( some @ B @ Y ) ) ) ) ) ).

% map_of_distinct_upd3
thf(fact_4606_map__of__distinct__upd2,axiom,
    ! [A: $tType,B: $tType,X: A,Xs: list @ ( product_prod @ A @ B ),Ys3: list @ ( product_prod @ A @ B ),Y: B] :
      ( ~ ( member @ A @ X @ ( set2 @ A @ ( map @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) @ Xs ) ) )
     => ( ~ ( member @ A @ X @ ( set2 @ A @ ( map @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) @ Ys3 ) ) )
       => ( ( map_of @ A @ B @ ( append @ ( product_prod @ A @ B ) @ Xs @ ( cons @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X @ Y ) @ Ys3 ) ) )
          = ( fun_upd @ A @ ( option @ B ) @ ( map_of @ A @ B @ ( append @ ( product_prod @ A @ B ) @ Xs @ Ys3 ) ) @ X @ ( some @ B @ Y ) ) ) ) ) ).

% map_of_distinct_upd2
thf(fact_4607_map__of__distinct__upd4,axiom,
    ! [A: $tType,B: $tType,X: A,Xs: list @ ( product_prod @ A @ B ),Ys3: list @ ( product_prod @ A @ B ),Y: B] :
      ( ~ ( member @ A @ X @ ( set2 @ A @ ( map @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) @ Xs ) ) )
     => ( ~ ( member @ A @ X @ ( set2 @ A @ ( map @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) @ Ys3 ) ) )
       => ( ( map_of @ A @ B @ ( append @ ( product_prod @ A @ B ) @ Xs @ Ys3 ) )
          = ( fun_upd @ A @ ( option @ B ) @ ( map_of @ A @ B @ ( append @ ( product_prod @ A @ B ) @ Xs @ ( cons @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X @ Y ) @ Ys3 ) ) ) @ X @ ( none @ B ) ) ) ) ) ).

% map_of_distinct_upd4
thf(fact_4608_map__of__zip__is__Some,axiom,
    ! [A: $tType,B: $tType,Xs: list @ A,Ys3: list @ B,X: A] :
      ( ( ( size_size @ ( list @ A ) @ Xs )
        = ( size_size @ ( list @ B ) @ Ys3 ) )
     => ( ( member @ A @ X @ ( set2 @ A @ Xs ) )
        = ( ? [Y4: B] :
              ( ( map_of @ A @ B @ ( zip @ A @ B @ Xs @ Ys3 ) @ X )
              = ( some @ B @ Y4 ) ) ) ) ) ).

% map_of_zip_is_Some
thf(fact_4609_partition__rev_Oelims,axiom,
    ! [A: $tType,X: A > $o,Xa: product_prod @ ( list @ A ) @ ( list @ A ),Xb: list @ A,Y: product_prod @ ( list @ A ) @ ( list @ A )] :
      ( ( ( partition_rev @ A @ X @ Xa @ Xb )
        = Y )
     => ( ! [Yes: list @ A,No: list @ A] :
            ( ( Xa
              = ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Yes @ No ) )
           => ( ( Xb
                = ( nil @ A ) )
             => ( Y
               != ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Yes @ No ) ) ) )
       => ~ ! [Yes: list @ A,No: list @ A] :
              ( ( Xa
                = ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Yes @ No ) )
             => ! [X3: A,Xs2: list @ A] :
                  ( ( Xb
                    = ( cons @ A @ X3 @ Xs2 ) )
                 => ( Y
                   != ( partition_rev @ A @ X @ ( if @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( X @ X3 ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( cons @ A @ X3 @ Yes ) @ No ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Yes @ ( cons @ A @ X3 @ No ) ) ) @ Xs2 ) ) ) ) ) ) ).

% partition_rev.elims
thf(fact_4610_map__of__zip__map,axiom,
    ! [B: $tType,A: $tType,Xs: list @ A,F3: A > B] :
      ( ( map_of @ A @ B @ ( zip @ A @ B @ Xs @ ( map @ A @ B @ F3 @ Xs ) ) )
      = ( ^ [X4: A] : ( if @ ( option @ B ) @ ( member @ A @ X4 @ ( set2 @ A @ Xs ) ) @ ( some @ B @ ( F3 @ X4 ) ) @ ( none @ B ) ) ) ) ).

% map_of_zip_map
thf(fact_4611_map__of__Some__split,axiom,
    ! [B: $tType,A: $tType,Xs: list @ ( product_prod @ B @ A ),K2: B,V2: A] :
      ( ( ( map_of @ B @ A @ Xs @ K2 )
        = ( some @ A @ V2 ) )
     => ? [Ys5: list @ ( product_prod @ B @ A ),Zs2: list @ ( product_prod @ B @ A )] :
          ( ( Xs
            = ( append @ ( product_prod @ B @ A ) @ Ys5 @ ( cons @ ( product_prod @ B @ A ) @ ( product_Pair @ B @ A @ K2 @ V2 ) @ Zs2 ) ) )
          & ( ( map_of @ B @ A @ Ys5 @ K2 )
            = ( none @ A ) ) ) ) ).

% map_of_Some_split
thf(fact_4612_map__to__set__map__of,axiom,
    ! [B: $tType,A: $tType,L: list @ ( product_prod @ A @ B )] :
      ( ( distinct @ A @ ( map @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) @ L ) )
     => ( ( map_to_set @ A @ B @ ( map_of @ A @ B @ L ) )
        = ( set2 @ ( product_prod @ A @ B ) @ L ) ) ) ).

% map_to_set_map_of
thf(fact_4613_map__of__map__to__set,axiom,
    ! [B: $tType,A: $tType,L: list @ ( product_prod @ A @ B ),M: A > ( option @ B )] :
      ( ( distinct @ A @ ( map @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) @ L ) )
     => ( ( ( map_of @ A @ B @ L )
          = M )
        = ( ( set2 @ ( product_prod @ A @ B ) @ L )
          = ( map_to_set @ A @ B @ M ) ) ) ) ).

% map_of_map_to_set
thf(fact_4614_map__of__zip__nth,axiom,
    ! [A: $tType,B: $tType,Xs: list @ A,Ys3: list @ B,I2: nat] :
      ( ( ( size_size @ ( list @ A ) @ Xs )
        = ( size_size @ ( list @ B ) @ Ys3 ) )
     => ( ( distinct @ A @ Xs )
       => ( ( ord_less @ nat @ I2 @ ( size_size @ ( list @ B ) @ Ys3 ) )
         => ( ( map_of @ A @ B @ ( zip @ A @ B @ Xs @ Ys3 ) @ ( nth @ A @ Xs @ I2 ) )
            = ( some @ B @ ( nth @ B @ Ys3 @ I2 ) ) ) ) ) ) ).

% map_of_zip_nth
thf(fact_4615_map__of__map,axiom,
    ! [B: $tType,C: $tType,A: $tType,F3: C > B,Xs: list @ ( product_prod @ A @ C )] :
      ( ( map_of @ A @ B
        @ ( map @ ( product_prod @ A @ C ) @ ( product_prod @ A @ B )
          @ ( product_case_prod @ A @ C @ ( product_prod @ A @ B )
            @ ^ [K3: A,V3: C] : ( product_Pair @ A @ B @ K3 @ ( F3 @ V3 ) ) )
          @ Xs ) )
      = ( comp @ ( option @ C ) @ ( option @ B ) @ A @ ( map_option @ C @ B @ F3 ) @ ( map_of @ A @ C @ Xs ) ) ) ).

% map_of_map
thf(fact_4616_set__map__of__compr,axiom,
    ! [B: $tType,A: $tType,Xs: list @ ( product_prod @ A @ B )] :
      ( ( distinct @ A @ ( map @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) @ Xs ) )
     => ( ( set2 @ ( product_prod @ A @ B ) @ Xs )
        = ( collect @ ( product_prod @ A @ B )
          @ ( product_case_prod @ A @ B @ $o
            @ ^ [K3: A,V3: B] :
                ( ( map_of @ A @ B @ Xs @ K3 )
                = ( some @ B @ V3 ) ) ) ) ) ) ).

% set_map_of_compr
thf(fact_4617_map__of__Some__filter__not__in,axiom,
    ! [B: $tType,A: $tType,Xs: list @ ( product_prod @ B @ A ),K2: B,V2: A,P2: ( product_prod @ B @ A ) > $o] :
      ( ( ( map_of @ B @ A @ Xs @ K2 )
        = ( some @ A @ V2 ) )
     => ( ~ ( P2 @ ( product_Pair @ B @ A @ K2 @ V2 ) )
       => ( ( distinct @ B @ ( map @ ( product_prod @ B @ A ) @ B @ ( product_fst @ B @ A ) @ Xs ) )
         => ( ( map_of @ B @ A @ ( filter2 @ ( product_prod @ B @ A ) @ P2 @ Xs ) @ K2 )
            = ( none @ A ) ) ) ) ) ).

% map_of_Some_filter_not_in
thf(fact_4618_partition__rev_Opelims,axiom,
    ! [A: $tType,X: A > $o,Xa: product_prod @ ( list @ A ) @ ( list @ A ),Xb: list @ A,Y: product_prod @ ( list @ A ) @ ( list @ A )] :
      ( ( ( partition_rev @ A @ X @ Xa @ Xb )
        = Y )
     => ( ( accp @ ( product_prod @ ( A > $o ) @ ( product_prod @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( list @ A ) ) ) @ ( partition_rev_rel @ A ) @ ( product_Pair @ ( A > $o ) @ ( product_prod @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( list @ A ) ) @ X @ ( product_Pair @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( list @ A ) @ Xa @ Xb ) ) )
       => ( ! [Yes: list @ A,No: list @ A] :
              ( ( Xa
                = ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Yes @ No ) )
             => ( ( Xb
                  = ( nil @ A ) )
               => ( ( Y
                    = ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Yes @ No ) )
                 => ~ ( accp @ ( product_prod @ ( A > $o ) @ ( product_prod @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( list @ A ) ) ) @ ( partition_rev_rel @ A ) @ ( product_Pair @ ( A > $o ) @ ( product_prod @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( list @ A ) ) @ X @ ( product_Pair @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( list @ A ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Yes @ No ) @ ( nil @ A ) ) ) ) ) ) )
         => ~ ! [Yes: list @ A,No: list @ A] :
                ( ( Xa
                  = ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Yes @ No ) )
               => ! [X3: A,Xs2: list @ A] :
                    ( ( Xb
                      = ( cons @ A @ X3 @ Xs2 ) )
                   => ( ( Y
                        = ( partition_rev @ A @ X @ ( if @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( X @ X3 ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( cons @ A @ X3 @ Yes ) @ No ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Yes @ ( cons @ A @ X3 @ No ) ) ) @ Xs2 ) )
                     => ~ ( accp @ ( product_prod @ ( A > $o ) @ ( product_prod @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( list @ A ) ) ) @ ( partition_rev_rel @ A ) @ ( product_Pair @ ( A > $o ) @ ( product_prod @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( list @ A ) ) @ X @ ( product_Pair @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( list @ A ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Yes @ No ) @ ( cons @ A @ X3 @ Xs2 ) ) ) ) ) ) ) ) ) ) ).

% partition_rev.pelims
thf(fact_4619_map__upds__append1,axiom,
    ! [B: $tType,A: $tType,Xs: list @ A,Ys3: list @ B,M: A > ( option @ B ),X: A] :
      ( ( ord_less @ nat @ ( size_size @ ( list @ A ) @ Xs ) @ ( size_size @ ( list @ B ) @ Ys3 ) )
     => ( ( map_upds @ A @ B @ M @ ( append @ A @ Xs @ ( cons @ A @ X @ ( nil @ A ) ) ) @ Ys3 )
        = ( fun_upd @ A @ ( option @ B ) @ ( map_upds @ A @ B @ M @ Xs @ Ys3 ) @ X @ ( some @ B @ ( nth @ B @ Ys3 @ ( size_size @ ( list @ A ) @ Xs ) ) ) ) ) ) ).

% map_upds_append1
thf(fact_4620_quicksort__by__rel_Oelims,axiom,
    ! [A: $tType,X: A > A > $o,Xa: list @ A,Xb: list @ A,Y: list @ A] :
      ( ( ( quicksort_by_rel @ A @ X @ Xa @ Xb )
        = Y )
     => ( ( ( Xb
            = ( nil @ A ) )
         => ( Y != Xa ) )
       => ~ ! [X3: A,Xs2: list @ A] :
              ( ( Xb
                = ( cons @ A @ X3 @ Xs2 ) )
             => ( Y
               != ( product_case_prod @ ( list @ A ) @ ( list @ A ) @ ( list @ A )
                  @ ^ [Xs_s: list @ A,Xs_b: list @ A] : ( quicksort_by_rel @ A @ X @ ( cons @ A @ X3 @ ( quicksort_by_rel @ A @ X @ Xa @ Xs_b ) ) @ Xs_s )
                  @ ( partition_rev @ A
                    @ ^ [Y4: A] : ( X @ Y4 @ X3 )
                    @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( nil @ A ) @ ( nil @ A ) )
                    @ Xs2 ) ) ) ) ) ) ).

% quicksort_by_rel.elims
thf(fact_4621_set__quicksort__by__rel,axiom,
    ! [A: $tType,R4: A > A > $o,Sl2: list @ A,Xs: list @ A] :
      ( ( set2 @ A @ ( quicksort_by_rel @ A @ R4 @ Sl2 @ Xs ) )
      = ( set2 @ A @ ( append @ A @ Xs @ Sl2 ) ) ) ).

% set_quicksort_by_rel
thf(fact_4622_quicksort__by__rel__permutes,axiom,
    ! [A: $tType,R4: A > A > $o,Sl2: list @ A,Xs: list @ A] :
      ( ( mset @ A @ ( quicksort_by_rel @ A @ R4 @ Sl2 @ Xs ) )
      = ( mset @ A @ ( append @ A @ Xs @ Sl2 ) ) ) ).

% quicksort_by_rel_permutes
thf(fact_4623_map__upds__list__update2__drop,axiom,
    ! [A: $tType,B: $tType,Xs: list @ A,I2: nat,M: A > ( option @ B ),Ys3: list @ B,Y: B] :
      ( ( ord_less_eq @ nat @ ( size_size @ ( list @ A ) @ Xs ) @ I2 )
     => ( ( map_upds @ A @ B @ M @ Xs @ ( list_update @ B @ Ys3 @ I2 @ Y ) )
        = ( map_upds @ A @ B @ M @ Xs @ Ys3 ) ) ) ).

% map_upds_list_update2_drop
thf(fact_4624_map__upds__Cons,axiom,
    ! [A: $tType,B: $tType,M: A > ( option @ B ),A3: A,As: list @ A,B2: B,Bs: list @ B] :
      ( ( map_upds @ A @ B @ M @ ( cons @ A @ A3 @ As ) @ ( cons @ B @ B2 @ Bs ) )
      = ( map_upds @ A @ B @ ( fun_upd @ A @ ( option @ B ) @ M @ A3 @ ( some @ B @ B2 ) ) @ As @ Bs ) ) ).

% map_upds_Cons
thf(fact_4625_map__upds__twist,axiom,
    ! [A: $tType,B: $tType,A3: A,As: list @ A,M: A > ( option @ B ),B2: B,Bs: list @ B] :
      ( ~ ( member @ A @ A3 @ ( set2 @ A @ As ) )
     => ( ( map_upds @ A @ B @ ( fun_upd @ A @ ( option @ B ) @ M @ A3 @ ( some @ B @ B2 ) ) @ As @ Bs )
        = ( fun_upd @ A @ ( option @ B ) @ ( map_upds @ A @ B @ M @ As @ Bs ) @ A3 @ ( some @ B @ B2 ) ) ) ) ).

% map_upds_twist
thf(fact_4626_quicksort__by__rel_Osimps_I1_J,axiom,
    ! [A: $tType,R4: A > A > $o,Sl2: list @ A] :
      ( ( quicksort_by_rel @ A @ R4 @ Sl2 @ ( nil @ A ) )
      = Sl2 ) ).

% quicksort_by_rel.simps(1)
thf(fact_4627_quicksort__by__rel__remove__acc,axiom,
    ! [A: $tType] :
      ( ( quicksort_by_rel @ A )
      = ( ^ [R2: A > A > $o,Sl3: list @ A,Xs3: list @ A] : ( append @ A @ ( quicksort_by_rel @ A @ R2 @ ( nil @ A ) @ Xs3 ) @ Sl3 ) ) ) ).

% quicksort_by_rel_remove_acc
thf(fact_4628_quicksort__by__rel__remove__acc__guared,axiom,
    ! [A: $tType,Sl2: list @ A,R4: A > A > $o,Xs: list @ A] :
      ( ( Sl2
       != ( nil @ A ) )
     => ( ( quicksort_by_rel @ A @ R4 @ Sl2 @ Xs )
        = ( append @ A @ ( quicksort_by_rel @ A @ R4 @ ( nil @ A ) @ Xs ) @ Sl2 ) ) ) ).

% quicksort_by_rel_remove_acc_guared
thf(fact_4629_sorted__wrt__quicksort__by__rel,axiom,
    ! [X14: $tType,R4: X14 > X14 > $o,Xs: list @ X14] :
      ( ! [X3: X14,Y3: X14] :
          ( ( R4 @ X3 @ Y3 )
          | ( R4 @ Y3 @ X3 ) )
     => ( ! [X3: X14,Y3: X14,Z3: X14] :
            ( ( R4 @ X3 @ Y3 )
           => ( ( R4 @ Y3 @ Z3 )
             => ( R4 @ X3 @ Z3 ) ) )
       => ( sorted_wrt @ X14 @ R4 @ ( quicksort_by_rel @ X14 @ R4 @ ( nil @ X14 ) @ Xs ) ) ) ) ).

% sorted_wrt_quicksort_by_rel
thf(fact_4630_map__upds__fold__map__upd,axiom,
    ! [B: $tType,A: $tType] :
      ( ( map_upds @ A @ B )
      = ( ^ [M3: A > ( option @ B ),Ks: list @ A,Vs3: list @ B] :
            ( foldl @ ( A > ( option @ B ) ) @ ( product_prod @ A @ B )
            @ ^ [N3: A > ( option @ B )] :
                ( product_case_prod @ A @ B @ ( A > ( option @ B ) )
                @ ^ [K3: A,V3: B] : ( fun_upd @ A @ ( option @ B ) @ N3 @ K3 @ ( some @ B @ V3 ) ) )
            @ M3
            @ ( zip @ A @ B @ Ks @ Vs3 ) ) ) ) ).

% map_upds_fold_map_upd
thf(fact_4631_sorted__quicksort__by__rel,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Xs: list @ A] : ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( quicksort_by_rel @ A @ ( ord_less_eq @ A ) @ ( nil @ A ) @ Xs ) ) ) ).

% sorted_quicksort_by_rel
thf(fact_4632_sort__quicksort__by__rel,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ( ( linorder_sort_key @ A @ A
          @ ^ [X4: A] : X4 )
        = ( quicksort_by_rel @ A @ ( ord_less_eq @ A ) @ ( nil @ A ) ) ) ) ).

% sort_quicksort_by_rel
thf(fact_4633_quicksort__by__rel_Osimps_I2_J,axiom,
    ! [A: $tType,R4: A > A > $o,Sl2: list @ A,X: A,Xs: list @ A] :
      ( ( quicksort_by_rel @ A @ R4 @ Sl2 @ ( cons @ A @ X @ Xs ) )
      = ( product_case_prod @ ( list @ A ) @ ( list @ A ) @ ( list @ A )
        @ ^ [Xs_s: list @ A,Xs_b: list @ A] : ( quicksort_by_rel @ A @ R4 @ ( cons @ A @ X @ ( quicksort_by_rel @ A @ R4 @ Sl2 @ Xs_b ) ) @ Xs_s )
        @ ( partition_rev @ A
          @ ^ [Y4: A] : ( R4 @ Y4 @ X )
          @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( nil @ A ) @ ( nil @ A ) )
          @ Xs ) ) ) ).

% quicksort_by_rel.simps(2)
thf(fact_4634_quicksort__by__rel_Opelims,axiom,
    ! [A: $tType,X: A > A > $o,Xa: list @ A,Xb: list @ A,Y: list @ A] :
      ( ( ( quicksort_by_rel @ A @ X @ Xa @ Xb )
        = Y )
     => ( ( accp @ ( product_prod @ ( A > A > $o ) @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) ) @ ( quicksort_by_rel_rel @ A ) @ ( product_Pair @ ( A > A > $o ) @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ X @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xa @ Xb ) ) )
       => ( ( ( Xb
              = ( nil @ A ) )
           => ( ( Y = Xa )
             => ~ ( accp @ ( product_prod @ ( A > A > $o ) @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) ) @ ( quicksort_by_rel_rel @ A ) @ ( product_Pair @ ( A > A > $o ) @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ X @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xa @ ( nil @ A ) ) ) ) ) )
         => ~ ! [X3: A,Xs2: list @ A] :
                ( ( Xb
                  = ( cons @ A @ X3 @ Xs2 ) )
               => ( ( Y
                    = ( product_case_prod @ ( list @ A ) @ ( list @ A ) @ ( list @ A )
                      @ ^ [Xs_s: list @ A,Xs_b: list @ A] : ( quicksort_by_rel @ A @ X @ ( cons @ A @ X3 @ ( quicksort_by_rel @ A @ X @ Xa @ Xs_b ) ) @ Xs_s )
                      @ ( partition_rev @ A
                        @ ^ [Y4: A] : ( X @ Y4 @ X3 )
                        @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( nil @ A ) @ ( nil @ A ) )
                        @ Xs2 ) ) )
                 => ~ ( accp @ ( product_prod @ ( A > A > $o ) @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) ) @ ( quicksort_by_rel_rel @ A ) @ ( product_Pair @ ( A > A > $o ) @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ X @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xa @ ( cons @ A @ X3 @ Xs2 ) ) ) ) ) ) ) ) ) ).

% quicksort_by_rel.pelims
thf(fact_4635_quicksort__by__rel_Opsimps_I2_J,axiom,
    ! [A: $tType,R4: A > A > $o,Sl2: list @ A,X: A,Xs: list @ A] :
      ( ( accp @ ( product_prod @ ( A > A > $o ) @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) ) @ ( quicksort_by_rel_rel @ A ) @ ( product_Pair @ ( A > A > $o ) @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ R4 @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Sl2 @ ( cons @ A @ X @ Xs ) ) ) )
     => ( ( quicksort_by_rel @ A @ R4 @ Sl2 @ ( cons @ A @ X @ Xs ) )
        = ( product_case_prod @ ( list @ A ) @ ( list @ A ) @ ( list @ A )
          @ ^ [Xs_s: list @ A,Xs_b: list @ A] : ( quicksort_by_rel @ A @ R4 @ ( cons @ A @ X @ ( quicksort_by_rel @ A @ R4 @ Sl2 @ Xs_b ) ) @ Xs_s )
          @ ( partition_rev @ A
            @ ^ [Y4: A] : ( R4 @ Y4 @ X )
            @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( nil @ A ) @ ( nil @ A ) )
            @ Xs ) ) ) ) ).

% quicksort_by_rel.psimps(2)
thf(fact_4636_quicksort__by__rel_Opinduct,axiom,
    ! [A: $tType,A0: A > A > $o,A1: list @ A,A22: list @ A,P2: ( A > A > $o ) > ( list @ A ) > ( list @ A ) > $o] :
      ( ( accp @ ( product_prod @ ( A > A > $o ) @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) ) @ ( quicksort_by_rel_rel @ A ) @ ( product_Pair @ ( A > A > $o ) @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ A0 @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ A1 @ A22 ) ) )
     => ( ! [R8: A > A > $o,Sl: list @ A] :
            ( ( accp @ ( product_prod @ ( A > A > $o ) @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) ) @ ( quicksort_by_rel_rel @ A ) @ ( product_Pair @ ( A > A > $o ) @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ R8 @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Sl @ ( nil @ A ) ) ) )
           => ( P2 @ R8 @ Sl @ ( nil @ A ) ) )
       => ( ! [R8: A > A > $o,Sl: list @ A,X3: A,Xs2: list @ A] :
              ( ( accp @ ( product_prod @ ( A > A > $o ) @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) ) @ ( quicksort_by_rel_rel @ A ) @ ( product_Pair @ ( A > A > $o ) @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ R8 @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Sl @ ( cons @ A @ X3 @ Xs2 ) ) ) )
             => ( ! [Xa3: product_prod @ ( list @ A ) @ ( list @ A ),Xb2: list @ A,Y5: list @ A] :
                    ( ( Xa3
                      = ( partition_rev @ A
                        @ ^ [Z2: A] : ( R8 @ Z2 @ X3 )
                        @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( nil @ A ) @ ( nil @ A ) )
                        @ Xs2 ) )
                   => ( ( ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xb2 @ Y5 )
                        = Xa3 )
                     => ( P2 @ R8 @ Sl @ Y5 ) ) )
               => ( ! [Xa3: product_prod @ ( list @ A ) @ ( list @ A ),Xb2: list @ A,Y5: list @ A] :
                      ( ( Xa3
                        = ( partition_rev @ A
                          @ ^ [Z2: A] : ( R8 @ Z2 @ X3 )
                          @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( nil @ A ) @ ( nil @ A ) )
                          @ Xs2 ) )
                     => ( ( ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xb2 @ Y5 )
                          = Xa3 )
                       => ( P2 @ R8 @ ( cons @ A @ X3 @ ( quicksort_by_rel @ A @ R8 @ Sl @ Y5 ) ) @ Xb2 ) ) )
                 => ( P2 @ R8 @ Sl @ ( cons @ A @ X3 @ Xs2 ) ) ) ) )
         => ( P2 @ A0 @ A1 @ A22 ) ) ) ) ).

% quicksort_by_rel.pinduct
thf(fact_4637_quicksort__by__rel_Opsimps_I1_J,axiom,
    ! [A: $tType,R4: A > A > $o,Sl2: list @ A] :
      ( ( accp @ ( product_prod @ ( A > A > $o ) @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) ) @ ( quicksort_by_rel_rel @ A ) @ ( product_Pair @ ( A > A > $o ) @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ R4 @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Sl2 @ ( nil @ A ) ) ) )
     => ( ( quicksort_by_rel @ A @ R4 @ Sl2 @ ( nil @ A ) )
        = Sl2 ) ) ).

% quicksort_by_rel.psimps(1)
thf(fact_4638_graph__map__upd,axiom,
    ! [A: $tType,B: $tType,M: A > ( option @ B ),K2: A,V2: B] :
      ( ( graph @ A @ B @ ( fun_upd @ A @ ( option @ B ) @ M @ K2 @ ( some @ B @ V2 ) ) )
      = ( insert @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ K2 @ V2 ) @ ( graph @ A @ B @ ( fun_upd @ A @ ( option @ B ) @ M @ K2 @ ( none @ B ) ) ) ) ) ).

% graph_map_upd
thf(fact_4639_map__of__distinct__upd,axiom,
    ! [A: $tType,B: $tType,X: A,Xs: list @ ( product_prod @ A @ B ),Y: B] :
      ( ~ ( member @ A @ X @ ( set2 @ A @ ( map @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) @ Xs ) ) )
     => ( ( map_add @ A @ B
          @ ( fun_upd @ A @ ( option @ B )
            @ ^ [X4: A] : ( none @ B )
            @ X
            @ ( some @ B @ Y ) )
          @ ( map_of @ A @ B @ Xs ) )
        = ( fun_upd @ A @ ( option @ B ) @ ( map_of @ A @ B @ Xs ) @ X @ ( some @ B @ Y ) ) ) ) ).

% map_of_distinct_upd
thf(fact_4640_insert__relcomp__union__fold,axiom,
    ! [C: $tType,B: $tType,A: $tType,S: set @ ( product_prod @ A @ B ),X: product_prod @ C @ A,X7: set @ ( product_prod @ C @ B )] :
      ( ( finite_finite2 @ ( product_prod @ A @ B ) @ S )
     => ( ( sup_sup @ ( set @ ( product_prod @ C @ B ) ) @ ( relcomp @ C @ A @ B @ ( insert @ ( product_prod @ C @ A ) @ X @ ( bot_bot @ ( set @ ( product_prod @ C @ A ) ) ) ) @ S ) @ X7 )
        = ( finite_fold @ ( product_prod @ A @ B ) @ ( set @ ( product_prod @ C @ B ) )
          @ ( product_case_prod @ A @ B @ ( ( set @ ( product_prod @ C @ B ) ) > ( set @ ( product_prod @ C @ B ) ) )
            @ ^ [W3: A,Z2: B,A15: set @ ( product_prod @ C @ B )] :
                ( if @ ( set @ ( product_prod @ C @ B ) )
                @ ( ( product_snd @ C @ A @ X )
                  = W3 )
                @ ( insert @ ( product_prod @ C @ B ) @ ( product_Pair @ C @ B @ ( product_fst @ C @ A @ X ) @ Z2 ) @ A15 )
                @ A15 ) )
          @ X7
          @ S ) ) ) ).

% insert_relcomp_union_fold
thf(fact_4641_map__add__find__right,axiom,
    ! [B: $tType,A: $tType,N: B > ( option @ A ),K2: B,Xx: A,M: B > ( option @ A )] :
      ( ( ( N @ K2 )
        = ( some @ A @ Xx ) )
     => ( ( map_add @ B @ A @ M @ N @ K2 )
        = ( some @ A @ Xx ) ) ) ).

% map_add_find_right
thf(fact_4642_empty__eq__map__add__iff,axiom,
    ! [B: $tType,A: $tType,F3: A > ( option @ B ),G3: A > ( option @ B )] :
      ( ( ( ^ [X4: A] : ( none @ B ) )
        = ( map_add @ A @ B @ F3 @ G3 ) )
      = ( ( F3
          = ( ^ [X4: A] : ( none @ B ) ) )
        & ( G3
          = ( ^ [X4: A] : ( none @ B ) ) ) ) ) ).

% empty_eq_map_add_iff
thf(fact_4643_map__add__empty,axiom,
    ! [B: $tType,A: $tType,M: A > ( option @ B )] :
      ( ( map_add @ A @ B @ M
        @ ^ [X4: A] : ( none @ B ) )
      = M ) ).

% map_add_empty
thf(fact_4644_empty__map__add,axiom,
    ! [B: $tType,A: $tType,M: A > ( option @ B )] :
      ( ( map_add @ A @ B
        @ ^ [X4: A] : ( none @ B )
        @ M )
      = M ) ).

% empty_map_add
thf(fact_4645_map__add__upd,axiom,
    ! [A: $tType,B: $tType,F3: A > ( option @ B ),G3: A > ( option @ B ),X: A,Y: B] :
      ( ( map_add @ A @ B @ F3 @ ( fun_upd @ A @ ( option @ B ) @ G3 @ X @ ( some @ B @ Y ) ) )
      = ( fun_upd @ A @ ( option @ B ) @ ( map_add @ A @ B @ F3 @ G3 ) @ X @ ( some @ B @ Y ) ) ) ).

% map_add_upd
thf(fact_4646_graph__empty,axiom,
    ! [B: $tType,A: $tType] :
      ( ( graph @ A @ B
        @ ^ [X4: A] : ( none @ B ) )
      = ( bot_bot @ ( set @ ( product_prod @ A @ B ) ) ) ) ).

% graph_empty
thf(fact_4647_map__add__left__None,axiom,
    ! [A: $tType,B: $tType,F3: B > ( option @ A ),K2: B,G3: B > ( option @ A )] :
      ( ( ( F3 @ K2 )
        = ( none @ A ) )
     => ( ( map_add @ B @ A @ F3 @ G3 @ K2 )
        = ( G3 @ K2 ) ) ) ).

% map_add_left_None
thf(fact_4648_map__add__find__left,axiom,
    ! [A: $tType,B: $tType,G3: B > ( option @ A ),K2: B,F3: B > ( option @ A )] :
      ( ( ( G3 @ K2 )
        = ( none @ A ) )
     => ( ( map_add @ B @ A @ F3 @ G3 @ K2 )
        = ( F3 @ K2 ) ) ) ).

% map_add_find_left
thf(fact_4649_map__add__first__le,axiom,
    ! [B: $tType,A: $tType] :
      ( ( order @ B )
     => ! [M: A > ( option @ B ),M8: A > ( option @ B ),N: A > ( option @ B )] :
          ( ( ord_less_eq @ ( A > ( option @ B ) ) @ M @ M8 )
         => ( ord_less_eq @ ( A > ( option @ B ) ) @ ( map_add @ A @ B @ M @ N ) @ ( map_add @ A @ B @ M8 @ N ) ) ) ) ).

% map_add_first_le
thf(fact_4650_map__add__SomeD,axiom,
    ! [B: $tType,A: $tType,M: B > ( option @ A ),N: B > ( option @ A ),K2: B,X: A] :
      ( ( ( map_add @ B @ A @ M @ N @ K2 )
        = ( some @ A @ X ) )
     => ( ( ( N @ K2 )
          = ( some @ A @ X ) )
        | ( ( ( N @ K2 )
            = ( none @ A ) )
          & ( ( M @ K2 )
            = ( some @ A @ X ) ) ) ) ) ).

% map_add_SomeD
thf(fact_4651_map__add__Some__iff,axiom,
    ! [B: $tType,A: $tType,M: B > ( option @ A ),N: B > ( option @ A ),K2: B,X: A] :
      ( ( ( map_add @ B @ A @ M @ N @ K2 )
        = ( some @ A @ X ) )
      = ( ( ( N @ K2 )
          = ( some @ A @ X ) )
        | ( ( ( N @ K2 )
            = ( none @ A ) )
          & ( ( M @ K2 )
            = ( some @ A @ X ) ) ) ) ) ).

% map_add_Some_iff
thf(fact_4652_in__graphD,axiom,
    ! [A: $tType,B: $tType,K2: A,V2: B,M: A > ( option @ B )] :
      ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ K2 @ V2 ) @ ( graph @ A @ B @ M ) )
     => ( ( M @ K2 )
        = ( some @ B @ V2 ) ) ) ).

% in_graphD
thf(fact_4653_in__graphI,axiom,
    ! [A: $tType,B: $tType,M: B > ( option @ A ),K2: B,V2: A] :
      ( ( ( M @ K2 )
        = ( some @ A @ V2 ) )
     => ( member @ ( product_prod @ B @ A ) @ ( product_Pair @ B @ A @ K2 @ V2 ) @ ( graph @ B @ A @ M ) ) ) ).

% in_graphI
thf(fact_4654_map__add__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( map_add @ A @ B )
      = ( ^ [M1: A > ( option @ B ),M22: A > ( option @ B ),X4: A] : ( case_option @ ( option @ B ) @ B @ ( M1 @ X4 ) @ ( some @ B ) @ ( M22 @ X4 ) ) ) ) ).

% map_add_def
thf(fact_4655_union__fold__insert,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( sup_sup @ ( set @ A ) @ A6 @ B6 )
        = ( finite_fold @ A @ ( set @ A ) @ ( insert @ A ) @ B6 @ A6 ) ) ) ).

% union_fold_insert
thf(fact_4656_sum_Oeq__fold,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ( ( groups7311177749621191930dd_sum @ B @ A )
        = ( ^ [G4: B > A] : ( finite_fold @ B @ A @ ( comp @ A @ ( A > A ) @ B @ ( plus_plus @ A ) @ G4 ) @ ( zero_zero @ A ) ) ) ) ) ).

% sum.eq_fold
thf(fact_4657_map__add__map__of__foldr,axiom,
    ! [B: $tType,A: $tType,M: A > ( option @ B ),Ps: list @ ( product_prod @ A @ B )] :
      ( ( map_add @ A @ B @ M @ ( map_of @ A @ B @ Ps ) )
      = ( foldr @ ( product_prod @ A @ B ) @ ( A > ( option @ B ) )
        @ ( product_case_prod @ A @ B @ ( ( A > ( option @ B ) ) > A > ( option @ B ) )
          @ ^ [K3: A,V3: B,M3: A > ( option @ B )] : ( fun_upd @ A @ ( option @ B ) @ M3 @ K3 @ ( some @ B @ V3 ) ) )
        @ Ps
        @ M ) ) ).

% map_add_map_of_foldr
thf(fact_4658_relcomp__fold,axiom,
    ! [C: $tType,B: $tType,A: $tType,R4: set @ ( product_prod @ A @ B ),S: set @ ( product_prod @ B @ C )] :
      ( ( finite_finite2 @ ( product_prod @ A @ B ) @ R4 )
     => ( ( finite_finite2 @ ( product_prod @ B @ C ) @ S )
       => ( ( relcomp @ A @ B @ C @ R4 @ S )
          = ( finite_fold @ ( product_prod @ A @ B ) @ ( set @ ( product_prod @ A @ C ) )
            @ ( product_case_prod @ A @ B @ ( ( set @ ( product_prod @ A @ C ) ) > ( set @ ( product_prod @ A @ C ) ) )
              @ ^ [X4: A,Y4: B,A8: set @ ( product_prod @ A @ C )] :
                  ( finite_fold @ ( product_prod @ B @ C ) @ ( set @ ( product_prod @ A @ C ) )
                  @ ( product_case_prod @ B @ C @ ( ( set @ ( product_prod @ A @ C ) ) > ( set @ ( product_prod @ A @ C ) ) )
                    @ ^ [W3: B,Z2: C,A15: set @ ( product_prod @ A @ C )] : ( if @ ( set @ ( product_prod @ A @ C ) ) @ ( Y4 = W3 ) @ ( insert @ ( product_prod @ A @ C ) @ ( product_Pair @ A @ C @ X4 @ Z2 ) @ A15 ) @ A15 ) )
                  @ A8
                  @ S ) )
            @ ( bot_bot @ ( set @ ( product_prod @ A @ C ) ) )
            @ R4 ) ) ) ) ).

% relcomp_fold
thf(fact_4659_graph__fun__upd__None,axiom,
    ! [B: $tType,A: $tType,M: A > ( option @ B ),K2: A] :
      ( ( graph @ A @ B @ ( fun_upd @ A @ ( option @ B ) @ M @ K2 @ ( none @ B ) ) )
      = ( collect @ ( product_prod @ A @ B )
        @ ^ [E4: product_prod @ A @ B] :
            ( ( member @ ( product_prod @ A @ B ) @ E4 @ ( graph @ A @ B @ M ) )
            & ( ( product_fst @ A @ B @ E4 )
             != K2 ) ) ) ) ).

% graph_fun_upd_None
thf(fact_4660_map__of__concat,axiom,
    ! [B: $tType,A: $tType,Xss: list @ ( list @ ( product_prod @ A @ B ) )] :
      ( ( map_of @ A @ B @ ( concat @ ( product_prod @ A @ B ) @ Xss ) )
      = ( foldr @ ( list @ ( product_prod @ A @ B ) ) @ ( A > ( option @ B ) )
        @ ^ [Xs3: list @ ( product_prod @ A @ B ),F4: A > ( option @ B )] : ( map_add @ A @ B @ F4 @ ( map_of @ A @ B @ Xs3 ) )
        @ Xss
        @ ^ [X4: A] : ( none @ B ) ) ) ).

% map_of_concat
thf(fact_4661_insert__relcomp__fold,axiom,
    ! [C: $tType,B: $tType,A: $tType,S: set @ ( product_prod @ A @ B ),X: product_prod @ C @ A,R4: set @ ( product_prod @ C @ A )] :
      ( ( finite_finite2 @ ( product_prod @ A @ B ) @ S )
     => ( ( relcomp @ C @ A @ B @ ( insert @ ( product_prod @ C @ A ) @ X @ R4 ) @ S )
        = ( finite_fold @ ( product_prod @ A @ B ) @ ( set @ ( product_prod @ C @ B ) )
          @ ( product_case_prod @ A @ B @ ( ( set @ ( product_prod @ C @ B ) ) > ( set @ ( product_prod @ C @ B ) ) )
            @ ^ [W3: A,Z2: B,A15: set @ ( product_prod @ C @ B )] :
                ( if @ ( set @ ( product_prod @ C @ B ) )
                @ ( ( product_snd @ C @ A @ X )
                  = W3 )
                @ ( insert @ ( product_prod @ C @ B ) @ ( product_Pair @ C @ B @ ( product_fst @ C @ A @ X ) @ Z2 ) @ A15 )
                @ A15 ) )
          @ ( relcomp @ C @ A @ B @ R4 @ S )
          @ S ) ) ) ).

% insert_relcomp_fold
thf(fact_4662_Set__filter__fold,axiom,
    ! [A: $tType,A6: set @ A,P2: A > $o] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( filter3 @ A @ P2 @ A6 )
        = ( finite_fold @ A @ ( set @ A )
          @ ^ [X4: A,A15: set @ A] : ( if @ ( set @ A ) @ ( P2 @ X4 ) @ ( insert @ A @ X4 @ A15 ) @ A15 )
          @ ( bot_bot @ ( set @ A ) )
          @ A6 ) ) ) ).

% Set_filter_fold
thf(fact_4663_comp__fun__commute__relcomp__fold,axiom,
    ! [A: $tType,B: $tType,C: $tType,S: set @ ( product_prod @ A @ B )] :
      ( ( finite_finite2 @ ( product_prod @ A @ B ) @ S )
     => ( finite6289374366891150609ommute @ ( product_prod @ C @ A ) @ ( set @ ( product_prod @ C @ B ) )
        @ ( product_case_prod @ C @ A @ ( ( set @ ( product_prod @ C @ B ) ) > ( set @ ( product_prod @ C @ B ) ) )
          @ ^ [X4: C,Y4: A,A8: set @ ( product_prod @ C @ B )] :
              ( finite_fold @ ( product_prod @ A @ B ) @ ( set @ ( product_prod @ C @ B ) )
              @ ( product_case_prod @ A @ B @ ( ( set @ ( product_prod @ C @ B ) ) > ( set @ ( product_prod @ C @ B ) ) )
                @ ^ [W3: A,Z2: B,A15: set @ ( product_prod @ C @ B )] : ( if @ ( set @ ( product_prod @ C @ B ) ) @ ( Y4 = W3 ) @ ( insert @ ( product_prod @ C @ B ) @ ( product_Pair @ C @ B @ X4 @ Z2 ) @ A15 ) @ A15 ) )
              @ A8
              @ S ) ) ) ) ).

% comp_fun_commute_relcomp_fold
thf(fact_4664_Id__on__fold,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( id_on @ A @ A6 )
        = ( finite_fold @ A @ ( set @ ( product_prod @ A @ A ) )
          @ ^ [X4: A] : ( insert @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X4 @ X4 ) )
          @ ( bot_bot @ ( set @ ( product_prod @ A @ A ) ) )
          @ A6 ) ) ) ).

% Id_on_fold
thf(fact_4665_member__filter,axiom,
    ! [A: $tType,X: A,P2: A > $o,A6: set @ A] :
      ( ( member @ A @ X @ ( filter3 @ A @ P2 @ A6 ) )
      = ( ( member @ A @ X @ A6 )
        & ( P2 @ X ) ) ) ).

% member_filter
thf(fact_4666_Id__onI,axiom,
    ! [A: $tType,A3: A,A6: set @ A] :
      ( ( member @ A @ A3 @ A6 )
     => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ A3 ) @ ( id_on @ A @ A6 ) ) ) ).

% Id_onI
thf(fact_4667_Set_Ofilter__def,axiom,
    ! [A: $tType] :
      ( ( filter3 @ A )
      = ( ^ [P5: A > $o,A8: set @ A] :
            ( collect @ A
            @ ^ [A7: A] :
                ( ( member @ A @ A7 @ A8 )
                & ( P5 @ A7 ) ) ) ) ) ).

% Set.filter_def
thf(fact_4668_comp__fun__commute__const,axiom,
    ! [B: $tType,A: $tType,F3: B > B] :
      ( finite6289374366891150609ommute @ A @ B
      @ ^ [Uu2: A] : F3 ) ).

% comp_fun_commute_const
thf(fact_4669_Id__on__iff,axiom,
    ! [A: $tType,X: A,Y: A,A6: set @ A] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ ( id_on @ A @ A6 ) )
      = ( ( X = Y )
        & ( member @ A @ X @ A6 ) ) ) ).

% Id_on_iff
thf(fact_4670_Id__on__eqI,axiom,
    ! [A: $tType,A3: A,B2: A,A6: set @ A] :
      ( ( A3 = B2 )
     => ( ( member @ A @ A3 @ A6 )
       => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ ( id_on @ A @ A6 ) ) ) ) ).

% Id_on_eqI
thf(fact_4671_Id__onE,axiom,
    ! [A: $tType,C3: product_prod @ A @ A,A6: set @ A] :
      ( ( member @ ( product_prod @ A @ A ) @ C3 @ ( id_on @ A @ A6 ) )
     => ~ ! [X3: A] :
            ( ( member @ A @ X3 @ A6 )
           => ( C3
             != ( product_Pair @ A @ A @ X3 @ X3 ) ) ) ) ).

% Id_onE
thf(fact_4672_comp__fun__commute__filter__fold,axiom,
    ! [A: $tType,P2: A > $o] :
      ( finite6289374366891150609ommute @ A @ ( set @ A )
      @ ^ [X4: A,A15: set @ A] : ( if @ ( set @ A ) @ ( P2 @ X4 ) @ ( insert @ A @ X4 @ A15 ) @ A15 ) ) ).

% comp_fun_commute_filter_fold
thf(fact_4673_Id__on__def_H,axiom,
    ! [A: $tType,A6: A > $o] :
      ( ( id_on @ A @ ( collect @ A @ A6 ) )
      = ( collect @ ( product_prod @ A @ A )
        @ ( product_case_prod @ A @ A @ $o
          @ ^ [X4: A,Y4: A] :
              ( ( X4 = Y4 )
              & ( A6 @ X4 ) ) ) ) ) ).

% Id_on_def'
thf(fact_4674_comp__fun__commute_Ocomp__fun__commute__funpow,axiom,
    ! [B: $tType,A: $tType,F3: A > B > B,G3: A > nat] :
      ( ( finite6289374366891150609ommute @ A @ B @ F3 )
     => ( finite6289374366891150609ommute @ A @ B
        @ ^ [X4: A] : ( compow @ ( B > B ) @ ( G3 @ X4 ) @ ( F3 @ X4 ) ) ) ) ).

% comp_fun_commute.comp_fun_commute_funpow
thf(fact_4675_comp__fun__commute_Ofoldl__f__commute,axiom,
    ! [B: $tType,A: $tType,F3: A > B > B,A3: A,B2: B,Xs: list @ A] :
      ( ( finite6289374366891150609ommute @ A @ B @ F3 )
     => ( ( F3 @ A3
          @ ( foldl @ B @ A
            @ ^ [A7: B,B5: A] : ( F3 @ B5 @ A7 )
            @ B2
            @ Xs ) )
        = ( foldl @ B @ A
          @ ^ [A7: B,B5: A] : ( F3 @ B5 @ A7 )
          @ ( F3 @ A3 @ B2 )
          @ Xs ) ) ) ).

% comp_fun_commute.foldl_f_commute
thf(fact_4676_card_Oeq__fold,axiom,
    ! [A: $tType] :
      ( ( finite_card @ A )
      = ( finite_fold @ A @ nat
        @ ^ [Uu2: A] : suc
        @ ( zero_zero @ nat ) ) ) ).

% card.eq_fold
thf(fact_4677_sorted__list__of__set_Ofold__insort__key_Oeq__fold,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ( ( linord4507533701916653071of_set @ A )
        = ( finite_fold @ A @ ( list @ A )
          @ ( linorder_insort_key @ A @ A
            @ ^ [X4: A] : X4 )
          @ ( nil @ A ) ) ) ) ).

% sorted_list_of_set.fold_insort_key.eq_fold
thf(fact_4678_comp__fun__commute_Ofoldr__conv__foldl,axiom,
    ! [B: $tType,A: $tType,F3: A > B > B,Xs: list @ A,A3: B] :
      ( ( finite6289374366891150609ommute @ A @ B @ F3 )
     => ( ( foldr @ A @ B @ F3 @ Xs @ A3 )
        = ( foldl @ B @ A
          @ ^ [A7: B,B5: A] : ( F3 @ B5 @ A7 )
          @ A3
          @ Xs ) ) ) ).

% comp_fun_commute.foldr_conv_foldl
thf(fact_4679_comp__fun__commute__Image__fold,axiom,
    ! [B: $tType,A: $tType,S: set @ A] :
      ( finite6289374366891150609ommute @ ( product_prod @ A @ B ) @ ( set @ B )
      @ ( product_case_prod @ A @ B @ ( ( set @ B ) > ( set @ B ) )
        @ ^ [X4: A,Y4: B,A8: set @ B] : ( if @ ( set @ B ) @ ( member @ A @ X4 @ S ) @ ( insert @ B @ Y4 @ A8 ) @ A8 ) ) ) ).

% comp_fun_commute_Image_fold
thf(fact_4680_inter__Set__filter,axiom,
    ! [A: $tType,B6: set @ A,A6: set @ A] :
      ( ( finite_finite2 @ A @ B6 )
     => ( ( inf_inf @ ( set @ A ) @ A6 @ B6 )
        = ( filter3 @ A
          @ ^ [X4: A] : ( member @ A @ X4 @ A6 )
          @ B6 ) ) ) ).

% inter_Set_filter
thf(fact_4681_comp__fun__commute__product__fold,axiom,
    ! [A: $tType,B: $tType,B6: set @ A] :
      ( ( finite_finite2 @ A @ B6 )
     => ( finite6289374366891150609ommute @ B @ ( set @ ( product_prod @ B @ A ) )
        @ ^ [X4: B,Z2: set @ ( product_prod @ B @ A )] :
            ( finite_fold @ A @ ( set @ ( product_prod @ B @ A ) )
            @ ^ [Y4: A] : ( insert @ ( product_prod @ B @ A ) @ ( product_Pair @ B @ A @ X4 @ Y4 ) )
            @ Z2
            @ B6 ) ) ) ).

% comp_fun_commute_product_fold
thf(fact_4682_Id__on__set,axiom,
    ! [A: $tType,Xs: list @ A] :
      ( ( id_on @ A @ ( set2 @ A @ Xs ) )
      = ( set2 @ ( product_prod @ A @ A )
        @ ( map @ A @ ( product_prod @ A @ A )
          @ ^ [X4: A] : ( product_Pair @ A @ A @ X4 @ X4 )
          @ Xs ) ) ) ).

% Id_on_set
thf(fact_4683_Misc_Oran__distinct,axiom,
    ! [B: $tType,A: $tType,Al: list @ ( product_prod @ A @ B )] :
      ( ( distinct @ A @ ( map @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) @ Al ) )
     => ( ( ran @ A @ B @ ( map_of @ A @ B @ Al ) )
        = ( image2 @ ( product_prod @ A @ B ) @ B @ ( product_snd @ A @ B ) @ ( set2 @ ( product_prod @ A @ B ) @ Al ) ) ) ) ).

% Misc.ran_distinct
thf(fact_4684_comp__fun__commute__on_Ofold__set__union__disj,axiom,
    ! [B: $tType,A: $tType,S: set @ A,F3: A > B > B,A6: set @ A,B6: set @ A,Z4: B] :
      ( ( finite4664212375090638736ute_on @ A @ B @ S @ F3 )
     => ( ( ord_less_eq @ ( set @ A ) @ A6 @ S )
       => ( ( ord_less_eq @ ( set @ A ) @ B6 @ S )
         => ( ( finite_finite2 @ A @ A6 )
           => ( ( finite_finite2 @ A @ B6 )
             => ( ( ( inf_inf @ ( set @ A ) @ A6 @ B6 )
                  = ( bot_bot @ ( set @ A ) ) )
               => ( ( finite_fold @ A @ B @ F3 @ Z4 @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) )
                  = ( finite_fold @ A @ B @ F3 @ ( finite_fold @ A @ B @ F3 @ Z4 @ A6 ) @ B6 ) ) ) ) ) ) ) ) ).

% comp_fun_commute_on.fold_set_union_disj
thf(fact_4685_comp__fun__commute__on_Ofold__insert__remove,axiom,
    ! [B: $tType,A: $tType,S: set @ A,F3: A > B > B,X: A,A6: set @ A,Z4: B] :
      ( ( finite4664212375090638736ute_on @ A @ B @ S @ F3 )
     => ( ( ord_less_eq @ ( set @ A ) @ ( insert @ A @ X @ A6 ) @ S )
       => ( ( finite_finite2 @ A @ A6 )
         => ( ( finite_fold @ A @ B @ F3 @ Z4 @ ( insert @ A @ X @ A6 ) )
            = ( F3 @ X @ ( finite_fold @ A @ B @ F3 @ Z4 @ ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ) ) ) ) ).

% comp_fun_commute_on.fold_insert_remove
thf(fact_4686_image__eqI,axiom,
    ! [A: $tType,B: $tType,B2: A,F3: B > A,X: B,A6: set @ B] :
      ( ( B2
        = ( F3 @ X ) )
     => ( ( member @ B @ X @ A6 )
       => ( member @ A @ B2 @ ( image2 @ B @ A @ F3 @ A6 ) ) ) ) ).

% image_eqI
thf(fact_4687_image__ident,axiom,
    ! [A: $tType,Y7: set @ A] :
      ( ( image2 @ A @ A
        @ ^ [X4: A] : X4
        @ Y7 )
      = Y7 ) ).

% image_ident
thf(fact_4688_image__empty,axiom,
    ! [B: $tType,A: $tType,F3: B > A] :
      ( ( image2 @ B @ A @ F3 @ ( bot_bot @ ( set @ B ) ) )
      = ( bot_bot @ ( set @ A ) ) ) ).

% image_empty
thf(fact_4689_empty__is__image,axiom,
    ! [A: $tType,B: $tType,F3: B > A,A6: set @ B] :
      ( ( ( bot_bot @ ( set @ A ) )
        = ( image2 @ B @ A @ F3 @ A6 ) )
      = ( A6
        = ( bot_bot @ ( set @ B ) ) ) ) ).

% empty_is_image
thf(fact_4690_image__is__empty,axiom,
    ! [A: $tType,B: $tType,F3: B > A,A6: set @ B] :
      ( ( ( image2 @ B @ A @ F3 @ A6 )
        = ( bot_bot @ ( set @ A ) ) )
      = ( A6
        = ( bot_bot @ ( set @ B ) ) ) ) ).

% image_is_empty
thf(fact_4691_image__insert,axiom,
    ! [A: $tType,B: $tType,F3: B > A,A3: B,B6: set @ B] :
      ( ( image2 @ B @ A @ F3 @ ( insert @ B @ A3 @ B6 ) )
      = ( insert @ A @ ( F3 @ A3 ) @ ( image2 @ B @ A @ F3 @ B6 ) ) ) ).

% image_insert
thf(fact_4692_insert__image,axiom,
    ! [B: $tType,A: $tType,X: A,A6: set @ A,F3: A > B] :
      ( ( member @ A @ X @ A6 )
     => ( ( insert @ B @ ( F3 @ X ) @ ( image2 @ A @ B @ F3 @ A6 ) )
        = ( image2 @ A @ B @ F3 @ A6 ) ) ) ).

% insert_image
thf(fact_4693_image__update,axiom,
    ! [B: $tType,A: $tType,X: A,A6: set @ A,F3: A > B,N: B] :
      ( ~ ( member @ A @ X @ A6 )
     => ( ( image2 @ A @ B @ ( fun_upd @ A @ B @ F3 @ X @ N ) @ A6 )
        = ( image2 @ A @ B @ F3 @ A6 ) ) ) ).

% image_update
thf(fact_4694_image__add__0,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [S: set @ A] :
          ( ( image2 @ A @ A @ ( plus_plus @ A @ ( zero_zero @ A ) ) @ S )
          = S ) ) ).

% image_add_0
thf(fact_4695_image__add__atLeastAtMost,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [K2: A,I2: A,J2: A] :
          ( ( image2 @ A @ A @ ( plus_plus @ A @ K2 ) @ ( set_or1337092689740270186AtMost @ A @ I2 @ J2 ) )
          = ( set_or1337092689740270186AtMost @ A @ ( plus_plus @ A @ I2 @ K2 ) @ ( plus_plus @ A @ J2 @ K2 ) ) ) ) ).

% image_add_atLeastAtMost
thf(fact_4696_image__add__atLeastLessThan,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [K2: A,I2: A,J2: A] :
          ( ( image2 @ A @ A @ ( plus_plus @ A @ K2 ) @ ( set_or7035219750837199246ssThan @ A @ I2 @ J2 ) )
          = ( set_or7035219750837199246ssThan @ A @ ( plus_plus @ A @ I2 @ K2 ) @ ( plus_plus @ A @ J2 @ K2 ) ) ) ) ).

% image_add_atLeastLessThan
thf(fact_4697_image__add__atMost,axiom,
    ! [A: $tType] :
      ( ( ordered_ab_group_add @ A )
     => ! [C3: A,A3: A] :
          ( ( image2 @ A @ A @ ( plus_plus @ A @ C3 ) @ ( set_ord_atMost @ A @ A3 ) )
          = ( set_ord_atMost @ A @ ( plus_plus @ A @ C3 @ A3 ) ) ) ) ).

% image_add_atMost
thf(fact_4698_image__add__greaterThanAtMost,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [C3: A,A3: A,B2: A] :
          ( ( image2 @ A @ A @ ( plus_plus @ A @ C3 ) @ ( set_or3652927894154168847AtMost @ A @ A3 @ B2 ) )
          = ( set_or3652927894154168847AtMost @ A @ ( plus_plus @ A @ C3 @ A3 ) @ ( plus_plus @ A @ C3 @ B2 ) ) ) ) ).

% image_add_greaterThanAtMost
thf(fact_4699_img__fst,axiom,
    ! [B: $tType,A: $tType,A3: A,B2: B,S: set @ ( product_prod @ A @ B )] :
      ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ A3 @ B2 ) @ S )
     => ( member @ A @ A3 @ ( image2 @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) @ S ) ) ) ).

% img_fst
thf(fact_4700_img__snd,axiom,
    ! [B: $tType,A: $tType,A3: A,B2: B,S: set @ ( product_prod @ A @ B )] :
      ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ A3 @ B2 ) @ S )
     => ( member @ B @ B2 @ ( image2 @ ( product_prod @ A @ B ) @ B @ ( product_snd @ A @ B ) @ S ) ) ) ).

% img_snd
thf(fact_4701_image__add__atLeastAtMost_H,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [K2: A,I2: A,J2: A] :
          ( ( image2 @ A @ A
            @ ^ [N3: A] : ( plus_plus @ A @ N3 @ K2 )
            @ ( set_or1337092689740270186AtMost @ A @ I2 @ J2 ) )
          = ( set_or1337092689740270186AtMost @ A @ ( plus_plus @ A @ I2 @ K2 ) @ ( plus_plus @ A @ J2 @ K2 ) ) ) ) ).

% image_add_atLeastAtMost'
thf(fact_4702_image__minus__const__atLeastAtMost_H,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [D3: A,A3: A,B2: A] :
          ( ( image2 @ A @ A
            @ ^ [T6: A] : ( minus_minus @ A @ T6 @ D3 )
            @ ( set_or1337092689740270186AtMost @ A @ A3 @ B2 ) )
          = ( set_or1337092689740270186AtMost @ A @ ( minus_minus @ A @ A3 @ D3 ) @ ( minus_minus @ A @ B2 @ D3 ) ) ) ) ).

% image_minus_const_atLeastAtMost'
thf(fact_4703_image__add__atLeastLessThan_H,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [K2: A,I2: A,J2: A] :
          ( ( image2 @ A @ A
            @ ^ [N3: A] : ( plus_plus @ A @ N3 @ K2 )
            @ ( set_or7035219750837199246ssThan @ A @ I2 @ J2 ) )
          = ( set_or7035219750837199246ssThan @ A @ ( plus_plus @ A @ I2 @ K2 ) @ ( plus_plus @ A @ J2 @ K2 ) ) ) ) ).

% image_add_atLeastLessThan'
thf(fact_4704_if__image__distrib,axiom,
    ! [A: $tType,B: $tType,P2: B > $o,F3: B > A,G3: B > A,S: set @ B] :
      ( ( image2 @ B @ A
        @ ^ [X4: B] : ( if @ A @ ( P2 @ X4 ) @ ( F3 @ X4 ) @ ( G3 @ X4 ) )
        @ S )
      = ( sup_sup @ ( set @ A ) @ ( image2 @ B @ A @ F3 @ ( inf_inf @ ( set @ B ) @ S @ ( collect @ B @ P2 ) ) )
        @ ( image2 @ B @ A @ G3
          @ ( inf_inf @ ( set @ B ) @ S
            @ ( collect @ B
              @ ^ [X4: B] :
                  ~ ( P2 @ X4 ) ) ) ) ) ) ).

% if_image_distrib
thf(fact_4705_pair__imageI,axiom,
    ! [C: $tType,B: $tType,A: $tType,A3: A,B2: B,A6: set @ ( product_prod @ A @ B ),F3: A > B > C] :
      ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ A3 @ B2 ) @ A6 )
     => ( member @ C @ ( F3 @ A3 @ B2 ) @ ( image2 @ ( product_prod @ A @ B ) @ C @ ( product_case_prod @ A @ B @ C @ F3 ) @ A6 ) ) ) ).

% pair_imageI
thf(fact_4706_image__mult__atLeastAtMost,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [D3: A,A3: A,B2: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ D3 )
         => ( ( image2 @ A @ A @ ( times_times @ A @ D3 ) @ ( set_or1337092689740270186AtMost @ A @ A3 @ B2 ) )
            = ( set_or1337092689740270186AtMost @ A @ ( times_times @ A @ D3 @ A3 ) @ ( times_times @ A @ D3 @ B2 ) ) ) ) ) ).

% image_mult_atLeastAtMost
thf(fact_4707_image__divide__atLeastAtMost,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [D3: A,A3: A,B2: A] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ D3 )
         => ( ( image2 @ A @ A
              @ ^ [C4: A] : ( divide_divide @ A @ C4 @ D3 )
              @ ( set_or1337092689740270186AtMost @ A @ A3 @ B2 ) )
            = ( set_or1337092689740270186AtMost @ A @ ( divide_divide @ A @ A3 @ D3 ) @ ( divide_divide @ A @ B2 @ D3 ) ) ) ) ) ).

% image_divide_atLeastAtMost
thf(fact_4708_image__Collect__subsetI,axiom,
    ! [A: $tType,B: $tType,P2: A > $o,F3: A > B,B6: set @ B] :
      ( ! [X3: A] :
          ( ( P2 @ X3 )
         => ( member @ B @ ( F3 @ X3 ) @ B6 ) )
     => ( ord_less_eq @ ( set @ B ) @ ( image2 @ A @ B @ F3 @ ( collect @ A @ P2 ) ) @ B6 ) ) ).

% image_Collect_subsetI
thf(fact_4709_all__subset__image,axiom,
    ! [A: $tType,B: $tType,F3: B > A,A6: set @ B,P2: ( set @ A ) > $o] :
      ( ( ! [B7: set @ A] :
            ( ( ord_less_eq @ ( set @ A ) @ B7 @ ( image2 @ B @ A @ F3 @ A6 ) )
           => ( P2 @ B7 ) ) )
      = ( ! [B7: set @ B] :
            ( ( ord_less_eq @ ( set @ B ) @ B7 @ A6 )
           => ( P2 @ ( image2 @ B @ A @ F3 @ B7 ) ) ) ) ) ).

% all_subset_image
thf(fact_4710_image__mono,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,B6: set @ A,F3: A > B] :
      ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
     => ( ord_less_eq @ ( set @ B ) @ ( image2 @ A @ B @ F3 @ A6 ) @ ( image2 @ A @ B @ F3 @ B6 ) ) ) ).

% image_mono
thf(fact_4711_image__subsetI,axiom,
    ! [A: $tType,B: $tType,A6: set @ A,F3: A > B,B6: set @ B] :
      ( ! [X3: A] :
          ( ( member @ A @ X3 @ A6 )
         => ( member @ B @ ( F3 @ X3 ) @ B6 ) )
     => ( ord_less_eq @ ( set @ B ) @ ( image2 @ A @ B @ F3 @ A6 ) @ B6 ) ) ).

% image_subsetI
thf(fact_4712_subset__imageE,axiom,
    ! [A: $tType,B: $tType,B6: set @ A,F3: B > A,A6: set @ B] :
      ( ( ord_less_eq @ ( set @ A ) @ B6 @ ( image2 @ B @ A @ F3 @ A6 ) )
     => ~ ! [C8: set @ B] :
            ( ( ord_less_eq @ ( set @ B ) @ C8 @ A6 )
           => ( B6
             != ( image2 @ B @ A @ F3 @ C8 ) ) ) ) ).

% subset_imageE
thf(fact_4713_image__subset__iff,axiom,
    ! [A: $tType,B: $tType,F3: B > A,A6: set @ B,B6: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ ( image2 @ B @ A @ F3 @ A6 ) @ B6 )
      = ( ! [X4: B] :
            ( ( member @ B @ X4 @ A6 )
           => ( member @ A @ ( F3 @ X4 ) @ B6 ) ) ) ) ).

% image_subset_iff
thf(fact_4714_subset__image__iff,axiom,
    ! [A: $tType,B: $tType,B6: set @ A,F3: B > A,A6: set @ B] :
      ( ( ord_less_eq @ ( set @ A ) @ B6 @ ( image2 @ B @ A @ F3 @ A6 ) )
      = ( ? [AA: set @ B] :
            ( ( ord_less_eq @ ( set @ B ) @ AA @ A6 )
            & ( B6
              = ( image2 @ B @ A @ F3 @ AA ) ) ) ) ) ).

% subset_image_iff
thf(fact_4715_comp__fun__commute__plus__mset,axiom,
    ! [A: $tType] : ( finite6289374366891150609ommute @ ( multiset @ A ) @ ( multiset @ A ) @ ( plus_plus @ ( multiset @ A ) ) ) ).

% comp_fun_commute_plus_mset
thf(fact_4716_empty__natural,axiom,
    ! [C: $tType,B: $tType,D: $tType,A: $tType,F3: A > C,G3: D > B] :
      ( ( comp @ C @ ( set @ B ) @ A
        @ ^ [Uu2: C] : ( bot_bot @ ( set @ B ) )
        @ F3 )
      = ( comp @ ( set @ D ) @ ( set @ B ) @ A @ ( image2 @ D @ B @ G3 )
        @ ^ [Uu2: A] : ( bot_bot @ ( set @ D ) ) ) ) ).

% empty_natural
thf(fact_4717_Inf_OINF__identity__eq,axiom,
    ! [A: $tType,Inf: ( set @ A ) > A,A6: set @ A] :
      ( ( Inf
        @ ( image2 @ A @ A
          @ ^ [X4: A] : X4
          @ A6 ) )
      = ( Inf @ A6 ) ) ).

% Inf.INF_identity_eq
thf(fact_4718_Sup_OSUP__identity__eq,axiom,
    ! [A: $tType,Sup: ( set @ A ) > A,A6: set @ A] :
      ( ( Sup
        @ ( image2 @ A @ A
          @ ^ [X4: A] : X4
          @ A6 ) )
      = ( Sup @ A6 ) ) ).

% Sup.SUP_identity_eq
thf(fact_4719_imageE,axiom,
    ! [A: $tType,B: $tType,B2: A,F3: B > A,A6: set @ B] :
      ( ( member @ A @ B2 @ ( image2 @ B @ A @ F3 @ A6 ) )
     => ~ ! [X3: B] :
            ( ( B2
              = ( F3 @ X3 ) )
           => ~ ( member @ B @ X3 @ A6 ) ) ) ).

% imageE
thf(fact_4720_image__image,axiom,
    ! [A: $tType,B: $tType,C: $tType,F3: B > A,G3: C > B,A6: set @ C] :
      ( ( image2 @ B @ A @ F3 @ ( image2 @ C @ B @ G3 @ A6 ) )
      = ( image2 @ C @ A
        @ ^ [X4: C] : ( F3 @ ( G3 @ X4 ) )
        @ A6 ) ) ).

% image_image
thf(fact_4721_Compr__image__eq,axiom,
    ! [A: $tType,B: $tType,F3: B > A,A6: set @ B,P2: A > $o] :
      ( ( collect @ A
        @ ^ [X4: A] :
            ( ( member @ A @ X4 @ ( image2 @ B @ A @ F3 @ A6 ) )
            & ( P2 @ X4 ) ) )
      = ( image2 @ B @ A @ F3
        @ ( collect @ B
          @ ^ [X4: B] :
              ( ( member @ B @ X4 @ A6 )
              & ( P2 @ ( F3 @ X4 ) ) ) ) ) ) ).

% Compr_image_eq
thf(fact_4722_imageI,axiom,
    ! [B: $tType,A: $tType,X: A,A6: set @ A,F3: A > B] :
      ( ( member @ A @ X @ A6 )
     => ( member @ B @ ( F3 @ X ) @ ( image2 @ A @ B @ F3 @ A6 ) ) ) ).

% imageI
thf(fact_4723_image__iff,axiom,
    ! [A: $tType,B: $tType,Z4: A,F3: B > A,A6: set @ B] :
      ( ( member @ A @ Z4 @ ( image2 @ B @ A @ F3 @ A6 ) )
      = ( ? [X4: B] :
            ( ( member @ B @ X4 @ A6 )
            & ( Z4
              = ( F3 @ X4 ) ) ) ) ) ).

% image_iff
thf(fact_4724_bex__imageD,axiom,
    ! [A: $tType,B: $tType,F3: B > A,A6: set @ B,P2: A > $o] :
      ( ? [X6: A] :
          ( ( member @ A @ X6 @ ( image2 @ B @ A @ F3 @ A6 ) )
          & ( P2 @ X6 ) )
     => ? [X3: B] :
          ( ( member @ B @ X3 @ A6 )
          & ( P2 @ ( F3 @ X3 ) ) ) ) ).

% bex_imageD
thf(fact_4725_image__cong,axiom,
    ! [B: $tType,A: $tType,M6: set @ A,N7: set @ A,F3: A > B,G3: A > B] :
      ( ( M6 = N7 )
     => ( ! [X3: A] :
            ( ( member @ A @ X3 @ N7 )
           => ( ( F3 @ X3 )
              = ( G3 @ X3 ) ) )
       => ( ( image2 @ A @ B @ F3 @ M6 )
          = ( image2 @ A @ B @ G3 @ N7 ) ) ) ) ).

% image_cong
thf(fact_4726_ball__imageD,axiom,
    ! [A: $tType,B: $tType,F3: B > A,A6: set @ B,P2: A > $o] :
      ( ! [X3: A] :
          ( ( member @ A @ X3 @ ( image2 @ B @ A @ F3 @ A6 ) )
         => ( P2 @ X3 ) )
     => ! [X6: B] :
          ( ( member @ B @ X6 @ A6 )
         => ( P2 @ ( F3 @ X6 ) ) ) ) ).

% ball_imageD
thf(fact_4727_rev__image__eqI,axiom,
    ! [B: $tType,A: $tType,X: A,A6: set @ A,B2: B,F3: A > B] :
      ( ( member @ A @ X @ A6 )
     => ( ( B2
          = ( F3 @ X ) )
       => ( member @ B @ B2 @ ( image2 @ A @ B @ F3 @ A6 ) ) ) ) ).

% rev_image_eqI
thf(fact_4728_image__Un,axiom,
    ! [A: $tType,B: $tType,F3: B > A,A6: set @ B,B6: set @ B] :
      ( ( image2 @ B @ A @ F3 @ ( sup_sup @ ( set @ B ) @ A6 @ B6 ) )
      = ( sup_sup @ ( set @ A ) @ ( image2 @ B @ A @ F3 @ A6 ) @ ( image2 @ B @ A @ F3 @ B6 ) ) ) ).

% image_Un
thf(fact_4729_pigeonhole__infinite,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,F3: A > B] :
      ( ~ ( finite_finite2 @ A @ A6 )
     => ( ( finite_finite2 @ B @ ( image2 @ A @ B @ F3 @ A6 ) )
       => ? [X3: A] :
            ( ( member @ A @ X3 @ A6 )
            & ~ ( finite_finite2 @ A
                @ ( collect @ A
                  @ ^ [A7: A] :
                      ( ( member @ A @ A7 @ A6 )
                      & ( ( F3 @ A7 )
                        = ( F3 @ X3 ) ) ) ) ) ) ) ) ).

% pigeonhole_infinite
thf(fact_4730_comp__fun__commute__on_Ocomp__fun__commute__on__funpow,axiom,
    ! [B: $tType,A: $tType,S: set @ A,F3: A > B > B,G3: A > nat] :
      ( ( finite4664212375090638736ute_on @ A @ B @ S @ F3 )
     => ( finite4664212375090638736ute_on @ A @ B @ S
        @ ^ [X4: A] : ( compow @ ( B > B ) @ ( G3 @ X4 ) @ ( F3 @ X4 ) ) ) ) ).

% comp_fun_commute_on.comp_fun_commute_on_funpow
thf(fact_4731_all__finite__subset__image,axiom,
    ! [A: $tType,B: $tType,F3: B > A,A6: set @ B,P2: ( set @ A ) > $o] :
      ( ( ! [B7: set @ A] :
            ( ( ( finite_finite2 @ A @ B7 )
              & ( ord_less_eq @ ( set @ A ) @ B7 @ ( image2 @ B @ A @ F3 @ A6 ) ) )
           => ( P2 @ B7 ) ) )
      = ( ! [B7: set @ B] :
            ( ( ( finite_finite2 @ B @ B7 )
              & ( ord_less_eq @ ( set @ B ) @ B7 @ A6 ) )
           => ( P2 @ ( image2 @ B @ A @ F3 @ B7 ) ) ) ) ) ).

% all_finite_subset_image
thf(fact_4732_ex__finite__subset__image,axiom,
    ! [A: $tType,B: $tType,F3: B > A,A6: set @ B,P2: ( set @ A ) > $o] :
      ( ( ? [B7: set @ A] :
            ( ( finite_finite2 @ A @ B7 )
            & ( ord_less_eq @ ( set @ A ) @ B7 @ ( image2 @ B @ A @ F3 @ A6 ) )
            & ( P2 @ B7 ) ) )
      = ( ? [B7: set @ B] :
            ( ( finite_finite2 @ B @ B7 )
            & ( ord_less_eq @ ( set @ B ) @ B7 @ A6 )
            & ( P2 @ ( image2 @ B @ A @ F3 @ B7 ) ) ) ) ) ).

% ex_finite_subset_image
thf(fact_4733_finite__subset__image,axiom,
    ! [A: $tType,B: $tType,B6: set @ A,F3: B > A,A6: set @ B] :
      ( ( finite_finite2 @ A @ B6 )
     => ( ( ord_less_eq @ ( set @ A ) @ B6 @ ( image2 @ B @ A @ F3 @ A6 ) )
       => ? [C8: set @ B] :
            ( ( ord_less_eq @ ( set @ B ) @ C8 @ A6 )
            & ( finite_finite2 @ B @ C8 )
            & ( B6
              = ( image2 @ B @ A @ F3 @ C8 ) ) ) ) ) ).

% finite_subset_image
thf(fact_4734_finite__surj,axiom,
    ! [A: $tType,B: $tType,A6: set @ A,B6: set @ B,F3: A > B] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( ord_less_eq @ ( set @ B ) @ B6 @ ( image2 @ A @ B @ F3 @ A6 ) )
       => ( finite_finite2 @ B @ B6 ) ) ) ).

% finite_surj
thf(fact_4735_translation__Int,axiom,
    ! [A: $tType] :
      ( ( ab_group_add @ A )
     => ! [A3: A,S2: set @ A,T5: set @ A] :
          ( ( image2 @ A @ A @ ( plus_plus @ A @ A3 ) @ ( inf_inf @ ( set @ A ) @ S2 @ T5 ) )
          = ( inf_inf @ ( set @ A ) @ ( image2 @ A @ A @ ( plus_plus @ A @ A3 ) @ S2 ) @ ( image2 @ A @ A @ ( plus_plus @ A @ A3 ) @ T5 ) ) ) ) ).

% translation_Int
thf(fact_4736_translation__diff,axiom,
    ! [A: $tType] :
      ( ( ab_group_add @ A )
     => ! [A3: A,S2: set @ A,T5: set @ A] :
          ( ( image2 @ A @ A @ ( plus_plus @ A @ A3 ) @ ( minus_minus @ ( set @ A ) @ S2 @ T5 ) )
          = ( minus_minus @ ( set @ A ) @ ( image2 @ A @ A @ ( plus_plus @ A @ A3 ) @ S2 ) @ ( image2 @ A @ A @ ( plus_plus @ A @ A3 ) @ T5 ) ) ) ) ).

% translation_diff
thf(fact_4737_in__fst__imageE,axiom,
    ! [B: $tType,A: $tType,X: A,S: set @ ( product_prod @ A @ B )] :
      ( ( member @ A @ X @ ( image2 @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) @ S ) )
     => ~ ! [Y3: B] :
            ~ ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X @ Y3 ) @ S ) ) ).

% in_fst_imageE
thf(fact_4738_in__snd__imageE,axiom,
    ! [A: $tType,B: $tType,Y: A,S: set @ ( product_prod @ B @ A )] :
      ( ( member @ A @ Y @ ( image2 @ ( product_prod @ B @ A ) @ A @ ( product_snd @ B @ A ) @ S ) )
     => ~ ! [X3: B] :
            ~ ( member @ ( product_prod @ B @ A ) @ ( product_Pair @ B @ A @ X3 @ Y ) @ S ) ) ).

% in_snd_imageE
thf(fact_4739_image__Int__subset,axiom,
    ! [A: $tType,B: $tType,F3: B > A,A6: set @ B,B6: set @ B] : ( ord_less_eq @ ( set @ A ) @ ( image2 @ B @ A @ F3 @ ( inf_inf @ ( set @ B ) @ A6 @ B6 ) ) @ ( inf_inf @ ( set @ A ) @ ( image2 @ B @ A @ F3 @ A6 ) @ ( image2 @ B @ A @ F3 @ B6 ) ) ) ).

% image_Int_subset
thf(fact_4740_image__diff__subset,axiom,
    ! [A: $tType,B: $tType,F3: B > A,A6: set @ B,B6: set @ B] : ( ord_less_eq @ ( set @ A ) @ ( minus_minus @ ( set @ A ) @ ( image2 @ B @ A @ F3 @ A6 ) @ ( image2 @ B @ A @ F3 @ B6 ) ) @ ( image2 @ B @ A @ F3 @ ( minus_minus @ ( set @ B ) @ A6 @ B6 ) ) ) ).

% image_diff_subset
thf(fact_4741_set__oo__map__alt,axiom,
    ! [B: $tType,A: $tType,F3: A > B] :
      ( ( comp @ ( list @ B ) @ ( set @ B ) @ ( list @ A ) @ ( set2 @ B ) @ ( map @ A @ B @ F3 ) )
      = ( ^ [L2: list @ A] : ( image2 @ A @ B @ F3 @ ( set2 @ A @ L2 ) ) ) ) ).

% set_oo_map_alt
thf(fact_4742_translation__Compl,axiom,
    ! [A: $tType] :
      ( ( ab_group_add @ A )
     => ! [A3: A,T5: set @ A] :
          ( ( image2 @ A @ A @ ( plus_plus @ A @ A3 ) @ ( uminus_uminus @ ( set @ A ) @ T5 ) )
          = ( uminus_uminus @ ( set @ A ) @ ( image2 @ A @ A @ ( plus_plus @ A @ A3 ) @ T5 ) ) ) ) ).

% translation_Compl
thf(fact_4743_comp__fun__commute__insort,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ( finite6289374366891150609ommute @ A @ ( list @ A )
        @ ( linorder_insort_key @ A @ A
          @ ^ [X4: A] : X4 ) ) ) ).

% comp_fun_commute_insort
thf(fact_4744_image__constant,axiom,
    ! [A: $tType,B: $tType,X: A,A6: set @ A,C3: B] :
      ( ( member @ A @ X @ A6 )
     => ( ( image2 @ A @ B
          @ ^ [X4: A] : C3
          @ A6 )
        = ( insert @ B @ C3 @ ( bot_bot @ ( set @ B ) ) ) ) ) ).

% image_constant
thf(fact_4745_image__constant__conv,axiom,
    ! [B: $tType,A: $tType,A6: set @ B,C3: A] :
      ( ( ( A6
          = ( bot_bot @ ( set @ B ) ) )
       => ( ( image2 @ B @ A
            @ ^ [X4: B] : C3
            @ A6 )
          = ( bot_bot @ ( set @ A ) ) ) )
      & ( ( A6
         != ( bot_bot @ ( set @ B ) ) )
       => ( ( image2 @ B @ A
            @ ^ [X4: B] : C3
            @ A6 )
          = ( insert @ A @ C3 @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ).

% image_constant_conv
thf(fact_4746_translation__subtract__Int,axiom,
    ! [A: $tType] :
      ( ( ab_group_add @ A )
     => ! [A3: A,S2: set @ A,T5: set @ A] :
          ( ( image2 @ A @ A
            @ ^ [X4: A] : ( minus_minus @ A @ X4 @ A3 )
            @ ( inf_inf @ ( set @ A ) @ S2 @ T5 ) )
          = ( inf_inf @ ( set @ A )
            @ ( image2 @ A @ A
              @ ^ [X4: A] : ( minus_minus @ A @ X4 @ A3 )
              @ S2 )
            @ ( image2 @ A @ A
              @ ^ [X4: A] : ( minus_minus @ A @ X4 @ A3 )
              @ T5 ) ) ) ) ).

% translation_subtract_Int
thf(fact_4747_translation__subtract__diff,axiom,
    ! [A: $tType] :
      ( ( ab_group_add @ A )
     => ! [A3: A,S2: set @ A,T5: set @ A] :
          ( ( image2 @ A @ A
            @ ^ [X4: A] : ( minus_minus @ A @ X4 @ A3 )
            @ ( minus_minus @ ( set @ A ) @ S2 @ T5 ) )
          = ( minus_minus @ ( set @ A )
            @ ( image2 @ A @ A
              @ ^ [X4: A] : ( minus_minus @ A @ X4 @ A3 )
              @ S2 )
            @ ( image2 @ A @ A
              @ ^ [X4: A] : ( minus_minus @ A @ X4 @ A3 )
              @ T5 ) ) ) ) ).

% translation_subtract_diff
thf(fact_4748_sum_Oimage__gen,axiom,
    ! [A: $tType,C: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [S: set @ B,H: B > A,G3: B > C] :
          ( ( finite_finite2 @ B @ S )
         => ( ( groups7311177749621191930dd_sum @ B @ A @ H @ S )
            = ( groups7311177749621191930dd_sum @ C @ A
              @ ^ [Y4: C] :
                  ( groups7311177749621191930dd_sum @ B @ A @ H
                  @ ( collect @ B
                    @ ^ [X4: B] :
                        ( ( member @ B @ X4 @ S )
                        & ( ( G3 @ X4 )
                          = Y4 ) ) ) )
              @ ( image2 @ B @ C @ G3 @ S ) ) ) ) ) ).

% sum.image_gen
thf(fact_4749_prod_Oimage__gen,axiom,
    ! [A: $tType,C: $tType,B: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [S: set @ B,H: B > A,G3: B > C] :
          ( ( finite_finite2 @ B @ S )
         => ( ( groups7121269368397514597t_prod @ B @ A @ H @ S )
            = ( groups7121269368397514597t_prod @ C @ A
              @ ^ [Y4: C] :
                  ( groups7121269368397514597t_prod @ B @ A @ H
                  @ ( collect @ B
                    @ ^ [X4: B] :
                        ( ( member @ B @ X4 @ S )
                        & ( ( G3 @ X4 )
                          = Y4 ) ) ) )
              @ ( image2 @ B @ C @ G3 @ S ) ) ) ) ) ).

% prod.image_gen
thf(fact_4750_translation__subtract__Compl,axiom,
    ! [A: $tType] :
      ( ( ab_group_add @ A )
     => ! [A3: A,T5: set @ A] :
          ( ( image2 @ A @ A
            @ ^ [X4: A] : ( minus_minus @ A @ X4 @ A3 )
            @ ( uminus_uminus @ ( set @ A ) @ T5 ) )
          = ( uminus_uminus @ ( set @ A )
            @ ( image2 @ A @ A
              @ ^ [X4: A] : ( minus_minus @ A @ X4 @ A3 )
              @ T5 ) ) ) ) ).

% translation_subtract_Compl
thf(fact_4751_the__elem__image__unique,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,F3: A > B,X: A] :
      ( ( A6
       != ( bot_bot @ ( set @ A ) ) )
     => ( ! [Y3: A] :
            ( ( member @ A @ Y3 @ A6 )
           => ( ( F3 @ Y3 )
              = ( F3 @ X ) ) )
       => ( ( the_elem @ B @ ( image2 @ A @ B @ F3 @ A6 ) )
          = ( F3 @ X ) ) ) ) ).

% the_elem_image_unique
thf(fact_4752_ran__map__option,axiom,
    ! [A: $tType,C: $tType,B: $tType,F3: C > A,M: B > ( option @ C )] :
      ( ( ran @ B @ A
        @ ^ [X4: B] : ( map_option @ C @ A @ F3 @ ( M @ X4 ) ) )
      = ( image2 @ C @ A @ F3 @ ( ran @ B @ C @ M ) ) ) ).

% ran_map_option
thf(fact_4753_fst__image__mp,axiom,
    ! [B: $tType,A: $tType,A6: set @ ( product_prod @ A @ B ),B6: set @ A,X: A,Y: B] :
      ( ( ord_less_eq @ ( set @ A ) @ ( image2 @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) @ A6 ) @ B6 )
     => ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X @ Y ) @ A6 )
       => ( member @ A @ X @ B6 ) ) ) ).

% fst_image_mp
thf(fact_4754_snd__image__mp,axiom,
    ! [B: $tType,A: $tType,A6: set @ ( product_prod @ B @ A ),B6: set @ A,X: B,Y: A] :
      ( ( ord_less_eq @ ( set @ A ) @ ( image2 @ ( product_prod @ B @ A ) @ A @ ( product_snd @ B @ A ) @ A6 ) @ B6 )
     => ( ( member @ ( product_prod @ B @ A ) @ ( product_Pair @ B @ A @ X @ Y ) @ A6 )
       => ( member @ A @ Y @ B6 ) ) ) ).

% snd_image_mp
thf(fact_4755_card__image__le,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,F3: A > B] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ord_less_eq @ nat @ ( finite_card @ B @ ( image2 @ A @ B @ F3 @ A6 ) ) @ ( finite_card @ A @ A6 ) ) ) ).

% card_image_le
thf(fact_4756_sum_Ogroup,axiom,
    ! [C: $tType,A: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [S: set @ B,T8: set @ C,G3: B > C,H: B > A] :
          ( ( finite_finite2 @ B @ S )
         => ( ( finite_finite2 @ C @ T8 )
           => ( ( ord_less_eq @ ( set @ C ) @ ( image2 @ B @ C @ G3 @ S ) @ T8 )
             => ( ( groups7311177749621191930dd_sum @ C @ A
                  @ ^ [Y4: C] :
                      ( groups7311177749621191930dd_sum @ B @ A @ H
                      @ ( collect @ B
                        @ ^ [X4: B] :
                            ( ( member @ B @ X4 @ S )
                            & ( ( G3 @ X4 )
                              = Y4 ) ) ) )
                  @ T8 )
                = ( groups7311177749621191930dd_sum @ B @ A @ H @ S ) ) ) ) ) ) ).

% sum.group
thf(fact_4757_prod_Ogroup,axiom,
    ! [C: $tType,A: $tType,B: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [S: set @ B,T8: set @ C,G3: B > C,H: B > A] :
          ( ( finite_finite2 @ B @ S )
         => ( ( finite_finite2 @ C @ T8 )
           => ( ( ord_less_eq @ ( set @ C ) @ ( image2 @ B @ C @ G3 @ S ) @ T8 )
             => ( ( groups7121269368397514597t_prod @ C @ A
                  @ ^ [Y4: C] :
                      ( groups7121269368397514597t_prod @ B @ A @ H
                      @ ( collect @ B
                        @ ^ [X4: B] :
                            ( ( member @ B @ X4 @ S )
                            & ( ( G3 @ X4 )
                              = Y4 ) ) ) )
                  @ T8 )
                = ( groups7121269368397514597t_prod @ B @ A @ H @ S ) ) ) ) ) ) ).

% prod.group
thf(fact_4758_map__to__set__ran,axiom,
    ! [A: $tType,B: $tType] :
      ( ( ran @ B @ A )
      = ( ^ [M3: B > ( option @ A )] : ( image2 @ ( product_prod @ B @ A ) @ A @ ( product_snd @ B @ A ) @ ( map_to_set @ B @ A @ M3 ) ) ) ) ).

% map_to_set_ran
thf(fact_4759_Finite__Set_Ofold__cong,axiom,
    ! [B: $tType,A: $tType,S: set @ A,F3: A > B > B,G3: A > B > B,A6: set @ A,S2: B,T5: B,B6: set @ A] :
      ( ( finite4664212375090638736ute_on @ A @ B @ S @ F3 )
     => ( ( finite4664212375090638736ute_on @ A @ B @ S @ G3 )
       => ( ( ord_less_eq @ ( set @ A ) @ A6 @ S )
         => ( ( finite_finite2 @ A @ A6 )
           => ( ! [X3: A] :
                  ( ( member @ A @ X3 @ A6 )
                 => ( ( F3 @ X3 )
                    = ( G3 @ X3 ) ) )
             => ( ( S2 = T5 )
               => ( ( A6 = B6 )
                 => ( ( finite_fold @ A @ B @ F3 @ S2 @ A6 )
                    = ( finite_fold @ A @ B @ G3 @ T5 @ B6 ) ) ) ) ) ) ) ) ) ).

% Finite_Set.fold_cong
thf(fact_4760_surj__card__le,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,B6: set @ B,F3: A > B] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( ord_less_eq @ ( set @ B ) @ B6 @ ( image2 @ A @ B @ F3 @ A6 ) )
       => ( ord_less_eq @ nat @ ( finite_card @ B @ B6 ) @ ( finite_card @ A @ A6 ) ) ) ) ).

% surj_card_le
thf(fact_4761_in__set__image__conv__nth,axiom,
    ! [B: $tType,A: $tType,F3: B > A,X: B,L: list @ B] :
      ( ( member @ A @ ( F3 @ X ) @ ( image2 @ B @ A @ F3 @ ( set2 @ B @ L ) ) )
      = ( ? [I: nat] :
            ( ( ord_less @ nat @ I @ ( size_size @ ( list @ B ) @ L ) )
            & ( ( F3 @ ( nth @ B @ L @ I ) )
              = ( F3 @ X ) ) ) ) ) ).

% in_set_image_conv_nth
thf(fact_4762_set__image__eq__pointwiseI,axiom,
    ! [B: $tType,A: $tType,L: list @ A,L4: list @ A,F3: A > B] :
      ( ( ( size_size @ ( list @ A ) @ L )
        = ( size_size @ ( list @ A ) @ L4 ) )
     => ( ! [I3: nat] :
            ( ( ord_less @ nat @ I3 @ ( size_size @ ( list @ A ) @ L ) )
           => ( ( F3 @ ( nth @ A @ L @ I3 ) )
              = ( F3 @ ( nth @ A @ L4 @ I3 ) ) ) )
       => ( ( image2 @ A @ B @ F3 @ ( set2 @ A @ L ) )
          = ( image2 @ A @ B @ F3 @ ( set2 @ A @ L4 ) ) ) ) ) ).

% set_image_eq_pointwiseI
thf(fact_4763_Collect__split__mono__strong,axiom,
    ! [B: $tType,A: $tType,X7: set @ A,A6: set @ ( product_prod @ A @ B ),Y7: set @ B,P2: A > B > $o,Q2: A > B > $o] :
      ( ( X7
        = ( image2 @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) @ A6 ) )
     => ( ( Y7
          = ( image2 @ ( product_prod @ A @ B ) @ B @ ( product_snd @ A @ B ) @ A6 ) )
       => ( ! [X3: A] :
              ( ( member @ A @ X3 @ X7 )
             => ! [Xa4: B] :
                  ( ( member @ B @ Xa4 @ Y7 )
                 => ( ( P2 @ X3 @ Xa4 )
                   => ( Q2 @ X3 @ Xa4 ) ) ) )
         => ( ( ord_less_eq @ ( set @ ( product_prod @ A @ B ) ) @ A6 @ ( collect @ ( product_prod @ A @ B ) @ ( product_case_prod @ A @ B @ $o @ P2 ) ) )
           => ( ord_less_eq @ ( set @ ( product_prod @ A @ B ) ) @ A6 @ ( collect @ ( product_prod @ A @ B ) @ ( product_case_prod @ A @ B @ $o @ Q2 ) ) ) ) ) ) ) ).

% Collect_split_mono_strong
thf(fact_4764_set__to__map__ran,axiom,
    ! [A: $tType,B: $tType,S: set @ ( product_prod @ B @ A )] : ( ord_less_eq @ ( set @ A ) @ ( ran @ B @ A @ ( set_to_map @ B @ A @ S ) ) @ ( image2 @ ( product_prod @ B @ A ) @ A @ ( product_snd @ B @ A ) @ S ) ) ).

% set_to_map_ran
thf(fact_4765_image__fold__insert,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,F3: A > B] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( image2 @ A @ B @ F3 @ A6 )
        = ( finite_fold @ A @ ( set @ B )
          @ ^ [K3: A] : ( insert @ B @ ( F3 @ K3 ) )
          @ ( bot_bot @ ( set @ B ) )
          @ A6 ) ) ) ).

% image_fold_insert
thf(fact_4766_sum__image__le,axiom,
    ! [A: $tType,B: $tType,C: $tType] :
      ( ( ordere6911136660526730532id_add @ B )
     => ! [I5: set @ C,G3: A > B,F3: C > A] :
          ( ( finite_finite2 @ C @ I5 )
         => ( ! [I3: C] :
                ( ( member @ C @ I3 @ I5 )
               => ( ord_less_eq @ B @ ( zero_zero @ B ) @ ( G3 @ ( F3 @ I3 ) ) ) )
           => ( ord_less_eq @ B @ ( groups7311177749621191930dd_sum @ A @ B @ G3 @ ( image2 @ C @ A @ F3 @ I5 ) ) @ ( groups7311177749621191930dd_sum @ C @ B @ ( comp @ A @ B @ C @ G3 @ F3 ) @ I5 ) ) ) ) ) ).

% sum_image_le
thf(fact_4767_comp__fun__commute__on_Ofold__insert,axiom,
    ! [B: $tType,A: $tType,S: set @ A,F3: A > B > B,X: A,A6: set @ A,Z4: B] :
      ( ( finite4664212375090638736ute_on @ A @ B @ S @ F3 )
     => ( ( ord_less_eq @ ( set @ A ) @ ( insert @ A @ X @ A6 ) @ S )
       => ( ( finite_finite2 @ A @ A6 )
         => ( ~ ( member @ A @ X @ A6 )
           => ( ( finite_fold @ A @ B @ F3 @ Z4 @ ( insert @ A @ X @ A6 ) )
              = ( F3 @ X @ ( finite_fold @ A @ B @ F3 @ Z4 @ A6 ) ) ) ) ) ) ) ).

% comp_fun_commute_on.fold_insert
thf(fact_4768_comp__fun__commute__on_Ofold__insert2,axiom,
    ! [B: $tType,A: $tType,S: set @ A,F3: A > B > B,X: A,A6: set @ A,Z4: B] :
      ( ( finite4664212375090638736ute_on @ A @ B @ S @ F3 )
     => ( ( ord_less_eq @ ( set @ A ) @ ( insert @ A @ X @ A6 ) @ S )
       => ( ( finite_finite2 @ A @ A6 )
         => ( ~ ( member @ A @ X @ A6 )
           => ( ( finite_fold @ A @ B @ F3 @ Z4 @ ( insert @ A @ X @ A6 ) )
              = ( finite_fold @ A @ B @ F3 @ ( F3 @ X @ Z4 ) @ A6 ) ) ) ) ) ) ).

% comp_fun_commute_on.fold_insert2
thf(fact_4769_comp__fun__commute__on_Ofold__fun__left__comm,axiom,
    ! [B: $tType,A: $tType,S: set @ A,F3: A > B > B,X: A,A6: set @ A,Z4: B] :
      ( ( finite4664212375090638736ute_on @ A @ B @ S @ F3 )
     => ( ( ord_less_eq @ ( set @ A ) @ ( insert @ A @ X @ A6 ) @ S )
       => ( ( finite_finite2 @ A @ A6 )
         => ( ( F3 @ X @ ( finite_fold @ A @ B @ F3 @ Z4 @ A6 ) )
            = ( finite_fold @ A @ B @ F3 @ ( F3 @ X @ Z4 ) @ A6 ) ) ) ) ) ).

% comp_fun_commute_on.fold_fun_left_comm
thf(fact_4770_ran__map__of,axiom,
    ! [A: $tType,B: $tType,Xs: list @ ( product_prod @ B @ A )] : ( ord_less_eq @ ( set @ A ) @ ( ran @ B @ A @ ( map_of @ B @ A @ Xs ) ) @ ( image2 @ ( product_prod @ B @ A ) @ A @ ( product_snd @ B @ A ) @ ( set2 @ ( product_prod @ B @ A ) @ Xs ) ) ) ).

% ran_map_of
thf(fact_4771_image__mult__atLeastAtMost__if,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [C3: A,X: A,Y: A] :
          ( ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
           => ( ( image2 @ A @ A @ ( times_times @ A @ C3 ) @ ( set_or1337092689740270186AtMost @ A @ X @ Y ) )
              = ( set_or1337092689740270186AtMost @ A @ ( times_times @ A @ C3 @ X ) @ ( times_times @ A @ C3 @ Y ) ) ) )
          & ( ~ ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
           => ( ( ( ord_less_eq @ A @ X @ Y )
               => ( ( image2 @ A @ A @ ( times_times @ A @ C3 ) @ ( set_or1337092689740270186AtMost @ A @ X @ Y ) )
                  = ( set_or1337092689740270186AtMost @ A @ ( times_times @ A @ C3 @ Y ) @ ( times_times @ A @ C3 @ X ) ) ) )
              & ( ~ ( ord_less_eq @ A @ X @ Y )
               => ( ( image2 @ A @ A @ ( times_times @ A @ C3 ) @ ( set_or1337092689740270186AtMost @ A @ X @ Y ) )
                  = ( bot_bot @ ( set @ A ) ) ) ) ) ) ) ) ).

% image_mult_atLeastAtMost_if
thf(fact_4772_image__mult__atLeastAtMost__if_H,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [X: A,Y: A,C3: A] :
          ( ( ( ord_less_eq @ A @ X @ Y )
           => ( ( ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
               => ( ( image2 @ A @ A
                    @ ^ [X4: A] : ( times_times @ A @ X4 @ C3 )
                    @ ( set_or1337092689740270186AtMost @ A @ X @ Y ) )
                  = ( set_or1337092689740270186AtMost @ A @ ( times_times @ A @ X @ C3 ) @ ( times_times @ A @ Y @ C3 ) ) ) )
              & ( ~ ( ord_less @ A @ ( zero_zero @ A ) @ C3 )
               => ( ( image2 @ A @ A
                    @ ^ [X4: A] : ( times_times @ A @ X4 @ C3 )
                    @ ( set_or1337092689740270186AtMost @ A @ X @ Y ) )
                  = ( set_or1337092689740270186AtMost @ A @ ( times_times @ A @ Y @ C3 ) @ ( times_times @ A @ X @ C3 ) ) ) ) ) )
          & ( ~ ( ord_less_eq @ A @ X @ Y )
           => ( ( image2 @ A @ A
                @ ^ [X4: A] : ( times_times @ A @ X4 @ C3 )
                @ ( set_or1337092689740270186AtMost @ A @ X @ Y ) )
              = ( bot_bot @ ( set @ A ) ) ) ) ) ) ).

% image_mult_atLeastAtMost_if'
thf(fact_4773_image__affinity__atLeastAtMost,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A,M: A,C3: A] :
          ( ( ( ( set_or1337092689740270186AtMost @ A @ A3 @ B2 )
              = ( bot_bot @ ( set @ A ) ) )
           => ( ( image2 @ A @ A
                @ ^ [X4: A] : ( plus_plus @ A @ ( times_times @ A @ M @ X4 ) @ C3 )
                @ ( set_or1337092689740270186AtMost @ A @ A3 @ B2 ) )
              = ( bot_bot @ ( set @ A ) ) ) )
          & ( ( ( set_or1337092689740270186AtMost @ A @ A3 @ B2 )
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ M )
               => ( ( image2 @ A @ A
                    @ ^ [X4: A] : ( plus_plus @ A @ ( times_times @ A @ M @ X4 ) @ C3 )
                    @ ( set_or1337092689740270186AtMost @ A @ A3 @ B2 ) )
                  = ( set_or1337092689740270186AtMost @ A @ ( plus_plus @ A @ ( times_times @ A @ M @ A3 ) @ C3 ) @ ( plus_plus @ A @ ( times_times @ A @ M @ B2 ) @ C3 ) ) ) )
              & ( ~ ( ord_less_eq @ A @ ( zero_zero @ A ) @ M )
               => ( ( image2 @ A @ A
                    @ ^ [X4: A] : ( plus_plus @ A @ ( times_times @ A @ M @ X4 ) @ C3 )
                    @ ( set_or1337092689740270186AtMost @ A @ A3 @ B2 ) )
                  = ( set_or1337092689740270186AtMost @ A @ ( plus_plus @ A @ ( times_times @ A @ M @ B2 ) @ C3 ) @ ( plus_plus @ A @ ( times_times @ A @ M @ A3 ) @ C3 ) ) ) ) ) ) ) ) ).

% image_affinity_atLeastAtMost
thf(fact_4774_image__affinity__atLeastAtMost__diff,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A,M: A,C3: A] :
          ( ( ( ( set_or1337092689740270186AtMost @ A @ A3 @ B2 )
              = ( bot_bot @ ( set @ A ) ) )
           => ( ( image2 @ A @ A
                @ ^ [X4: A] : ( minus_minus @ A @ ( times_times @ A @ M @ X4 ) @ C3 )
                @ ( set_or1337092689740270186AtMost @ A @ A3 @ B2 ) )
              = ( bot_bot @ ( set @ A ) ) ) )
          & ( ( ( set_or1337092689740270186AtMost @ A @ A3 @ B2 )
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ M )
               => ( ( image2 @ A @ A
                    @ ^ [X4: A] : ( minus_minus @ A @ ( times_times @ A @ M @ X4 ) @ C3 )
                    @ ( set_or1337092689740270186AtMost @ A @ A3 @ B2 ) )
                  = ( set_or1337092689740270186AtMost @ A @ ( minus_minus @ A @ ( times_times @ A @ M @ A3 ) @ C3 ) @ ( minus_minus @ A @ ( times_times @ A @ M @ B2 ) @ C3 ) ) ) )
              & ( ~ ( ord_less_eq @ A @ ( zero_zero @ A ) @ M )
               => ( ( image2 @ A @ A
                    @ ^ [X4: A] : ( minus_minus @ A @ ( times_times @ A @ M @ X4 ) @ C3 )
                    @ ( set_or1337092689740270186AtMost @ A @ A3 @ B2 ) )
                  = ( set_or1337092689740270186AtMost @ A @ ( minus_minus @ A @ ( times_times @ A @ M @ B2 ) @ C3 ) @ ( minus_minus @ A @ ( times_times @ A @ M @ A3 ) @ C3 ) ) ) ) ) ) ) ) ).

% image_affinity_atLeastAtMost_diff
thf(fact_4775_image__affinity__atLeastAtMost__div,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A,M: A,C3: A] :
          ( ( ( ( set_or1337092689740270186AtMost @ A @ A3 @ B2 )
              = ( bot_bot @ ( set @ A ) ) )
           => ( ( image2 @ A @ A
                @ ^ [X4: A] : ( plus_plus @ A @ ( divide_divide @ A @ X4 @ M ) @ C3 )
                @ ( set_or1337092689740270186AtMost @ A @ A3 @ B2 ) )
              = ( bot_bot @ ( set @ A ) ) ) )
          & ( ( ( set_or1337092689740270186AtMost @ A @ A3 @ B2 )
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ M )
               => ( ( image2 @ A @ A
                    @ ^ [X4: A] : ( plus_plus @ A @ ( divide_divide @ A @ X4 @ M ) @ C3 )
                    @ ( set_or1337092689740270186AtMost @ A @ A3 @ B2 ) )
                  = ( set_or1337092689740270186AtMost @ A @ ( plus_plus @ A @ ( divide_divide @ A @ A3 @ M ) @ C3 ) @ ( plus_plus @ A @ ( divide_divide @ A @ B2 @ M ) @ C3 ) ) ) )
              & ( ~ ( ord_less_eq @ A @ ( zero_zero @ A ) @ M )
               => ( ( image2 @ A @ A
                    @ ^ [X4: A] : ( plus_plus @ A @ ( divide_divide @ A @ X4 @ M ) @ C3 )
                    @ ( set_or1337092689740270186AtMost @ A @ A3 @ B2 ) )
                  = ( set_or1337092689740270186AtMost @ A @ ( plus_plus @ A @ ( divide_divide @ A @ B2 @ M ) @ C3 ) @ ( plus_plus @ A @ ( divide_divide @ A @ A3 @ M ) @ C3 ) ) ) ) ) ) ) ) ).

% image_affinity_atLeastAtMost_div
thf(fact_4776_image__affinity__atLeastAtMost__div__diff,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A,M: A,C3: A] :
          ( ( ( ( set_or1337092689740270186AtMost @ A @ A3 @ B2 )
              = ( bot_bot @ ( set @ A ) ) )
           => ( ( image2 @ A @ A
                @ ^ [X4: A] : ( minus_minus @ A @ ( divide_divide @ A @ X4 @ M ) @ C3 )
                @ ( set_or1337092689740270186AtMost @ A @ A3 @ B2 ) )
              = ( bot_bot @ ( set @ A ) ) ) )
          & ( ( ( set_or1337092689740270186AtMost @ A @ A3 @ B2 )
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ M )
               => ( ( image2 @ A @ A
                    @ ^ [X4: A] : ( minus_minus @ A @ ( divide_divide @ A @ X4 @ M ) @ C3 )
                    @ ( set_or1337092689740270186AtMost @ A @ A3 @ B2 ) )
                  = ( set_or1337092689740270186AtMost @ A @ ( minus_minus @ A @ ( divide_divide @ A @ A3 @ M ) @ C3 ) @ ( minus_minus @ A @ ( divide_divide @ A @ B2 @ M ) @ C3 ) ) ) )
              & ( ~ ( ord_less_eq @ A @ ( zero_zero @ A ) @ M )
               => ( ( image2 @ A @ A
                    @ ^ [X4: A] : ( minus_minus @ A @ ( divide_divide @ A @ X4 @ M ) @ C3 )
                    @ ( set_or1337092689740270186AtMost @ A @ A3 @ B2 ) )
                  = ( set_or1337092689740270186AtMost @ A @ ( minus_minus @ A @ ( divide_divide @ A @ B2 @ M ) @ C3 ) @ ( minus_minus @ A @ ( divide_divide @ A @ A3 @ M ) @ C3 ) ) ) ) ) ) ) ) ).

% image_affinity_atLeastAtMost_div_diff
thf(fact_4777_sum__fun__comp,axiom,
    ! [A: $tType,C: $tType,B: $tType] :
      ( ( semiring_1 @ C )
     => ! [S: set @ A,R4: set @ B,G3: A > B,F3: B > C] :
          ( ( finite_finite2 @ A @ S )
         => ( ( finite_finite2 @ B @ R4 )
           => ( ( ord_less_eq @ ( set @ B ) @ ( image2 @ A @ B @ G3 @ S ) @ R4 )
             => ( ( groups7311177749621191930dd_sum @ A @ C
                  @ ^ [X4: A] : ( F3 @ ( G3 @ X4 ) )
                  @ S )
                = ( groups7311177749621191930dd_sum @ B @ C
                  @ ^ [Y4: B] :
                      ( times_times @ C
                      @ ( semiring_1_of_nat @ C
                        @ ( finite_card @ A
                          @ ( collect @ A
                            @ ^ [X4: A] :
                                ( ( member @ A @ X4 @ S )
                                & ( ( G3 @ X4 )
                                  = Y4 ) ) ) ) )
                      @ ( F3 @ Y4 ) )
                  @ R4 ) ) ) ) ) ) ).

% sum_fun_comp
thf(fact_4778_set__to__map__insert,axiom,
    ! [B: $tType,A: $tType,Kv: product_prod @ A @ B,S: set @ ( product_prod @ A @ B )] :
      ( ~ ( member @ A @ ( product_fst @ A @ B @ Kv ) @ ( image2 @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) @ S ) )
     => ( ( set_to_map @ A @ B @ ( insert @ ( product_prod @ A @ B ) @ Kv @ S ) )
        = ( fun_upd @ A @ ( option @ B ) @ ( set_to_map @ A @ B @ S ) @ ( product_fst @ A @ B @ Kv ) @ ( some @ B @ ( product_snd @ A @ B @ Kv ) ) ) ) ) ).

% set_to_map_insert
thf(fact_4779_comp__fun__commute__on_Ofold__rec,axiom,
    ! [B: $tType,A: $tType,S: set @ A,F3: A > B > B,A6: set @ A,X: A,Z4: B] :
      ( ( finite4664212375090638736ute_on @ A @ B @ S @ F3 )
     => ( ( ord_less_eq @ ( set @ A ) @ A6 @ S )
       => ( ( finite_finite2 @ A @ A6 )
         => ( ( member @ A @ X @ A6 )
           => ( ( finite_fold @ A @ B @ F3 @ Z4 @ A6 )
              = ( F3 @ X @ ( finite_fold @ A @ B @ F3 @ Z4 @ ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ) ) ) ) ) ).

% comp_fun_commute_on.fold_rec
thf(fact_4780_map__of__map__restrict,axiom,
    ! [B: $tType,A: $tType,F3: A > B,Ks2: list @ A] :
      ( ( map_of @ A @ B
        @ ( map @ A @ ( product_prod @ A @ B )
          @ ^ [K3: A] : ( product_Pair @ A @ B @ K3 @ ( F3 @ K3 ) )
          @ Ks2 ) )
      = ( restrict_map @ A @ B @ ( comp @ B @ ( option @ B ) @ A @ ( some @ B ) @ F3 ) @ ( set2 @ A @ Ks2 ) ) ) ).

% map_of_map_restrict
thf(fact_4781_image__mset__map__of,axiom,
    ! [B: $tType,A: $tType,Xs: list @ ( product_prod @ A @ B )] :
      ( ( distinct @ A @ ( map @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) @ Xs ) )
     => ( ( image_mset @ A @ B
          @ ^ [I: A] : ( the2 @ B @ ( map_of @ A @ B @ Xs @ I ) )
          @ ( mset @ A @ ( map @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) @ Xs ) ) )
        = ( mset @ B @ ( map @ ( product_prod @ A @ B ) @ B @ ( product_snd @ A @ B ) @ Xs ) ) ) ) ).

% image_mset_map_of
thf(fact_4782_subseqs_Osimps_I2_J,axiom,
    ! [A: $tType,X: A,Xs: list @ A] :
      ( ( subseqs @ A @ ( cons @ A @ X @ Xs ) )
      = ( append @ ( list @ A ) @ ( map @ ( list @ A ) @ ( list @ A ) @ ( cons @ A @ X ) @ ( subseqs @ A @ Xs ) ) @ ( subseqs @ A @ Xs ) ) ) ).

% subseqs.simps(2)
thf(fact_4783_op__conc__empty__img__id,axiom,
    ! [A: $tType,L7: set @ ( list @ A )] :
      ( ( image2 @ ( list @ A ) @ ( list @ A ) @ ( append @ A @ ( nil @ A ) ) @ L7 )
      = L7 ) ).

% op_conc_empty_img_id
thf(fact_4784_image__mset__union,axiom,
    ! [A: $tType,B: $tType,F3: B > A,M6: multiset @ B,N7: multiset @ B] :
      ( ( image_mset @ B @ A @ F3 @ ( plus_plus @ ( multiset @ B ) @ M6 @ N7 ) )
      = ( plus_plus @ ( multiset @ A ) @ ( image_mset @ B @ A @ F3 @ M6 ) @ ( image_mset @ B @ A @ F3 @ N7 ) ) ) ).

% image_mset_union
thf(fact_4785_image__map__upd,axiom,
    ! [B: $tType,A: $tType,X: A,A6: set @ A,M: A > ( option @ B ),Y: B] :
      ( ~ ( member @ A @ X @ A6 )
     => ( ( image2 @ A @ ( option @ B ) @ ( fun_upd @ A @ ( option @ B ) @ M @ X @ ( some @ B @ Y ) ) @ A6 )
        = ( image2 @ A @ ( option @ B ) @ M @ A6 ) ) ) ).

% image_map_upd
thf(fact_4786_restrict__map__empty,axiom,
    ! [B: $tType,A: $tType,D5: set @ A] :
      ( ( restrict_map @ A @ B
        @ ^ [X4: A] : ( none @ B )
        @ D5 )
      = ( ^ [X4: A] : ( none @ B ) ) ) ).

% restrict_map_empty
thf(fact_4787_nth__image__indices,axiom,
    ! [A: $tType,L: list @ A] :
      ( ( image2 @ nat @ A @ ( nth @ A @ L ) @ ( set_or7035219750837199246ssThan @ nat @ ( zero_zero @ nat ) @ ( size_size @ ( list @ A ) @ L ) ) )
      = ( set2 @ A @ L ) ) ).

% nth_image_indices
thf(fact_4788_restrict__map__upds,axiom,
    ! [A: $tType,B: $tType,Xs: list @ A,Ys3: list @ B,D5: set @ A,M: A > ( option @ B )] :
      ( ( ( size_size @ ( list @ A ) @ Xs )
        = ( size_size @ ( list @ B ) @ Ys3 ) )
     => ( ( ord_less_eq @ ( set @ A ) @ ( set2 @ A @ Xs ) @ D5 )
       => ( ( restrict_map @ A @ B @ ( map_upds @ A @ B @ M @ Xs @ Ys3 ) @ D5 )
          = ( map_upds @ A @ B @ ( restrict_map @ A @ B @ M @ ( minus_minus @ ( set @ A ) @ D5 @ ( set2 @ A @ Xs ) ) ) @ Xs @ Ys3 ) ) ) ) ).

% restrict_map_upds
thf(fact_4789_restrict__upd__same,axiom,
    ! [B: $tType,A: $tType,M: A > ( option @ B ),X: A,Y: B] :
      ( ( restrict_map @ A @ B @ ( fun_upd @ A @ ( option @ B ) @ M @ X @ ( some @ B @ Y ) ) @ ( uminus_uminus @ ( set @ A ) @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) ) )
      = ( restrict_map @ A @ B @ M @ ( uminus_uminus @ ( set @ A ) @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ).

% restrict_upd_same
thf(fact_4790_comp__fun__commute__Pow__fold,axiom,
    ! [A: $tType] :
      ( finite6289374366891150609ommute @ A @ ( set @ ( set @ A ) )
      @ ^ [X4: A,A8: set @ ( set @ A )] : ( sup_sup @ ( set @ ( set @ A ) ) @ A8 @ ( image2 @ ( set @ A ) @ ( set @ A ) @ ( insert @ A @ X4 ) @ A8 ) ) ) ).

% comp_fun_commute_Pow_fold
thf(fact_4791_restrict__map__eq_I2_J,axiom,
    ! [A: $tType,B: $tType,M: B > ( option @ A ),A6: set @ B,K2: B,V2: A] :
      ( ( ( restrict_map @ B @ A @ M @ A6 @ K2 )
        = ( some @ A @ V2 ) )
      = ( ( ( M @ K2 )
          = ( some @ A @ V2 ) )
        & ( member @ B @ K2 @ A6 ) ) ) ).

% restrict_map_eq(2)
thf(fact_4792_mset__map__split__orig,axiom,
    ! [B: $tType,A: $tType,F3: B > A,P2: multiset @ B,M12: multiset @ A,M23: multiset @ A] :
      ( ( ( image_mset @ B @ A @ F3 @ P2 )
        = ( plus_plus @ ( multiset @ A ) @ M12 @ M23 ) )
     => ~ ! [P12: multiset @ B,P22: multiset @ B] :
            ( ( P2
              = ( plus_plus @ ( multiset @ B ) @ P12 @ P22 ) )
           => ( ( ( image_mset @ B @ A @ F3 @ P12 )
                = M12 )
             => ( ( image_mset @ B @ A @ F3 @ P22 )
               != M23 ) ) ) ) ).

% mset_map_split_orig
thf(fact_4793_mset__map__id,axiom,
    ! [B: $tType,A: $tType,F3: B > A,G3: A > B,X7: multiset @ A] :
      ( ! [X3: A] :
          ( ( F3 @ ( G3 @ X3 ) )
          = X3 )
     => ( ( image_mset @ B @ A @ F3 @ ( image_mset @ A @ B @ G3 @ X7 ) )
        = X7 ) ) ).

% mset_map_id
thf(fact_4794_multiset_Omap__ident,axiom,
    ! [A: $tType,T5: multiset @ A] :
      ( ( image_mset @ A @ A
        @ ^ [X4: A] : X4
        @ T5 )
      = T5 ) ).

% multiset.map_ident
thf(fact_4795_restrict__map__subset__eq,axiom,
    ! [B: $tType,A: $tType,M: A > ( option @ B ),R4: set @ A,M8: A > ( option @ B ),R9: set @ A] :
      ( ( ( restrict_map @ A @ B @ M @ R4 )
        = M8 )
     => ( ( ord_less_eq @ ( set @ A ) @ R9 @ R4 )
       => ( ( restrict_map @ A @ B @ M @ R9 )
          = ( restrict_map @ A @ B @ M8 @ R9 ) ) ) ) ).

% restrict_map_subset_eq
thf(fact_4796_le__map__restrict,axiom,
    ! [B: $tType,A: $tType] :
      ( ( order @ B )
     => ! [M: A > ( option @ B ),X7: set @ A] : ( ord_less_eq @ ( A > ( option @ B ) ) @ ( restrict_map @ A @ B @ M @ X7 ) @ M ) ) ).

% le_map_restrict
thf(fact_4797_mset__map__split__orig__le,axiom,
    ! [B: $tType,A: $tType,F3: B > A,P2: multiset @ B,M12: multiset @ A,M23: multiset @ A] :
      ( ( subseteq_mset @ A @ ( image_mset @ B @ A @ F3 @ P2 ) @ ( plus_plus @ ( multiset @ A ) @ M12 @ M23 ) )
     => ~ ! [P12: multiset @ B,P22: multiset @ B] :
            ( ( P2
              = ( plus_plus @ ( multiset @ B ) @ P12 @ P22 ) )
           => ( ( subseteq_mset @ A @ ( image_mset @ B @ A @ F3 @ P12 ) @ M12 )
             => ~ ( subseteq_mset @ A @ ( image_mset @ B @ A @ F3 @ P22 ) @ M23 ) ) ) ) ).

% mset_map_split_orig_le
thf(fact_4798_subset__subseqs,axiom,
    ! [A: $tType,X7: set @ A,Xs: list @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ X7 @ ( set2 @ A @ Xs ) )
     => ( member @ ( set @ A ) @ X7 @ ( image2 @ ( list @ A ) @ ( set @ A ) @ ( set2 @ A ) @ ( set2 @ ( list @ A ) @ ( subseqs @ A @ Xs ) ) ) ) ) ).

% subset_subseqs
thf(fact_4799_None__notin__image__Some,axiom,
    ! [A: $tType,A6: set @ A] :
      ~ ( member @ ( option @ A ) @ ( none @ A ) @ ( image2 @ A @ ( option @ A ) @ ( some @ A ) @ A6 ) ) ).

% None_notin_image_Some
thf(fact_4800_shuffles_Osimps_I3_J,axiom,
    ! [A: $tType,X: A,Xs: list @ A,Y: A,Ys3: list @ A] :
      ( ( shuffles @ A @ ( cons @ A @ X @ Xs ) @ ( cons @ A @ Y @ Ys3 ) )
      = ( sup_sup @ ( set @ ( list @ A ) ) @ ( image2 @ ( list @ A ) @ ( list @ A ) @ ( cons @ A @ X ) @ ( shuffles @ A @ Xs @ ( cons @ A @ Y @ Ys3 ) ) ) @ ( image2 @ ( list @ A ) @ ( list @ A ) @ ( cons @ A @ Y ) @ ( shuffles @ A @ ( cons @ A @ X @ Xs ) @ Ys3 ) ) ) ) ).

% shuffles.simps(3)
thf(fact_4801_Cons__shuffles__subset2,axiom,
    ! [A: $tType,Y: A,Xs: list @ A,Ys3: list @ A] : ( ord_less_eq @ ( set @ ( list @ A ) ) @ ( image2 @ ( list @ A ) @ ( list @ A ) @ ( cons @ A @ Y ) @ ( shuffles @ A @ Xs @ Ys3 ) ) @ ( shuffles @ A @ Xs @ ( cons @ A @ Y @ Ys3 ) ) ) ).

% Cons_shuffles_subset2
thf(fact_4802_Cons__shuffles__subset1,axiom,
    ! [A: $tType,X: A,Xs: list @ A,Ys3: list @ A] : ( ord_less_eq @ ( set @ ( list @ A ) ) @ ( image2 @ ( list @ A ) @ ( list @ A ) @ ( cons @ A @ X ) @ ( shuffles @ A @ Xs @ Ys3 ) ) @ ( shuffles @ A @ ( cons @ A @ X @ Xs ) @ Ys3 ) ) ).

% Cons_shuffles_subset1
thf(fact_4803_nat__seg__image__imp__finite,axiom,
    ! [A: $tType,A6: set @ A,F3: nat > A,N: nat] :
      ( ( A6
        = ( image2 @ nat @ A @ F3
          @ ( collect @ nat
            @ ^ [I: nat] : ( ord_less @ nat @ I @ N ) ) ) )
     => ( finite_finite2 @ A @ A6 ) ) ).

% nat_seg_image_imp_finite
thf(fact_4804_finite__conv__nat__seg__image,axiom,
    ! [A: $tType] :
      ( ( finite_finite2 @ A )
      = ( ^ [A8: set @ A] :
          ? [N3: nat,F4: nat > A] :
            ( A8
            = ( image2 @ nat @ A @ F4
              @ ( collect @ nat
                @ ^ [I: nat] : ( ord_less @ nat @ I @ N3 ) ) ) ) ) ) ).

% finite_conv_nat_seg_image
thf(fact_4805_finite__int__iff__bounded__le,axiom,
    ( ( finite_finite2 @ int )
    = ( ^ [S4: set @ int] :
        ? [K3: int] : ( ord_less_eq @ ( set @ int ) @ ( image2 @ int @ int @ ( abs_abs @ int ) @ S4 ) @ ( set_ord_atMost @ int @ K3 ) ) ) ) ).

% finite_int_iff_bounded_le
thf(fact_4806_finite__int__iff__bounded,axiom,
    ( ( finite_finite2 @ int )
    = ( ^ [S4: set @ int] :
        ? [K3: int] : ( ord_less_eq @ ( set @ int ) @ ( image2 @ int @ int @ ( abs_abs @ int ) @ S4 ) @ ( set_ord_lessThan @ int @ K3 ) ) ) ) ).

% finite_int_iff_bounded
thf(fact_4807_graph__restrictD_I1_J,axiom,
    ! [B: $tType,A: $tType,K2: A,V2: B,M: A > ( option @ B ),A6: set @ A] :
      ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ K2 @ V2 ) @ ( graph @ A @ B @ ( restrict_map @ A @ B @ M @ A6 ) ) )
     => ( member @ A @ K2 @ A6 ) ) ).

% graph_restrictD(1)
thf(fact_4808_ran__restrictD,axiom,
    ! [B: $tType,A: $tType,Y: A,M: B > ( option @ A ),A6: set @ B] :
      ( ( member @ A @ Y @ ( ran @ B @ A @ ( restrict_map @ B @ A @ M @ A6 ) ) )
     => ? [X3: B] :
          ( ( member @ B @ X3 @ A6 )
          & ( ( M @ X3 )
            = ( some @ A @ Y ) ) ) ) ).

% ran_restrictD
thf(fact_4809_in__image__insert__iff,axiom,
    ! [A: $tType,B6: set @ ( set @ A ),X: A,A6: set @ A] :
      ( ! [C8: set @ A] :
          ( ( member @ ( set @ A ) @ C8 @ B6 )
         => ~ ( member @ A @ X @ C8 ) )
     => ( ( member @ ( set @ A ) @ A6 @ ( image2 @ ( set @ A ) @ ( set @ A ) @ ( insert @ A @ X ) @ B6 ) )
        = ( ( member @ A @ X @ A6 )
          & ( member @ ( set @ A ) @ ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) ) @ B6 ) ) ) ) ).

% in_image_insert_iff
thf(fact_4810_shuffles_Oelims,axiom,
    ! [A: $tType,X: list @ A,Xa: list @ A,Y: set @ ( list @ A )] :
      ( ( ( shuffles @ A @ X @ Xa )
        = Y )
     => ( ( ( X
            = ( nil @ A ) )
         => ( Y
           != ( insert @ ( list @ A ) @ Xa @ ( bot_bot @ ( set @ ( list @ A ) ) ) ) ) )
       => ( ( ( Xa
              = ( nil @ A ) )
           => ( Y
             != ( insert @ ( list @ A ) @ X @ ( bot_bot @ ( set @ ( list @ A ) ) ) ) ) )
         => ~ ! [X3: A,Xs2: list @ A] :
                ( ( X
                  = ( cons @ A @ X3 @ Xs2 ) )
               => ! [Y3: A,Ys5: list @ A] :
                    ( ( Xa
                      = ( cons @ A @ Y3 @ Ys5 ) )
                   => ( Y
                     != ( sup_sup @ ( set @ ( list @ A ) ) @ ( image2 @ ( list @ A ) @ ( list @ A ) @ ( cons @ A @ X3 ) @ ( shuffles @ A @ Xs2 @ ( cons @ A @ Y3 @ Ys5 ) ) ) @ ( image2 @ ( list @ A ) @ ( list @ A ) @ ( cons @ A @ Y3 ) @ ( shuffles @ A @ ( cons @ A @ X3 @ Xs2 ) @ Ys5 ) ) ) ) ) ) ) ) ) ).

% shuffles.elims
thf(fact_4811_map__restrict__insert__none__simp,axiom,
    ! [A: $tType,B: $tType,M: B > ( option @ A ),X: B,S2: set @ B] :
      ( ( ( M @ X )
        = ( none @ A ) )
     => ( ( restrict_map @ B @ A @ M @ ( uminus_uminus @ ( set @ B ) @ ( insert @ B @ X @ S2 ) ) )
        = ( restrict_map @ B @ A @ M @ ( uminus_uminus @ ( set @ B ) @ S2 ) ) ) ) ).

% map_restrict_insert_none_simp
thf(fact_4812_restrict__map__upd,axiom,
    ! [B: $tType,A: $tType,F3: A > ( option @ B ),S: set @ A,K2: A,V2: B] :
      ( ( fun_upd @ A @ ( option @ B ) @ ( restrict_map @ A @ B @ F3 @ S ) @ K2 @ ( some @ B @ V2 ) )
      = ( restrict_map @ A @ B @ ( fun_upd @ A @ ( option @ B ) @ F3 @ K2 @ ( some @ B @ V2 ) ) @ ( insert @ A @ K2 @ S ) ) ) ).

% restrict_map_upd
thf(fact_4813_graph__restrictD_I2_J,axiom,
    ! [A: $tType,B: $tType,K2: A,V2: B,M: A > ( option @ B ),A6: set @ A] :
      ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ K2 @ V2 ) @ ( graph @ A @ B @ ( restrict_map @ A @ B @ M @ A6 ) ) )
     => ( ( M @ K2 )
        = ( some @ B @ V2 ) ) ) ).

% graph_restrictD(2)
thf(fact_4814_finite__set__image,axiom,
    ! [A: $tType,A6: set @ ( list @ A )] :
      ( ( finite_finite2 @ ( set @ A ) @ ( image2 @ ( list @ A ) @ ( set @ A ) @ ( set2 @ A ) @ A6 ) )
     => ( ! [Xs2: list @ A] :
            ( ( member @ ( list @ A ) @ Xs2 @ A6 )
           => ( distinct @ A @ Xs2 ) )
       => ( finite_finite2 @ ( list @ A ) @ A6 ) ) ) ).

% finite_set_image
thf(fact_4815_image__add__int__atLeastLessThan,axiom,
    ! [L: int,U: int] :
      ( ( image2 @ int @ int
        @ ^ [X4: int] : ( plus_plus @ int @ X4 @ L )
        @ ( set_or7035219750837199246ssThan @ int @ ( zero_zero @ int ) @ ( minus_minus @ int @ U @ L ) ) )
      = ( set_or7035219750837199246ssThan @ int @ L @ U ) ) ).

% image_add_int_atLeastLessThan
thf(fact_4816_image__add__integer__atLeastLessThan,axiom,
    ! [L: code_integer,U: code_integer] :
      ( ( image2 @ code_integer @ code_integer
        @ ^ [X4: code_integer] : ( plus_plus @ code_integer @ X4 @ L )
        @ ( set_or7035219750837199246ssThan @ code_integer @ ( zero_zero @ code_integer ) @ ( minus_minus @ code_integer @ U @ L ) ) )
      = ( set_or7035219750837199246ssThan @ code_integer @ L @ U ) ) ).

% image_add_integer_atLeastLessThan
thf(fact_4817_map__upd__eq__restrict,axiom,
    ! [B: $tType,A: $tType,M: A > ( option @ B ),X: A] :
      ( ( fun_upd @ A @ ( option @ B ) @ M @ X @ ( none @ B ) )
      = ( restrict_map @ A @ B @ M @ ( uminus_uminus @ ( set @ A ) @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ).

% map_upd_eq_restrict
thf(fact_4818_image__atLeastZeroLessThan__integer,axiom,
    ! [U: code_integer] :
      ( ( ord_less_eq @ code_integer @ ( zero_zero @ code_integer ) @ U )
     => ( ( set_or7035219750837199246ssThan @ code_integer @ ( zero_zero @ code_integer ) @ U )
        = ( image2 @ nat @ code_integer @ ( semiring_1_of_nat @ code_integer ) @ ( set_ord_lessThan @ nat @ ( code_nat_of_integer @ U ) ) ) ) ) ).

% image_atLeastZeroLessThan_integer
thf(fact_4819_image__atLeastZeroLessThan__int,axiom,
    ! [U: int] :
      ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ U )
     => ( ( set_or7035219750837199246ssThan @ int @ ( zero_zero @ int ) @ U )
        = ( image2 @ nat @ int @ ( semiring_1_of_nat @ int ) @ ( set_ord_lessThan @ nat @ ( nat2 @ U ) ) ) ) ) ).

% image_atLeastZeroLessThan_int
thf(fact_4820_image__minus__const__atLeastLessThan__nat,axiom,
    ! [C3: nat,Y: nat,X: nat] :
      ( ( ( ord_less @ nat @ C3 @ Y )
       => ( ( image2 @ nat @ nat
            @ ^ [I: nat] : ( minus_minus @ nat @ I @ C3 )
            @ ( set_or7035219750837199246ssThan @ nat @ X @ Y ) )
          = ( set_or7035219750837199246ssThan @ nat @ ( minus_minus @ nat @ X @ C3 ) @ ( minus_minus @ nat @ Y @ C3 ) ) ) )
      & ( ~ ( ord_less @ nat @ C3 @ Y )
       => ( ( ( ord_less @ nat @ X @ Y )
           => ( ( image2 @ nat @ nat
                @ ^ [I: nat] : ( minus_minus @ nat @ I @ C3 )
                @ ( set_or7035219750837199246ssThan @ nat @ X @ Y ) )
              = ( insert @ nat @ ( zero_zero @ nat ) @ ( bot_bot @ ( set @ nat ) ) ) ) )
          & ( ~ ( ord_less @ nat @ X @ Y )
           => ( ( image2 @ nat @ nat
                @ ^ [I: nat] : ( minus_minus @ nat @ I @ C3 )
                @ ( set_or7035219750837199246ssThan @ nat @ X @ Y ) )
              = ( bot_bot @ ( set @ nat ) ) ) ) ) ) ) ).

% image_minus_const_atLeastLessThan_nat
thf(fact_4821_shuffles_Opelims,axiom,
    ! [A: $tType,X: list @ A,Xa: list @ A,Y: set @ ( list @ A )] :
      ( ( ( shuffles @ A @ X @ Xa )
        = Y )
     => ( ( accp @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( shuffles_rel @ A ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ X @ Xa ) )
       => ( ( ( X
              = ( nil @ A ) )
           => ( ( Y
                = ( insert @ ( list @ A ) @ Xa @ ( bot_bot @ ( set @ ( list @ A ) ) ) ) )
             => ~ ( accp @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( shuffles_rel @ A ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( nil @ A ) @ Xa ) ) ) )
         => ( ( ( Xa
                = ( nil @ A ) )
             => ( ( Y
                  = ( insert @ ( list @ A ) @ X @ ( bot_bot @ ( set @ ( list @ A ) ) ) ) )
               => ~ ( accp @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( shuffles_rel @ A ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ X @ ( nil @ A ) ) ) ) )
           => ~ ! [X3: A,Xs2: list @ A] :
                  ( ( X
                    = ( cons @ A @ X3 @ Xs2 ) )
                 => ! [Y3: A,Ys5: list @ A] :
                      ( ( Xa
                        = ( cons @ A @ Y3 @ Ys5 ) )
                     => ( ( Y
                          = ( sup_sup @ ( set @ ( list @ A ) ) @ ( image2 @ ( list @ A ) @ ( list @ A ) @ ( cons @ A @ X3 ) @ ( shuffles @ A @ Xs2 @ ( cons @ A @ Y3 @ Ys5 ) ) ) @ ( image2 @ ( list @ A ) @ ( list @ A ) @ ( cons @ A @ Y3 ) @ ( shuffles @ A @ ( cons @ A @ X3 @ Xs2 ) @ Ys5 ) ) ) )
                       => ~ ( accp @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( shuffles_rel @ A ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( cons @ A @ X3 @ Xs2 ) @ ( cons @ A @ Y3 @ Ys5 ) ) ) ) ) ) ) ) ) ) ).

% shuffles.pelims
thf(fact_4822_set__Cons__sing__Nil,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ( set_Cons @ A @ A6 @ ( insert @ ( list @ A ) @ ( nil @ A ) @ ( bot_bot @ ( set @ ( list @ A ) ) ) ) )
      = ( image2 @ A @ ( list @ A )
        @ ^ [X4: A] : ( cons @ A @ X4 @ ( nil @ A ) )
        @ A6 ) ) ).

% set_Cons_sing_Nil
thf(fact_4823_shuffles_Opsimps_I3_J,axiom,
    ! [A: $tType,X: A,Xs: list @ A,Y: A,Ys3: list @ A] :
      ( ( accp @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( shuffles_rel @ A ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( cons @ A @ X @ Xs ) @ ( cons @ A @ Y @ Ys3 ) ) )
     => ( ( shuffles @ A @ ( cons @ A @ X @ Xs ) @ ( cons @ A @ Y @ Ys3 ) )
        = ( sup_sup @ ( set @ ( list @ A ) ) @ ( image2 @ ( list @ A ) @ ( list @ A ) @ ( cons @ A @ X ) @ ( shuffles @ A @ Xs @ ( cons @ A @ Y @ Ys3 ) ) ) @ ( image2 @ ( list @ A ) @ ( list @ A ) @ ( cons @ A @ Y ) @ ( shuffles @ A @ ( cons @ A @ X @ Xs ) @ Ys3 ) ) ) ) ) ).

% shuffles.psimps(3)
thf(fact_4824_fold__union__pair,axiom,
    ! [B: $tType,A: $tType,B6: set @ A,X: B,A6: set @ ( product_prod @ B @ A )] :
      ( ( finite_finite2 @ A @ B6 )
     => ( ( sup_sup @ ( set @ ( product_prod @ B @ A ) )
          @ ( complete_Sup_Sup @ ( set @ ( product_prod @ B @ A ) )
            @ ( image2 @ A @ ( set @ ( product_prod @ B @ A ) )
              @ ^ [Y4: A] : ( insert @ ( product_prod @ B @ A ) @ ( product_Pair @ B @ A @ X @ Y4 ) @ ( bot_bot @ ( set @ ( product_prod @ B @ A ) ) ) )
              @ B6 ) )
          @ A6 )
        = ( finite_fold @ A @ ( set @ ( product_prod @ B @ A ) )
          @ ^ [Y4: A] : ( insert @ ( product_prod @ B @ A ) @ ( product_Pair @ B @ A @ X @ Y4 ) )
          @ A6
          @ B6 ) ) ) ).

% fold_union_pair
thf(fact_4825_relInvImage__Id__on,axiom,
    ! [B: $tType,A: $tType,F3: A > B,A6: set @ A,B6: set @ B] :
      ( ! [A14: A,A24: A] :
          ( ( ( F3 @ A14 )
            = ( F3 @ A24 ) )
          = ( A14 = A24 ) )
     => ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Gr7122648621184425601vImage @ A @ B @ A6 @ ( id_on @ B @ B6 ) @ F3 ) @ ( id2 @ A ) ) ) ).

% relInvImage_Id_on
thf(fact_4826_filter__rev__aux__alt,axiom,
    ! [A: $tType] :
      ( ( filter_rev_aux @ A )
      = ( ^ [A7: list @ A,P5: A > $o,L2: list @ A] : ( append @ A @ ( filter2 @ A @ P5 @ ( rev @ A @ L2 ) ) @ A7 ) ) ) ).

% filter_rev_aux_alt
thf(fact_4827_Sup__apply,axiom,
    ! [B: $tType,A: $tType] :
      ( ( complete_Sup @ B )
     => ( ( complete_Sup_Sup @ ( A > B ) )
        = ( ^ [A8: set @ ( A > B ),X4: A] :
              ( complete_Sup_Sup @ B
              @ ( image2 @ ( A > B ) @ B
                @ ^ [F4: A > B] : ( F4 @ X4 )
                @ A8 ) ) ) ) ) ).

% Sup_apply
thf(fact_4828_cSup__atMost,axiom,
    ! [A: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [X: A] :
          ( ( complete_Sup_Sup @ A @ ( set_ord_atMost @ A @ X ) )
          = X ) ) ).

% cSup_atMost
thf(fact_4829_cSup__lessThan,axiom,
    ! [A: $tType] :
      ( ( ( condit6923001295902523014norder @ A )
        & ( dense_linorder @ A )
        & ( no_bot @ A ) )
     => ! [X: A] :
          ( ( complete_Sup_Sup @ A @ ( set_ord_lessThan @ A @ X ) )
          = X ) ) ).

% cSup_lessThan
thf(fact_4830_SUP__apply,axiom,
    ! [A: $tType,B: $tType,C: $tType] :
      ( ( complete_Sup @ A )
     => ! [F3: C > B > A,A6: set @ C,X: B] :
          ( ( complete_Sup_Sup @ ( B > A ) @ ( image2 @ C @ ( B > A ) @ F3 @ A6 ) @ X )
          = ( complete_Sup_Sup @ A
            @ ( image2 @ C @ A
              @ ^ [Y4: C] : ( F3 @ Y4 @ X )
              @ A6 ) ) ) ) ).

% SUP_apply
thf(fact_4831_SUP__identity__eq,axiom,
    ! [A: $tType] :
      ( ( complete_Sup @ A )
     => ! [A6: set @ A] :
          ( ( complete_Sup_Sup @ A
            @ ( image2 @ A @ A
              @ ^ [X4: A] : X4
              @ A6 ) )
          = ( complete_Sup_Sup @ A @ A6 ) ) ) ).

% SUP_identity_eq
thf(fact_4832_UN__iff,axiom,
    ! [A: $tType,B: $tType,B2: A,B6: B > ( set @ A ),A6: set @ B] :
      ( ( member @ A @ B2 @ ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ B6 @ A6 ) ) )
      = ( ? [X4: B] :
            ( ( member @ B @ X4 @ A6 )
            & ( member @ A @ B2 @ ( B6 @ X4 ) ) ) ) ) ).

% UN_iff
thf(fact_4833_UN__I,axiom,
    ! [B: $tType,A: $tType,A3: A,A6: set @ A,B2: B,B6: A > ( set @ B )] :
      ( ( member @ A @ A3 @ A6 )
     => ( ( member @ B @ B2 @ ( B6 @ A3 ) )
       => ( member @ B @ B2 @ ( complete_Sup_Sup @ ( set @ B ) @ ( image2 @ A @ ( set @ B ) @ B6 @ A6 ) ) ) ) ) ).

% UN_I
thf(fact_4834_cSup__singleton,axiom,
    ! [A: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [X: A] :
          ( ( complete_Sup_Sup @ A @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) )
          = X ) ) ).

% cSup_singleton
thf(fact_4835_cSup__atLeastAtMost,axiom,
    ! [A: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [Y: A,X: A] :
          ( ( ord_less_eq @ A @ Y @ X )
         => ( ( complete_Sup_Sup @ A @ ( set_or1337092689740270186AtMost @ A @ Y @ X ) )
            = X ) ) ) ).

% cSup_atLeastAtMost
thf(fact_4836_Sup__atLeastAtMost,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less_eq @ A @ X @ Y )
         => ( ( complete_Sup_Sup @ A @ ( set_or1337092689740270186AtMost @ A @ X @ Y ) )
            = Y ) ) ) ).

% Sup_atLeastAtMost
thf(fact_4837_Sup__insert,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A3: A,A6: set @ A] :
          ( ( complete_Sup_Sup @ A @ ( insert @ A @ A3 @ A6 ) )
          = ( sup_sup @ A @ A3 @ ( complete_Sup_Sup @ A @ A6 ) ) ) ) ).

% Sup_insert
thf(fact_4838_cSup__atLeastLessThan,axiom,
    ! [A: $tType] :
      ( ( ( condit6923001295902523014norder @ A )
        & ( dense_linorder @ A ) )
     => ! [Y: A,X: A] :
          ( ( ord_less @ A @ Y @ X )
         => ( ( complete_Sup_Sup @ A @ ( set_or7035219750837199246ssThan @ A @ Y @ X ) )
            = X ) ) ) ).

% cSup_atLeastLessThan
thf(fact_4839_Sup__atLeastLessThan,axiom,
    ! [A: $tType] :
      ( ( ( comple6319245703460814977attice @ A )
        & ( dense_linorder @ A ) )
     => ! [X: A,Y: A] :
          ( ( ord_less @ A @ X @ Y )
         => ( ( complete_Sup_Sup @ A @ ( set_or7035219750837199246ssThan @ A @ X @ Y ) )
            = Y ) ) ) ).

% Sup_atLeastLessThan
thf(fact_4840_cSup__greaterThanAtMost,axiom,
    ! [A: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [Y: A,X: A] :
          ( ( ord_less @ A @ Y @ X )
         => ( ( complete_Sup_Sup @ A @ ( set_or3652927894154168847AtMost @ A @ Y @ X ) )
            = X ) ) ) ).

% cSup_greaterThanAtMost
thf(fact_4841_Sup__greaterThanAtMost,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less @ A @ X @ Y )
         => ( ( complete_Sup_Sup @ A @ ( set_or3652927894154168847AtMost @ A @ X @ Y ) )
            = Y ) ) ) ).

% Sup_greaterThanAtMost
thf(fact_4842_cSup__greaterThanLessThan,axiom,
    ! [A: $tType] :
      ( ( ( condit6923001295902523014norder @ A )
        & ( dense_linorder @ A ) )
     => ! [Y: A,X: A] :
          ( ( ord_less @ A @ Y @ X )
         => ( ( complete_Sup_Sup @ A @ ( set_or5935395276787703475ssThan @ A @ Y @ X ) )
            = X ) ) ) ).

% cSup_greaterThanLessThan
thf(fact_4843_Sup__greaterThanLessThan,axiom,
    ! [A: $tType] :
      ( ( ( comple6319245703460814977attice @ A )
        & ( dense_linorder @ A ) )
     => ! [X: A,Y: A] :
          ( ( ord_less @ A @ X @ Y )
         => ( ( complete_Sup_Sup @ A @ ( set_or5935395276787703475ssThan @ A @ X @ Y ) )
            = Y ) ) ) ).

% Sup_greaterThanLessThan
thf(fact_4844_SUP__bot__conv_I2_J,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [B6: B > A,A6: set @ B] :
          ( ( ( bot_bot @ A )
            = ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ B6 @ A6 ) ) )
          = ( ! [X4: B] :
                ( ( member @ B @ X4 @ A6 )
               => ( ( B6 @ X4 )
                  = ( bot_bot @ A ) ) ) ) ) ) ).

% SUP_bot_conv(2)
thf(fact_4845_SUP__bot__conv_I1_J,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [B6: B > A,A6: set @ B] :
          ( ( ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ B6 @ A6 ) )
            = ( bot_bot @ A ) )
          = ( ! [X4: B] :
                ( ( member @ B @ X4 @ A6 )
               => ( ( B6 @ X4 )
                  = ( bot_bot @ A ) ) ) ) ) ) ).

% SUP_bot_conv(1)
thf(fact_4846_SUP__bot,axiom,
    ! [B: $tType,A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A6: set @ B] :
          ( ( complete_Sup_Sup @ A
            @ ( image2 @ B @ A
              @ ^ [X4: B] : ( bot_bot @ A )
              @ A6 ) )
          = ( bot_bot @ A ) ) ) ).

% SUP_bot
thf(fact_4847_SUP__const,axiom,
    ! [B: $tType,A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A6: set @ B,F3: A] :
          ( ( A6
           != ( bot_bot @ ( set @ B ) ) )
         => ( ( complete_Sup_Sup @ A
              @ ( image2 @ B @ A
                @ ^ [I: B] : F3
                @ A6 ) )
            = F3 ) ) ) ).

% SUP_const
thf(fact_4848_cSUP__const,axiom,
    ! [B: $tType,A: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [A6: set @ B,C3: A] :
          ( ( A6
           != ( bot_bot @ ( set @ B ) ) )
         => ( ( complete_Sup_Sup @ A
              @ ( image2 @ B @ A
                @ ^ [X4: B] : C3
                @ A6 ) )
            = C3 ) ) ) ).

% cSUP_const
thf(fact_4849_UN__constant,axiom,
    ! [B: $tType,A: $tType,A6: set @ B,C3: set @ A] :
      ( ( ( A6
          = ( bot_bot @ ( set @ B ) ) )
       => ( ( complete_Sup_Sup @ ( set @ A )
            @ ( image2 @ B @ ( set @ A )
              @ ^ [Y4: B] : C3
              @ A6 ) )
          = ( bot_bot @ ( set @ A ) ) ) )
      & ( ( A6
         != ( bot_bot @ ( set @ B ) ) )
       => ( ( complete_Sup_Sup @ ( set @ A )
            @ ( image2 @ B @ ( set @ A )
              @ ^ [Y4: B] : C3
              @ A6 ) )
          = C3 ) ) ) ).

% UN_constant
thf(fact_4850_finite__UN__I,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,B6: A > ( set @ B )] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ! [A5: A] :
            ( ( member @ A @ A5 @ A6 )
           => ( finite_finite2 @ B @ ( B6 @ A5 ) ) )
       => ( finite_finite2 @ B @ ( complete_Sup_Sup @ ( set @ B ) @ ( image2 @ A @ ( set @ B ) @ B6 @ A6 ) ) ) ) ) ).

% finite_UN_I
thf(fact_4851_Union__Un__distrib,axiom,
    ! [A: $tType,A6: set @ ( set @ A ),B6: set @ ( set @ A )] :
      ( ( complete_Sup_Sup @ ( set @ A ) @ ( sup_sup @ ( set @ ( set @ A ) ) @ A6 @ B6 ) )
      = ( sup_sup @ ( set @ A ) @ ( complete_Sup_Sup @ ( set @ A ) @ A6 ) @ ( complete_Sup_Sup @ ( set @ A ) @ B6 ) ) ) ).

% Union_Un_distrib
thf(fact_4852_UN__Un,axiom,
    ! [A: $tType,B: $tType,M6: B > ( set @ A ),A6: set @ B,B6: set @ B] :
      ( ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ M6 @ ( sup_sup @ ( set @ B ) @ A6 @ B6 ) ) )
      = ( sup_sup @ ( set @ A ) @ ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ M6 @ A6 ) ) @ ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ M6 @ B6 ) ) ) ) ).

% UN_Un
thf(fact_4853_UN__singleton,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ( complete_Sup_Sup @ ( set @ A )
        @ ( image2 @ A @ ( set @ A )
          @ ^ [X4: A] : ( insert @ A @ X4 @ ( bot_bot @ ( set @ A ) ) )
          @ A6 ) )
      = A6 ) ).

% UN_singleton
thf(fact_4854_UN__simps_I1_J,axiom,
    ! [A: $tType,B: $tType,C5: set @ B,A3: A,B6: B > ( set @ A )] :
      ( ( ( C5
          = ( bot_bot @ ( set @ B ) ) )
       => ( ( complete_Sup_Sup @ ( set @ A )
            @ ( image2 @ B @ ( set @ A )
              @ ^ [X4: B] : ( insert @ A @ A3 @ ( B6 @ X4 ) )
              @ C5 ) )
          = ( bot_bot @ ( set @ A ) ) ) )
      & ( ( C5
         != ( bot_bot @ ( set @ B ) ) )
       => ( ( complete_Sup_Sup @ ( set @ A )
            @ ( image2 @ B @ ( set @ A )
              @ ^ [X4: B] : ( insert @ A @ A3 @ ( B6 @ X4 ) )
              @ C5 ) )
          = ( insert @ A @ A3 @ ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ B6 @ C5 ) ) ) ) ) ) ).

% UN_simps(1)
thf(fact_4855_UN__simps_I3_J,axiom,
    ! [E: $tType,F2: $tType,C5: set @ F2,A6: set @ E,B6: F2 > ( set @ E )] :
      ( ( ( C5
          = ( bot_bot @ ( set @ F2 ) ) )
       => ( ( complete_Sup_Sup @ ( set @ E )
            @ ( image2 @ F2 @ ( set @ E )
              @ ^ [X4: F2] : ( sup_sup @ ( set @ E ) @ A6 @ ( B6 @ X4 ) )
              @ C5 ) )
          = ( bot_bot @ ( set @ E ) ) ) )
      & ( ( C5
         != ( bot_bot @ ( set @ F2 ) ) )
       => ( ( complete_Sup_Sup @ ( set @ E )
            @ ( image2 @ F2 @ ( set @ E )
              @ ^ [X4: F2] : ( sup_sup @ ( set @ E ) @ A6 @ ( B6 @ X4 ) )
              @ C5 ) )
          = ( sup_sup @ ( set @ E ) @ A6 @ ( complete_Sup_Sup @ ( set @ E ) @ ( image2 @ F2 @ ( set @ E ) @ B6 @ C5 ) ) ) ) ) ) ).

% UN_simps(3)
thf(fact_4856_UN__simps_I2_J,axiom,
    ! [C: $tType,D: $tType,C5: set @ C,A6: C > ( set @ D ),B6: set @ D] :
      ( ( ( C5
          = ( bot_bot @ ( set @ C ) ) )
       => ( ( complete_Sup_Sup @ ( set @ D )
            @ ( image2 @ C @ ( set @ D )
              @ ^ [X4: C] : ( sup_sup @ ( set @ D ) @ ( A6 @ X4 ) @ B6 )
              @ C5 ) )
          = ( bot_bot @ ( set @ D ) ) ) )
      & ( ( C5
         != ( bot_bot @ ( set @ C ) ) )
       => ( ( complete_Sup_Sup @ ( set @ D )
            @ ( image2 @ C @ ( set @ D )
              @ ^ [X4: C] : ( sup_sup @ ( set @ D ) @ ( A6 @ X4 ) @ B6 )
              @ C5 ) )
          = ( sup_sup @ ( set @ D ) @ ( complete_Sup_Sup @ ( set @ D ) @ ( image2 @ C @ ( set @ D ) @ A6 @ C5 ) ) @ B6 ) ) ) ) ).

% UN_simps(2)
thf(fact_4857_UN__insert,axiom,
    ! [A: $tType,B: $tType,B6: B > ( set @ A ),A3: B,A6: set @ B] :
      ( ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ B6 @ ( insert @ B @ A3 @ A6 ) ) )
      = ( sup_sup @ ( set @ A ) @ ( B6 @ A3 ) @ ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ B6 @ A6 ) ) ) ) ).

% UN_insert
thf(fact_4858_set__concat,axiom,
    ! [A: $tType,Xs: list @ ( list @ A )] :
      ( ( set2 @ A @ ( concat @ A @ Xs ) )
      = ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ ( list @ A ) @ ( set @ A ) @ ( set2 @ A ) @ ( set2 @ ( list @ A ) @ Xs ) ) ) ) ).

% set_concat
thf(fact_4859_UN__extend__simps_I9_J,axiom,
    ! [S9: $tType,R10: $tType,Q9: $tType,C5: R10 > ( set @ S9 ),B6: Q9 > ( set @ R10 ),A6: set @ Q9] :
      ( ( complete_Sup_Sup @ ( set @ S9 )
        @ ( image2 @ Q9 @ ( set @ S9 )
          @ ^ [X4: Q9] : ( complete_Sup_Sup @ ( set @ S9 ) @ ( image2 @ R10 @ ( set @ S9 ) @ C5 @ ( B6 @ X4 ) ) )
          @ A6 ) )
      = ( complete_Sup_Sup @ ( set @ S9 ) @ ( image2 @ R10 @ ( set @ S9 ) @ C5 @ ( complete_Sup_Sup @ ( set @ R10 ) @ ( image2 @ Q9 @ ( set @ R10 ) @ B6 @ A6 ) ) ) ) ) ).

% UN_extend_simps(9)
thf(fact_4860_SUP__commute,axiom,
    ! [A: $tType,B: $tType,C: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [F3: B > C > A,B6: set @ C,A6: set @ B] :
          ( ( complete_Sup_Sup @ A
            @ ( image2 @ B @ A
              @ ^ [I: B] : ( complete_Sup_Sup @ A @ ( image2 @ C @ A @ ( F3 @ I ) @ B6 ) )
              @ A6 ) )
          = ( complete_Sup_Sup @ A
            @ ( image2 @ C @ A
              @ ^ [J: C] :
                  ( complete_Sup_Sup @ A
                  @ ( image2 @ B @ A
                    @ ^ [I: B] : ( F3 @ I @ J )
                    @ A6 ) )
              @ B6 ) ) ) ) ).

% SUP_commute
thf(fact_4861_UN__E,axiom,
    ! [A: $tType,B: $tType,B2: A,B6: B > ( set @ A ),A6: set @ B] :
      ( ( member @ A @ B2 @ ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ B6 @ A6 ) ) )
     => ~ ! [X3: B] :
            ( ( member @ B @ X3 @ A6 )
           => ~ ( member @ A @ B2 @ ( B6 @ X3 ) ) ) ) ).

% UN_E
thf(fact_4862_SUP__UNION,axiom,
    ! [A: $tType,B: $tType,C: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [F3: B > A,G3: C > ( set @ B ),A6: set @ C] :
          ( ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ F3 @ ( complete_Sup_Sup @ ( set @ B ) @ ( image2 @ C @ ( set @ B ) @ G3 @ A6 ) ) ) )
          = ( complete_Sup_Sup @ A
            @ ( image2 @ C @ A
              @ ^ [Y4: C] : ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ F3 @ ( G3 @ Y4 ) ) )
              @ A6 ) ) ) ) ).

% SUP_UNION
thf(fact_4863_Sup__fun__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( complete_Sup @ B )
     => ( ( complete_Sup_Sup @ ( A > B ) )
        = ( ^ [A8: set @ ( A > B ),X4: A] :
              ( complete_Sup_Sup @ B
              @ ( image2 @ ( A > B ) @ B
                @ ^ [F4: A > B] : ( F4 @ X4 )
                @ A8 ) ) ) ) ) ).

% Sup_fun_def
thf(fact_4864_UN__UN__flatten,axiom,
    ! [A: $tType,B: $tType,C: $tType,C5: B > ( set @ A ),B6: C > ( set @ B ),A6: set @ C] :
      ( ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ C5 @ ( complete_Sup_Sup @ ( set @ B ) @ ( image2 @ C @ ( set @ B ) @ B6 @ A6 ) ) ) )
      = ( complete_Sup_Sup @ ( set @ A )
        @ ( image2 @ C @ ( set @ A )
          @ ^ [Y4: C] : ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ C5 @ ( B6 @ Y4 ) ) )
          @ A6 ) ) ) ).

% UN_UN_flatten
thf(fact_4865_Some__Sup,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A6: set @ A] :
          ( ( A6
           != ( bot_bot @ ( set @ A ) ) )
         => ( ( some @ A @ ( complete_Sup_Sup @ A @ A6 ) )
            = ( complete_Sup_Sup @ ( option @ A ) @ ( image2 @ A @ ( option @ A ) @ ( some @ A ) @ A6 ) ) ) ) ) ).

% Some_Sup
thf(fact_4866_relcomp__UNION__distrib,axiom,
    ! [A: $tType,C: $tType,B: $tType,D: $tType,S2: set @ ( product_prod @ A @ C ),R3: D > ( set @ ( product_prod @ C @ B ) ),I5: set @ D] :
      ( ( relcomp @ A @ C @ B @ S2 @ ( complete_Sup_Sup @ ( set @ ( product_prod @ C @ B ) ) @ ( image2 @ D @ ( set @ ( product_prod @ C @ B ) ) @ R3 @ I5 ) ) )
      = ( complete_Sup_Sup @ ( set @ ( product_prod @ A @ B ) )
        @ ( image2 @ D @ ( set @ ( product_prod @ A @ B ) )
          @ ^ [I: D] : ( relcomp @ A @ C @ B @ S2 @ ( R3 @ I ) )
          @ I5 ) ) ) ).

% relcomp_UNION_distrib
thf(fact_4867_relcomp__UNION__distrib2,axiom,
    ! [A: $tType,B: $tType,C: $tType,D: $tType,R3: D > ( set @ ( product_prod @ A @ C ) ),I5: set @ D,S2: set @ ( product_prod @ C @ B )] :
      ( ( relcomp @ A @ C @ B @ ( complete_Sup_Sup @ ( set @ ( product_prod @ A @ C ) ) @ ( image2 @ D @ ( set @ ( product_prod @ A @ C ) ) @ R3 @ I5 ) ) @ S2 )
      = ( complete_Sup_Sup @ ( set @ ( product_prod @ A @ B ) )
        @ ( image2 @ D @ ( set @ ( product_prod @ A @ B ) )
          @ ^ [I: D] : ( relcomp @ A @ C @ B @ ( R3 @ I ) @ S2 )
          @ I5 ) ) ) ).

% relcomp_UNION_distrib2
thf(fact_4868_Union__subsetI,axiom,
    ! [A: $tType,A6: set @ ( set @ A ),B6: set @ ( set @ A )] :
      ( ! [X3: set @ A] :
          ( ( member @ ( set @ A ) @ X3 @ A6 )
         => ? [Y5: set @ A] :
              ( ( member @ ( set @ A ) @ Y5 @ B6 )
              & ( ord_less_eq @ ( set @ A ) @ X3 @ Y5 ) ) )
     => ( ord_less_eq @ ( set @ A ) @ ( complete_Sup_Sup @ ( set @ A ) @ A6 ) @ ( complete_Sup_Sup @ ( set @ A ) @ B6 ) ) ) ).

% Union_subsetI
thf(fact_4869_Union__upper,axiom,
    ! [A: $tType,B6: set @ A,A6: set @ ( set @ A )] :
      ( ( member @ ( set @ A ) @ B6 @ A6 )
     => ( ord_less_eq @ ( set @ A ) @ B6 @ ( complete_Sup_Sup @ ( set @ A ) @ A6 ) ) ) ).

% Union_upper
thf(fact_4870_Union__least,axiom,
    ! [A: $tType,A6: set @ ( set @ A ),C5: set @ A] :
      ( ! [X15: set @ A] :
          ( ( member @ ( set @ A ) @ X15 @ A6 )
         => ( ord_less_eq @ ( set @ A ) @ X15 @ C5 ) )
     => ( ord_less_eq @ ( set @ A ) @ ( complete_Sup_Sup @ ( set @ A ) @ A6 ) @ C5 ) ) ).

% Union_least
thf(fact_4871_Union__mono,axiom,
    ! [A: $tType,A6: set @ ( set @ A ),B6: set @ ( set @ A )] :
      ( ( ord_less_eq @ ( set @ ( set @ A ) ) @ A6 @ B6 )
     => ( ord_less_eq @ ( set @ A ) @ ( complete_Sup_Sup @ ( set @ A ) @ A6 ) @ ( complete_Sup_Sup @ ( set @ A ) @ B6 ) ) ) ).

% Union_mono
thf(fact_4872_Sup__upper2,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [U: A,A6: set @ A,V2: A] :
          ( ( member @ A @ U @ A6 )
         => ( ( ord_less_eq @ A @ V2 @ U )
           => ( ord_less_eq @ A @ V2 @ ( complete_Sup_Sup @ A @ A6 ) ) ) ) ) ).

% Sup_upper2
thf(fact_4873_Sup__le__iff,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A6: set @ A,B2: A] :
          ( ( ord_less_eq @ A @ ( complete_Sup_Sup @ A @ A6 ) @ B2 )
          = ( ! [X4: A] :
                ( ( member @ A @ X4 @ A6 )
               => ( ord_less_eq @ A @ X4 @ B2 ) ) ) ) ) ).

% Sup_le_iff
thf(fact_4874_Sup__upper,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [X: A,A6: set @ A] :
          ( ( member @ A @ X @ A6 )
         => ( ord_less_eq @ A @ X @ ( complete_Sup_Sup @ A @ A6 ) ) ) ) ).

% Sup_upper
thf(fact_4875_Sup__least,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A6: set @ A,Z4: A] :
          ( ! [X3: A] :
              ( ( member @ A @ X3 @ A6 )
             => ( ord_less_eq @ A @ X3 @ Z4 ) )
         => ( ord_less_eq @ A @ ( complete_Sup_Sup @ A @ A6 ) @ Z4 ) ) ) ).

% Sup_least
thf(fact_4876_Sup__mono,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A6: set @ A,B6: set @ A] :
          ( ! [A5: A] :
              ( ( member @ A @ A5 @ A6 )
             => ? [X6: A] :
                  ( ( member @ A @ X6 @ B6 )
                  & ( ord_less_eq @ A @ A5 @ X6 ) ) )
         => ( ord_less_eq @ A @ ( complete_Sup_Sup @ A @ A6 ) @ ( complete_Sup_Sup @ A @ B6 ) ) ) ) ).

% Sup_mono
thf(fact_4877_Sup__eqI,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A6: set @ A,X: A] :
          ( ! [Y3: A] :
              ( ( member @ A @ Y3 @ A6 )
             => ( ord_less_eq @ A @ Y3 @ X ) )
         => ( ! [Y3: A] :
                ( ! [Z7: A] :
                    ( ( member @ A @ Z7 @ A6 )
                   => ( ord_less_eq @ A @ Z7 @ Y3 ) )
               => ( ord_less_eq @ A @ X @ Y3 ) )
           => ( ( complete_Sup_Sup @ A @ A6 )
              = X ) ) ) ) ).

% Sup_eqI
thf(fact_4878_cSup__eq,axiom,
    ! [A: $tType] :
      ( ( ( condit1219197933456340205attice @ A )
        & ( no_bot @ A ) )
     => ! [X7: set @ A,A3: A] :
          ( ! [X3: A] :
              ( ( member @ A @ X3 @ X7 )
             => ( ord_less_eq @ A @ X3 @ A3 ) )
         => ( ! [Y3: A] :
                ( ! [X6: A] :
                    ( ( member @ A @ X6 @ X7 )
                   => ( ord_less_eq @ A @ X6 @ Y3 ) )
               => ( ord_less_eq @ A @ A3 @ Y3 ) )
           => ( ( complete_Sup_Sup @ A @ X7 )
              = A3 ) ) ) ) ).

% cSup_eq
thf(fact_4879_cSup__eq__maximum,axiom,
    ! [A: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [Z4: A,X7: set @ A] :
          ( ( member @ A @ Z4 @ X7 )
         => ( ! [X3: A] :
                ( ( member @ A @ X3 @ X7 )
               => ( ord_less_eq @ A @ X3 @ Z4 ) )
           => ( ( complete_Sup_Sup @ A @ X7 )
              = Z4 ) ) ) ) ).

% cSup_eq_maximum
thf(fact_4880_Union__insert,axiom,
    ! [A: $tType,A3: set @ A,B6: set @ ( set @ A )] :
      ( ( complete_Sup_Sup @ ( set @ A ) @ ( insert @ ( set @ A ) @ A3 @ B6 ) )
      = ( sup_sup @ ( set @ A ) @ A3 @ ( complete_Sup_Sup @ ( set @ A ) @ B6 ) ) ) ).

% Union_insert
thf(fact_4881_less__Sup__iff,axiom,
    ! [A: $tType] :
      ( ( comple5582772986160207858norder @ A )
     => ! [A3: A,S: set @ A] :
          ( ( ord_less @ A @ A3 @ ( complete_Sup_Sup @ A @ S ) )
          = ( ? [X4: A] :
                ( ( member @ A @ X4 @ S )
                & ( ord_less @ A @ A3 @ X4 ) ) ) ) ) ).

% less_Sup_iff
thf(fact_4882_in__Union__o__assoc,axiom,
    ! [B: $tType,A: $tType,C: $tType,X: A,Gset: B > ( set @ ( set @ A ) ),Gmap: C > B,A6: C] :
      ( ( member @ A @ X @ ( comp @ B @ ( set @ A ) @ C @ ( comp @ ( set @ ( set @ A ) ) @ ( set @ A ) @ B @ ( complete_Sup_Sup @ ( set @ A ) ) @ Gset ) @ Gmap @ A6 ) )
     => ( member @ A @ X @ ( comp @ ( set @ ( set @ A ) ) @ ( set @ A ) @ C @ ( complete_Sup_Sup @ ( set @ A ) ) @ ( comp @ B @ ( set @ ( set @ A ) ) @ C @ Gset @ Gmap ) @ A6 ) ) ) ).

% in_Union_o_assoc
thf(fact_4883_le__Sup__iff,axiom,
    ! [A: $tType] :
      ( ( comple5582772986160207858norder @ A )
     => ! [X: A,A6: set @ A] :
          ( ( ord_less_eq @ A @ X @ ( complete_Sup_Sup @ A @ A6 ) )
          = ( ! [Y4: A] :
                ( ( ord_less @ A @ Y4 @ X )
               => ? [X4: A] :
                    ( ( member @ A @ X4 @ A6 )
                    & ( ord_less @ A @ Y4 @ X4 ) ) ) ) ) ) ).

% le_Sup_iff
thf(fact_4884_SUP__eq,axiom,
    ! [B: $tType,A: $tType,C: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A6: set @ B,B6: set @ C,F3: B > A,G3: C > A] :
          ( ! [I3: B] :
              ( ( member @ B @ I3 @ A6 )
             => ? [X6: C] :
                  ( ( member @ C @ X6 @ B6 )
                  & ( ord_less_eq @ A @ ( F3 @ I3 ) @ ( G3 @ X6 ) ) ) )
         => ( ! [J3: C] :
                ( ( member @ C @ J3 @ B6 )
               => ? [X6: B] :
                    ( ( member @ B @ X6 @ A6 )
                    & ( ord_less_eq @ A @ ( G3 @ J3 ) @ ( F3 @ X6 ) ) ) )
           => ( ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ F3 @ A6 ) )
              = ( complete_Sup_Sup @ A @ ( image2 @ C @ A @ G3 @ B6 ) ) ) ) ) ) ).

% SUP_eq
thf(fact_4885_less__eq__Sup,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A6: set @ A,U: A] :
          ( ! [V5: A] :
              ( ( member @ A @ V5 @ A6 )
             => ( ord_less_eq @ A @ U @ V5 ) )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ord_less_eq @ A @ U @ ( complete_Sup_Sup @ A @ A6 ) ) ) ) ) ).

% less_eq_Sup
thf(fact_4886_cSup__least,axiom,
    ! [A: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [X7: set @ A,Z4: A] :
          ( ( X7
           != ( bot_bot @ ( set @ A ) ) )
         => ( ! [X3: A] :
                ( ( member @ A @ X3 @ X7 )
               => ( ord_less_eq @ A @ X3 @ Z4 ) )
           => ( ord_less_eq @ A @ ( complete_Sup_Sup @ A @ X7 ) @ Z4 ) ) ) ) ).

% cSup_least
thf(fact_4887_cSup__eq__non__empty,axiom,
    ! [A: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [X7: set @ A,A3: A] :
          ( ( X7
           != ( bot_bot @ ( set @ A ) ) )
         => ( ! [X3: A] :
                ( ( member @ A @ X3 @ X7 )
               => ( ord_less_eq @ A @ X3 @ A3 ) )
           => ( ! [Y3: A] :
                  ( ! [X6: A] :
                      ( ( member @ A @ X6 @ X7 )
                     => ( ord_less_eq @ A @ X6 @ Y3 ) )
                 => ( ord_less_eq @ A @ A3 @ Y3 ) )
             => ( ( complete_Sup_Sup @ A @ X7 )
                = A3 ) ) ) ) ) ).

% cSup_eq_non_empty
thf(fact_4888_le__cSup__finite,axiom,
    ! [A: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [X7: set @ A,X: A] :
          ( ( finite_finite2 @ A @ X7 )
         => ( ( member @ A @ X @ X7 )
           => ( ord_less_eq @ A @ X @ ( complete_Sup_Sup @ A @ X7 ) ) ) ) ) ).

% le_cSup_finite
thf(fact_4889_less__cSupD,axiom,
    ! [A: $tType] :
      ( ( condit6923001295902523014norder @ A )
     => ! [X7: set @ A,Z4: A] :
          ( ( X7
           != ( bot_bot @ ( set @ A ) ) )
         => ( ( ord_less @ A @ Z4 @ ( complete_Sup_Sup @ A @ X7 ) )
           => ? [X3: A] :
                ( ( member @ A @ X3 @ X7 )
                & ( ord_less @ A @ Z4 @ X3 ) ) ) ) ) ).

% less_cSupD
thf(fact_4890_less__cSupE,axiom,
    ! [A: $tType] :
      ( ( condit6923001295902523014norder @ A )
     => ! [Y: A,X7: set @ A] :
          ( ( ord_less @ A @ Y @ ( complete_Sup_Sup @ A @ X7 ) )
         => ( ( X7
             != ( bot_bot @ ( set @ A ) ) )
           => ~ ! [X3: A] :
                  ( ( member @ A @ X3 @ X7 )
                 => ~ ( ord_less @ A @ Y @ X3 ) ) ) ) ) ).

% less_cSupE
thf(fact_4891_finite__imp__Sup__less,axiom,
    ! [A: $tType] :
      ( ( condit6923001295902523014norder @ A )
     => ! [X7: set @ A,X: A,A3: A] :
          ( ( finite_finite2 @ A @ X7 )
         => ( ( member @ A @ X @ X7 )
           => ( ! [X3: A] :
                  ( ( member @ A @ X3 @ X7 )
                 => ( ord_less @ A @ X3 @ A3 ) )
             => ( ord_less @ A @ ( complete_Sup_Sup @ A @ X7 ) @ A3 ) ) ) ) ) ).

% finite_imp_Sup_less
thf(fact_4892_Sup__subset__mono,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A6: set @ A,B6: set @ A] :
          ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
         => ( ord_less_eq @ A @ ( complete_Sup_Sup @ A @ A6 ) @ ( complete_Sup_Sup @ A @ B6 ) ) ) ) ).

% Sup_subset_mono
thf(fact_4893_Sup__finite__insert,axiom,
    ! [A: $tType] :
      ( ( finite_lattice @ A )
     => ! [A3: A,A6: set @ A] :
          ( ( complete_Sup_Sup @ A @ ( insert @ A @ A3 @ A6 ) )
          = ( sup_sup @ A @ A3 @ ( complete_Sup_Sup @ A @ A6 ) ) ) ) ).

% Sup_finite_insert
thf(fact_4894_Sup__union__distrib,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A6: set @ A,B6: set @ A] :
          ( ( complete_Sup_Sup @ A @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) )
          = ( sup_sup @ A @ ( complete_Sup_Sup @ A @ A6 ) @ ( complete_Sup_Sup @ A @ B6 ) ) ) ) ).

% Sup_union_distrib
thf(fact_4895_Union__Int__subset,axiom,
    ! [A: $tType,A6: set @ ( set @ A ),B6: set @ ( set @ A )] : ( ord_less_eq @ ( set @ A ) @ ( complete_Sup_Sup @ ( set @ A ) @ ( inf_inf @ ( set @ ( set @ A ) ) @ A6 @ B6 ) ) @ ( inf_inf @ ( set @ A ) @ ( complete_Sup_Sup @ ( set @ A ) @ A6 ) @ ( complete_Sup_Sup @ ( set @ A ) @ B6 ) ) ) ).

% Union_Int_subset
thf(fact_4896_finite__UNION__then__finite,axiom,
    ! [A: $tType,B: $tType,B6: B > ( set @ A ),A6: set @ B,A3: B] :
      ( ( finite_finite2 @ A @ ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ B6 @ A6 ) ) )
     => ( ( member @ B @ A3 @ A6 )
       => ( finite_finite2 @ A @ ( B6 @ A3 ) ) ) ) ).

% finite_UNION_then_finite
thf(fact_4897_Some__SUP,axiom,
    ! [B: $tType,A: $tType] :
      ( ( comple6319245703460814977attice @ B )
     => ! [A6: set @ A,F3: A > B] :
          ( ( A6
           != ( bot_bot @ ( set @ A ) ) )
         => ( ( some @ B @ ( complete_Sup_Sup @ B @ ( image2 @ A @ B @ F3 @ A6 ) ) )
            = ( complete_Sup_Sup @ ( option @ B )
              @ ( image2 @ A @ ( option @ B )
                @ ^ [X4: A] : ( some @ B @ ( F3 @ X4 ) )
                @ A6 ) ) ) ) ) ).

% Some_SUP
thf(fact_4898_card__Union__le__sum__card,axiom,
    ! [A: $tType,U3: set @ ( set @ A )] : ( ord_less_eq @ nat @ ( finite_card @ A @ ( complete_Sup_Sup @ ( set @ A ) @ U3 ) ) @ ( groups7311177749621191930dd_sum @ ( set @ A ) @ nat @ ( finite_card @ A ) @ U3 ) ) ).

% card_Union_le_sum_card
thf(fact_4899_SUP__eqI,axiom,
    ! [B: $tType,A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A6: set @ B,F3: B > A,X: A] :
          ( ! [I3: B] :
              ( ( member @ B @ I3 @ A6 )
             => ( ord_less_eq @ A @ ( F3 @ I3 ) @ X ) )
         => ( ! [Y3: A] :
                ( ! [I4: B] :
                    ( ( member @ B @ I4 @ A6 )
                   => ( ord_less_eq @ A @ ( F3 @ I4 ) @ Y3 ) )
               => ( ord_less_eq @ A @ X @ Y3 ) )
           => ( ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ F3 @ A6 ) )
              = X ) ) ) ) ).

% SUP_eqI
thf(fact_4900_SUP__mono,axiom,
    ! [B: $tType,A: $tType,C: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A6: set @ B,B6: set @ C,F3: B > A,G3: C > A] :
          ( ! [N4: B] :
              ( ( member @ B @ N4 @ A6 )
             => ? [X6: C] :
                  ( ( member @ C @ X6 @ B6 )
                  & ( ord_less_eq @ A @ ( F3 @ N4 ) @ ( G3 @ X6 ) ) ) )
         => ( ord_less_eq @ A @ ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) @ ( complete_Sup_Sup @ A @ ( image2 @ C @ A @ G3 @ B6 ) ) ) ) ) ).

% SUP_mono
thf(fact_4901_SUP__least,axiom,
    ! [B: $tType,A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A6: set @ B,F3: B > A,U: A] :
          ( ! [I3: B] :
              ( ( member @ B @ I3 @ A6 )
             => ( ord_less_eq @ A @ ( F3 @ I3 ) @ U ) )
         => ( ord_less_eq @ A @ ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) @ U ) ) ) ).

% SUP_least
thf(fact_4902_SUP__mono_H,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [F3: B > A,G3: B > A,A6: set @ B] :
          ( ! [X3: B] : ( ord_less_eq @ A @ ( F3 @ X3 ) @ ( G3 @ X3 ) )
         => ( ord_less_eq @ A @ ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) @ ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ G3 @ A6 ) ) ) ) ) ).

% SUP_mono'
thf(fact_4903_SUP__upper,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [I2: B,A6: set @ B,F3: B > A] :
          ( ( member @ B @ I2 @ A6 )
         => ( ord_less_eq @ A @ ( F3 @ I2 ) @ ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) ) ) ) ).

% SUP_upper
thf(fact_4904_SUP__le__iff,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [F3: B > A,A6: set @ B,U: A] :
          ( ( ord_less_eq @ A @ ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) @ U )
          = ( ! [X4: B] :
                ( ( member @ B @ X4 @ A6 )
               => ( ord_less_eq @ A @ ( F3 @ X4 ) @ U ) ) ) ) ) ).

% SUP_le_iff
thf(fact_4905_SUP__upper2,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [I2: B,A6: set @ B,U: A,F3: B > A] :
          ( ( member @ B @ I2 @ A6 )
         => ( ( ord_less_eq @ A @ U @ ( F3 @ I2 ) )
           => ( ord_less_eq @ A @ U @ ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) ) ) ) ) ).

% SUP_upper2
thf(fact_4906_less__SUP__iff,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comple5582772986160207858norder @ A )
     => ! [A3: A,F3: B > A,A6: set @ B] :
          ( ( ord_less @ A @ A3 @ ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) )
          = ( ? [X4: B] :
                ( ( member @ B @ X4 @ A6 )
                & ( ord_less @ A @ A3 @ ( F3 @ X4 ) ) ) ) ) ) ).

% less_SUP_iff
thf(fact_4907_SUP__lessD,axiom,
    ! [B: $tType,A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [F3: B > A,A6: set @ B,Y: A,I2: B] :
          ( ( ord_less @ A @ ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) @ Y )
         => ( ( member @ B @ I2 @ A6 )
           => ( ord_less @ A @ ( F3 @ I2 ) @ Y ) ) ) ) ).

% SUP_lessD
thf(fact_4908_complete__lattice__class_OSUP__sup__distrib,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [F3: B > A,A6: set @ B,G3: B > A] :
          ( ( sup_sup @ A @ ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) @ ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ G3 @ A6 ) ) )
          = ( complete_Sup_Sup @ A
            @ ( image2 @ B @ A
              @ ^ [A7: B] : ( sup_sup @ A @ ( F3 @ A7 ) @ ( G3 @ A7 ) )
              @ A6 ) ) ) ) ).

% complete_lattice_class.SUP_sup_distrib
thf(fact_4909_SUP__absorb,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [K2: B,I5: set @ B,A6: B > A] :
          ( ( member @ B @ K2 @ I5 )
         => ( ( sup_sup @ A @ ( A6 @ K2 ) @ ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ A6 @ I5 ) ) )
            = ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ A6 @ I5 ) ) ) ) ) ).

% SUP_absorb
thf(fact_4910_image__UN,axiom,
    ! [A: $tType,B: $tType,C: $tType,F3: B > A,B6: C > ( set @ B ),A6: set @ C] :
      ( ( image2 @ B @ A @ F3 @ ( complete_Sup_Sup @ ( set @ B ) @ ( image2 @ C @ ( set @ B ) @ B6 @ A6 ) ) )
      = ( complete_Sup_Sup @ ( set @ A )
        @ ( image2 @ C @ ( set @ A )
          @ ^ [X4: C] : ( image2 @ B @ A @ F3 @ ( B6 @ X4 ) )
          @ A6 ) ) ) ).

% image_UN
thf(fact_4911_UN__extend__simps_I10_J,axiom,
    ! [V6: $tType,U6: $tType,T: $tType,B6: U6 > ( set @ V6 ),F3: T > U6,A6: set @ T] :
      ( ( complete_Sup_Sup @ ( set @ V6 )
        @ ( image2 @ T @ ( set @ V6 )
          @ ^ [A7: T] : ( B6 @ ( F3 @ A7 ) )
          @ A6 ) )
      = ( complete_Sup_Sup @ ( set @ V6 ) @ ( image2 @ U6 @ ( set @ V6 ) @ B6 @ ( image2 @ T @ U6 @ F3 @ A6 ) ) ) ) ).

% UN_extend_simps(10)
thf(fact_4912_UNION__empty__conv_I2_J,axiom,
    ! [A: $tType,B: $tType,B6: B > ( set @ A ),A6: set @ B] :
      ( ( ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ B6 @ A6 ) )
        = ( bot_bot @ ( set @ A ) ) )
      = ( ! [X4: B] :
            ( ( member @ B @ X4 @ A6 )
           => ( ( B6 @ X4 )
              = ( bot_bot @ ( set @ A ) ) ) ) ) ) ).

% UNION_empty_conv(2)
thf(fact_4913_UNION__empty__conv_I1_J,axiom,
    ! [A: $tType,B: $tType,B6: B > ( set @ A ),A6: set @ B] :
      ( ( ( bot_bot @ ( set @ A ) )
        = ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ B6 @ A6 ) ) )
      = ( ! [X4: B] :
            ( ( member @ B @ X4 @ A6 )
           => ( ( B6 @ X4 )
              = ( bot_bot @ ( set @ A ) ) ) ) ) ) ).

% UNION_empty_conv(1)
thf(fact_4914_UN__empty,axiom,
    ! [B: $tType,A: $tType,B6: B > ( set @ A )] :
      ( ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ B6 @ ( bot_bot @ ( set @ B ) ) ) )
      = ( bot_bot @ ( set @ A ) ) ) ).

% UN_empty
thf(fact_4915_UN__empty2,axiom,
    ! [B: $tType,A: $tType,A6: set @ B] :
      ( ( complete_Sup_Sup @ ( set @ A )
        @ ( image2 @ B @ ( set @ A )
          @ ^ [X4: B] : ( bot_bot @ ( set @ A ) )
          @ A6 ) )
      = ( bot_bot @ ( set @ A ) ) ) ).

% UN_empty2
thf(fact_4916_UN__image__subset,axiom,
    ! [C: $tType,A: $tType,B: $tType,F3: B > ( set @ A ),G3: C > ( set @ B ),X: C,X7: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ F3 @ ( G3 @ X ) ) ) @ X7 )
      = ( ord_less_eq @ ( set @ B ) @ ( G3 @ X )
        @ ( collect @ B
          @ ^ [X4: B] : ( ord_less_eq @ ( set @ A ) @ ( F3 @ X4 ) @ X7 ) ) ) ) ).

% UN_image_subset
thf(fact_4917_UN__mono,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,B6: set @ A,F3: A > ( set @ B ),G3: A > ( set @ B )] :
      ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
     => ( ! [X3: A] :
            ( ( member @ A @ X3 @ A6 )
           => ( ord_less_eq @ ( set @ B ) @ ( F3 @ X3 ) @ ( G3 @ X3 ) ) )
       => ( ord_less_eq @ ( set @ B ) @ ( complete_Sup_Sup @ ( set @ B ) @ ( image2 @ A @ ( set @ B ) @ F3 @ A6 ) ) @ ( complete_Sup_Sup @ ( set @ B ) @ ( image2 @ A @ ( set @ B ) @ G3 @ B6 ) ) ) ) ) ).

% UN_mono
thf(fact_4918_UN__least,axiom,
    ! [A: $tType,B: $tType,A6: set @ A,B6: A > ( set @ B ),C5: set @ B] :
      ( ! [X3: A] :
          ( ( member @ A @ X3 @ A6 )
         => ( ord_less_eq @ ( set @ B ) @ ( B6 @ X3 ) @ C5 ) )
     => ( ord_less_eq @ ( set @ B ) @ ( complete_Sup_Sup @ ( set @ B ) @ ( image2 @ A @ ( set @ B ) @ B6 @ A6 ) ) @ C5 ) ) ).

% UN_least
thf(fact_4919_UN__upper,axiom,
    ! [B: $tType,A: $tType,A3: A,A6: set @ A,B6: A > ( set @ B )] :
      ( ( member @ A @ A3 @ A6 )
     => ( ord_less_eq @ ( set @ B ) @ ( B6 @ A3 ) @ ( complete_Sup_Sup @ ( set @ B ) @ ( image2 @ A @ ( set @ B ) @ B6 @ A6 ) ) ) ) ).

% UN_upper
thf(fact_4920_UN__subset__iff,axiom,
    ! [A: $tType,B: $tType,A6: B > ( set @ A ),I5: set @ B,B6: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ A6 @ I5 ) ) @ B6 )
      = ( ! [X4: B] :
            ( ( member @ B @ X4 @ I5 )
           => ( ord_less_eq @ ( set @ A ) @ ( A6 @ X4 ) @ B6 ) ) ) ) ).

% UN_subset_iff
thf(fact_4921_UN__insert__distrib,axiom,
    ! [B: $tType,A: $tType,U: A,A6: set @ A,A3: B,B6: A > ( set @ B )] :
      ( ( member @ A @ U @ A6 )
     => ( ( complete_Sup_Sup @ ( set @ B )
          @ ( image2 @ A @ ( set @ B )
            @ ^ [X4: A] : ( insert @ B @ A3 @ ( B6 @ X4 ) )
            @ A6 ) )
        = ( insert @ B @ A3 @ ( complete_Sup_Sup @ ( set @ B ) @ ( image2 @ A @ ( set @ B ) @ B6 @ A6 ) ) ) ) ) ).

% UN_insert_distrib
thf(fact_4922_relInvImage__mono,axiom,
    ! [A: $tType,B: $tType,R1: set @ ( product_prod @ A @ A ),R22: set @ ( product_prod @ A @ A ),A6: set @ B,F3: B > A] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ R1 @ R22 )
     => ( ord_less_eq @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Gr7122648621184425601vImage @ B @ A @ A6 @ R1 @ F3 ) @ ( bNF_Gr7122648621184425601vImage @ B @ A @ A6 @ R22 @ F3 ) ) ) ).

% relInvImage_mono
thf(fact_4923_Int__UN__distrib2,axiom,
    ! [A: $tType,C: $tType,B: $tType,A6: B > ( set @ A ),I5: set @ B,B6: C > ( set @ A ),J4: set @ C] :
      ( ( inf_inf @ ( set @ A ) @ ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ A6 @ I5 ) ) @ ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ C @ ( set @ A ) @ B6 @ J4 ) ) )
      = ( complete_Sup_Sup @ ( set @ A )
        @ ( image2 @ B @ ( set @ A )
          @ ^ [I: B] :
              ( complete_Sup_Sup @ ( set @ A )
              @ ( image2 @ C @ ( set @ A )
                @ ^ [J: C] : ( inf_inf @ ( set @ A ) @ ( A6 @ I ) @ ( B6 @ J ) )
                @ J4 ) )
          @ I5 ) ) ) ).

% Int_UN_distrib2
thf(fact_4924_Int__UN__distrib,axiom,
    ! [A: $tType,B: $tType,B6: set @ A,A6: B > ( set @ A ),I5: set @ B] :
      ( ( inf_inf @ ( set @ A ) @ B6 @ ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ A6 @ I5 ) ) )
      = ( complete_Sup_Sup @ ( set @ A )
        @ ( image2 @ B @ ( set @ A )
          @ ^ [I: B] : ( inf_inf @ ( set @ A ) @ B6 @ ( A6 @ I ) )
          @ I5 ) ) ) ).

% Int_UN_distrib
thf(fact_4925_UN__extend__simps_I4_J,axiom,
    ! [H10: $tType,G: $tType,A6: G > ( set @ H10 ),C5: set @ G,B6: set @ H10] :
      ( ( inf_inf @ ( set @ H10 ) @ ( complete_Sup_Sup @ ( set @ H10 ) @ ( image2 @ G @ ( set @ H10 ) @ A6 @ C5 ) ) @ B6 )
      = ( complete_Sup_Sup @ ( set @ H10 )
        @ ( image2 @ G @ ( set @ H10 )
          @ ^ [X4: G] : ( inf_inf @ ( set @ H10 ) @ ( A6 @ X4 ) @ B6 )
          @ C5 ) ) ) ).

% UN_extend_simps(4)
thf(fact_4926_UN__extend__simps_I5_J,axiom,
    ! [I6: $tType,J5: $tType,A6: set @ I6,B6: J5 > ( set @ I6 ),C5: set @ J5] :
      ( ( inf_inf @ ( set @ I6 ) @ A6 @ ( complete_Sup_Sup @ ( set @ I6 ) @ ( image2 @ J5 @ ( set @ I6 ) @ B6 @ C5 ) ) )
      = ( complete_Sup_Sup @ ( set @ I6 )
        @ ( image2 @ J5 @ ( set @ I6 )
          @ ^ [X4: J5] : ( inf_inf @ ( set @ I6 ) @ A6 @ ( B6 @ X4 ) )
          @ C5 ) ) ) ).

% UN_extend_simps(5)
thf(fact_4927_Un__Union__image,axiom,
    ! [A: $tType,B: $tType,A6: B > ( set @ A ),B6: B > ( set @ A ),C5: set @ B] :
      ( ( complete_Sup_Sup @ ( set @ A )
        @ ( image2 @ B @ ( set @ A )
          @ ^ [X4: B] : ( sup_sup @ ( set @ A ) @ ( A6 @ X4 ) @ ( B6 @ X4 ) )
          @ C5 ) )
      = ( sup_sup @ ( set @ A ) @ ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ A6 @ C5 ) ) @ ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ B6 @ C5 ) ) ) ) ).

% Un_Union_image
thf(fact_4928_UN__Un__distrib,axiom,
    ! [A: $tType,B: $tType,A6: B > ( set @ A ),B6: B > ( set @ A ),I5: set @ B] :
      ( ( complete_Sup_Sup @ ( set @ A )
        @ ( image2 @ B @ ( set @ A )
          @ ^ [I: B] : ( sup_sup @ ( set @ A ) @ ( A6 @ I ) @ ( B6 @ I ) )
          @ I5 ) )
      = ( sup_sup @ ( set @ A ) @ ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ A6 @ I5 ) ) @ ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ B6 @ I5 ) ) ) ) ).

% UN_Un_distrib
thf(fact_4929_UN__absorb,axiom,
    ! [B: $tType,A: $tType,K2: A,I5: set @ A,A6: A > ( set @ B )] :
      ( ( member @ A @ K2 @ I5 )
     => ( ( sup_sup @ ( set @ B ) @ ( A6 @ K2 ) @ ( complete_Sup_Sup @ ( set @ B ) @ ( image2 @ A @ ( set @ B ) @ A6 @ I5 ) ) )
        = ( complete_Sup_Sup @ ( set @ B ) @ ( image2 @ A @ ( set @ B ) @ A6 @ I5 ) ) ) ) ).

% UN_absorb
thf(fact_4930_UN__extend__simps_I6_J,axiom,
    ! [L8: $tType,K6: $tType,A6: K6 > ( set @ L8 ),C5: set @ K6,B6: set @ L8] :
      ( ( minus_minus @ ( set @ L8 ) @ ( complete_Sup_Sup @ ( set @ L8 ) @ ( image2 @ K6 @ ( set @ L8 ) @ A6 @ C5 ) ) @ B6 )
      = ( complete_Sup_Sup @ ( set @ L8 )
        @ ( image2 @ K6 @ ( set @ L8 )
          @ ^ [X4: K6] : ( minus_minus @ ( set @ L8 ) @ ( A6 @ X4 ) @ B6 )
          @ C5 ) ) ) ).

% UN_extend_simps(6)
thf(fact_4931_filter__rev__aux_Osimps_I2_J,axiom,
    ! [A: $tType,P2: A > $o,X: A,A3: list @ A,Xs: list @ A] :
      ( ( ( P2 @ X )
       => ( ( filter_rev_aux @ A @ A3 @ P2 @ ( cons @ A @ X @ Xs ) )
          = ( filter_rev_aux @ A @ ( cons @ A @ X @ A3 ) @ P2 @ Xs ) ) )
      & ( ~ ( P2 @ X )
       => ( ( filter_rev_aux @ A @ A3 @ P2 @ ( cons @ A @ X @ Xs ) )
          = ( filter_rev_aux @ A @ A3 @ P2 @ Xs ) ) ) ) ).

% filter_rev_aux.simps(2)
thf(fact_4932_filter__rev__aux_Osimps_I1_J,axiom,
    ! [A: $tType,A3: list @ A,P2: A > $o] :
      ( ( filter_rev_aux @ A @ A3 @ P2 @ ( nil @ A ) )
      = A3 ) ).

% filter_rev_aux.simps(1)
thf(fact_4933_image__Union,axiom,
    ! [A: $tType,B: $tType,F3: B > A,S: set @ ( set @ B )] :
      ( ( image2 @ B @ A @ F3 @ ( complete_Sup_Sup @ ( set @ B ) @ S ) )
      = ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ ( set @ B ) @ ( set @ A ) @ ( image2 @ B @ A @ F3 ) @ S ) ) ) ).

% image_Union
thf(fact_4934_Union__natural,axiom,
    ! [B: $tType,A: $tType,F3: A > B] :
      ( ( comp @ ( set @ ( set @ B ) ) @ ( set @ B ) @ ( set @ ( set @ A ) ) @ ( complete_Sup_Sup @ ( set @ B ) ) @ ( image2 @ ( set @ A ) @ ( set @ B ) @ ( image2 @ A @ B @ F3 ) ) )
      = ( comp @ ( set @ A ) @ ( set @ B ) @ ( set @ ( set @ A ) ) @ ( image2 @ A @ B @ F3 ) @ ( complete_Sup_Sup @ ( set @ A ) ) ) ) ).

% Union_natural
thf(fact_4935_Int__Union2,axiom,
    ! [A: $tType,B6: set @ ( set @ A ),A6: set @ A] :
      ( ( inf_inf @ ( set @ A ) @ ( complete_Sup_Sup @ ( set @ A ) @ B6 ) @ A6 )
      = ( complete_Sup_Sup @ ( set @ A )
        @ ( image2 @ ( set @ A ) @ ( set @ A )
          @ ^ [C6: set @ A] : ( inf_inf @ ( set @ A ) @ C6 @ A6 )
          @ B6 ) ) ) ).

% Int_Union2
thf(fact_4936_Int__Union,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ ( set @ A )] :
      ( ( inf_inf @ ( set @ A ) @ A6 @ ( complete_Sup_Sup @ ( set @ A ) @ B6 ) )
      = ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ ( set @ A ) @ ( set @ A ) @ ( inf_inf @ ( set @ A ) @ A6 ) @ B6 ) ) ) ).

% Int_Union
thf(fact_4937_UN__extend__simps_I8_J,axiom,
    ! [P9: $tType,O2: $tType,B6: O2 > ( set @ P9 ),A6: set @ ( set @ O2 )] :
      ( ( complete_Sup_Sup @ ( set @ P9 )
        @ ( image2 @ ( set @ O2 ) @ ( set @ P9 )
          @ ^ [Y4: set @ O2] : ( complete_Sup_Sup @ ( set @ P9 ) @ ( image2 @ O2 @ ( set @ P9 ) @ B6 @ Y4 ) )
          @ A6 ) )
      = ( complete_Sup_Sup @ ( set @ P9 ) @ ( image2 @ O2 @ ( set @ P9 ) @ B6 @ ( complete_Sup_Sup @ ( set @ O2 ) @ A6 ) ) ) ) ).

% UN_extend_simps(8)
thf(fact_4938_le__SUP__iff,axiom,
    ! [B: $tType,A: $tType] :
      ( ( comple5582772986160207858norder @ A )
     => ! [X: A,F3: B > A,A6: set @ B] :
          ( ( ord_less_eq @ A @ X @ ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) )
          = ( ! [Y4: A] :
                ( ( ord_less @ A @ Y4 @ X )
               => ? [X4: B] :
                    ( ( member @ B @ X4 @ A6 )
                    & ( ord_less @ A @ Y4 @ ( F3 @ X4 ) ) ) ) ) ) ) ).

% le_SUP_iff
thf(fact_4939_cSUP__least,axiom,
    ! [B: $tType,A: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [A6: set @ B,F3: B > A,M6: A] :
          ( ( A6
           != ( bot_bot @ ( set @ B ) ) )
         => ( ! [X3: B] :
                ( ( member @ B @ X3 @ A6 )
               => ( ord_less_eq @ A @ ( F3 @ X3 ) @ M6 ) )
           => ( ord_less_eq @ A @ ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) @ M6 ) ) ) ) ).

% cSUP_least
thf(fact_4940_SUP__eq__iff,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [I5: set @ B,C3: A,F3: B > A] :
          ( ( I5
           != ( bot_bot @ ( set @ B ) ) )
         => ( ! [I3: B] :
                ( ( member @ B @ I3 @ I5 )
               => ( ord_less_eq @ A @ C3 @ ( F3 @ I3 ) ) )
           => ( ( ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ F3 @ I5 ) )
                = C3 )
              = ( ! [X4: B] :
                    ( ( member @ B @ X4 @ I5 )
                   => ( ( F3 @ X4 )
                      = C3 ) ) ) ) ) ) ) ).

% SUP_eq_iff
thf(fact_4941_finite__Sup__less__iff,axiom,
    ! [A: $tType] :
      ( ( condit6923001295902523014norder @ A )
     => ! [X7: set @ A,A3: A] :
          ( ( finite_finite2 @ A @ X7 )
         => ( ( X7
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( ord_less @ A @ ( complete_Sup_Sup @ A @ X7 ) @ A3 )
              = ( ! [X4: A] :
                    ( ( member @ A @ X4 @ X7 )
                   => ( ord_less @ A @ X4 @ A3 ) ) ) ) ) ) ) ).

% finite_Sup_less_iff
thf(fact_4942_finite__Sup__in,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A6: set @ A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ! [X3: A,Y3: A] :
                  ( ( member @ A @ X3 @ A6 )
                 => ( ( member @ A @ Y3 @ A6 )
                   => ( member @ A @ ( sup_sup @ A @ X3 @ Y3 ) @ A6 ) ) )
             => ( member @ A @ ( complete_Sup_Sup @ A @ A6 ) @ A6 ) ) ) ) ) ).

% finite_Sup_in
thf(fact_4943_cSup__abs__le,axiom,
    ! [A: $tType] :
      ( ( ( condit6923001295902523014norder @ A )
        & ( linordered_idom @ A ) )
     => ! [S: set @ A,A3: A] :
          ( ( S
           != ( bot_bot @ ( set @ A ) ) )
         => ( ! [X3: A] :
                ( ( member @ A @ X3 @ S )
               => ( ord_less_eq @ A @ ( abs_abs @ A @ X3 ) @ A3 ) )
           => ( ord_less_eq @ A @ ( abs_abs @ A @ ( complete_Sup_Sup @ A @ S ) ) @ A3 ) ) ) ) ).

% cSup_abs_le
thf(fact_4944_Sup__inter__less__eq,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A6: set @ A,B6: set @ A] : ( ord_less_eq @ A @ ( complete_Sup_Sup @ A @ ( inf_inf @ ( set @ A ) @ A6 @ B6 ) ) @ ( inf_inf @ A @ ( complete_Sup_Sup @ A @ A6 ) @ ( complete_Sup_Sup @ A @ B6 ) ) ) ) ).

% Sup_inter_less_eq
thf(fact_4945_sup__Sup__fold__sup,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A6: set @ A,B6: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( sup_sup @ A @ ( complete_Sup_Sup @ A @ A6 ) @ B6 )
            = ( finite_fold @ A @ A @ ( sup_sup @ A ) @ B6 @ A6 ) ) ) ) ).

% sup_Sup_fold_sup
thf(fact_4946_card__Union__le__sum__card__weak,axiom,
    ! [A: $tType,U3: set @ ( set @ A )] :
      ( ! [X3: set @ A] :
          ( ( member @ ( set @ A ) @ X3 @ U3 )
         => ( finite_finite2 @ A @ X3 ) )
     => ( ord_less_eq @ nat @ ( finite_card @ A @ ( complete_Sup_Sup @ ( set @ A ) @ U3 ) ) @ ( groups7311177749621191930dd_sum @ ( set @ A ) @ nat @ ( finite_card @ A ) @ U3 ) ) ) ).

% card_Union_le_sum_card_weak
thf(fact_4947_Union__image__empty,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,F3: B > ( set @ A )] :
      ( ( sup_sup @ ( set @ A ) @ A6 @ ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ F3 @ ( bot_bot @ ( set @ B ) ) ) ) )
      = A6 ) ).

% Union_image_empty
thf(fact_4948_Union__image__insert,axiom,
    ! [A: $tType,B: $tType,F3: B > ( set @ A ),A3: B,B6: set @ B] :
      ( ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ F3 @ ( insert @ B @ A3 @ B6 ) ) )
      = ( sup_sup @ ( set @ A ) @ ( F3 @ A3 ) @ ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ F3 @ B6 ) ) ) ) ).

% Union_image_insert
thf(fact_4949_SUP__subset__mono,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A6: set @ B,B6: set @ B,F3: B > A,G3: B > A] :
          ( ( ord_less_eq @ ( set @ B ) @ A6 @ B6 )
         => ( ! [X3: B] :
                ( ( member @ B @ X3 @ A6 )
               => ( ord_less_eq @ A @ ( F3 @ X3 ) @ ( G3 @ X3 ) ) )
           => ( ord_less_eq @ A @ ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) @ ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ G3 @ B6 ) ) ) ) ) ) ).

% SUP_subset_mono
thf(fact_4950_SUP__constant,axiom,
    ! [B: $tType,A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A6: set @ B,C3: A] :
          ( ( ( A6
              = ( bot_bot @ ( set @ B ) ) )
           => ( ( complete_Sup_Sup @ A
                @ ( image2 @ B @ A
                  @ ^ [Y4: B] : C3
                  @ A6 ) )
              = ( bot_bot @ A ) ) )
          & ( ( A6
             != ( bot_bot @ ( set @ B ) ) )
           => ( ( complete_Sup_Sup @ A
                @ ( image2 @ B @ A
                  @ ^ [Y4: B] : C3
                  @ A6 ) )
              = C3 ) ) ) ) ).

% SUP_constant
thf(fact_4951_SUP__empty,axiom,
    ! [B: $tType,A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [F3: B > A] :
          ( ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ F3 @ ( bot_bot @ ( set @ B ) ) ) )
          = ( bot_bot @ A ) ) ) ).

% SUP_empty
thf(fact_4952_SUP__insert,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [F3: B > A,A3: B,A6: set @ B] :
          ( ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ F3 @ ( insert @ B @ A3 @ A6 ) ) )
          = ( sup_sup @ A @ ( F3 @ A3 ) @ ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) ) ) ) ).

% SUP_insert
thf(fact_4953_SUP__union,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [M6: B > A,A6: set @ B,B6: set @ B] :
          ( ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ M6 @ ( sup_sup @ ( set @ B ) @ A6 @ B6 ) ) )
          = ( sup_sup @ A @ ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ M6 @ A6 ) ) @ ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ M6 @ B6 ) ) ) ) ) ).

% SUP_union
thf(fact_4954_UN__extend__simps_I1_J,axiom,
    ! [A: $tType,B: $tType,C5: set @ B,A3: A,B6: B > ( set @ A )] :
      ( ( ( C5
          = ( bot_bot @ ( set @ B ) ) )
       => ( ( insert @ A @ A3 @ ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ B6 @ C5 ) ) )
          = ( insert @ A @ A3 @ ( bot_bot @ ( set @ A ) ) ) ) )
      & ( ( C5
         != ( bot_bot @ ( set @ B ) ) )
       => ( ( insert @ A @ A3 @ ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ B6 @ C5 ) ) )
          = ( complete_Sup_Sup @ ( set @ A )
            @ ( image2 @ B @ ( set @ A )
              @ ^ [X4: B] : ( insert @ A @ A3 @ ( B6 @ X4 ) )
              @ C5 ) ) ) ) ) ).

% UN_extend_simps(1)
thf(fact_4955_UN__extend__simps_I3_J,axiom,
    ! [E: $tType,F2: $tType,C5: set @ F2,A6: set @ E,B6: F2 > ( set @ E )] :
      ( ( ( C5
          = ( bot_bot @ ( set @ F2 ) ) )
       => ( ( sup_sup @ ( set @ E ) @ A6 @ ( complete_Sup_Sup @ ( set @ E ) @ ( image2 @ F2 @ ( set @ E ) @ B6 @ C5 ) ) )
          = A6 ) )
      & ( ( C5
         != ( bot_bot @ ( set @ F2 ) ) )
       => ( ( sup_sup @ ( set @ E ) @ A6 @ ( complete_Sup_Sup @ ( set @ E ) @ ( image2 @ F2 @ ( set @ E ) @ B6 @ C5 ) ) )
          = ( complete_Sup_Sup @ ( set @ E )
            @ ( image2 @ F2 @ ( set @ E )
              @ ^ [X4: F2] : ( sup_sup @ ( set @ E ) @ A6 @ ( B6 @ X4 ) )
              @ C5 ) ) ) ) ) ).

% UN_extend_simps(3)
thf(fact_4956_UN__extend__simps_I2_J,axiom,
    ! [D: $tType,C: $tType,C5: set @ C,A6: C > ( set @ D ),B6: set @ D] :
      ( ( ( C5
          = ( bot_bot @ ( set @ C ) ) )
       => ( ( sup_sup @ ( set @ D ) @ ( complete_Sup_Sup @ ( set @ D ) @ ( image2 @ C @ ( set @ D ) @ A6 @ C5 ) ) @ B6 )
          = B6 ) )
      & ( ( C5
         != ( bot_bot @ ( set @ C ) ) )
       => ( ( sup_sup @ ( set @ D ) @ ( complete_Sup_Sup @ ( set @ D ) @ ( image2 @ C @ ( set @ D ) @ A6 @ C5 ) ) @ B6 )
          = ( complete_Sup_Sup @ ( set @ D )
            @ ( image2 @ C @ ( set @ D )
              @ ^ [X4: C] : ( sup_sup @ ( set @ D ) @ ( A6 @ X4 ) @ B6 )
              @ C5 ) ) ) ) ) ).

% UN_extend_simps(2)
thf(fact_4957_UN__le__add__shift,axiom,
    ! [A: $tType,M6: nat > ( set @ A ),K2: nat,N: nat] :
      ( ( complete_Sup_Sup @ ( set @ A )
        @ ( image2 @ nat @ ( set @ A )
          @ ^ [I: nat] : ( M6 @ ( plus_plus @ nat @ I @ K2 ) )
          @ ( set_ord_atMost @ nat @ N ) ) )
      = ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ nat @ ( set @ A ) @ M6 @ ( set_or1337092689740270186AtMost @ nat @ K2 @ ( plus_plus @ nat @ N @ K2 ) ) ) ) ) ).

% UN_le_add_shift
thf(fact_4958_UN__le__add__shift__strict,axiom,
    ! [A: $tType,M6: nat > ( set @ A ),K2: nat,N: nat] :
      ( ( complete_Sup_Sup @ ( set @ A )
        @ ( image2 @ nat @ ( set @ A )
          @ ^ [I: nat] : ( M6 @ ( plus_plus @ nat @ I @ K2 ) )
          @ ( set_ord_lessThan @ nat @ N ) ) )
      = ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ nat @ ( set @ A ) @ M6 @ ( set_or7035219750837199246ssThan @ nat @ K2 @ ( plus_plus @ nat @ N @ K2 ) ) ) ) ) ).

% UN_le_add_shift_strict
thf(fact_4959_cSup__asclose,axiom,
    ! [A: $tType] :
      ( ( ( condit6923001295902523014norder @ A )
        & ( linordered_idom @ A ) )
     => ! [S: set @ A,L: A,E3: A] :
          ( ( S
           != ( bot_bot @ ( set @ A ) ) )
         => ( ! [X3: A] :
                ( ( member @ A @ X3 @ S )
               => ( ord_less_eq @ A @ ( abs_abs @ A @ ( minus_minus @ A @ X3 @ L ) ) @ E3 ) )
           => ( ord_less_eq @ A @ ( abs_abs @ A @ ( minus_minus @ A @ ( complete_Sup_Sup @ A @ S ) @ L ) ) @ E3 ) ) ) ) ).

% cSup_asclose
thf(fact_4960_Sup__insert__finite,axiom,
    ! [A: $tType] :
      ( ( condit6923001295902523014norder @ A )
     => ! [S: set @ A,X: A] :
          ( ( finite_finite2 @ A @ S )
         => ( ( ( S
                = ( bot_bot @ ( set @ A ) ) )
             => ( ( complete_Sup_Sup @ A @ ( insert @ A @ X @ S ) )
                = X ) )
            & ( ( S
               != ( bot_bot @ ( set @ A ) ) )
             => ( ( complete_Sup_Sup @ A @ ( insert @ A @ X @ S ) )
                = ( ord_max @ A @ X @ ( complete_Sup_Sup @ A @ S ) ) ) ) ) ) ) ).

% Sup_insert_finite
thf(fact_4961_Sup__fold__sup,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A6: set @ A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( complete_Sup_Sup @ A @ A6 )
            = ( finite_fold @ A @ A @ ( sup_sup @ A ) @ ( bot_bot @ A ) @ A6 ) ) ) ) ).

% Sup_fold_sup
thf(fact_4962_foldl__set,axiom,
    ! [A: $tType,L: list @ ( set @ A )] :
      ( ( foldl @ ( set @ A ) @ ( set @ A ) @ ( sup_sup @ ( set @ A ) ) @ ( bot_bot @ ( set @ A ) ) @ L )
      = ( complete_Sup_Sup @ ( set @ A )
        @ ( collect @ ( set @ A )
          @ ^ [X4: set @ A] : ( member @ ( set @ A ) @ X4 @ ( set2 @ ( set @ A ) @ L ) ) ) ) ) ).

% foldl_set
thf(fact_4963_UNION__singleton__eq__range,axiom,
    ! [A: $tType,B: $tType,F3: B > A,A6: set @ B] :
      ( ( complete_Sup_Sup @ ( set @ A )
        @ ( image2 @ B @ ( set @ A )
          @ ^ [X4: B] : ( insert @ A @ ( F3 @ X4 ) @ ( bot_bot @ ( set @ A ) ) )
          @ A6 ) )
      = ( image2 @ B @ A @ F3 @ A6 ) ) ).

% UNION_singleton_eq_range
thf(fact_4964_Id__on__def,axiom,
    ! [A: $tType] :
      ( ( id_on @ A )
      = ( ^ [A8: set @ A] :
            ( complete_Sup_Sup @ ( set @ ( product_prod @ A @ A ) )
            @ ( image2 @ A @ ( set @ ( product_prod @ A @ A ) )
              @ ^ [X4: A] : ( insert @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X4 @ X4 ) @ ( bot_bot @ ( set @ ( product_prod @ A @ A ) ) ) )
              @ A8 ) ) ) ) ).

% Id_on_def
thf(fact_4965_sup__SUP__fold__sup,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A6: set @ B,B6: A,F3: B > A] :
          ( ( finite_finite2 @ B @ A6 )
         => ( ( sup_sup @ A @ B6 @ ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) )
            = ( finite_fold @ B @ A @ ( comp @ A @ ( A > A ) @ B @ ( sup_sup @ A ) @ F3 ) @ B6 @ A6 ) ) ) ) ).

% sup_SUP_fold_sup
thf(fact_4966_UNION__fun__upd,axiom,
    ! [B: $tType,A: $tType,A6: B > ( set @ A ),I2: B,B6: set @ A,J4: set @ B] :
      ( ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ ( fun_upd @ B @ ( set @ A ) @ A6 @ I2 @ B6 ) @ J4 ) )
      = ( sup_sup @ ( set @ A ) @ ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ A6 @ ( minus_minus @ ( set @ B ) @ J4 @ ( insert @ B @ I2 @ ( bot_bot @ ( set @ B ) ) ) ) ) ) @ ( if @ ( set @ A ) @ ( member @ B @ I2 @ J4 ) @ B6 @ ( bot_bot @ ( set @ A ) ) ) ) ) ).

% UNION_fun_upd
thf(fact_4967_sum_OUNION__disjoint,axiom,
    ! [A: $tType,C: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [I5: set @ B,A6: B > ( set @ C ),G3: C > A] :
          ( ( finite_finite2 @ B @ I5 )
         => ( ! [X3: B] :
                ( ( member @ B @ X3 @ I5 )
               => ( finite_finite2 @ C @ ( A6 @ X3 ) ) )
           => ( ! [X3: B] :
                  ( ( member @ B @ X3 @ I5 )
                 => ! [Xa4: B] :
                      ( ( member @ B @ Xa4 @ I5 )
                     => ( ( X3 != Xa4 )
                       => ( ( inf_inf @ ( set @ C ) @ ( A6 @ X3 ) @ ( A6 @ Xa4 ) )
                          = ( bot_bot @ ( set @ C ) ) ) ) ) )
             => ( ( groups7311177749621191930dd_sum @ C @ A @ G3 @ ( complete_Sup_Sup @ ( set @ C ) @ ( image2 @ B @ ( set @ C ) @ A6 @ I5 ) ) )
                = ( groups7311177749621191930dd_sum @ B @ A
                  @ ^ [X4: B] : ( groups7311177749621191930dd_sum @ C @ A @ G3 @ ( A6 @ X4 ) )
                  @ I5 ) ) ) ) ) ) ).

% sum.UNION_disjoint
thf(fact_4968_prod_OUNION__disjoint,axiom,
    ! [A: $tType,C: $tType,B: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [I5: set @ B,A6: B > ( set @ C ),G3: C > A] :
          ( ( finite_finite2 @ B @ I5 )
         => ( ! [X3: B] :
                ( ( member @ B @ X3 @ I5 )
               => ( finite_finite2 @ C @ ( A6 @ X3 ) ) )
           => ( ! [X3: B] :
                  ( ( member @ B @ X3 @ I5 )
                 => ! [Xa4: B] :
                      ( ( member @ B @ Xa4 @ I5 )
                     => ( ( X3 != Xa4 )
                       => ( ( inf_inf @ ( set @ C ) @ ( A6 @ X3 ) @ ( A6 @ Xa4 ) )
                          = ( bot_bot @ ( set @ C ) ) ) ) ) )
             => ( ( groups7121269368397514597t_prod @ C @ A @ G3 @ ( complete_Sup_Sup @ ( set @ C ) @ ( image2 @ B @ ( set @ C ) @ A6 @ I5 ) ) )
                = ( groups7121269368397514597t_prod @ B @ A
                  @ ^ [X4: B] : ( groups7121269368397514597t_prod @ C @ A @ G3 @ ( A6 @ X4 ) )
                  @ I5 ) ) ) ) ) ) ).

% prod.UNION_disjoint
thf(fact_4969_card__UN__le,axiom,
    ! [B: $tType,A: $tType,I5: set @ A,A6: A > ( set @ B )] :
      ( ( finite_finite2 @ A @ I5 )
     => ( ord_less_eq @ nat @ ( finite_card @ B @ ( complete_Sup_Sup @ ( set @ B ) @ ( image2 @ A @ ( set @ B ) @ A6 @ I5 ) ) )
        @ ( groups7311177749621191930dd_sum @ A @ nat
          @ ^ [I: A] : ( finite_card @ B @ ( A6 @ I ) )
          @ I5 ) ) ) ).

% card_UN_le
thf(fact_4970_UN__le__eq__Un0,axiom,
    ! [A: $tType,M6: nat > ( set @ A ),N: nat] :
      ( ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ nat @ ( set @ A ) @ M6 @ ( set_ord_atMost @ nat @ N ) ) )
      = ( sup_sup @ ( set @ A ) @ ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ nat @ ( set @ A ) @ M6 @ ( set_or1337092689740270186AtMost @ nat @ ( one_one @ nat ) @ N ) ) ) @ ( M6 @ ( zero_zero @ nat ) ) ) ) ).

% UN_le_eq_Un0
thf(fact_4971_SUP__fold__sup,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A6: set @ B,F3: B > A] :
          ( ( finite_finite2 @ B @ A6 )
         => ( ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ F3 @ A6 ) )
            = ( finite_fold @ B @ A @ ( comp @ A @ ( A > A ) @ B @ ( sup_sup @ A ) @ F3 ) @ ( bot_bot @ A ) @ A6 ) ) ) ) ).

% SUP_fold_sup
thf(fact_4972_filter__rev__def,axiom,
    ! [A: $tType] :
      ( ( filter_rev @ A )
      = ( filter_rev_aux @ A @ ( nil @ A ) ) ) ).

% filter_rev_def
thf(fact_4973_card__UN__disjoint,axiom,
    ! [B: $tType,A: $tType,I5: set @ A,A6: A > ( set @ B )] :
      ( ( finite_finite2 @ A @ I5 )
     => ( ! [X3: A] :
            ( ( member @ A @ X3 @ I5 )
           => ( finite_finite2 @ B @ ( A6 @ X3 ) ) )
       => ( ! [X3: A] :
              ( ( member @ A @ X3 @ I5 )
             => ! [Xa4: A] :
                  ( ( member @ A @ Xa4 @ I5 )
                 => ( ( X3 != Xa4 )
                   => ( ( inf_inf @ ( set @ B ) @ ( A6 @ X3 ) @ ( A6 @ Xa4 ) )
                      = ( bot_bot @ ( set @ B ) ) ) ) ) )
         => ( ( finite_card @ B @ ( complete_Sup_Sup @ ( set @ B ) @ ( image2 @ A @ ( set @ B ) @ A6 @ I5 ) ) )
            = ( groups7311177749621191930dd_sum @ A @ nat
              @ ^ [I: A] : ( finite_card @ B @ ( A6 @ I ) )
              @ I5 ) ) ) ) ) ).

% card_UN_disjoint
thf(fact_4974_finite__subset__Union,axiom,
    ! [A: $tType,A6: set @ A,B13: set @ ( set @ A )] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( ord_less_eq @ ( set @ A ) @ A6 @ ( complete_Sup_Sup @ ( set @ A ) @ B13 ) )
       => ~ ! [F13: set @ ( set @ A )] :
              ( ( finite_finite2 @ ( set @ A ) @ F13 )
             => ( ( ord_less_eq @ ( set @ ( set @ A ) ) @ F13 @ B13 )
               => ~ ( ord_less_eq @ ( set @ A ) @ A6 @ ( complete_Sup_Sup @ ( set @ A ) @ F13 ) ) ) ) ) ) ).

% finite_subset_Union
thf(fact_4975_card__UNION,axiom,
    ! [A: $tType,A6: set @ ( set @ A )] :
      ( ( finite_finite2 @ ( set @ A ) @ A6 )
     => ( ! [X3: set @ A] :
            ( ( member @ ( set @ A ) @ X3 @ A6 )
           => ( finite_finite2 @ A @ X3 ) )
       => ( ( finite_card @ A @ ( complete_Sup_Sup @ ( set @ A ) @ A6 ) )
          = ( nat2
            @ ( groups7311177749621191930dd_sum @ ( set @ ( set @ A ) ) @ int
              @ ^ [I7: set @ ( set @ A )] : ( times_times @ int @ ( power_power @ int @ ( uminus_uminus @ int @ ( one_one @ int ) ) @ ( plus_plus @ nat @ ( finite_card @ ( set @ A ) @ I7 ) @ ( one_one @ nat ) ) ) @ ( semiring_1_of_nat @ int @ ( finite_card @ A @ ( complete_Inf_Inf @ ( set @ A ) @ I7 ) ) ) )
              @ ( collect @ ( set @ ( set @ A ) )
                @ ^ [I7: set @ ( set @ A )] :
                    ( ( ord_less_eq @ ( set @ ( set @ A ) ) @ I7 @ A6 )
                    & ( I7
                     != ( bot_bot @ ( set @ ( set @ A ) ) ) ) ) ) ) ) ) ) ) ).

% card_UNION
thf(fact_4976_SUP__inf__distrib2,axiom,
    ! [A: $tType,C: $tType,B: $tType] :
      ( ( comple592849572758109894attice @ A )
     => ! [F3: B > A,A6: set @ B,G3: C > A,B6: set @ C] :
          ( ( inf_inf @ A @ ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) @ ( complete_Sup_Sup @ A @ ( image2 @ C @ A @ G3 @ B6 ) ) )
          = ( complete_Sup_Sup @ A
            @ ( image2 @ B @ A
              @ ^ [A7: B] :
                  ( complete_Sup_Sup @ A
                  @ ( image2 @ C @ A
                    @ ^ [B5: C] : ( inf_inf @ A @ ( F3 @ A7 ) @ ( G3 @ B5 ) )
                    @ B6 ) )
              @ A6 ) ) ) ) ).

% SUP_inf_distrib2
thf(fact_4977_subset__mset_OcSUP__const,axiom,
    ! [B: $tType,A: $tType,A6: set @ B,C3: multiset @ A] :
      ( ( A6
       != ( bot_bot @ ( set @ B ) ) )
     => ( ( complete_Sup_Sup @ ( multiset @ A )
          @ ( image2 @ B @ ( multiset @ A )
            @ ^ [X4: B] : C3
            @ A6 ) )
        = C3 ) ) ).

% subset_mset.cSUP_const
thf(fact_4978_Sup__nat__empty,axiom,
    ( ( complete_Sup_Sup @ nat @ ( bot_bot @ ( set @ nat ) ) )
    = ( zero_zero @ nat ) ) ).

% Sup_nat_empty
thf(fact_4979_INF__identity__eq,axiom,
    ! [A: $tType] :
      ( ( complete_Inf @ A )
     => ! [A6: set @ A] :
          ( ( complete_Inf_Inf @ A
            @ ( image2 @ A @ A
              @ ^ [X4: A] : X4
              @ A6 ) )
          = ( complete_Inf_Inf @ A @ A6 ) ) ) ).

% INF_identity_eq
thf(fact_4980_INT__I,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,B2: B,B6: A > ( set @ B )] :
      ( ! [X3: A] :
          ( ( member @ A @ X3 @ A6 )
         => ( member @ B @ B2 @ ( B6 @ X3 ) ) )
     => ( member @ B @ B2 @ ( complete_Inf_Inf @ ( set @ B ) @ ( image2 @ A @ ( set @ B ) @ B6 @ A6 ) ) ) ) ).

% INT_I
thf(fact_4981_INT__iff,axiom,
    ! [A: $tType,B: $tType,B2: A,B6: B > ( set @ A ),A6: set @ B] :
      ( ( member @ A @ B2 @ ( complete_Inf_Inf @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ B6 @ A6 ) ) )
      = ( ! [X4: B] :
            ( ( member @ B @ X4 @ A6 )
           => ( member @ A @ B2 @ ( B6 @ X4 ) ) ) ) ) ).

% INT_iff
thf(fact_4982_singleton__None__Sup,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ( ( complete_Sup_Sup @ ( option @ A ) @ ( insert @ ( option @ A ) @ ( none @ A ) @ ( bot_bot @ ( set @ ( option @ A ) ) ) ) )
        = ( none @ A ) ) ) ).

% singleton_None_Sup
thf(fact_4983_empty__Sup,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ( ( complete_Sup_Sup @ ( option @ A ) @ ( bot_bot @ ( set @ ( option @ A ) ) ) )
        = ( none @ A ) ) ) ).

% empty_Sup
thf(fact_4984_Inf__apply,axiom,
    ! [B: $tType,A: $tType] :
      ( ( complete_Inf @ B )
     => ( ( complete_Inf_Inf @ ( A > B ) )
        = ( ^ [A8: set @ ( A > B ),X4: A] :
              ( complete_Inf_Inf @ B
              @ ( image2 @ ( A > B ) @ B
                @ ^ [F4: A > B] : ( F4 @ X4 )
                @ A8 ) ) ) ) ) ).

% Inf_apply
thf(fact_4985_Inf__eq__bot__iff,axiom,
    ! [A: $tType] :
      ( ( comple5582772986160207858norder @ A )
     => ! [A6: set @ A] :
          ( ( ( complete_Inf_Inf @ A @ A6 )
            = ( bot_bot @ A ) )
          = ( ! [X4: A] :
                ( ( ord_less @ A @ ( bot_bot @ A ) @ X4 )
               => ? [Y4: A] :
                    ( ( member @ A @ Y4 @ A6 )
                    & ( ord_less @ A @ Y4 @ X4 ) ) ) ) ) ) ).

% Inf_eq_bot_iff
thf(fact_4986_cInf__singleton,axiom,
    ! [A: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [X: A] :
          ( ( complete_Inf_Inf @ A @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) )
          = X ) ) ).

% cInf_singleton
thf(fact_4987_Inf__atLeastAtMost,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less_eq @ A @ X @ Y )
         => ( ( complete_Inf_Inf @ A @ ( set_or1337092689740270186AtMost @ A @ X @ Y ) )
            = X ) ) ) ).

% Inf_atLeastAtMost
thf(fact_4988_cInf__atLeastAtMost,axiom,
    ! [A: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [Y: A,X: A] :
          ( ( ord_less_eq @ A @ Y @ X )
         => ( ( complete_Inf_Inf @ A @ ( set_or1337092689740270186AtMost @ A @ Y @ X ) )
            = Y ) ) ) ).

% cInf_atLeastAtMost
thf(fact_4989_Inf__atLeastLessThan,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less @ A @ X @ Y )
         => ( ( complete_Inf_Inf @ A @ ( set_or7035219750837199246ssThan @ A @ X @ Y ) )
            = X ) ) ) ).

% Inf_atLeastLessThan
thf(fact_4990_cInf__atLeastLessThan,axiom,
    ! [A: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [Y: A,X: A] :
          ( ( ord_less @ A @ Y @ X )
         => ( ( complete_Inf_Inf @ A @ ( set_or7035219750837199246ssThan @ A @ Y @ X ) )
            = Y ) ) ) ).

% cInf_atLeastLessThan
thf(fact_4991_Inf__greaterThanAtMost,axiom,
    ! [A: $tType] :
      ( ( ( comple6319245703460814977attice @ A )
        & ( dense_linorder @ A ) )
     => ! [X: A,Y: A] :
          ( ( ord_less @ A @ X @ Y )
         => ( ( complete_Inf_Inf @ A @ ( set_or3652927894154168847AtMost @ A @ X @ Y ) )
            = X ) ) ) ).

% Inf_greaterThanAtMost
thf(fact_4992_cInf__greaterThanAtMost,axiom,
    ! [A: $tType] :
      ( ( ( condit6923001295902523014norder @ A )
        & ( dense_linorder @ A ) )
     => ! [Y: A,X: A] :
          ( ( ord_less @ A @ Y @ X )
         => ( ( complete_Inf_Inf @ A @ ( set_or3652927894154168847AtMost @ A @ Y @ X ) )
            = Y ) ) ) ).

% cInf_greaterThanAtMost
thf(fact_4993_Inf__greaterThanLessThan,axiom,
    ! [A: $tType] :
      ( ( ( comple6319245703460814977attice @ A )
        & ( dense_linorder @ A ) )
     => ! [X: A,Y: A] :
          ( ( ord_less @ A @ X @ Y )
         => ( ( complete_Inf_Inf @ A @ ( set_or5935395276787703475ssThan @ A @ X @ Y ) )
            = X ) ) ) ).

% Inf_greaterThanLessThan
thf(fact_4994_cInf__greaterThanLessThan,axiom,
    ! [A: $tType] :
      ( ( ( condit6923001295902523014norder @ A )
        & ( dense_linorder @ A ) )
     => ! [Y: A,X: A] :
          ( ( ord_less @ A @ Y @ X )
         => ( ( complete_Inf_Inf @ A @ ( set_or5935395276787703475ssThan @ A @ Y @ X ) )
            = Y ) ) ) ).

% cInf_greaterThanLessThan
thf(fact_4995_cINF__const,axiom,
    ! [B: $tType,A: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [A6: set @ B,C3: A] :
          ( ( A6
           != ( bot_bot @ ( set @ B ) ) )
         => ( ( complete_Inf_Inf @ A
              @ ( image2 @ B @ A
                @ ^ [X4: B] : C3
                @ A6 ) )
            = C3 ) ) ) ).

% cINF_const
thf(fact_4996_INF__const,axiom,
    ! [B: $tType,A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A6: set @ B,F3: A] :
          ( ( A6
           != ( bot_bot @ ( set @ B ) ) )
         => ( ( complete_Inf_Inf @ A
              @ ( image2 @ B @ A
                @ ^ [I: B] : F3
                @ A6 ) )
            = F3 ) ) ) ).

% INF_const
thf(fact_4997_finite__INT,axiom,
    ! [B: $tType,A: $tType,I5: set @ A,A6: A > ( set @ B )] :
      ( ? [X6: A] :
          ( ( member @ A @ X6 @ I5 )
          & ( finite_finite2 @ B @ ( A6 @ X6 ) ) )
     => ( finite_finite2 @ B @ ( complete_Inf_Inf @ ( set @ B ) @ ( image2 @ A @ ( set @ B ) @ A6 @ I5 ) ) ) ) ).

% finite_INT
thf(fact_4998_INF__apply,axiom,
    ! [A: $tType,B: $tType,C: $tType] :
      ( ( complete_Inf @ A )
     => ! [F3: C > B > A,A6: set @ C,X: B] :
          ( ( complete_Inf_Inf @ ( B > A ) @ ( image2 @ C @ ( B > A ) @ F3 @ A6 ) @ X )
          = ( complete_Inf_Inf @ A
            @ ( image2 @ C @ A
              @ ^ [Y4: C] : ( F3 @ Y4 @ X )
              @ A6 ) ) ) ) ).

% INF_apply
thf(fact_4999_INF__eq__bot__iff,axiom,
    ! [B: $tType,A: $tType] :
      ( ( comple5582772986160207858norder @ A )
     => ! [F3: B > A,A6: set @ B] :
          ( ( ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ F3 @ A6 ) )
            = ( bot_bot @ A ) )
          = ( ! [X4: A] :
                ( ( ord_less @ A @ ( bot_bot @ A ) @ X4 )
               => ? [Y4: B] :
                    ( ( member @ B @ Y4 @ A6 )
                    & ( ord_less @ A @ ( F3 @ Y4 ) @ X4 ) ) ) ) ) ) ).

% INF_eq_bot_iff
thf(fact_5000_INT__insert,axiom,
    ! [A: $tType,B: $tType,B6: B > ( set @ A ),A3: B,A6: set @ B] :
      ( ( complete_Inf_Inf @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ B6 @ ( insert @ B @ A3 @ A6 ) ) )
      = ( inf_inf @ ( set @ A ) @ ( B6 @ A3 ) @ ( complete_Inf_Inf @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ B6 @ A6 ) ) ) ) ).

% INT_insert
thf(fact_5001_Compl__INT,axiom,
    ! [A: $tType,B: $tType,B6: B > ( set @ A ),A6: set @ B] :
      ( ( uminus_uminus @ ( set @ A ) @ ( complete_Inf_Inf @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ B6 @ A6 ) ) )
      = ( complete_Sup_Sup @ ( set @ A )
        @ ( image2 @ B @ ( set @ A )
          @ ^ [X4: B] : ( uminus_uminus @ ( set @ A ) @ ( B6 @ X4 ) )
          @ A6 ) ) ) ).

% Compl_INT
thf(fact_5002_Compl__UN,axiom,
    ! [A: $tType,B: $tType,B6: B > ( set @ A ),A6: set @ B] :
      ( ( uminus_uminus @ ( set @ A ) @ ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ B6 @ A6 ) ) )
      = ( complete_Inf_Inf @ ( set @ A )
        @ ( image2 @ B @ ( set @ A )
          @ ^ [X4: B] : ( uminus_uminus @ ( set @ A ) @ ( B6 @ X4 ) )
          @ A6 ) ) ) ).

% Compl_UN
thf(fact_5003_INF__commute,axiom,
    ! [A: $tType,B: $tType,C: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [F3: B > C > A,B6: set @ C,A6: set @ B] :
          ( ( complete_Inf_Inf @ A
            @ ( image2 @ B @ A
              @ ^ [I: B] : ( complete_Inf_Inf @ A @ ( image2 @ C @ A @ ( F3 @ I ) @ B6 ) )
              @ A6 ) )
          = ( complete_Inf_Inf @ A
            @ ( image2 @ C @ A
              @ ^ [J: C] :
                  ( complete_Inf_Inf @ A
                  @ ( image2 @ B @ A
                    @ ^ [I: B] : ( F3 @ I @ J )
                    @ A6 ) )
              @ B6 ) ) ) ) ).

% INF_commute
thf(fact_5004_INT__D,axiom,
    ! [A: $tType,B: $tType,B2: A,B6: B > ( set @ A ),A6: set @ B,A3: B] :
      ( ( member @ A @ B2 @ ( complete_Inf_Inf @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ B6 @ A6 ) ) )
     => ( ( member @ B @ A3 @ A6 )
       => ( member @ A @ B2 @ ( B6 @ A3 ) ) ) ) ).

% INT_D
thf(fact_5005_INT__E,axiom,
    ! [A: $tType,B: $tType,B2: A,B6: B > ( set @ A ),A6: set @ B,A3: B] :
      ( ( member @ A @ B2 @ ( complete_Inf_Inf @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ B6 @ A6 ) ) )
     => ( ~ ( member @ A @ B2 @ ( B6 @ A3 ) )
       => ~ ( member @ B @ A3 @ A6 ) ) ) ).

% INT_E
thf(fact_5006_Inf__fun__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( complete_Inf @ B )
     => ( ( complete_Inf_Inf @ ( A > B ) )
        = ( ^ [A8: set @ ( A > B ),X4: A] :
              ( complete_Inf_Inf @ B
              @ ( image2 @ ( A > B ) @ B
                @ ^ [F4: A > B] : ( F4 @ X4 )
                @ A8 ) ) ) ) ) ).

% Inf_fun_def
thf(fact_5007_Sup__set__def,axiom,
    ! [A: $tType] :
      ( ( complete_Sup_Sup @ ( set @ A ) )
      = ( ^ [A8: set @ ( set @ A )] :
            ( collect @ A
            @ ^ [X4: A] : ( complete_Sup_Sup @ $o @ ( image2 @ ( set @ A ) @ $o @ ( member @ A @ X4 ) @ A8 ) ) ) ) ) ).

% Sup_set_def
thf(fact_5008_SUP__Sup__eq,axiom,
    ! [A: $tType,S: set @ ( set @ A )] :
      ( ( complete_Sup_Sup @ ( A > $o )
        @ ( image2 @ ( set @ A ) @ ( A > $o )
          @ ^ [I: set @ A,X4: A] : ( member @ A @ X4 @ I )
          @ S ) )
      = ( ^ [X4: A] : ( member @ A @ X4 @ ( complete_Sup_Sup @ ( set @ A ) @ S ) ) ) ) ).

% SUP_Sup_eq
thf(fact_5009_Some__Inf,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A6: set @ A] :
          ( ( some @ A @ ( complete_Inf_Inf @ A @ A6 ) )
          = ( complete_Inf_Inf @ ( option @ A ) @ ( image2 @ A @ ( option @ A ) @ ( some @ A ) @ A6 ) ) ) ) ).

% Some_Inf
thf(fact_5010_Some__INF,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [F3: B > A,A6: set @ B] :
          ( ( some @ A @ ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) )
          = ( complete_Inf_Inf @ ( option @ A )
            @ ( image2 @ B @ ( option @ A )
              @ ^ [X4: B] : ( some @ A @ ( F3 @ X4 ) )
              @ A6 ) ) ) ) ).

% Some_INF
thf(fact_5011_INF__sup__distrib2,axiom,
    ! [A: $tType,C: $tType,B: $tType] :
      ( ( comple592849572758109894attice @ A )
     => ! [F3: B > A,A6: set @ B,G3: C > A,B6: set @ C] :
          ( ( sup_sup @ A @ ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) @ ( complete_Inf_Inf @ A @ ( image2 @ C @ A @ G3 @ B6 ) ) )
          = ( complete_Inf_Inf @ A
            @ ( image2 @ B @ A
              @ ^ [A7: B] :
                  ( complete_Inf_Inf @ A
                  @ ( image2 @ C @ A
                    @ ^ [B5: C] : ( sup_sup @ A @ ( F3 @ A7 ) @ ( G3 @ B5 ) )
                    @ B6 ) )
              @ A6 ) ) ) ) ).

% INF_sup_distrib2
thf(fact_5012_sup__INF,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comple592849572758109894attice @ A )
     => ! [A3: A,F3: B > A,B6: set @ B] :
          ( ( sup_sup @ A @ A3 @ ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ F3 @ B6 ) ) )
          = ( complete_Inf_Inf @ A
            @ ( image2 @ B @ A
              @ ^ [B5: B] : ( sup_sup @ A @ A3 @ ( F3 @ B5 ) )
              @ B6 ) ) ) ) ).

% sup_INF
thf(fact_5013_Inf__sup,axiom,
    ! [A: $tType] :
      ( ( comple592849572758109894attice @ A )
     => ! [B6: set @ A,A3: A] :
          ( ( sup_sup @ A @ ( complete_Inf_Inf @ A @ B6 ) @ A3 )
          = ( complete_Inf_Inf @ A
            @ ( image2 @ A @ A
              @ ^ [B5: A] : ( sup_sup @ A @ B5 @ A3 )
              @ B6 ) ) ) ) ).

% Inf_sup
thf(fact_5014_INF__sup,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comple592849572758109894attice @ A )
     => ! [F3: B > A,B6: set @ B,A3: A] :
          ( ( sup_sup @ A @ ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ F3 @ B6 ) ) @ A3 )
          = ( complete_Inf_Inf @ A
            @ ( image2 @ B @ A
              @ ^ [B5: B] : ( sup_sup @ A @ ( F3 @ B5 ) @ A3 )
              @ B6 ) ) ) ) ).

% INF_sup
thf(fact_5015_sup__Inf,axiom,
    ! [A: $tType] :
      ( ( comple592849572758109894attice @ A )
     => ! [A3: A,B6: set @ A] :
          ( ( sup_sup @ A @ A3 @ ( complete_Inf_Inf @ A @ B6 ) )
          = ( complete_Inf_Inf @ A @ ( image2 @ A @ A @ ( sup_sup @ A @ A3 ) @ B6 ) ) ) ) ).

% sup_Inf
thf(fact_5016_Sup__unit__def,axiom,
    ( ( complete_Sup_Sup @ product_unit )
    = ( ^ [Uu3: set @ product_unit] : product_Unity ) ) ).

% Sup_unit_def
thf(fact_5017_Inf__less__iff,axiom,
    ! [A: $tType] :
      ( ( comple5582772986160207858norder @ A )
     => ! [S: set @ A,A3: A] :
          ( ( ord_less @ A @ ( complete_Inf_Inf @ A @ S ) @ A3 )
          = ( ? [X4: A] :
                ( ( member @ A @ X4 @ S )
                & ( ord_less @ A @ X4 @ A3 ) ) ) ) ) ).

% Inf_less_iff
thf(fact_5018_cInf__eq__minimum,axiom,
    ! [A: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [Z4: A,X7: set @ A] :
          ( ( member @ A @ Z4 @ X7 )
         => ( ! [X3: A] :
                ( ( member @ A @ X3 @ X7 )
               => ( ord_less_eq @ A @ Z4 @ X3 ) )
           => ( ( complete_Inf_Inf @ A @ X7 )
              = Z4 ) ) ) ) ).

% cInf_eq_minimum
thf(fact_5019_cInf__eq,axiom,
    ! [A: $tType] :
      ( ( ( condit1219197933456340205attice @ A )
        & ( no_top @ A ) )
     => ! [X7: set @ A,A3: A] :
          ( ! [X3: A] :
              ( ( member @ A @ X3 @ X7 )
             => ( ord_less_eq @ A @ A3 @ X3 ) )
         => ( ! [Y3: A] :
                ( ! [X6: A] :
                    ( ( member @ A @ X6 @ X7 )
                   => ( ord_less_eq @ A @ Y3 @ X6 ) )
               => ( ord_less_eq @ A @ Y3 @ A3 ) )
           => ( ( complete_Inf_Inf @ A @ X7 )
              = A3 ) ) ) ) ).

% cInf_eq
thf(fact_5020_Inter__subset,axiom,
    ! [A: $tType,A6: set @ ( set @ A ),B6: set @ A] :
      ( ! [X15: set @ A] :
          ( ( member @ ( set @ A ) @ X15 @ A6 )
         => ( ord_less_eq @ ( set @ A ) @ X15 @ B6 ) )
     => ( ( A6
         != ( bot_bot @ ( set @ ( set @ A ) ) ) )
       => ( ord_less_eq @ ( set @ A ) @ ( complete_Inf_Inf @ ( set @ A ) @ A6 ) @ B6 ) ) ) ).

% Inter_subset
thf(fact_5021_Inf__eqI,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A6: set @ A,X: A] :
          ( ! [I3: A] :
              ( ( member @ A @ I3 @ A6 )
             => ( ord_less_eq @ A @ X @ I3 ) )
         => ( ! [Y3: A] :
                ( ! [I4: A] :
                    ( ( member @ A @ I4 @ A6 )
                   => ( ord_less_eq @ A @ Y3 @ I4 ) )
               => ( ord_less_eq @ A @ Y3 @ X ) )
           => ( ( complete_Inf_Inf @ A @ A6 )
              = X ) ) ) ) ).

% Inf_eqI
thf(fact_5022_Inf__mono,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [B6: set @ A,A6: set @ A] :
          ( ! [B4: A] :
              ( ( member @ A @ B4 @ B6 )
             => ? [X6: A] :
                  ( ( member @ A @ X6 @ A6 )
                  & ( ord_less_eq @ A @ X6 @ B4 ) ) )
         => ( ord_less_eq @ A @ ( complete_Inf_Inf @ A @ A6 ) @ ( complete_Inf_Inf @ A @ B6 ) ) ) ) ).

% Inf_mono
thf(fact_5023_Inf__lower,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [X: A,A6: set @ A] :
          ( ( member @ A @ X @ A6 )
         => ( ord_less_eq @ A @ ( complete_Inf_Inf @ A @ A6 ) @ X ) ) ) ).

% Inf_lower
thf(fact_5024_Inf__lower2,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [U: A,A6: set @ A,V2: A] :
          ( ( member @ A @ U @ A6 )
         => ( ( ord_less_eq @ A @ U @ V2 )
           => ( ord_less_eq @ A @ ( complete_Inf_Inf @ A @ A6 ) @ V2 ) ) ) ) ).

% Inf_lower2
thf(fact_5025_le__Inf__iff,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [B2: A,A6: set @ A] :
          ( ( ord_less_eq @ A @ B2 @ ( complete_Inf_Inf @ A @ A6 ) )
          = ( ! [X4: A] :
                ( ( member @ A @ X4 @ A6 )
               => ( ord_less_eq @ A @ B2 @ X4 ) ) ) ) ) ).

% le_Inf_iff
thf(fact_5026_Inf__greatest,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A6: set @ A,Z4: A] :
          ( ! [X3: A] :
              ( ( member @ A @ X3 @ A6 )
             => ( ord_less_eq @ A @ Z4 @ X3 ) )
         => ( ord_less_eq @ A @ Z4 @ ( complete_Inf_Inf @ A @ A6 ) ) ) ) ).

% Inf_greatest
thf(fact_5027_Inter__lower,axiom,
    ! [A: $tType,B6: set @ A,A6: set @ ( set @ A )] :
      ( ( member @ ( set @ A ) @ B6 @ A6 )
     => ( ord_less_eq @ ( set @ A ) @ ( complete_Inf_Inf @ ( set @ A ) @ A6 ) @ B6 ) ) ).

% Inter_lower
thf(fact_5028_Inter__greatest,axiom,
    ! [A: $tType,A6: set @ ( set @ A ),C5: set @ A] :
      ( ! [X15: set @ A] :
          ( ( member @ ( set @ A ) @ X15 @ A6 )
         => ( ord_less_eq @ ( set @ A ) @ C5 @ X15 ) )
     => ( ord_less_eq @ ( set @ A ) @ C5 @ ( complete_Inf_Inf @ ( set @ A ) @ A6 ) ) ) ).

% Inter_greatest
thf(fact_5029_Inter__anti__mono,axiom,
    ! [A: $tType,B6: set @ ( set @ A ),A6: set @ ( set @ A )] :
      ( ( ord_less_eq @ ( set @ ( set @ A ) ) @ B6 @ A6 )
     => ( ord_less_eq @ ( set @ A ) @ ( complete_Inf_Inf @ ( set @ A ) @ A6 ) @ ( complete_Inf_Inf @ ( set @ A ) @ B6 ) ) ) ).

% Inter_anti_mono
thf(fact_5030_Inf__le__iff,axiom,
    ! [A: $tType] :
      ( ( comple5582772986160207858norder @ A )
     => ! [A6: set @ A,X: A] :
          ( ( ord_less_eq @ A @ ( complete_Inf_Inf @ A @ A6 ) @ X )
          = ( ! [Y4: A] :
                ( ( ord_less @ A @ X @ Y4 )
               => ? [X4: A] :
                    ( ( member @ A @ X4 @ A6 )
                    & ( ord_less @ A @ X4 @ Y4 ) ) ) ) ) ) ).

% Inf_le_iff
thf(fact_5031_INF__eq,axiom,
    ! [B: $tType,A: $tType,C: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A6: set @ B,B6: set @ C,G3: C > A,F3: B > A] :
          ( ! [I3: B] :
              ( ( member @ B @ I3 @ A6 )
             => ? [X6: C] :
                  ( ( member @ C @ X6 @ B6 )
                  & ( ord_less_eq @ A @ ( G3 @ X6 ) @ ( F3 @ I3 ) ) ) )
         => ( ! [J3: C] :
                ( ( member @ C @ J3 @ B6 )
               => ? [X6: B] :
                    ( ( member @ B @ X6 @ A6 )
                    & ( ord_less_eq @ A @ ( F3 @ X6 ) @ ( G3 @ J3 ) ) ) )
           => ( ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ F3 @ A6 ) )
              = ( complete_Inf_Inf @ A @ ( image2 @ C @ A @ G3 @ B6 ) ) ) ) ) ) ).

% INF_eq
thf(fact_5032_cInf__eq__non__empty,axiom,
    ! [A: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [X7: set @ A,A3: A] :
          ( ( X7
           != ( bot_bot @ ( set @ A ) ) )
         => ( ! [X3: A] :
                ( ( member @ A @ X3 @ X7 )
               => ( ord_less_eq @ A @ A3 @ X3 ) )
           => ( ! [Y3: A] :
                  ( ! [X6: A] :
                      ( ( member @ A @ X6 @ X7 )
                     => ( ord_less_eq @ A @ Y3 @ X6 ) )
                 => ( ord_less_eq @ A @ Y3 @ A3 ) )
             => ( ( complete_Inf_Inf @ A @ X7 )
                = A3 ) ) ) ) ) ).

% cInf_eq_non_empty
thf(fact_5033_cInf__greatest,axiom,
    ! [A: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [X7: set @ A,Z4: A] :
          ( ( X7
           != ( bot_bot @ ( set @ A ) ) )
         => ( ! [X3: A] :
                ( ( member @ A @ X3 @ X7 )
               => ( ord_less_eq @ A @ Z4 @ X3 ) )
           => ( ord_less_eq @ A @ Z4 @ ( complete_Inf_Inf @ A @ X7 ) ) ) ) ) ).

% cInf_greatest
thf(fact_5034_Inf__less__eq,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A6: set @ A,U: A] :
          ( ! [V5: A] :
              ( ( member @ A @ V5 @ A6 )
             => ( ord_less_eq @ A @ V5 @ U ) )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ord_less_eq @ A @ ( complete_Inf_Inf @ A @ A6 ) @ U ) ) ) ) ).

% Inf_less_eq
thf(fact_5035_cInf__le__finite,axiom,
    ! [A: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [X7: set @ A,X: A] :
          ( ( finite_finite2 @ A @ X7 )
         => ( ( member @ A @ X @ X7 )
           => ( ord_less_eq @ A @ ( complete_Inf_Inf @ A @ X7 ) @ X ) ) ) ) ).

% cInf_le_finite
thf(fact_5036_cInf__lessD,axiom,
    ! [A: $tType] :
      ( ( condit6923001295902523014norder @ A )
     => ! [X7: set @ A,Z4: A] :
          ( ( X7
           != ( bot_bot @ ( set @ A ) ) )
         => ( ( ord_less @ A @ ( complete_Inf_Inf @ A @ X7 ) @ Z4 )
           => ? [X3: A] :
                ( ( member @ A @ X3 @ X7 )
                & ( ord_less @ A @ X3 @ Z4 ) ) ) ) ) ).

% cInf_lessD
thf(fact_5037_finite__imp__less__Inf,axiom,
    ! [A: $tType] :
      ( ( condit6923001295902523014norder @ A )
     => ! [X7: set @ A,X: A,A3: A] :
          ( ( finite_finite2 @ A @ X7 )
         => ( ( member @ A @ X @ X7 )
           => ( ! [X3: A] :
                  ( ( member @ A @ X3 @ X7 )
                 => ( ord_less @ A @ A3 @ X3 ) )
             => ( ord_less @ A @ A3 @ ( complete_Inf_Inf @ A @ X7 ) ) ) ) ) ) ).

% finite_imp_less_Inf
thf(fact_5038_Inf__superset__mono,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [B6: set @ A,A6: set @ A] :
          ( ( ord_less_eq @ ( set @ A ) @ B6 @ A6 )
         => ( ord_less_eq @ A @ ( complete_Inf_Inf @ A @ A6 ) @ ( complete_Inf_Inf @ A @ B6 ) ) ) ) ).

% Inf_superset_mono
thf(fact_5039_Inf__union__distrib,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A6: set @ A,B6: set @ A] :
          ( ( complete_Inf_Inf @ A @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) )
          = ( inf_inf @ A @ ( complete_Inf_Inf @ A @ A6 ) @ ( complete_Inf_Inf @ A @ B6 ) ) ) ) ).

% Inf_union_distrib
thf(fact_5040_Inter__Un__subset,axiom,
    ! [A: $tType,A6: set @ ( set @ A ),B6: set @ ( set @ A )] : ( ord_less_eq @ ( set @ A ) @ ( sup_sup @ ( set @ A ) @ ( complete_Inf_Inf @ ( set @ A ) @ A6 ) @ ( complete_Inf_Inf @ ( set @ A ) @ B6 ) ) @ ( complete_Inf_Inf @ ( set @ A ) @ ( inf_inf @ ( set @ ( set @ A ) ) @ A6 @ B6 ) ) ) ).

% Inter_Un_subset
thf(fact_5041_INF__greatest,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A6: set @ B,U: A,F3: B > A] :
          ( ! [I3: B] :
              ( ( member @ B @ I3 @ A6 )
             => ( ord_less_eq @ A @ U @ ( F3 @ I3 ) ) )
         => ( ord_less_eq @ A @ U @ ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) ) ) ) ).

% INF_greatest
thf(fact_5042_le__INF__iff,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [U: A,F3: B > A,A6: set @ B] :
          ( ( ord_less_eq @ A @ U @ ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) )
          = ( ! [X4: B] :
                ( ( member @ B @ X4 @ A6 )
               => ( ord_less_eq @ A @ U @ ( F3 @ X4 ) ) ) ) ) ) ).

% le_INF_iff
thf(fact_5043_INF__lower2,axiom,
    ! [B: $tType,A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [I2: B,A6: set @ B,F3: B > A,U: A] :
          ( ( member @ B @ I2 @ A6 )
         => ( ( ord_less_eq @ A @ ( F3 @ I2 ) @ U )
           => ( ord_less_eq @ A @ ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) @ U ) ) ) ) ).

% INF_lower2
thf(fact_5044_INF__mono_H,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [F3: B > A,G3: B > A,A6: set @ B] :
          ( ! [X3: B] : ( ord_less_eq @ A @ ( F3 @ X3 ) @ ( G3 @ X3 ) )
         => ( ord_less_eq @ A @ ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) @ ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ G3 @ A6 ) ) ) ) ) ).

% INF_mono'
thf(fact_5045_INF__lower,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [I2: B,A6: set @ B,F3: B > A] :
          ( ( member @ B @ I2 @ A6 )
         => ( ord_less_eq @ A @ ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) @ ( F3 @ I2 ) ) ) ) ).

% INF_lower
thf(fact_5046_INF__mono,axiom,
    ! [C: $tType,A: $tType,B: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [B6: set @ B,A6: set @ C,F3: C > A,G3: B > A] :
          ( ! [M5: B] :
              ( ( member @ B @ M5 @ B6 )
             => ? [X6: C] :
                  ( ( member @ C @ X6 @ A6 )
                  & ( ord_less_eq @ A @ ( F3 @ X6 ) @ ( G3 @ M5 ) ) ) )
         => ( ord_less_eq @ A @ ( complete_Inf_Inf @ A @ ( image2 @ C @ A @ F3 @ A6 ) ) @ ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ G3 @ B6 ) ) ) ) ) ).

% INF_mono
thf(fact_5047_INF__eqI,axiom,
    ! [B: $tType,A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A6: set @ B,X: A,F3: B > A] :
          ( ! [I3: B] :
              ( ( member @ B @ I3 @ A6 )
             => ( ord_less_eq @ A @ X @ ( F3 @ I3 ) ) )
         => ( ! [Y3: A] :
                ( ! [I4: B] :
                    ( ( member @ B @ I4 @ A6 )
                   => ( ord_less_eq @ A @ Y3 @ ( F3 @ I4 ) ) )
               => ( ord_less_eq @ A @ Y3 @ X ) )
           => ( ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ F3 @ A6 ) )
              = X ) ) ) ) ).

% INF_eqI
thf(fact_5048_less__INF__D,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [Y: A,F3: B > A,A6: set @ B,I2: B] :
          ( ( ord_less @ A @ Y @ ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) )
         => ( ( member @ B @ I2 @ A6 )
           => ( ord_less @ A @ Y @ ( F3 @ I2 ) ) ) ) ) ).

% less_INF_D
thf(fact_5049_INF__less__iff,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comple5582772986160207858norder @ A )
     => ! [F3: B > A,A6: set @ B,A3: A] :
          ( ( ord_less @ A @ ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) @ A3 )
          = ( ? [X4: B] :
                ( ( member @ B @ X4 @ A6 )
                & ( ord_less @ A @ ( F3 @ X4 ) @ A3 ) ) ) ) ) ).

% INF_less_iff
thf(fact_5050_SUP__UN__eq,axiom,
    ! [B: $tType,A: $tType,R3: B > ( set @ A ),S: set @ B] :
      ( ( complete_Sup_Sup @ ( A > $o )
        @ ( image2 @ B @ ( A > $o )
          @ ^ [I: B,X4: A] : ( member @ A @ X4 @ ( R3 @ I ) )
          @ S ) )
      = ( ^ [X4: A] : ( member @ A @ X4 @ ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ R3 @ S ) ) ) ) ) ).

% SUP_UN_eq
thf(fact_5051_INF__absorb,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [K2: B,I5: set @ B,A6: B > A] :
          ( ( member @ B @ K2 @ I5 )
         => ( ( inf_inf @ A @ ( A6 @ K2 ) @ ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ A6 @ I5 ) ) )
            = ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ A6 @ I5 ) ) ) ) ) ).

% INF_absorb
thf(fact_5052_INF__inf__distrib,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [F3: B > A,A6: set @ B,G3: B > A] :
          ( ( inf_inf @ A @ ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) @ ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ G3 @ A6 ) ) )
          = ( complete_Inf_Inf @ A
            @ ( image2 @ B @ A
              @ ^ [A7: B] : ( inf_inf @ A @ ( F3 @ A7 ) @ ( G3 @ A7 ) )
              @ A6 ) ) ) ) ).

% INF_inf_distrib
thf(fact_5053_SUP__Sup__eq2,axiom,
    ! [B: $tType,A: $tType,S: set @ ( set @ ( product_prod @ A @ B ) )] :
      ( ( complete_Sup_Sup @ ( A > B > $o )
        @ ( image2 @ ( set @ ( product_prod @ A @ B ) ) @ ( A > B > $o )
          @ ^ [I: set @ ( product_prod @ A @ B ),X4: A,Y4: B] : ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X4 @ Y4 ) @ I )
          @ S ) )
      = ( ^ [X4: A,Y4: B] : ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X4 @ Y4 ) @ ( complete_Sup_Sup @ ( set @ ( product_prod @ A @ B ) ) @ S ) ) ) ) ).

% SUP_Sup_eq2
thf(fact_5054_INT__extend__simps_I10_J,axiom,
    ! [V6: $tType,U6: $tType,T: $tType,B6: U6 > ( set @ V6 ),F3: T > U6,A6: set @ T] :
      ( ( complete_Inf_Inf @ ( set @ V6 )
        @ ( image2 @ T @ ( set @ V6 )
          @ ^ [A7: T] : ( B6 @ ( F3 @ A7 ) )
          @ A6 ) )
      = ( complete_Inf_Inf @ ( set @ V6 ) @ ( image2 @ U6 @ ( set @ V6 ) @ B6 @ ( image2 @ T @ U6 @ F3 @ A6 ) ) ) ) ).

% INT_extend_simps(10)
thf(fact_5055_INT__subset__iff,axiom,
    ! [A: $tType,B: $tType,B6: set @ A,A6: B > ( set @ A ),I5: set @ B] :
      ( ( ord_less_eq @ ( set @ A ) @ B6 @ ( complete_Inf_Inf @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ A6 @ I5 ) ) )
      = ( ! [X4: B] :
            ( ( member @ B @ X4 @ I5 )
           => ( ord_less_eq @ ( set @ A ) @ B6 @ ( A6 @ X4 ) ) ) ) ) ).

% INT_subset_iff
thf(fact_5056_INT__anti__mono,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,B6: set @ A,F3: A > ( set @ B ),G3: A > ( set @ B )] :
      ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
     => ( ! [X3: A] :
            ( ( member @ A @ X3 @ A6 )
           => ( ord_less_eq @ ( set @ B ) @ ( F3 @ X3 ) @ ( G3 @ X3 ) ) )
       => ( ord_less_eq @ ( set @ B ) @ ( complete_Inf_Inf @ ( set @ B ) @ ( image2 @ A @ ( set @ B ) @ F3 @ B6 ) ) @ ( complete_Inf_Inf @ ( set @ B ) @ ( image2 @ A @ ( set @ B ) @ G3 @ A6 ) ) ) ) ) ).

% INT_anti_mono
thf(fact_5057_INT__greatest,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,C5: set @ B,B6: A > ( set @ B )] :
      ( ! [X3: A] :
          ( ( member @ A @ X3 @ A6 )
         => ( ord_less_eq @ ( set @ B ) @ C5 @ ( B6 @ X3 ) ) )
     => ( ord_less_eq @ ( set @ B ) @ C5 @ ( complete_Inf_Inf @ ( set @ B ) @ ( image2 @ A @ ( set @ B ) @ B6 @ A6 ) ) ) ) ).

% INT_greatest
thf(fact_5058_INT__lower,axiom,
    ! [B: $tType,A: $tType,A3: A,A6: set @ A,B6: A > ( set @ B )] :
      ( ( member @ A @ A3 @ A6 )
     => ( ord_less_eq @ ( set @ B ) @ ( complete_Inf_Inf @ ( set @ B ) @ ( image2 @ A @ ( set @ B ) @ B6 @ A6 ) ) @ ( B6 @ A3 ) ) ) ).

% INT_lower
thf(fact_5059_INT__insert__distrib,axiom,
    ! [B: $tType,A: $tType,U: A,A6: set @ A,A3: B,B6: A > ( set @ B )] :
      ( ( member @ A @ U @ A6 )
     => ( ( complete_Inf_Inf @ ( set @ B )
          @ ( image2 @ A @ ( set @ B )
            @ ^ [X4: A] : ( insert @ B @ A3 @ ( B6 @ X4 ) )
            @ A6 ) )
        = ( insert @ B @ A3 @ ( complete_Inf_Inf @ ( set @ B ) @ ( image2 @ A @ ( set @ B ) @ B6 @ A6 ) ) ) ) ) ).

% INT_insert_distrib
thf(fact_5060_INT__extend__simps_I5_J,axiom,
    ! [I6: $tType,J5: $tType,A3: I6,B6: J5 > ( set @ I6 ),C5: set @ J5] :
      ( ( insert @ I6 @ A3 @ ( complete_Inf_Inf @ ( set @ I6 ) @ ( image2 @ J5 @ ( set @ I6 ) @ B6 @ C5 ) ) )
      = ( complete_Inf_Inf @ ( set @ I6 )
        @ ( image2 @ J5 @ ( set @ I6 )
          @ ^ [X4: J5] : ( insert @ I6 @ A3 @ ( B6 @ X4 ) )
          @ C5 ) ) ) ).

% INT_extend_simps(5)
thf(fact_5061_Inter__Un__distrib,axiom,
    ! [A: $tType,A6: set @ ( set @ A ),B6: set @ ( set @ A )] :
      ( ( complete_Inf_Inf @ ( set @ A ) @ ( sup_sup @ ( set @ ( set @ A ) ) @ A6 @ B6 ) )
      = ( inf_inf @ ( set @ A ) @ ( complete_Inf_Inf @ ( set @ A ) @ A6 ) @ ( complete_Inf_Inf @ ( set @ A ) @ B6 ) ) ) ).

% Inter_Un_distrib
thf(fact_5062_INT__absorb,axiom,
    ! [B: $tType,A: $tType,K2: A,I5: set @ A,A6: A > ( set @ B )] :
      ( ( member @ A @ K2 @ I5 )
     => ( ( inf_inf @ ( set @ B ) @ ( A6 @ K2 ) @ ( complete_Inf_Inf @ ( set @ B ) @ ( image2 @ A @ ( set @ B ) @ A6 @ I5 ) ) )
        = ( complete_Inf_Inf @ ( set @ B ) @ ( image2 @ A @ ( set @ B ) @ A6 @ I5 ) ) ) ) ).

% INT_absorb
thf(fact_5063_INT__Int__distrib,axiom,
    ! [A: $tType,B: $tType,A6: B > ( set @ A ),B6: B > ( set @ A ),I5: set @ B] :
      ( ( complete_Inf_Inf @ ( set @ A )
        @ ( image2 @ B @ ( set @ A )
          @ ^ [I: B] : ( inf_inf @ ( set @ A ) @ ( A6 @ I ) @ ( B6 @ I ) )
          @ I5 ) )
      = ( inf_inf @ ( set @ A ) @ ( complete_Inf_Inf @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ A6 @ I5 ) ) @ ( complete_Inf_Inf @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ B6 @ I5 ) ) ) ) ).

% INT_Int_distrib
thf(fact_5064_Int__Inter__image,axiom,
    ! [A: $tType,B: $tType,A6: B > ( set @ A ),B6: B > ( set @ A ),C5: set @ B] :
      ( ( complete_Inf_Inf @ ( set @ A )
        @ ( image2 @ B @ ( set @ A )
          @ ^ [X4: B] : ( inf_inf @ ( set @ A ) @ ( A6 @ X4 ) @ ( B6 @ X4 ) )
          @ C5 ) )
      = ( inf_inf @ ( set @ A ) @ ( complete_Inf_Inf @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ A6 @ C5 ) ) @ ( complete_Inf_Inf @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ B6 @ C5 ) ) ) ) ).

% Int_Inter_image
thf(fact_5065_INT__extend__simps_I7_J,axiom,
    ! [M11: $tType,N11: $tType,A6: set @ M11,B6: N11 > ( set @ M11 ),C5: set @ N11] :
      ( ( sup_sup @ ( set @ M11 ) @ A6 @ ( complete_Inf_Inf @ ( set @ M11 ) @ ( image2 @ N11 @ ( set @ M11 ) @ B6 @ C5 ) ) )
      = ( complete_Inf_Inf @ ( set @ M11 )
        @ ( image2 @ N11 @ ( set @ M11 )
          @ ^ [X4: N11] : ( sup_sup @ ( set @ M11 ) @ A6 @ ( B6 @ X4 ) )
          @ C5 ) ) ) ).

% INT_extend_simps(7)
thf(fact_5066_INT__extend__simps_I6_J,axiom,
    ! [L8: $tType,K6: $tType,A6: K6 > ( set @ L8 ),C5: set @ K6,B6: set @ L8] :
      ( ( sup_sup @ ( set @ L8 ) @ ( complete_Inf_Inf @ ( set @ L8 ) @ ( image2 @ K6 @ ( set @ L8 ) @ A6 @ C5 ) ) @ B6 )
      = ( complete_Inf_Inf @ ( set @ L8 )
        @ ( image2 @ K6 @ ( set @ L8 )
          @ ^ [X4: K6] : ( sup_sup @ ( set @ L8 ) @ ( A6 @ X4 ) @ B6 )
          @ C5 ) ) ) ).

% INT_extend_simps(6)
thf(fact_5067_Un__INT__distrib,axiom,
    ! [A: $tType,B: $tType,B6: set @ A,A6: B > ( set @ A ),I5: set @ B] :
      ( ( sup_sup @ ( set @ A ) @ B6 @ ( complete_Inf_Inf @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ A6 @ I5 ) ) )
      = ( complete_Inf_Inf @ ( set @ A )
        @ ( image2 @ B @ ( set @ A )
          @ ^ [I: B] : ( sup_sup @ ( set @ A ) @ B6 @ ( A6 @ I ) )
          @ I5 ) ) ) ).

% Un_INT_distrib
thf(fact_5068_Un__INT__distrib2,axiom,
    ! [A: $tType,C: $tType,B: $tType,A6: B > ( set @ A ),I5: set @ B,B6: C > ( set @ A ),J4: set @ C] :
      ( ( sup_sup @ ( set @ A ) @ ( complete_Inf_Inf @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ A6 @ I5 ) ) @ ( complete_Inf_Inf @ ( set @ A ) @ ( image2 @ C @ ( set @ A ) @ B6 @ J4 ) ) )
      = ( complete_Inf_Inf @ ( set @ A )
        @ ( image2 @ B @ ( set @ A )
          @ ^ [I: B] :
              ( complete_Inf_Inf @ ( set @ A )
              @ ( image2 @ C @ ( set @ A )
                @ ^ [J: C] : ( sup_sup @ ( set @ A ) @ ( A6 @ I ) @ ( B6 @ J ) )
                @ J4 ) )
          @ I5 ) ) ) ).

% Un_INT_distrib2
thf(fact_5069_INT__extend__simps_I9_J,axiom,
    ! [S9: $tType,R10: $tType,Q9: $tType,C5: R10 > ( set @ S9 ),B6: Q9 > ( set @ R10 ),A6: set @ Q9] :
      ( ( complete_Inf_Inf @ ( set @ S9 )
        @ ( image2 @ Q9 @ ( set @ S9 )
          @ ^ [X4: Q9] : ( complete_Inf_Inf @ ( set @ S9 ) @ ( image2 @ R10 @ ( set @ S9 ) @ C5 @ ( B6 @ X4 ) ) )
          @ A6 ) )
      = ( complete_Inf_Inf @ ( set @ S9 ) @ ( image2 @ R10 @ ( set @ S9 ) @ C5 @ ( complete_Sup_Sup @ ( set @ R10 ) @ ( image2 @ Q9 @ ( set @ R10 ) @ B6 @ A6 ) ) ) ) ) ).

% INT_extend_simps(9)
thf(fact_5070_Int__Inter__eq_I2_J,axiom,
    ! [A: $tType,B13: set @ ( set @ A ),A6: set @ A] :
      ( ( ( B13
          = ( bot_bot @ ( set @ ( set @ A ) ) ) )
       => ( ( inf_inf @ ( set @ A ) @ ( complete_Inf_Inf @ ( set @ A ) @ B13 ) @ A6 )
          = A6 ) )
      & ( ( B13
         != ( bot_bot @ ( set @ ( set @ A ) ) ) )
       => ( ( inf_inf @ ( set @ A ) @ ( complete_Inf_Inf @ ( set @ A ) @ B13 ) @ A6 )
          = ( complete_Inf_Inf @ ( set @ A )
            @ ( image2 @ ( set @ A ) @ ( set @ A )
              @ ^ [B7: set @ A] : ( inf_inf @ ( set @ A ) @ B7 @ A6 )
              @ B13 ) ) ) ) ) ).

% Int_Inter_eq(2)
thf(fact_5071_Int__Inter__eq_I1_J,axiom,
    ! [A: $tType,B13: set @ ( set @ A ),A6: set @ A] :
      ( ( ( B13
          = ( bot_bot @ ( set @ ( set @ A ) ) ) )
       => ( ( inf_inf @ ( set @ A ) @ A6 @ ( complete_Inf_Inf @ ( set @ A ) @ B13 ) )
          = A6 ) )
      & ( ( B13
         != ( bot_bot @ ( set @ ( set @ A ) ) ) )
       => ( ( inf_inf @ ( set @ A ) @ A6 @ ( complete_Inf_Inf @ ( set @ A ) @ B13 ) )
          = ( complete_Inf_Inf @ ( set @ A ) @ ( image2 @ ( set @ A ) @ ( set @ A ) @ ( inf_inf @ ( set @ A ) @ A6 ) @ B13 ) ) ) ) ) ).

% Int_Inter_eq(1)
thf(fact_5072_Un__Inter,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ ( set @ A )] :
      ( ( sup_sup @ ( set @ A ) @ A6 @ ( complete_Inf_Inf @ ( set @ A ) @ B6 ) )
      = ( complete_Inf_Inf @ ( set @ A ) @ ( image2 @ ( set @ A ) @ ( set @ A ) @ ( sup_sup @ ( set @ A ) @ A6 ) @ B6 ) ) ) ).

% Un_Inter
thf(fact_5073_INF__le__iff,axiom,
    ! [B: $tType,A: $tType] :
      ( ( comple5582772986160207858norder @ A )
     => ! [F3: B > A,A6: set @ B,X: A] :
          ( ( ord_less_eq @ A @ ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) @ X )
          = ( ! [Y4: A] :
                ( ( ord_less @ A @ X @ Y4 )
               => ? [X4: B] :
                    ( ( member @ B @ X4 @ A6 )
                    & ( ord_less @ A @ ( F3 @ X4 ) @ Y4 ) ) ) ) ) ) ).

% INF_le_iff
thf(fact_5074_INF__eq__iff,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [I5: set @ B,F3: B > A,C3: A] :
          ( ( I5
           != ( bot_bot @ ( set @ B ) ) )
         => ( ! [I3: B] :
                ( ( member @ B @ I3 @ I5 )
               => ( ord_less_eq @ A @ ( F3 @ I3 ) @ C3 ) )
           => ( ( ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ F3 @ I5 ) )
                = C3 )
              = ( ! [X4: B] :
                    ( ( member @ B @ X4 @ I5 )
                   => ( ( F3 @ X4 )
                      = C3 ) ) ) ) ) ) ) ).

% INF_eq_iff
thf(fact_5075_cINF__greatest,axiom,
    ! [A: $tType,B: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [A6: set @ B,M: A,F3: B > A] :
          ( ( A6
           != ( bot_bot @ ( set @ B ) ) )
         => ( ! [X3: B] :
                ( ( member @ B @ X3 @ A6 )
               => ( ord_less_eq @ A @ M @ ( F3 @ X3 ) ) )
           => ( ord_less_eq @ A @ M @ ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) ) ) ) ) ).

% cINF_greatest
thf(fact_5076_finite__less__Inf__iff,axiom,
    ! [A: $tType] :
      ( ( condit6923001295902523014norder @ A )
     => ! [X7: set @ A,A3: A] :
          ( ( finite_finite2 @ A @ X7 )
         => ( ( X7
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( ord_less @ A @ A3 @ ( complete_Inf_Inf @ A @ X7 ) )
              = ( ! [X4: A] :
                    ( ( member @ A @ X4 @ X7 )
                   => ( ord_less @ A @ A3 @ X4 ) ) ) ) ) ) ) ).

% finite_less_Inf_iff
thf(fact_5077_Inf__le__Sup,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A6: set @ A] :
          ( ( A6
           != ( bot_bot @ ( set @ A ) ) )
         => ( ord_less_eq @ A @ ( complete_Inf_Inf @ A @ A6 ) @ ( complete_Sup_Sup @ A @ A6 ) ) ) ) ).

% Inf_le_Sup
thf(fact_5078_cInf__abs__ge,axiom,
    ! [A: $tType] :
      ( ( ( condit6923001295902523014norder @ A )
        & ( linordered_idom @ A ) )
     => ! [S: set @ A,A3: A] :
          ( ( S
           != ( bot_bot @ ( set @ A ) ) )
         => ( ! [X3: A] :
                ( ( member @ A @ X3 @ S )
               => ( ord_less_eq @ A @ ( abs_abs @ A @ X3 ) @ A3 ) )
           => ( ord_less_eq @ A @ ( abs_abs @ A @ ( complete_Inf_Inf @ A @ S ) ) @ A3 ) ) ) ) ).

% cInf_abs_ge
thf(fact_5079_less__eq__Inf__inter,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A6: set @ A,B6: set @ A] : ( ord_less_eq @ A @ ( sup_sup @ A @ ( complete_Inf_Inf @ A @ A6 ) @ ( complete_Inf_Inf @ A @ B6 ) ) @ ( complete_Inf_Inf @ A @ ( inf_inf @ ( set @ A ) @ A6 @ B6 ) ) ) ) ).

% less_eq_Inf_inter
thf(fact_5080_INF__superset__mono,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [B6: set @ B,A6: set @ B,F3: B > A,G3: B > A] :
          ( ( ord_less_eq @ ( set @ B ) @ B6 @ A6 )
         => ( ! [X3: B] :
                ( ( member @ B @ X3 @ B6 )
               => ( ord_less_eq @ A @ ( F3 @ X3 ) @ ( G3 @ X3 ) ) )
           => ( ord_less_eq @ A @ ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) @ ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ G3 @ B6 ) ) ) ) ) ) ).

% INF_superset_mono
thf(fact_5081_INF__inf__const2,axiom,
    ! [B: $tType,A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [I5: set @ B,F3: B > A,X: A] :
          ( ( I5
           != ( bot_bot @ ( set @ B ) ) )
         => ( ( complete_Inf_Inf @ A
              @ ( image2 @ B @ A
                @ ^ [I: B] : ( inf_inf @ A @ ( F3 @ I ) @ X )
                @ I5 ) )
            = ( inf_inf @ A @ ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ F3 @ I5 ) ) @ X ) ) ) ) ).

% INF_inf_const2
thf(fact_5082_INF__inf__const1,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [I5: set @ B,X: A,F3: B > A] :
          ( ( I5
           != ( bot_bot @ ( set @ B ) ) )
         => ( ( complete_Inf_Inf @ A
              @ ( image2 @ B @ A
                @ ^ [I: B] : ( inf_inf @ A @ X @ ( F3 @ I ) )
                @ I5 ) )
            = ( inf_inf @ A @ X @ ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ F3 @ I5 ) ) ) ) ) ) ).

% INF_inf_const1
thf(fact_5083_uminus__SUP,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comple489889107523837845lgebra @ A )
     => ! [B6: B > A,A6: set @ B] :
          ( ( uminus_uminus @ A @ ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ B6 @ A6 ) ) )
          = ( complete_Inf_Inf @ A
            @ ( image2 @ B @ A
              @ ^ [X4: B] : ( uminus_uminus @ A @ ( B6 @ X4 ) )
              @ A6 ) ) ) ) ).

% uminus_SUP
thf(fact_5084_uminus__INF,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comple489889107523837845lgebra @ A )
     => ! [B6: B > A,A6: set @ B] :
          ( ( uminus_uminus @ A @ ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ B6 @ A6 ) ) )
          = ( complete_Sup_Sup @ A
            @ ( image2 @ B @ A
              @ ^ [X4: B] : ( uminus_uminus @ A @ ( B6 @ X4 ) )
              @ A6 ) ) ) ) ).

% uminus_INF
thf(fact_5085_INF__insert,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [F3: B > A,A3: B,A6: set @ B] :
          ( ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ F3 @ ( insert @ B @ A3 @ A6 ) ) )
          = ( inf_inf @ A @ ( F3 @ A3 ) @ ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) ) ) ) ).

% INF_insert
thf(fact_5086_INF__union,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [M6: B > A,A6: set @ B,B6: set @ B] :
          ( ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ M6 @ ( sup_sup @ ( set @ B ) @ A6 @ B6 ) ) )
          = ( inf_inf @ A @ ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ M6 @ A6 ) ) @ ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ M6 @ B6 ) ) ) ) ) ).

% INF_union
thf(fact_5087_Sup__SUP__eq2,axiom,
    ! [B: $tType,A: $tType] :
      ( ( complete_Sup_Sup @ ( A > B > $o ) )
      = ( ^ [S4: set @ ( A > B > $o ),X4: A,Y4: B] : ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X4 @ Y4 ) @ ( complete_Sup_Sup @ ( set @ ( product_prod @ A @ B ) ) @ ( image2 @ ( ( product_prod @ A @ B ) > $o ) @ ( set @ ( product_prod @ A @ B ) ) @ ( collect @ ( product_prod @ A @ B ) ) @ ( image2 @ ( A > B > $o ) @ ( ( product_prod @ A @ B ) > $o ) @ ( product_case_prod @ A @ B @ $o ) @ S4 ) ) ) ) ) ) ).

% Sup_SUP_eq2
thf(fact_5088_INT__extend__simps_I2_J,axiom,
    ! [C: $tType,D: $tType,C5: set @ D,A6: set @ C,B6: D > ( set @ C )] :
      ( ( ( C5
          = ( bot_bot @ ( set @ D ) ) )
       => ( ( inf_inf @ ( set @ C ) @ A6 @ ( complete_Inf_Inf @ ( set @ C ) @ ( image2 @ D @ ( set @ C ) @ B6 @ C5 ) ) )
          = A6 ) )
      & ( ( C5
         != ( bot_bot @ ( set @ D ) ) )
       => ( ( inf_inf @ ( set @ C ) @ A6 @ ( complete_Inf_Inf @ ( set @ C ) @ ( image2 @ D @ ( set @ C ) @ B6 @ C5 ) ) )
          = ( complete_Inf_Inf @ ( set @ C )
            @ ( image2 @ D @ ( set @ C )
              @ ^ [X4: D] : ( inf_inf @ ( set @ C ) @ A6 @ ( B6 @ X4 ) )
              @ C5 ) ) ) ) ) ).

% INT_extend_simps(2)
thf(fact_5089_INT__extend__simps_I1_J,axiom,
    ! [B: $tType,A: $tType,C5: set @ A,A6: A > ( set @ B ),B6: set @ B] :
      ( ( ( C5
          = ( bot_bot @ ( set @ A ) ) )
       => ( ( inf_inf @ ( set @ B ) @ ( complete_Inf_Inf @ ( set @ B ) @ ( image2 @ A @ ( set @ B ) @ A6 @ C5 ) ) @ B6 )
          = B6 ) )
      & ( ( C5
         != ( bot_bot @ ( set @ A ) ) )
       => ( ( inf_inf @ ( set @ B ) @ ( complete_Inf_Inf @ ( set @ B ) @ ( image2 @ A @ ( set @ B ) @ A6 @ C5 ) ) @ B6 )
          = ( complete_Inf_Inf @ ( set @ B )
            @ ( image2 @ A @ ( set @ B )
              @ ^ [X4: A] : ( inf_inf @ ( set @ B ) @ ( A6 @ X4 ) @ B6 )
              @ C5 ) ) ) ) ) ).

% INT_extend_simps(1)
thf(fact_5090_INT__Un,axiom,
    ! [A: $tType,B: $tType,M6: B > ( set @ A ),A6: set @ B,B6: set @ B] :
      ( ( complete_Inf_Inf @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ M6 @ ( sup_sup @ ( set @ B ) @ A6 @ B6 ) ) )
      = ( inf_inf @ ( set @ A ) @ ( complete_Inf_Inf @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ M6 @ A6 ) ) @ ( complete_Inf_Inf @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ M6 @ B6 ) ) ) ) ).

% INT_Un
thf(fact_5091_UN__extend__simps_I7_J,axiom,
    ! [M11: $tType,N11: $tType,A6: set @ M11,B6: N11 > ( set @ M11 ),C5: set @ N11] :
      ( ( minus_minus @ ( set @ M11 ) @ A6 @ ( complete_Inf_Inf @ ( set @ M11 ) @ ( image2 @ N11 @ ( set @ M11 ) @ B6 @ C5 ) ) )
      = ( complete_Sup_Sup @ ( set @ M11 )
        @ ( image2 @ N11 @ ( set @ M11 )
          @ ^ [X4: N11] : ( minus_minus @ ( set @ M11 ) @ A6 @ ( B6 @ X4 ) )
          @ C5 ) ) ) ).

% UN_extend_simps(7)
thf(fact_5092_SUP__UN__eq2,axiom,
    ! [B: $tType,C: $tType,A: $tType,R3: C > ( set @ ( product_prod @ A @ B ) ),S: set @ C] :
      ( ( complete_Sup_Sup @ ( A > B > $o )
        @ ( image2 @ C @ ( A > B > $o )
          @ ^ [I: C,X4: A,Y4: B] : ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X4 @ Y4 ) @ ( R3 @ I ) )
          @ S ) )
      = ( ^ [X4: A,Y4: B] : ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X4 @ Y4 ) @ ( complete_Sup_Sup @ ( set @ ( product_prod @ A @ B ) ) @ ( image2 @ C @ ( set @ ( product_prod @ A @ B ) ) @ R3 @ S ) ) ) ) ) ).

% SUP_UN_eq2
thf(fact_5093_INT__extend__simps_I8_J,axiom,
    ! [P9: $tType,O2: $tType,B6: O2 > ( set @ P9 ),A6: set @ ( set @ O2 )] :
      ( ( complete_Inf_Inf @ ( set @ P9 )
        @ ( image2 @ ( set @ O2 ) @ ( set @ P9 )
          @ ^ [Y4: set @ O2] : ( complete_Inf_Inf @ ( set @ P9 ) @ ( image2 @ O2 @ ( set @ P9 ) @ B6 @ Y4 ) )
          @ A6 ) )
      = ( complete_Inf_Inf @ ( set @ P9 ) @ ( image2 @ O2 @ ( set @ P9 ) @ B6 @ ( complete_Sup_Sup @ ( set @ O2 ) @ A6 ) ) ) ) ).

% INT_extend_simps(8)
thf(fact_5094_INF__le__SUP,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A6: set @ B,F3: B > A] :
          ( ( A6
           != ( bot_bot @ ( set @ B ) ) )
         => ( ord_less_eq @ A @ ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) @ ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) ) ) ) ).

% INF_le_SUP
thf(fact_5095_cInf__asclose,axiom,
    ! [A: $tType] :
      ( ( ( condit6923001295902523014norder @ A )
        & ( linordered_idom @ A ) )
     => ! [S: set @ A,L: A,E3: A] :
          ( ( S
           != ( bot_bot @ ( set @ A ) ) )
         => ( ! [X3: A] :
                ( ( member @ A @ X3 @ S )
               => ( ord_less_eq @ A @ ( abs_abs @ A @ ( minus_minus @ A @ X3 @ L ) ) @ E3 ) )
           => ( ord_less_eq @ A @ ( abs_abs @ A @ ( minus_minus @ A @ ( complete_Inf_Inf @ A @ S ) @ L ) ) @ E3 ) ) ) ) ).

% cInf_asclose
thf(fact_5096_INT__extend__simps_I4_J,axiom,
    ! [G: $tType,H10: $tType,C5: set @ H10,A6: set @ G,B6: H10 > ( set @ G )] :
      ( ( ( C5
          = ( bot_bot @ ( set @ H10 ) ) )
       => ( ( minus_minus @ ( set @ G ) @ A6 @ ( complete_Sup_Sup @ ( set @ G ) @ ( image2 @ H10 @ ( set @ G ) @ B6 @ C5 ) ) )
          = A6 ) )
      & ( ( C5
         != ( bot_bot @ ( set @ H10 ) ) )
       => ( ( minus_minus @ ( set @ G ) @ A6 @ ( complete_Sup_Sup @ ( set @ G ) @ ( image2 @ H10 @ ( set @ G ) @ B6 @ C5 ) ) )
          = ( complete_Inf_Inf @ ( set @ G )
            @ ( image2 @ H10 @ ( set @ G )
              @ ^ [X4: H10] : ( minus_minus @ ( set @ G ) @ A6 @ ( B6 @ X4 ) )
              @ C5 ) ) ) ) ) ).

% INT_extend_simps(4)
thf(fact_5097_SUP__inf,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comple592849572758109894attice @ A )
     => ! [F3: B > A,B6: set @ B,A3: A] :
          ( ( inf_inf @ A @ ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ F3 @ B6 ) ) @ A3 )
          = ( complete_Sup_Sup @ A
            @ ( image2 @ B @ A
              @ ^ [B5: B] : ( inf_inf @ A @ ( F3 @ B5 ) @ A3 )
              @ B6 ) ) ) ) ).

% SUP_inf
thf(fact_5098_Sup__inf,axiom,
    ! [A: $tType] :
      ( ( comple592849572758109894attice @ A )
     => ! [B6: set @ A,A3: A] :
          ( ( inf_inf @ A @ ( complete_Sup_Sup @ A @ B6 ) @ A3 )
          = ( complete_Sup_Sup @ A
            @ ( image2 @ A @ A
              @ ^ [B5: A] : ( inf_inf @ A @ B5 @ A3 )
              @ B6 ) ) ) ) ).

% Sup_inf
thf(fact_5099_inf__SUP,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comple592849572758109894attice @ A )
     => ! [A3: A,F3: B > A,B6: set @ B] :
          ( ( inf_inf @ A @ A3 @ ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ F3 @ B6 ) ) )
          = ( complete_Sup_Sup @ A
            @ ( image2 @ B @ A
              @ ^ [B5: B] : ( inf_inf @ A @ A3 @ ( F3 @ B5 ) )
              @ B6 ) ) ) ) ).

% inf_SUP
thf(fact_5100_UN__UN__split__split__eq,axiom,
    ! [A: $tType,E: $tType,D: $tType,C: $tType,B: $tType,A6: B > C > D > E > ( set @ A ),Y7: set @ ( product_prod @ D @ E ),X7: set @ ( product_prod @ B @ C )] :
      ( ( complete_Sup_Sup @ ( set @ A )
        @ ( image2 @ ( product_prod @ B @ C ) @ ( set @ A )
          @ ( product_case_prod @ B @ C @ ( set @ A )
            @ ^ [X12: B,X23: C] : ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ ( product_prod @ D @ E ) @ ( set @ A ) @ ( product_case_prod @ D @ E @ ( set @ A ) @ ( A6 @ X12 @ X23 ) ) @ Y7 ) ) )
          @ X7 ) )
      = ( complete_Sup_Sup @ ( set @ A )
        @ ( image2 @ ( product_prod @ B @ C ) @ ( set @ A )
          @ ^ [X4: product_prod @ B @ C] :
              ( complete_Sup_Sup @ ( set @ A )
              @ ( image2 @ ( product_prod @ D @ E ) @ ( set @ A )
                @ ^ [Y4: product_prod @ D @ E] :
                    ( product_case_prod @ B @ C @ ( set @ A )
                    @ ^ [X12: B,X23: C] : ( product_case_prod @ D @ E @ ( set @ A ) @ ( A6 @ X12 @ X23 ) @ Y4 )
                    @ X4 )
                @ Y7 ) )
          @ X7 ) ) ) ).

% UN_UN_split_split_eq
thf(fact_5101_length__remdups__concat,axiom,
    ! [A: $tType,Xss: list @ ( list @ A )] :
      ( ( size_size @ ( list @ A ) @ ( remdups @ A @ ( concat @ A @ Xss ) ) )
      = ( finite_card @ A @ ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ ( list @ A ) @ ( set @ A ) @ ( set2 @ A ) @ ( set2 @ ( list @ A ) @ Xss ) ) ) ) ) ).

% length_remdups_concat
thf(fact_5102_finite__mono__strict__prefix__implies__finite__fixpoint,axiom,
    ! [A: $tType,F3: nat > ( set @ A ),S: set @ A] :
      ( ! [I3: nat] : ( ord_less_eq @ ( set @ A ) @ ( F3 @ I3 ) @ S )
     => ( ( finite_finite2 @ A @ S )
       => ( ? [N13: nat] :
              ( ! [N4: nat] :
                  ( ( ord_less_eq @ nat @ N4 @ N13 )
                 => ! [M5: nat] :
                      ( ( ord_less_eq @ nat @ M5 @ N13 )
                     => ( ( ord_less @ nat @ M5 @ N4 )
                       => ( ord_less @ ( set @ A ) @ ( F3 @ M5 ) @ ( F3 @ N4 ) ) ) ) )
              & ! [N4: nat] :
                  ( ( ord_less_eq @ nat @ N13 @ N4 )
                 => ( ( F3 @ N13 )
                    = ( F3 @ N4 ) ) ) )
         => ( ( F3 @ ( finite_card @ A @ S ) )
            = ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ nat @ ( set @ A ) @ F3 @ ( top_top @ ( set @ nat ) ) ) ) ) ) ) ) ).

% finite_mono_strict_prefix_implies_finite_fixpoint
thf(fact_5103_top__apply,axiom,
    ! [C: $tType,D: $tType] :
      ( ( top @ C )
     => ( ( top_top @ ( D > C ) )
        = ( ^ [X4: D] : ( top_top @ C ) ) ) ) ).

% top_apply
thf(fact_5104_UNIV__I,axiom,
    ! [A: $tType,X: A] : ( member @ A @ X @ ( top_top @ ( set @ A ) ) ) ).

% UNIV_I
thf(fact_5105_INF2__I,axiom,
    ! [B: $tType,A: $tType,C: $tType,A6: set @ A,B6: A > B > C > $o,B2: B,C3: C] :
      ( ! [X3: A] :
          ( ( member @ A @ X3 @ A6 )
         => ( B6 @ X3 @ B2 @ C3 ) )
     => ( complete_Inf_Inf @ ( B > C > $o ) @ ( image2 @ A @ ( B > C > $o ) @ B6 @ A6 ) @ B2 @ C3 ) ) ).

% INF2_I
thf(fact_5106_INF1__I,axiom,
    ! [A: $tType,B: $tType,A6: set @ A,B6: A > B > $o,B2: B] :
      ( ! [X3: A] :
          ( ( member @ A @ X3 @ A6 )
         => ( B6 @ X3 @ B2 ) )
     => ( complete_Inf_Inf @ ( B > $o ) @ ( image2 @ A @ ( B > $o ) @ B6 @ A6 ) @ B2 ) ) ).

% INF1_I
thf(fact_5107_finite__option__UNIV,axiom,
    ! [A: $tType] :
      ( ( finite_finite2 @ ( option @ A ) @ ( top_top @ ( set @ ( option @ A ) ) ) )
      = ( finite_finite2 @ A @ ( top_top @ ( set @ A ) ) ) ) ).

% finite_option_UNIV
thf(fact_5108_boolean__algebra_Odisj__one__right,axiom,
    ! [A: $tType] :
      ( ( boolea8198339166811842893lgebra @ A )
     => ! [X: A] :
          ( ( sup_sup @ A @ X @ ( top_top @ A ) )
          = ( top_top @ A ) ) ) ).

% boolean_algebra.disj_one_right
thf(fact_5109_boolean__algebra_Odisj__one__left,axiom,
    ! [A: $tType] :
      ( ( boolea8198339166811842893lgebra @ A )
     => ! [X: A] :
          ( ( sup_sup @ A @ ( top_top @ A ) @ X )
          = ( top_top @ A ) ) ) ).

% boolean_algebra.disj_one_left
thf(fact_5110_sup__top__right,axiom,
    ! [A: $tType] :
      ( ( bounded_lattice_top @ A )
     => ! [X: A] :
          ( ( sup_sup @ A @ X @ ( top_top @ A ) )
          = ( top_top @ A ) ) ) ).

% sup_top_right
thf(fact_5111_sup__top__left,axiom,
    ! [A: $tType] :
      ( ( bounded_lattice_top @ A )
     => ! [X: A] :
          ( ( sup_sup @ A @ ( top_top @ A ) @ X )
          = ( top_top @ A ) ) ) ).

% sup_top_left
thf(fact_5112_Int__UNIV,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( ( inf_inf @ ( set @ A ) @ A6 @ B6 )
        = ( top_top @ ( set @ A ) ) )
      = ( ( A6
          = ( top_top @ ( set @ A ) ) )
        & ( B6
          = ( top_top @ ( set @ A ) ) ) ) ) ).

% Int_UNIV
thf(fact_5113_card__eq__UNIV2,axiom,
    ! [A: $tType] :
      ( ( finite_finite @ A )
     => ! [S: set @ A] :
          ( ( ( finite_card @ A @ ( top_top @ ( set @ A ) ) )
            = ( finite_card @ A @ S ) )
          = ( S
            = ( top_top @ ( set @ A ) ) ) ) ) ).

% card_eq_UNIV2
thf(fact_5114_card__eq__UNIV,axiom,
    ! [A: $tType] :
      ( ( finite_finite @ A )
     => ! [S: set @ A] :
          ( ( ( finite_card @ A @ S )
            = ( finite_card @ A @ ( top_top @ ( set @ A ) ) ) )
          = ( S
            = ( top_top @ ( set @ A ) ) ) ) ) ).

% card_eq_UNIV
thf(fact_5115_max__top,axiom,
    ! [A: $tType] :
      ( ( order_top @ A )
     => ! [X: A] :
          ( ( ord_max @ A @ ( top_top @ A ) @ X )
          = ( top_top @ A ) ) ) ).

% max_top
thf(fact_5116_max__top2,axiom,
    ! [A: $tType] :
      ( ( order_top @ A )
     => ! [X: A] :
          ( ( ord_max @ A @ X @ ( top_top @ A ) )
          = ( top_top @ A ) ) ) ).

% max_top2
thf(fact_5117_restrict__map__UNIV,axiom,
    ! [B: $tType,A: $tType,F3: A > ( option @ B )] :
      ( ( restrict_map @ A @ B @ F3 @ ( top_top @ ( set @ A ) ) )
      = F3 ) ).

% restrict_map_UNIV
thf(fact_5118_Collect__const,axiom,
    ! [A: $tType,P2: $o] :
      ( ( P2
       => ( ( collect @ A
            @ ^ [S5: A] : P2 )
          = ( top_top @ ( set @ A ) ) ) )
      & ( ~ P2
       => ( ( collect @ A
            @ ^ [S5: A] : P2 )
          = ( bot_bot @ ( set @ A ) ) ) ) ) ).

% Collect_const
thf(fact_5119_finite__Collect__not,axiom,
    ! [A: $tType,P2: A > $o] :
      ( ( finite_finite2 @ A @ ( collect @ A @ P2 ) )
     => ( ( finite_finite2 @ A
          @ ( collect @ A
            @ ^ [X4: A] :
                ~ ( P2 @ X4 ) ) )
        = ( finite_finite2 @ A @ ( top_top @ ( set @ A ) ) ) ) ) ).

% finite_Collect_not
thf(fact_5120_subset__mset_OcINF__const,axiom,
    ! [B: $tType,A: $tType,A6: set @ B,C3: multiset @ A] :
      ( ( A6
       != ( bot_bot @ ( set @ B ) ) )
     => ( ( complete_Inf_Inf @ ( multiset @ A )
          @ ( image2 @ B @ ( multiset @ A )
            @ ^ [X4: B] : C3
            @ A6 ) )
        = C3 ) ) ).

% subset_mset.cINF_const
thf(fact_5121_None__in__Inf,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A6: set @ ( option @ A )] :
          ( ( member @ ( option @ A ) @ ( none @ A ) @ A6 )
         => ( ( complete_Inf_Inf @ ( option @ A ) @ A6 )
            = ( none @ A ) ) ) ) ).

% None_in_Inf
thf(fact_5122_surj__plus,axiom,
    ! [A: $tType] :
      ( ( ab_group_add @ A )
     => ! [A3: A] :
          ( ( image2 @ A @ A @ ( plus_plus @ A @ A3 ) @ ( top_top @ ( set @ A ) ) )
          = ( top_top @ ( set @ A ) ) ) ) ).

% surj_plus
thf(fact_5123_Sup__eq__top__iff,axiom,
    ! [A: $tType] :
      ( ( comple5582772986160207858norder @ A )
     => ! [A6: set @ A] :
          ( ( ( complete_Sup_Sup @ A @ A6 )
            = ( top_top @ A ) )
          = ( ! [X4: A] :
                ( ( ord_less @ A @ X4 @ ( top_top @ A ) )
               => ? [Y4: A] :
                    ( ( member @ A @ Y4 @ A6 )
                    & ( ord_less @ A @ X4 @ Y4 ) ) ) ) ) ) ).

% Sup_eq_top_iff
thf(fact_5124_boolean__algebra_Odisj__cancel__right,axiom,
    ! [A: $tType] :
      ( ( boolea8198339166811842893lgebra @ A )
     => ! [X: A] :
          ( ( sup_sup @ A @ X @ ( uminus_uminus @ A @ X ) )
          = ( top_top @ A ) ) ) ).

% boolean_algebra.disj_cancel_right
thf(fact_5125_boolean__algebra_Odisj__cancel__left,axiom,
    ! [A: $tType] :
      ( ( boolea8198339166811842893lgebra @ A )
     => ! [X: A] :
          ( ( sup_sup @ A @ ( uminus_uminus @ A @ X ) @ X )
          = ( top_top @ A ) ) ) ).

% boolean_algebra.disj_cancel_left
thf(fact_5126_sup__compl__top__left2,axiom,
    ! [A: $tType] :
      ( ( boolea8198339166811842893lgebra @ A )
     => ! [X: A,Y: A] :
          ( ( sup_sup @ A @ X @ ( sup_sup @ A @ ( uminus_uminus @ A @ X ) @ Y ) )
          = ( top_top @ A ) ) ) ).

% sup_compl_top_left2
thf(fact_5127_sup__compl__top__left1,axiom,
    ! [A: $tType] :
      ( ( boolea8198339166811842893lgebra @ A )
     => ! [X: A,Y: A] :
          ( ( sup_sup @ A @ ( uminus_uminus @ A @ X ) @ ( sup_sup @ A @ X @ Y ) )
          = ( top_top @ A ) ) ) ).

% sup_compl_top_left1
thf(fact_5128_SUP2__I,axiom,
    ! [B: $tType,A: $tType,C: $tType,A3: A,A6: set @ A,B6: A > B > C > $o,B2: B,C3: C] :
      ( ( member @ A @ A3 @ A6 )
     => ( ( B6 @ A3 @ B2 @ C3 )
       => ( complete_Sup_Sup @ ( B > C > $o ) @ ( image2 @ A @ ( B > C > $o ) @ B6 @ A6 ) @ B2 @ C3 ) ) ) ).

% SUP2_I
thf(fact_5129_Diff__UNIV,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ( minus_minus @ ( set @ A ) @ A6 @ ( top_top @ ( set @ A ) ) )
      = ( bot_bot @ ( set @ A ) ) ) ).

% Diff_UNIV
thf(fact_5130_card__ge__UNIV,axiom,
    ! [A: $tType] :
      ( ( finite_finite @ A )
     => ! [S: set @ A] :
          ( ( ord_less_eq @ nat @ ( finite_card @ A @ ( top_top @ ( set @ A ) ) ) @ ( finite_card @ A @ S ) )
          = ( S
            = ( top_top @ ( set @ A ) ) ) ) ) ).

% card_ge_UNIV
thf(fact_5131_SUP1__I,axiom,
    ! [A: $tType,B: $tType,A3: A,A6: set @ A,B6: A > B > $o,B2: B] :
      ( ( member @ A @ A3 @ A6 )
     => ( ( B6 @ A3 @ B2 )
       => ( complete_Sup_Sup @ ( B > $o ) @ ( image2 @ A @ ( B > $o ) @ B6 @ A6 ) @ B2 ) ) ) ).

% SUP1_I
thf(fact_5132_surj__fn,axiom,
    ! [A: $tType,F3: A > A,N: nat] :
      ( ( ( image2 @ A @ A @ F3 @ ( top_top @ ( set @ A ) ) )
        = ( top_top @ ( set @ A ) ) )
     => ( ( image2 @ A @ A @ ( compow @ ( A > A ) @ N @ F3 ) @ ( top_top @ ( set @ A ) ) )
        = ( top_top @ ( set @ A ) ) ) ) ).

% surj_fn
thf(fact_5133_length__remdups__leq,axiom,
    ! [A: $tType,Xs: list @ A] : ( ord_less_eq @ nat @ ( size_size @ ( list @ A ) @ ( remdups @ A @ Xs ) ) @ ( size_size @ ( list @ A ) @ Xs ) ) ).

% length_remdups_leq
thf(fact_5134_surj__diff__right,axiom,
    ! [A: $tType] :
      ( ( ab_group_add @ A )
     => ! [A3: A] :
          ( ( image2 @ A @ A
            @ ^ [X4: A] : ( minus_minus @ A @ X4 @ A3 )
            @ ( top_top @ ( set @ A ) ) )
          = ( top_top @ ( set @ A ) ) ) ) ).

% surj_diff_right
thf(fact_5135_INF__top,axiom,
    ! [B: $tType,A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A6: set @ B] :
          ( ( complete_Inf_Inf @ A
            @ ( image2 @ B @ A
              @ ^ [X4: B] : ( top_top @ A )
              @ A6 ) )
          = ( top_top @ A ) ) ) ).

% INF_top
thf(fact_5136_INF__top__conv_I1_J,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [B6: B > A,A6: set @ B] :
          ( ( ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ B6 @ A6 ) )
            = ( top_top @ A ) )
          = ( ! [X4: B] :
                ( ( member @ B @ X4 @ A6 )
               => ( ( B6 @ X4 )
                  = ( top_top @ A ) ) ) ) ) ) ).

% INF_top_conv(1)
thf(fact_5137_INF__top__conv_I2_J,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [B6: B > A,A6: set @ B] :
          ( ( ( top_top @ A )
            = ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ B6 @ A6 ) ) )
          = ( ! [X4: B] :
                ( ( member @ B @ X4 @ A6 )
               => ( ( B6 @ X4 )
                  = ( top_top @ A ) ) ) ) ) ) ).

% INF_top_conv(2)
thf(fact_5138_SUP__eq__top__iff,axiom,
    ! [B: $tType,A: $tType] :
      ( ( comple5582772986160207858norder @ A )
     => ! [F3: B > A,A6: set @ B] :
          ( ( ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ F3 @ A6 ) )
            = ( top_top @ A ) )
          = ( ! [X4: A] :
                ( ( ord_less @ A @ X4 @ ( top_top @ A ) )
               => ? [Y4: B] :
                    ( ( member @ B @ Y4 @ A6 )
                    & ( ord_less @ A @ X4 @ ( F3 @ Y4 ) ) ) ) ) ) ) ).

% SUP_eq_top_iff
thf(fact_5139_range__constant,axiom,
    ! [B: $tType,A: $tType,X: A] :
      ( ( image2 @ B @ A
        @ ^ [Uu2: B] : X
        @ ( top_top @ ( set @ B ) ) )
      = ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) ) ).

% range_constant
thf(fact_5140_INT__constant,axiom,
    ! [B: $tType,A: $tType,A6: set @ B,C3: set @ A] :
      ( ( ( A6
          = ( bot_bot @ ( set @ B ) ) )
       => ( ( complete_Inf_Inf @ ( set @ A )
            @ ( image2 @ B @ ( set @ A )
              @ ^ [Y4: B] : C3
              @ A6 ) )
          = ( top_top @ ( set @ A ) ) ) )
      & ( ( A6
         != ( bot_bot @ ( set @ B ) ) )
       => ( ( complete_Inf_Inf @ ( set @ A )
            @ ( image2 @ B @ ( set @ A )
              @ ^ [Y4: B] : C3
              @ A6 ) )
          = C3 ) ) ) ).

% INT_constant
thf(fact_5141_Inf__atMostLessThan,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [X: A] :
          ( ( ord_less @ A @ ( top_top @ A ) @ X )
         => ( ( complete_Inf_Inf @ A @ ( set_ord_lessThan @ A @ X ) )
            = ( bot_bot @ A ) ) ) ) ).

% Inf_atMostLessThan
thf(fact_5142_INT__simps_I1_J,axiom,
    ! [A: $tType,B: $tType,C5: set @ A,A6: A > ( set @ B ),B6: set @ B] :
      ( ( ( C5
          = ( bot_bot @ ( set @ A ) ) )
       => ( ( complete_Inf_Inf @ ( set @ B )
            @ ( image2 @ A @ ( set @ B )
              @ ^ [X4: A] : ( inf_inf @ ( set @ B ) @ ( A6 @ X4 ) @ B6 )
              @ C5 ) )
          = ( top_top @ ( set @ B ) ) ) )
      & ( ( C5
         != ( bot_bot @ ( set @ A ) ) )
       => ( ( complete_Inf_Inf @ ( set @ B )
            @ ( image2 @ A @ ( set @ B )
              @ ^ [X4: A] : ( inf_inf @ ( set @ B ) @ ( A6 @ X4 ) @ B6 )
              @ C5 ) )
          = ( inf_inf @ ( set @ B ) @ ( complete_Inf_Inf @ ( set @ B ) @ ( image2 @ A @ ( set @ B ) @ A6 @ C5 ) ) @ B6 ) ) ) ) ).

% INT_simps(1)
thf(fact_5143_INT__simps_I2_J,axiom,
    ! [C: $tType,D: $tType,C5: set @ D,A6: set @ C,B6: D > ( set @ C )] :
      ( ( ( C5
          = ( bot_bot @ ( set @ D ) ) )
       => ( ( complete_Inf_Inf @ ( set @ C )
            @ ( image2 @ D @ ( set @ C )
              @ ^ [X4: D] : ( inf_inf @ ( set @ C ) @ A6 @ ( B6 @ X4 ) )
              @ C5 ) )
          = ( top_top @ ( set @ C ) ) ) )
      & ( ( C5
         != ( bot_bot @ ( set @ D ) ) )
       => ( ( complete_Inf_Inf @ ( set @ C )
            @ ( image2 @ D @ ( set @ C )
              @ ^ [X4: D] : ( inf_inf @ ( set @ C ) @ A6 @ ( B6 @ X4 ) )
              @ C5 ) )
          = ( inf_inf @ ( set @ C ) @ A6 @ ( complete_Inf_Inf @ ( set @ C ) @ ( image2 @ D @ ( set @ C ) @ B6 @ C5 ) ) ) ) ) ) ).

% INT_simps(2)
thf(fact_5144_INT__simps_I3_J,axiom,
    ! [E: $tType,F2: $tType,C5: set @ E,A6: E > ( set @ F2 ),B6: set @ F2] :
      ( ( ( C5
          = ( bot_bot @ ( set @ E ) ) )
       => ( ( complete_Inf_Inf @ ( set @ F2 )
            @ ( image2 @ E @ ( set @ F2 )
              @ ^ [X4: E] : ( minus_minus @ ( set @ F2 ) @ ( A6 @ X4 ) @ B6 )
              @ C5 ) )
          = ( top_top @ ( set @ F2 ) ) ) )
      & ( ( C5
         != ( bot_bot @ ( set @ E ) ) )
       => ( ( complete_Inf_Inf @ ( set @ F2 )
            @ ( image2 @ E @ ( set @ F2 )
              @ ^ [X4: E] : ( minus_minus @ ( set @ F2 ) @ ( A6 @ X4 ) @ B6 )
              @ C5 ) )
          = ( minus_minus @ ( set @ F2 ) @ ( complete_Inf_Inf @ ( set @ F2 ) @ ( image2 @ E @ ( set @ F2 ) @ A6 @ C5 ) ) @ B6 ) ) ) ) ).

% INT_simps(3)
thf(fact_5145_INT__simps_I4_J,axiom,
    ! [G: $tType,H10: $tType,C5: set @ H10,A6: set @ G,B6: H10 > ( set @ G )] :
      ( ( ( C5
          = ( bot_bot @ ( set @ H10 ) ) )
       => ( ( complete_Inf_Inf @ ( set @ G )
            @ ( image2 @ H10 @ ( set @ G )
              @ ^ [X4: H10] : ( minus_minus @ ( set @ G ) @ A6 @ ( B6 @ X4 ) )
              @ C5 ) )
          = ( top_top @ ( set @ G ) ) ) )
      & ( ( C5
         != ( bot_bot @ ( set @ H10 ) ) )
       => ( ( complete_Inf_Inf @ ( set @ G )
            @ ( image2 @ H10 @ ( set @ G )
              @ ^ [X4: H10] : ( minus_minus @ ( set @ G ) @ A6 @ ( B6 @ X4 ) )
              @ C5 ) )
          = ( minus_minus @ ( set @ G ) @ A6 @ ( complete_Sup_Sup @ ( set @ G ) @ ( image2 @ H10 @ ( set @ G ) @ B6 @ C5 ) ) ) ) ) ) ).

% INT_simps(4)
thf(fact_5146_INF__Int__eq2,axiom,
    ! [B: $tType,A: $tType,S: set @ ( set @ ( product_prod @ A @ B ) )] :
      ( ( complete_Inf_Inf @ ( A > B > $o )
        @ ( image2 @ ( set @ ( product_prod @ A @ B ) ) @ ( A > B > $o )
          @ ^ [I: set @ ( product_prod @ A @ B ),X4: A,Y4: B] : ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X4 @ Y4 ) @ I )
          @ S ) )
      = ( ^ [X4: A,Y4: B] : ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X4 @ Y4 ) @ ( complete_Inf_Inf @ ( set @ ( product_prod @ A @ B ) ) @ S ) ) ) ) ).

% INF_Int_eq2
thf(fact_5147_INF1__D,axiom,
    ! [B: $tType,A: $tType,B6: B > A > $o,A6: set @ B,B2: A,A3: B] :
      ( ( complete_Inf_Inf @ ( A > $o ) @ ( image2 @ B @ ( A > $o ) @ B6 @ A6 ) @ B2 )
     => ( ( member @ B @ A3 @ A6 )
       => ( B6 @ A3 @ B2 ) ) ) ).

% INF1_D
thf(fact_5148_INF1__E,axiom,
    ! [A: $tType,B: $tType,B6: B > A > $o,A6: set @ B,B2: A,A3: B] :
      ( ( complete_Inf_Inf @ ( A > $o ) @ ( image2 @ B @ ( A > $o ) @ B6 @ A6 ) @ B2 )
     => ( ~ ( B6 @ A3 @ B2 )
       => ~ ( member @ B @ A3 @ A6 ) ) ) ).

% INF1_E
thf(fact_5149_INF2__D,axiom,
    ! [A: $tType,C: $tType,B: $tType,B6: C > A > B > $o,A6: set @ C,B2: A,C3: B,A3: C] :
      ( ( complete_Inf_Inf @ ( A > B > $o ) @ ( image2 @ C @ ( A > B > $o ) @ B6 @ A6 ) @ B2 @ C3 )
     => ( ( member @ C @ A3 @ A6 )
       => ( B6 @ A3 @ B2 @ C3 ) ) ) ).

% INF2_D
thf(fact_5150_INF2__E,axiom,
    ! [B: $tType,A: $tType,C: $tType,B6: C > A > B > $o,A6: set @ C,B2: A,C3: B,A3: C] :
      ( ( complete_Inf_Inf @ ( A > B > $o ) @ ( image2 @ C @ ( A > B > $o ) @ B6 @ A6 ) @ B2 @ C3 )
     => ( ~ ( B6 @ A3 @ B2 @ C3 )
       => ~ ( member @ C @ A3 @ A6 ) ) ) ).

% INF2_E
thf(fact_5151_SUP1__E,axiom,
    ! [B: $tType,A: $tType,B6: B > A > $o,A6: set @ B,B2: A] :
      ( ( complete_Sup_Sup @ ( A > $o ) @ ( image2 @ B @ ( A > $o ) @ B6 @ A6 ) @ B2 )
     => ~ ! [X3: B] :
            ( ( member @ B @ X3 @ A6 )
           => ~ ( B6 @ X3 @ B2 ) ) ) ).

% SUP1_E
thf(fact_5152_SUP2__E,axiom,
    ! [A: $tType,C: $tType,B: $tType,B6: C > A > B > $o,A6: set @ C,B2: A,C3: B] :
      ( ( complete_Sup_Sup @ ( A > B > $o ) @ ( image2 @ C @ ( A > B > $o ) @ B6 @ A6 ) @ B2 @ C3 )
     => ~ ! [X3: C] :
            ( ( member @ C @ X3 @ A6 )
           => ~ ( B6 @ X3 @ B2 @ C3 ) ) ) ).

% SUP2_E
thf(fact_5153_Inf__set__def,axiom,
    ! [A: $tType] :
      ( ( complete_Inf_Inf @ ( set @ A ) )
      = ( ^ [A8: set @ ( set @ A )] :
            ( collect @ A
            @ ^ [X4: A] : ( complete_Inf_Inf @ $o @ ( image2 @ ( set @ A ) @ $o @ ( member @ A @ X4 ) @ A8 ) ) ) ) ) ).

% Inf_set_def
thf(fact_5154_rangeE,axiom,
    ! [A: $tType,B: $tType,B2: A,F3: B > A] :
      ( ( member @ A @ B2 @ ( image2 @ B @ A @ F3 @ ( top_top @ ( set @ B ) ) ) )
     => ~ ! [X3: B] :
            ( B2
           != ( F3 @ X3 ) ) ) ).

% rangeE
thf(fact_5155_range__composition,axiom,
    ! [A: $tType,C: $tType,B: $tType,F3: C > A,G3: B > C] :
      ( ( image2 @ B @ A
        @ ^ [X4: B] : ( F3 @ ( G3 @ X4 ) )
        @ ( top_top @ ( set @ B ) ) )
      = ( image2 @ C @ A @ F3 @ ( image2 @ B @ C @ G3 @ ( top_top @ ( set @ B ) ) ) ) ) ).

% range_composition
thf(fact_5156_INF__Int__eq,axiom,
    ! [A: $tType,S: set @ ( set @ A )] :
      ( ( complete_Inf_Inf @ ( A > $o )
        @ ( image2 @ ( set @ A ) @ ( A > $o )
          @ ^ [I: set @ A,X4: A] : ( member @ A @ X4 @ I )
          @ S ) )
      = ( ^ [X4: A] : ( member @ A @ X4 @ ( complete_Inf_Inf @ ( set @ A ) @ S ) ) ) ) ).

% INF_Int_eq
thf(fact_5157_rangeI,axiom,
    ! [A: $tType,B: $tType,F3: B > A,X: B] : ( member @ A @ ( F3 @ X ) @ ( image2 @ B @ A @ F3 @ ( top_top @ ( set @ B ) ) ) ) ).

% rangeI
thf(fact_5158_range__eqI,axiom,
    ! [A: $tType,B: $tType,B2: A,F3: B > A,X: B] :
      ( ( B2
        = ( F3 @ X ) )
     => ( member @ A @ B2 @ ( image2 @ B @ A @ F3 @ ( top_top @ ( set @ B ) ) ) ) ) ).

% range_eqI
thf(fact_5159_UN__atMost__UNIV,axiom,
    ( ( complete_Sup_Sup @ ( set @ nat ) @ ( image2 @ nat @ ( set @ nat ) @ ( set_ord_atMost @ nat ) @ ( top_top @ ( set @ nat ) ) ) )
    = ( top_top @ ( set @ nat ) ) ) ).

% UN_atMost_UNIV
thf(fact_5160_UN__lessThan__UNIV,axiom,
    ( ( complete_Sup_Sup @ ( set @ nat ) @ ( image2 @ nat @ ( set @ nat ) @ ( set_ord_lessThan @ nat ) @ ( top_top @ ( set @ nat ) ) ) )
    = ( top_top @ ( set @ nat ) ) ) ).

% UN_lessThan_UNIV
thf(fact_5161_UNIV__option__conv,axiom,
    ! [A: $tType] :
      ( ( top_top @ ( set @ ( option @ A ) ) )
      = ( insert @ ( option @ A ) @ ( none @ A ) @ ( image2 @ A @ ( option @ A ) @ ( some @ A ) @ ( top_top @ ( set @ A ) ) ) ) ) ).

% UNIV_option_conv
thf(fact_5162_Inf__unit__def,axiom,
    ( ( complete_Inf_Inf @ product_unit )
    = ( ^ [Uu3: set @ product_unit] : product_Unity ) ) ).

% Inf_unit_def
thf(fact_5163_Int__UNIV__right,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ( inf_inf @ ( set @ A ) @ A6 @ ( top_top @ ( set @ A ) ) )
      = A6 ) ).

% Int_UNIV_right
thf(fact_5164_Int__UNIV__left,axiom,
    ! [A: $tType,B6: set @ A] :
      ( ( inf_inf @ ( set @ A ) @ ( top_top @ ( set @ A ) ) @ B6 )
      = B6 ) ).

% Int_UNIV_left
thf(fact_5165_Inf__nat__def1,axiom,
    ! [K5: set @ nat] :
      ( ( K5
       != ( bot_bot @ ( set @ nat ) ) )
     => ( member @ nat @ ( complete_Inf_Inf @ nat @ K5 ) @ K5 ) ) ).

% Inf_nat_def1
thf(fact_5166_empty__not__UNIV,axiom,
    ! [A: $tType] :
      ( ( bot_bot @ ( set @ A ) )
     != ( top_top @ ( set @ A ) ) ) ).

% empty_not_UNIV
thf(fact_5167_insert__UNIV,axiom,
    ! [A: $tType,X: A] :
      ( ( insert @ A @ X @ ( top_top @ ( set @ A ) ) )
      = ( top_top @ ( set @ A ) ) ) ).

% insert_UNIV
thf(fact_5168_top__greatest,axiom,
    ! [A: $tType] :
      ( ( order_top @ A )
     => ! [A3: A] : ( ord_less_eq @ A @ A3 @ ( top_top @ A ) ) ) ).

% top_greatest
thf(fact_5169_top_Oextremum__unique,axiom,
    ! [A: $tType] :
      ( ( order_top @ A )
     => ! [A3: A] :
          ( ( ord_less_eq @ A @ ( top_top @ A ) @ A3 )
          = ( A3
            = ( top_top @ A ) ) ) ) ).

% top.extremum_unique
thf(fact_5170_top_Oextremum__uniqueI,axiom,
    ! [A: $tType] :
      ( ( order_top @ A )
     => ! [A3: A] :
          ( ( ord_less_eq @ A @ ( top_top @ A ) @ A3 )
         => ( A3
            = ( top_top @ A ) ) ) ) ).

% top.extremum_uniqueI
thf(fact_5171_subset__UNIV,axiom,
    ! [A: $tType,A6: set @ A] : ( ord_less_eq @ ( set @ A ) @ A6 @ ( top_top @ ( set @ A ) ) ) ).

% subset_UNIV
thf(fact_5172_Un__UNIV__left,axiom,
    ! [A: $tType,B6: set @ A] :
      ( ( sup_sup @ ( set @ A ) @ ( top_top @ ( set @ A ) ) @ B6 )
      = ( top_top @ ( set @ A ) ) ) ).

% Un_UNIV_left
thf(fact_5173_Un__UNIV__right,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ( sup_sup @ ( set @ A ) @ A6 @ ( top_top @ ( set @ A ) ) )
      = ( top_top @ ( set @ A ) ) ) ).

% Un_UNIV_right
thf(fact_5174_top__option__def,axiom,
    ! [A: $tType] :
      ( ( order_top @ A )
     => ( ( top_top @ ( option @ A ) )
        = ( some @ A @ ( top_top @ A ) ) ) ) ).

% top_option_def
thf(fact_5175_top_Onot__eq__extremum,axiom,
    ! [A: $tType] :
      ( ( order_top @ A )
     => ! [A3: A] :
          ( ( A3
           != ( top_top @ A ) )
          = ( ord_less @ A @ A3 @ ( top_top @ A ) ) ) ) ).

% top.not_eq_extremum
thf(fact_5176_top_Oextremum__strict,axiom,
    ! [A: $tType] :
      ( ( order_top @ A )
     => ! [A3: A] :
          ~ ( ord_less @ A @ ( top_top @ A ) @ A3 ) ) ).

% top.extremum_strict
thf(fact_5177_UNIV__witness,axiom,
    ! [A: $tType] :
    ? [X3: A] : ( member @ A @ X3 @ ( top_top @ ( set @ A ) ) ) ).

% UNIV_witness
thf(fact_5178_UNIV__eq__I,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ! [X3: A] : ( member @ A @ X3 @ A6 )
     => ( ( top_top @ ( set @ A ) )
        = A6 ) ) ).

% UNIV_eq_I
thf(fact_5179_UNIV__def,axiom,
    ! [A: $tType] :
      ( ( top_top @ ( set @ A ) )
      = ( collect @ A
        @ ^ [X4: A] : $true ) ) ).

% UNIV_def
thf(fact_5180_sup__cancel__left2,axiom,
    ! [A: $tType] :
      ( ( boolea8198339166811842893lgebra @ A )
     => ! [X: A,A3: A,B2: A] :
          ( ( sup_sup @ A @ ( sup_sup @ A @ ( uminus_uminus @ A @ X ) @ A3 ) @ ( sup_sup @ A @ X @ B2 ) )
          = ( top_top @ A ) ) ) ).

% sup_cancel_left2
thf(fact_5181_sup__cancel__left1,axiom,
    ! [A: $tType] :
      ( ( boolea8198339166811842893lgebra @ A )
     => ! [X: A,A3: A,B2: A] :
          ( ( sup_sup @ A @ ( sup_sup @ A @ X @ A3 ) @ ( sup_sup @ A @ ( uminus_uminus @ A @ X ) @ B2 ) )
          = ( top_top @ A ) ) ) ).

% sup_cancel_left1
thf(fact_5182_Inf__sup__eq__top__iff,axiom,
    ! [A: $tType] :
      ( ( comple592849572758109894attice @ A )
     => ! [B6: set @ A,A3: A] :
          ( ( ( sup_sup @ A @ ( complete_Inf_Inf @ A @ B6 ) @ A3 )
            = ( top_top @ A ) )
          = ( ! [X4: A] :
                ( ( member @ A @ X4 @ B6 )
               => ( ( sup_sup @ A @ X4 @ A3 )
                  = ( top_top @ A ) ) ) ) ) ) ).

% Inf_sup_eq_top_iff
thf(fact_5183_range__subsetD,axiom,
    ! [B: $tType,A: $tType,F3: B > A,B6: set @ A,I2: B] :
      ( ( ord_less_eq @ ( set @ A ) @ ( image2 @ B @ A @ F3 @ ( top_top @ ( set @ B ) ) ) @ B6 )
     => ( member @ A @ ( F3 @ I2 ) @ B6 ) ) ).

% range_subsetD
thf(fact_5184_surj__fun__eq,axiom,
    ! [B: $tType,C: $tType,A: $tType,F3: B > A,X7: set @ B,G1: A > C,G22: A > C] :
      ( ( ( image2 @ B @ A @ F3 @ X7 )
        = ( top_top @ ( set @ A ) ) )
     => ( ! [X3: B] :
            ( ( member @ B @ X3 @ X7 )
           => ( ( comp @ A @ C @ B @ G1 @ F3 @ X3 )
              = ( comp @ A @ C @ B @ G22 @ F3 @ X3 ) ) )
       => ( G1 = G22 ) ) ) ).

% surj_fun_eq
thf(fact_5185_not__UNIV__le__Icc,axiom,
    ! [A: $tType] :
      ( ( no_top @ A )
     => ! [L: A,H: A] :
          ~ ( ord_less_eq @ ( set @ A ) @ ( top_top @ ( set @ A ) ) @ ( set_or1337092689740270186AtMost @ A @ L @ H ) ) ) ).

% not_UNIV_le_Icc
thf(fact_5186_Inf__INT__eq2,axiom,
    ! [B: $tType,A: $tType] :
      ( ( complete_Inf_Inf @ ( A > B > $o ) )
      = ( ^ [S4: set @ ( A > B > $o ),X4: A,Y4: B] : ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X4 @ Y4 ) @ ( complete_Inf_Inf @ ( set @ ( product_prod @ A @ B ) ) @ ( image2 @ ( ( product_prod @ A @ B ) > $o ) @ ( set @ ( product_prod @ A @ B ) ) @ ( collect @ ( product_prod @ A @ B ) ) @ ( image2 @ ( A > B > $o ) @ ( ( product_prod @ A @ B ) > $o ) @ ( product_case_prod @ A @ B @ $o ) @ S4 ) ) ) ) ) ) ).

% Inf_INT_eq2
thf(fact_5187_not__UNIV__le__Iic,axiom,
    ! [A: $tType] :
      ( ( no_top @ A )
     => ! [H: A] :
          ~ ( ord_less_eq @ ( set @ A ) @ ( top_top @ ( set @ A ) ) @ ( set_ord_atMost @ A @ H ) ) ) ).

% not_UNIV_le_Iic
thf(fact_5188_Compl__UNIV__eq,axiom,
    ! [A: $tType] :
      ( ( uminus_uminus @ ( set @ A ) @ ( top_top @ ( set @ A ) ) )
      = ( bot_bot @ ( set @ A ) ) ) ).

% Compl_UNIV_eq
thf(fact_5189_Compl__empty__eq,axiom,
    ! [A: $tType] :
      ( ( uminus_uminus @ ( set @ A ) @ ( bot_bot @ ( set @ A ) ) )
      = ( top_top @ ( set @ A ) ) ) ).

% Compl_empty_eq
thf(fact_5190_INF__INT__eq,axiom,
    ! [B: $tType,A: $tType,R3: B > ( set @ A ),S: set @ B] :
      ( ( complete_Inf_Inf @ ( A > $o )
        @ ( image2 @ B @ ( A > $o )
          @ ^ [I: B,X4: A] : ( member @ A @ X4 @ ( R3 @ I ) )
          @ S ) )
      = ( ^ [X4: A] : ( member @ A @ X4 @ ( complete_Inf_Inf @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ R3 @ S ) ) ) ) ) ).

% INF_INT_eq
thf(fact_5191_Compl__partition2,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ( sup_sup @ ( set @ A ) @ ( uminus_uminus @ ( set @ A ) @ A6 ) @ A6 )
      = ( top_top @ ( set @ A ) ) ) ).

% Compl_partition2
thf(fact_5192_Compl__partition,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ( sup_sup @ ( set @ A ) @ A6 @ ( uminus_uminus @ ( set @ A ) @ A6 ) )
      = ( top_top @ ( set @ A ) ) ) ).

% Compl_partition
thf(fact_5193_Compl__eq__Diff__UNIV,axiom,
    ! [A: $tType] :
      ( ( uminus_uminus @ ( set @ A ) )
      = ( minus_minus @ ( set @ A ) @ ( top_top @ ( set @ A ) ) ) ) ).

% Compl_eq_Diff_UNIV
thf(fact_5194_INF__INT__eq2,axiom,
    ! [B: $tType,C: $tType,A: $tType,R3: C > ( set @ ( product_prod @ A @ B ) ),S: set @ C] :
      ( ( complete_Inf_Inf @ ( A > B > $o )
        @ ( image2 @ C @ ( A > B > $o )
          @ ^ [I: C,X4: A,Y4: B] : ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X4 @ Y4 ) @ ( R3 @ I ) )
          @ S ) )
      = ( ^ [X4: A,Y4: B] : ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X4 @ Y4 ) @ ( complete_Inf_Inf @ ( set @ ( product_prod @ A @ B ) ) @ ( image2 @ C @ ( set @ ( product_prod @ A @ B ) ) @ R3 @ S ) ) ) ) ) ).

% INF_INT_eq2
thf(fact_5195_sorted__remdups,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Xs: list @ A] :
          ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ Xs )
         => ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( remdups @ A @ Xs ) ) ) ) ).

% sorted_remdups
thf(fact_5196_INF__SUP,axiom,
    ! [A: $tType,C: $tType,B: $tType] :
      ( ( comple592849572758109894attice @ A )
     => ! [P2: C > B > A] :
          ( ( complete_Inf_Inf @ A
            @ ( image2 @ B @ A
              @ ^ [Y4: B] :
                  ( complete_Sup_Sup @ A
                  @ ( image2 @ C @ A
                    @ ^ [X4: C] : ( P2 @ X4 @ Y4 )
                    @ ( top_top @ ( set @ C ) ) ) )
              @ ( top_top @ ( set @ B ) ) ) )
          = ( complete_Sup_Sup @ A
            @ ( image2 @ ( B > C ) @ A
              @ ^ [F4: B > C] :
                  ( complete_Inf_Inf @ A
                  @ ( image2 @ B @ A
                    @ ^ [X4: B] : ( P2 @ ( F4 @ X4 ) @ X4 )
                    @ ( top_top @ ( set @ B ) ) ) )
              @ ( top_top @ ( set @ ( B > C ) ) ) ) ) ) ) ).

% INF_SUP
thf(fact_5197_SUP__INF,axiom,
    ! [A: $tType,C: $tType,B: $tType] :
      ( ( comple592849572758109894attice @ A )
     => ! [P2: C > B > A] :
          ( ( complete_Sup_Sup @ A
            @ ( image2 @ B @ A
              @ ^ [Y4: B] :
                  ( complete_Inf_Inf @ A
                  @ ( image2 @ C @ A
                    @ ^ [X4: C] : ( P2 @ X4 @ Y4 )
                    @ ( top_top @ ( set @ C ) ) ) )
              @ ( top_top @ ( set @ B ) ) ) )
          = ( complete_Inf_Inf @ A
            @ ( image2 @ ( B > C ) @ A
              @ ^ [X4: B > C] :
                  ( complete_Sup_Sup @ A
                  @ ( image2 @ B @ A
                    @ ^ [Y4: B] : ( P2 @ ( X4 @ Y4 ) @ Y4 )
                    @ ( top_top @ ( set @ B ) ) ) )
              @ ( top_top @ ( set @ ( B > C ) ) ) ) ) ) ) ).

% SUP_INF
thf(fact_5198_Inf__int__def,axiom,
    ( ( complete_Inf_Inf @ int )
    = ( ^ [X11: set @ int] : ( uminus_uminus @ int @ ( complete_Sup_Sup @ int @ ( image2 @ int @ int @ ( uminus_uminus @ int ) @ X11 ) ) ) ) ) ).

% Inf_int_def
thf(fact_5199_finite__range__imageI,axiom,
    ! [C: $tType,A: $tType,B: $tType,G3: B > A,F3: A > C] :
      ( ( finite_finite2 @ A @ ( image2 @ B @ A @ G3 @ ( top_top @ ( set @ B ) ) ) )
     => ( finite_finite2 @ C
        @ ( image2 @ B @ C
          @ ^ [X4: B] : ( F3 @ ( G3 @ X4 ) )
          @ ( top_top @ ( set @ B ) ) ) ) ) ).

% finite_range_imageI
thf(fact_5200_INTER__UNIV__conv_I1_J,axiom,
    ! [A: $tType,B: $tType,B6: B > ( set @ A ),A6: set @ B] :
      ( ( ( top_top @ ( set @ A ) )
        = ( complete_Inf_Inf @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ B6 @ A6 ) ) )
      = ( ! [X4: B] :
            ( ( member @ B @ X4 @ A6 )
           => ( ( B6 @ X4 )
              = ( top_top @ ( set @ A ) ) ) ) ) ) ).

% INTER_UNIV_conv(1)
thf(fact_5201_INTER__UNIV__conv_I2_J,axiom,
    ! [A: $tType,B: $tType,B6: B > ( set @ A ),A6: set @ B] :
      ( ( ( complete_Inf_Inf @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ B6 @ A6 ) )
        = ( top_top @ ( set @ A ) ) )
      = ( ! [X4: B] :
            ( ( member @ B @ X4 @ A6 )
           => ( ( B6 @ X4 )
              = ( top_top @ ( set @ A ) ) ) ) ) ) ).

% INTER_UNIV_conv(2)
thf(fact_5202_sup__shunt,axiom,
    ! [A: $tType] :
      ( ( boolea8198339166811842893lgebra @ A )
     => ! [X: A,Y: A] :
          ( ( ( sup_sup @ A @ X @ Y )
            = ( top_top @ A ) )
          = ( ord_less_eq @ A @ ( uminus_uminus @ A @ X ) @ Y ) ) ) ).

% sup_shunt
thf(fact_5203_boolean__algebra_Ocomplement__unique,axiom,
    ! [A: $tType] :
      ( ( boolea8198339166811842893lgebra @ A )
     => ! [A3: A,X: A,Y: A] :
          ( ( ( inf_inf @ A @ A3 @ X )
            = ( bot_bot @ A ) )
         => ( ( ( sup_sup @ A @ A3 @ X )
              = ( top_top @ A ) )
           => ( ( ( inf_inf @ A @ A3 @ Y )
                = ( bot_bot @ A ) )
             => ( ( ( sup_sup @ A @ A3 @ Y )
                  = ( top_top @ A ) )
               => ( X = Y ) ) ) ) ) ) ).

% boolean_algebra.complement_unique
thf(fact_5204_top_Oordering__top__axioms,axiom,
    ! [A: $tType] :
      ( ( order_top @ A )
     => ( ordering_top @ A @ ( ord_less_eq @ A ) @ ( ord_less @ A ) @ ( top_top @ A ) ) ) ).

% top.ordering_top_axioms
thf(fact_5205_range__eq__singletonD,axiom,
    ! [B: $tType,A: $tType,F3: B > A,A3: A,X: B] :
      ( ( ( image2 @ B @ A @ F3 @ ( top_top @ ( set @ B ) ) )
        = ( insert @ A @ A3 @ ( bot_bot @ ( set @ A ) ) ) )
     => ( ( F3 @ X )
        = A3 ) ) ).

% range_eq_singletonD
thf(fact_5206_INF__empty,axiom,
    ! [B: $tType,A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [F3: B > A] :
          ( ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ F3 @ ( bot_bot @ ( set @ B ) ) ) )
          = ( top_top @ A ) ) ) ).

% INF_empty
thf(fact_5207_INF__constant,axiom,
    ! [B: $tType,A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A6: set @ B,C3: A] :
          ( ( ( A6
              = ( bot_bot @ ( set @ B ) ) )
           => ( ( complete_Inf_Inf @ A
                @ ( image2 @ B @ A
                  @ ^ [Y4: B] : C3
                  @ A6 ) )
              = ( top_top @ A ) ) )
          & ( ( A6
             != ( bot_bot @ ( set @ B ) ) )
           => ( ( complete_Inf_Inf @ A
                @ ( image2 @ B @ A
                  @ ^ [Y4: B] : C3
                  @ A6 ) )
              = C3 ) ) ) ) ).

% INF_constant
thf(fact_5208_surj__Compl__image__subset,axiom,
    ! [A: $tType,B: $tType,F3: B > A,A6: set @ B] :
      ( ( ( image2 @ B @ A @ F3 @ ( top_top @ ( set @ B ) ) )
        = ( top_top @ ( set @ A ) ) )
     => ( ord_less_eq @ ( set @ A ) @ ( uminus_uminus @ ( set @ A ) @ ( image2 @ B @ A @ F3 @ A6 ) ) @ ( image2 @ B @ A @ F3 @ ( uminus_uminus @ ( set @ B ) @ A6 ) ) ) ) ).

% surj_Compl_image_subset
thf(fact_5209_length__remdups__card,axiom,
    ! [A: $tType,L: list @ A] :
      ( ( size_size @ ( list @ A ) @ ( remdups @ A @ L ) )
      = ( finite_card @ A @ ( set2 @ A @ L ) ) ) ).

% length_remdups_card
thf(fact_5210_finite__range__Some,axiom,
    ! [A: $tType] :
      ( ( finite_finite2 @ ( option @ A ) @ ( image2 @ A @ ( option @ A ) @ ( some @ A ) @ ( top_top @ ( set @ A ) ) ) )
      = ( finite_finite2 @ A @ ( top_top @ ( set @ A ) ) ) ) ).

% finite_range_Some
thf(fact_5211_notin__range__Some,axiom,
    ! [A: $tType,X: option @ A] :
      ( ( ~ ( member @ ( option @ A ) @ X @ ( image2 @ A @ ( option @ A ) @ ( some @ A ) @ ( top_top @ ( set @ A ) ) ) ) )
      = ( X
        = ( none @ A ) ) ) ).

% notin_range_Some
thf(fact_5212_finite__range__updI,axiom,
    ! [A: $tType,B: $tType,F3: B > ( option @ A ),A3: B,B2: A] :
      ( ( finite_finite2 @ ( option @ A ) @ ( image2 @ B @ ( option @ A ) @ F3 @ ( top_top @ ( set @ B ) ) ) )
     => ( finite_finite2 @ ( option @ A ) @ ( image2 @ B @ ( option @ A ) @ ( fun_upd @ B @ ( option @ A ) @ F3 @ A3 @ ( some @ A @ B2 ) ) @ ( top_top @ ( set @ B ) ) ) ) ) ).

% finite_range_updI
thf(fact_5213_INT__empty,axiom,
    ! [B: $tType,A: $tType,B6: B > ( set @ A )] :
      ( ( complete_Inf_Inf @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ B6 @ ( bot_bot @ ( set @ B ) ) ) )
      = ( top_top @ ( set @ A ) ) ) ).

% INT_empty
thf(fact_5214_sorted__list__of__set_Ofolding__insort__key__axioms,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ( folding_insort_key @ A @ A @ ( ord_less_eq @ A ) @ ( ord_less @ A ) @ ( top_top @ ( set @ A ) )
        @ ^ [X4: A] : X4 ) ) ).

% sorted_list_of_set.folding_insort_key_axioms
thf(fact_5215_boolean__algebra__class_Oboolean__algebra_Ocompl__unique,axiom,
    ! [A: $tType] :
      ( ( boolea8198339166811842893lgebra @ A )
     => ! [X: A,Y: A] :
          ( ( ( inf_inf @ A @ X @ Y )
            = ( bot_bot @ A ) )
         => ( ( ( sup_sup @ A @ X @ Y )
              = ( top_top @ A ) )
           => ( ( uminus_uminus @ A @ X )
              = Y ) ) ) ) ).

% boolean_algebra_class.boolean_algebra.compl_unique
thf(fact_5216_inf__top_Osemilattice__neutr__order__axioms,axiom,
    ! [A: $tType] :
      ( ( bounde4346867609351753570nf_top @ A )
     => ( semila1105856199041335345_order @ A @ ( inf_inf @ A ) @ ( top_top @ A ) @ ( ord_less_eq @ A ) @ ( ord_less @ A ) ) ) ).

% inf_top.semilattice_neutr_order_axioms
thf(fact_5217_sorted__list__of__set__sort__remdups,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Xs: list @ A] :
          ( ( linord4507533701916653071of_set @ A @ ( set2 @ A @ Xs ) )
          = ( linorder_sort_key @ A @ A
            @ ^ [X4: A] : X4
            @ ( remdups @ A @ Xs ) ) ) ) ).

% sorted_list_of_set_sort_remdups
thf(fact_5218_finite__UNIV__card__ge__0,axiom,
    ! [A: $tType] :
      ( ( finite_finite2 @ A @ ( top_top @ ( set @ A ) ) )
     => ( ord_less @ nat @ ( zero_zero @ nat ) @ ( finite_card @ A @ ( top_top @ ( set @ A ) ) ) ) ) ).

% finite_UNIV_card_ge_0
thf(fact_5219_comp__fun__commute__on_Ocomp__comp__fun__commute__on,axiom,
    ! [B: $tType,A: $tType,C: $tType,S: set @ A,F3: A > B > B,G3: C > A,R4: set @ C] :
      ( ( finite4664212375090638736ute_on @ A @ B @ S @ F3 )
     => ( ( ord_less_eq @ ( set @ A ) @ ( image2 @ C @ A @ G3 @ ( top_top @ ( set @ C ) ) ) @ S )
       => ( finite4664212375090638736ute_on @ C @ B @ R4 @ ( comp @ A @ ( B > B ) @ C @ F3 @ G3 ) ) ) ) ).

% comp_fun_commute_on.comp_comp_fun_commute_on
thf(fact_5220_INT__extend__simps_I3_J,axiom,
    ! [F2: $tType,E: $tType,C5: set @ E,A6: E > ( set @ F2 ),B6: set @ F2] :
      ( ( ( C5
          = ( bot_bot @ ( set @ E ) ) )
       => ( ( minus_minus @ ( set @ F2 ) @ ( complete_Inf_Inf @ ( set @ F2 ) @ ( image2 @ E @ ( set @ F2 ) @ A6 @ C5 ) ) @ B6 )
          = ( minus_minus @ ( set @ F2 ) @ ( top_top @ ( set @ F2 ) ) @ B6 ) ) )
      & ( ( C5
         != ( bot_bot @ ( set @ E ) ) )
       => ( ( minus_minus @ ( set @ F2 ) @ ( complete_Inf_Inf @ ( set @ F2 ) @ ( image2 @ E @ ( set @ F2 ) @ A6 @ C5 ) ) @ B6 )
          = ( complete_Inf_Inf @ ( set @ F2 )
            @ ( image2 @ E @ ( set @ F2 )
              @ ^ [X4: E] : ( minus_minus @ ( set @ F2 ) @ ( A6 @ X4 ) @ B6 )
              @ C5 ) ) ) ) ) ).

% INT_extend_simps(3)
thf(fact_5221_UN__UN__finite__eq,axiom,
    ! [A: $tType,A6: nat > ( set @ A )] :
      ( ( complete_Sup_Sup @ ( set @ A )
        @ ( image2 @ nat @ ( set @ A )
          @ ^ [N3: nat] : ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ nat @ ( set @ A ) @ A6 @ ( set_or7035219750837199246ssThan @ nat @ ( zero_zero @ nat ) @ N3 ) ) )
          @ ( top_top @ ( set @ nat ) ) ) )
      = ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ nat @ ( set @ A ) @ A6 @ ( top_top @ ( set @ nat ) ) ) ) ) ).

% UN_UN_finite_eq
thf(fact_5222_remdup__sort__mergesort__remdups,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ( ( comp @ ( list @ A ) @ ( list @ A ) @ ( list @ A ) @ ( remdups @ A )
          @ ( linorder_sort_key @ A @ A
            @ ^ [X4: A] : X4 ) )
        = ( mergesort_remdups @ A ) ) ) ).

% remdup_sort_mergesort_remdups
thf(fact_5223_card__range__greater__zero,axiom,
    ! [A: $tType,B: $tType,F3: B > A] :
      ( ( finite_finite2 @ A @ ( image2 @ B @ A @ F3 @ ( top_top @ ( set @ B ) ) ) )
     => ( ord_less @ nat @ ( zero_zero @ nat ) @ ( finite_card @ A @ ( image2 @ B @ A @ F3 @ ( top_top @ ( set @ B ) ) ) ) ) ) ).

% card_range_greater_zero
thf(fact_5224_UN__finite__subset,axiom,
    ! [A: $tType,A6: nat > ( set @ A ),C5: set @ A] :
      ( ! [N4: nat] : ( ord_less_eq @ ( set @ A ) @ ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ nat @ ( set @ A ) @ A6 @ ( set_or7035219750837199246ssThan @ nat @ ( zero_zero @ nat ) @ N4 ) ) ) @ C5 )
     => ( ord_less_eq @ ( set @ A ) @ ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ nat @ ( set @ A ) @ A6 @ ( top_top @ ( set @ nat ) ) ) ) @ C5 ) ) ).

% UN_finite_subset
thf(fact_5225_UN__finite2__eq,axiom,
    ! [A: $tType,A6: nat > ( set @ A ),B6: nat > ( set @ A ),K2: nat] :
      ( ! [N4: nat] :
          ( ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ nat @ ( set @ A ) @ A6 @ ( set_or7035219750837199246ssThan @ nat @ ( zero_zero @ nat ) @ N4 ) ) )
          = ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ nat @ ( set @ A ) @ B6 @ ( set_or7035219750837199246ssThan @ nat @ ( zero_zero @ nat ) @ ( plus_plus @ nat @ N4 @ K2 ) ) ) ) )
     => ( ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ nat @ ( set @ A ) @ A6 @ ( top_top @ ( set @ nat ) ) ) )
        = ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ nat @ ( set @ A ) @ B6 @ ( top_top @ ( set @ nat ) ) ) ) ) ) ).

% UN_finite2_eq
thf(fact_5226_range__mod,axiom,
    ! [N: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
     => ( ( image2 @ nat @ nat
          @ ^ [M3: nat] : ( modulo_modulo @ nat @ M3 @ N )
          @ ( top_top @ ( set @ nat ) ) )
        = ( set_or7035219750837199246ssThan @ nat @ ( zero_zero @ nat ) @ N ) ) ) ).

% range_mod
thf(fact_5227_finite__range__prod,axiom,
    ! [A: $tType,C: $tType,B: $tType,F3: B > ( product_prod @ A @ C )] :
      ( ( finite_finite2 @ A @ ( image2 @ B @ A @ ( comp @ ( product_prod @ A @ C ) @ A @ B @ ( product_fst @ A @ C ) @ F3 ) @ ( top_top @ ( set @ B ) ) ) )
     => ( ( finite_finite2 @ C @ ( image2 @ B @ C @ ( comp @ ( product_prod @ A @ C ) @ C @ B @ ( product_snd @ A @ C ) @ F3 ) @ ( top_top @ ( set @ B ) ) ) )
       => ( finite_finite2 @ ( product_prod @ A @ C ) @ ( image2 @ B @ ( product_prod @ A @ C ) @ F3 @ ( top_top @ ( set @ B ) ) ) ) ) ) ).

% finite_range_prod
thf(fact_5228_UN__finite2__subset,axiom,
    ! [A: $tType,A6: nat > ( set @ A ),B6: nat > ( set @ A ),K2: nat] :
      ( ! [N4: nat] : ( ord_less_eq @ ( set @ A ) @ ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ nat @ ( set @ A ) @ A6 @ ( set_or7035219750837199246ssThan @ nat @ ( zero_zero @ nat ) @ N4 ) ) ) @ ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ nat @ ( set @ A ) @ B6 @ ( set_or7035219750837199246ssThan @ nat @ ( zero_zero @ nat ) @ ( plus_plus @ nat @ N4 @ K2 ) ) ) ) )
     => ( ord_less_eq @ ( set @ A ) @ ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ nat @ ( set @ A ) @ A6 @ ( top_top @ ( set @ nat ) ) ) ) @ ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ nat @ ( set @ A ) @ B6 @ ( top_top @ ( set @ nat ) ) ) ) ) ) ).

% UN_finite2_subset
thf(fact_5229_UN__constant__eq,axiom,
    ! [A: $tType,B: $tType,A3: A,A6: set @ A,F3: A > ( set @ B ),C3: set @ B] :
      ( ( member @ A @ A3 @ A6 )
     => ( ! [X3: A] :
            ( ( member @ A @ X3 @ A6 )
           => ( ( F3 @ X3 )
              = C3 ) )
       => ( ( complete_Sup_Sup @ ( set @ B ) @ ( image2 @ A @ ( set @ B ) @ F3 @ A6 ) )
          = C3 ) ) ) ).

% UN_constant_eq
thf(fact_5230_Sup__option__def,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ( ( complete_Sup_Sup @ ( option @ A ) )
        = ( ^ [A8: set @ ( option @ A )] :
              ( if @ ( option @ A )
              @ ( ( A8
                  = ( bot_bot @ ( set @ ( option @ A ) ) ) )
                | ( A8
                  = ( insert @ ( option @ A ) @ ( none @ A ) @ ( bot_bot @ ( set @ ( option @ A ) ) ) ) ) )
              @ ( none @ A )
              @ ( some @ A @ ( complete_Sup_Sup @ A @ ( these @ A @ A8 ) ) ) ) ) ) ) ).

% Sup_option_def
thf(fact_5231_Pow__fold,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( pow @ A @ A6 )
        = ( finite_fold @ A @ ( set @ ( set @ A ) )
          @ ^ [X4: A,A8: set @ ( set @ A )] : ( sup_sup @ ( set @ ( set @ A ) ) @ A8 @ ( image2 @ ( set @ A ) @ ( set @ A ) @ ( insert @ A @ X4 ) @ A8 ) )
          @ ( insert @ ( set @ A ) @ ( bot_bot @ ( set @ A ) ) @ ( bot_bot @ ( set @ ( set @ A ) ) ) )
          @ A6 ) ) ) ).

% Pow_fold
thf(fact_5232_INF__filter__not__bot,axiom,
    ! [I6: $tType,A: $tType,B6: set @ I6,F5: I6 > ( filter @ A )] :
      ( ! [X15: set @ I6] :
          ( ( ord_less_eq @ ( set @ I6 ) @ X15 @ B6 )
         => ( ( finite_finite2 @ I6 @ X15 )
           => ( ( complete_Inf_Inf @ ( filter @ A ) @ ( image2 @ I6 @ ( filter @ A ) @ F5 @ X15 ) )
             != ( bot_bot @ ( filter @ A ) ) ) ) )
     => ( ( complete_Inf_Inf @ ( filter @ A ) @ ( image2 @ I6 @ ( filter @ A ) @ F5 @ B6 ) )
       != ( bot_bot @ ( filter @ A ) ) ) ) ).

% INF_filter_not_bot
thf(fact_5233_merge__true__star,axiom,
    ( ( times_times @ assn @ ( top_top @ assn ) @ ( top_top @ assn ) )
    = ( top_top @ assn ) ) ).

% merge_true_star
thf(fact_5234_assn__basic__inequalities_I1_J,axiom,
    ( ( top_top @ assn )
   != ( one_one @ assn ) ) ).

% assn_basic_inequalities(1)
thf(fact_5235_assn__basic__inequalities_I5_J,axiom,
    ( ( top_top @ assn )
   != ( bot_bot @ assn ) ) ).

% assn_basic_inequalities(5)
thf(fact_5236_Pow__iff,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( member @ ( set @ A ) @ A6 @ ( pow @ A @ B6 ) )
      = ( ord_less_eq @ ( set @ A ) @ A6 @ B6 ) ) ).

% Pow_iff
thf(fact_5237_PowI,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
     => ( member @ ( set @ A ) @ A6 @ ( pow @ A @ B6 ) ) ) ).

% PowI
thf(fact_5238_Pow__UNIV,axiom,
    ! [A: $tType] :
      ( ( pow @ A @ ( top_top @ ( set @ A ) ) )
      = ( top_top @ ( set @ ( set @ A ) ) ) ) ).

% Pow_UNIV
thf(fact_5239_mod__true,axiom,
    ! [H: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
      ( ( rep_assn @ ( top_top @ assn ) @ H )
      = ( in_range @ H ) ) ).

% mod_true
thf(fact_5240_Collect__const__case__prod,axiom,
    ! [B: $tType,A: $tType,P2: $o] :
      ( ( P2
       => ( ( collect @ ( product_prod @ A @ B )
            @ ( product_case_prod @ A @ B @ $o
              @ ^ [A7: A,B5: B] : P2 ) )
          = ( top_top @ ( set @ ( product_prod @ A @ B ) ) ) ) )
      & ( ~ P2
       => ( ( collect @ ( product_prod @ A @ B )
            @ ( product_case_prod @ A @ B @ $o
              @ ^ [A7: A,B5: B] : P2 ) )
          = ( bot_bot @ ( set @ ( product_prod @ A @ B ) ) ) ) ) ) ).

% Collect_const_case_prod
thf(fact_5241_these__image__Some__eq,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ( these @ A @ ( image2 @ A @ ( option @ A ) @ ( some @ A ) @ A6 ) )
      = A6 ) ).

% these_image_Some_eq
thf(fact_5242_Pow__Int__eq,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( pow @ A @ ( inf_inf @ ( set @ A ) @ A6 @ B6 ) )
      = ( inf_inf @ ( set @ ( set @ A ) ) @ ( pow @ A @ A6 ) @ ( pow @ A @ B6 ) ) ) ).

% Pow_Int_eq
thf(fact_5243_these__empty,axiom,
    ! [A: $tType] :
      ( ( these @ A @ ( bot_bot @ ( set @ ( option @ A ) ) ) )
      = ( bot_bot @ ( set @ A ) ) ) ).

% these_empty
thf(fact_5244_these__insert__None,axiom,
    ! [A: $tType,A6: set @ ( option @ A )] :
      ( ( these @ A @ ( insert @ ( option @ A ) @ ( none @ A ) @ A6 ) )
      = ( these @ A @ A6 ) ) ).

% these_insert_None
thf(fact_5245_Pow__empty,axiom,
    ! [A: $tType] :
      ( ( pow @ A @ ( bot_bot @ ( set @ A ) ) )
      = ( insert @ ( set @ A ) @ ( bot_bot @ ( set @ A ) ) @ ( bot_bot @ ( set @ ( set @ A ) ) ) ) ) ).

% Pow_empty
thf(fact_5246_Pow__singleton__iff,axiom,
    ! [A: $tType,X7: set @ A,Y7: set @ A] :
      ( ( ( pow @ A @ X7 )
        = ( insert @ ( set @ A ) @ Y7 @ ( bot_bot @ ( set @ ( set @ A ) ) ) ) )
      = ( ( X7
          = ( bot_bot @ ( set @ A ) ) )
        & ( Y7
          = ( bot_bot @ ( set @ A ) ) ) ) ) ).

% Pow_singleton_iff
thf(fact_5247_these__insert__Some,axiom,
    ! [A: $tType,X: A,A6: set @ ( option @ A )] :
      ( ( these @ A @ ( insert @ ( option @ A ) @ ( some @ A @ X ) @ A6 ) )
      = ( insert @ A @ X @ ( these @ A @ A6 ) ) ) ).

% these_insert_Some
thf(fact_5248_INF__filter__bot__base,axiom,
    ! [B: $tType,A: $tType,I5: set @ A,F5: A > ( filter @ B )] :
      ( ! [I3: A] :
          ( ( member @ A @ I3 @ I5 )
         => ! [J3: A] :
              ( ( member @ A @ J3 @ I5 )
             => ? [X6: A] :
                  ( ( member @ A @ X6 @ I5 )
                  & ( ord_less_eq @ ( filter @ B ) @ ( F5 @ X6 ) @ ( inf_inf @ ( filter @ B ) @ ( F5 @ I3 ) @ ( F5 @ J3 ) ) ) ) ) )
     => ( ( ( complete_Inf_Inf @ ( filter @ B ) @ ( image2 @ A @ ( filter @ B ) @ F5 @ I5 ) )
          = ( bot_bot @ ( filter @ B ) ) )
        = ( ? [X4: A] :
              ( ( member @ A @ X4 @ I5 )
              & ( ( F5 @ X4 )
                = ( bot_bot @ ( filter @ B ) ) ) ) ) ) ) ).

% INF_filter_bot_base
thf(fact_5249_UNIV__unit,axiom,
    ( ( top_top @ ( set @ product_unit ) )
    = ( insert @ product_unit @ product_Unity @ ( bot_bot @ ( set @ product_unit ) ) ) ) ).

% UNIV_unit
thf(fact_5250_Pow__bottom,axiom,
    ! [A: $tType,B6: set @ A] : ( member @ ( set @ A ) @ ( bot_bot @ ( set @ A ) ) @ ( pow @ A @ B6 ) ) ).

% Pow_bottom
thf(fact_5251_Pow__not__empty,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ( pow @ A @ A6 )
     != ( bot_bot @ ( set @ ( set @ A ) ) ) ) ).

% Pow_not_empty
thf(fact_5252_Inf__filter__not__bot,axiom,
    ! [A: $tType,B6: set @ ( filter @ A )] :
      ( ! [X15: set @ ( filter @ A )] :
          ( ( ord_less_eq @ ( set @ ( filter @ A ) ) @ X15 @ B6 )
         => ( ( finite_finite2 @ ( filter @ A ) @ X15 )
           => ( ( complete_Inf_Inf @ ( filter @ A ) @ X15 )
             != ( bot_bot @ ( filter @ A ) ) ) ) )
     => ( ( complete_Inf_Inf @ ( filter @ A ) @ B6 )
       != ( bot_bot @ ( filter @ A ) ) ) ) ).

% Inf_filter_not_bot
thf(fact_5253_ent__true,axiom,
    ! [P2: assn] : ( entails @ P2 @ ( top_top @ assn ) ) ).

% ent_true
thf(fact_5254_top__set__def,axiom,
    ! [A: $tType] :
      ( ( top_top @ ( set @ A ) )
      = ( collect @ A @ ( top_top @ ( A > $o ) ) ) ) ).

% top_set_def
thf(fact_5255_top__unit__def,axiom,
    ( ( top_top @ product_unit )
    = product_Unity ) ).

% top_unit_def
thf(fact_5256_top__empty__eq2,axiom,
    ! [B: $tType,A: $tType] :
      ( ( top_top @ ( A > B > $o ) )
      = ( ^ [X4: A,Y4: B] : ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X4 @ Y4 ) @ ( top_top @ ( set @ ( product_prod @ A @ B ) ) ) ) ) ) ).

% top_empty_eq2
thf(fact_5257_Pow__top,axiom,
    ! [A: $tType,A6: set @ A] : ( member @ ( set @ A ) @ A6 @ ( pow @ A @ A6 ) ) ).

% Pow_top
thf(fact_5258_PowD,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( member @ ( set @ A ) @ A6 @ ( pow @ A @ B6 ) )
     => ( ord_less_eq @ ( set @ A ) @ A6 @ B6 ) ) ).

% PowD
thf(fact_5259_Pow__def,axiom,
    ! [A: $tType] :
      ( ( pow @ A )
      = ( ^ [A8: set @ A] :
            ( collect @ ( set @ A )
            @ ^ [B7: set @ A] : ( ord_less_eq @ ( set @ A ) @ B7 @ A8 ) ) ) ) ).

% Pow_def
thf(fact_5260_in__these__eq,axiom,
    ! [A: $tType,X: A,A6: set @ ( option @ A )] :
      ( ( member @ A @ X @ ( these @ A @ A6 ) )
      = ( member @ ( option @ A ) @ ( some @ A @ X ) @ A6 ) ) ).

% in_these_eq
thf(fact_5261_mod__star__trueI,axiom,
    ! [P2: assn,H: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
      ( ( rep_assn @ P2 @ H )
     => ( rep_assn @ ( times_times @ assn @ P2 @ ( top_top @ assn ) ) @ H ) ) ).

% mod_star_trueI
thf(fact_5262_mod__star__trueE,axiom,
    ! [P2: assn,H: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
      ( ( rep_assn @ ( times_times @ assn @ P2 @ ( top_top @ assn ) ) @ H )
     => ~ ! [H4: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
            ~ ( rep_assn @ P2 @ H4 ) ) ).

% mod_star_trueE
thf(fact_5263_Pow__mono,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
     => ( ord_less_eq @ ( set @ ( set @ A ) ) @ ( pow @ A @ A6 ) @ ( pow @ A @ B6 ) ) ) ).

% Pow_mono
thf(fact_5264_subset__Pow__Union,axiom,
    ! [A: $tType,A6: set @ ( set @ A )] : ( ord_less_eq @ ( set @ ( set @ A ) ) @ A6 @ ( pow @ A @ ( complete_Sup_Sup @ ( set @ A ) @ A6 ) ) ) ).

% subset_Pow_Union
thf(fact_5265_image__Pow__surj,axiom,
    ! [B: $tType,A: $tType,F3: B > A,A6: set @ B,B6: set @ A] :
      ( ( ( image2 @ B @ A @ F3 @ A6 )
        = B6 )
     => ( ( image2 @ ( set @ B ) @ ( set @ A ) @ ( image2 @ B @ A @ F3 ) @ ( pow @ B @ A6 ) )
        = ( pow @ A @ B6 ) ) ) ).

% image_Pow_surj
thf(fact_5266_top__assn__def,axiom,
    ( ( top_top @ assn )
    = ( abs_assn @ in_range ) ) ).

% top_assn_def
thf(fact_5267_SUP__UNIV__bool__expand,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A6: $o > A] :
          ( ( complete_Sup_Sup @ A @ ( image2 @ $o @ A @ A6 @ ( top_top @ ( set @ $o ) ) ) )
          = ( sup_sup @ A @ ( A6 @ $true ) @ ( A6 @ $false ) ) ) ) ).

% SUP_UNIV_bool_expand
thf(fact_5268_INF__UNIV__bool__expand,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A6: $o > A] :
          ( ( complete_Inf_Inf @ A @ ( image2 @ $o @ A @ A6 @ ( top_top @ ( set @ $o ) ) ) )
          = ( inf_inf @ A @ ( A6 @ $true ) @ ( A6 @ $false ) ) ) ) ).

% INF_UNIV_bool_expand
thf(fact_5269_UN__bool__eq,axiom,
    ! [A: $tType,A6: $o > ( set @ A )] :
      ( ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ $o @ ( set @ A ) @ A6 @ ( top_top @ ( set @ $o ) ) ) )
      = ( sup_sup @ ( set @ A ) @ ( A6 @ $true ) @ ( A6 @ $false ) ) ) ).

% UN_bool_eq
thf(fact_5270_Un__eq__UN,axiom,
    ! [A: $tType] :
      ( ( sup_sup @ ( set @ A ) )
      = ( ^ [A8: set @ A,B7: set @ A] :
            ( complete_Sup_Sup @ ( set @ A )
            @ ( image2 @ $o @ ( set @ A )
              @ ^ [B5: $o] : ( if @ ( set @ A ) @ B5 @ A8 @ B7 )
              @ ( top_top @ ( set @ $o ) ) ) ) ) ) ).

% Un_eq_UN
thf(fact_5271_INT__bool__eq,axiom,
    ! [A: $tType,A6: $o > ( set @ A )] :
      ( ( complete_Inf_Inf @ ( set @ A ) @ ( image2 @ $o @ ( set @ A ) @ A6 @ ( top_top @ ( set @ $o ) ) ) )
      = ( inf_inf @ ( set @ A ) @ ( A6 @ $true ) @ ( A6 @ $false ) ) ) ).

% INT_bool_eq
thf(fact_5272_Pow__INT__eq,axiom,
    ! [A: $tType,B: $tType,B6: B > ( set @ A ),A6: set @ B] :
      ( ( pow @ A @ ( complete_Inf_Inf @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ B6 @ A6 ) ) )
      = ( complete_Inf_Inf @ ( set @ ( set @ A ) )
        @ ( image2 @ B @ ( set @ ( set @ A ) )
          @ ^ [X4: B] : ( pow @ A @ ( B6 @ X4 ) )
          @ A6 ) ) ) ).

% Pow_INT_eq
thf(fact_5273_mod__h__bot__iff_I2_J,axiom,
    ! [H: heap_ext @ product_unit] : ( rep_assn @ ( top_top @ assn ) @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ ( bot_bot @ ( set @ nat ) ) ) ) ).

% mod_h_bot_iff(2)
thf(fact_5274_Un__Pow__subset,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] : ( ord_less_eq @ ( set @ ( set @ A ) ) @ ( sup_sup @ ( set @ ( set @ A ) ) @ ( pow @ A @ A6 ) @ ( pow @ A @ B6 ) ) @ ( pow @ A @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) ) ) ).

% Un_Pow_subset
thf(fact_5275_UN__Pow__subset,axiom,
    ! [A: $tType,B: $tType,B6: B > ( set @ A ),A6: set @ B] :
      ( ord_less_eq @ ( set @ ( set @ A ) )
      @ ( complete_Sup_Sup @ ( set @ ( set @ A ) )
        @ ( image2 @ B @ ( set @ ( set @ A ) )
          @ ^ [X4: B] : ( pow @ A @ ( B6 @ X4 ) )
          @ A6 ) )
      @ ( pow @ A @ ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ B6 @ A6 ) ) ) ) ).

% UN_Pow_subset
thf(fact_5276_Pow__insert,axiom,
    ! [A: $tType,A3: A,A6: set @ A] :
      ( ( pow @ A @ ( insert @ A @ A3 @ A6 ) )
      = ( sup_sup @ ( set @ ( set @ A ) ) @ ( pow @ A @ A6 ) @ ( image2 @ ( set @ A ) @ ( set @ A ) @ ( insert @ A @ A3 ) @ ( pow @ A @ A6 ) ) ) ) ).

% Pow_insert
thf(fact_5277_Option_Othese__def,axiom,
    ! [A: $tType] :
      ( ( these @ A )
      = ( ^ [A8: set @ ( option @ A )] :
            ( image2 @ ( option @ A ) @ A @ ( the2 @ A )
            @ ( collect @ ( option @ A )
              @ ^ [X4: option @ A] :
                  ( ( member @ ( option @ A ) @ X4 @ A8 )
                  & ( X4
                   != ( none @ A ) ) ) ) ) ) ) ).

% Option.these_def
thf(fact_5278_image__Pow__mono,axiom,
    ! [B: $tType,A: $tType,F3: B > A,A6: set @ B,B6: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ ( image2 @ B @ A @ F3 @ A6 ) @ B6 )
     => ( ord_less_eq @ ( set @ ( set @ A ) ) @ ( image2 @ ( set @ B ) @ ( set @ A ) @ ( image2 @ B @ A @ F3 ) @ ( pow @ B @ A6 ) ) @ ( pow @ A @ B6 ) ) ) ).

% image_Pow_mono
thf(fact_5279_binomial__def,axiom,
    ( binomial
    = ( ^ [N3: nat,K3: nat] :
          ( finite_card @ ( set @ nat )
          @ ( collect @ ( set @ nat )
            @ ^ [K7: set @ nat] :
                ( ( member @ ( set @ nat ) @ K7 @ ( pow @ nat @ ( set_or7035219750837199246ssThan @ nat @ ( zero_zero @ nat ) @ N3 ) ) )
                & ( ( finite_card @ nat @ K7 )
                  = K3 ) ) ) ) ) ) ).

% binomial_def
thf(fact_5280_mod__star__trueE_H,axiom,
    ! [P2: assn,H: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
      ( ( rep_assn @ ( times_times @ assn @ P2 @ ( top_top @ assn ) ) @ H )
     => ~ ! [H4: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
            ( ( ( product_fst @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H4 )
              = ( product_fst @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H ) )
           => ( ( ord_less_eq @ ( set @ nat ) @ ( product_snd @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H4 ) @ ( product_snd @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H ) )
             => ~ ( rep_assn @ P2 @ H4 ) ) ) ) ).

% mod_star_trueE'
thf(fact_5281_Some__image__these__eq,axiom,
    ! [A: $tType,A6: set @ ( option @ A )] :
      ( ( image2 @ A @ ( option @ A ) @ ( some @ A ) @ ( these @ A @ A6 ) )
      = ( collect @ ( option @ A )
        @ ^ [X4: option @ A] :
            ( ( member @ ( option @ A ) @ X4 @ A6 )
            & ( X4
             != ( none @ A ) ) ) ) ) ).

% Some_image_these_eq
thf(fact_5282_Pow__set_I2_J,axiom,
    ! [B: $tType,X: B,Xs: list @ B] :
      ( ( pow @ B @ ( set2 @ B @ ( cons @ B @ X @ Xs ) ) )
      = ( sup_sup @ ( set @ ( set @ B ) ) @ ( pow @ B @ ( set2 @ B @ Xs ) ) @ ( image2 @ ( set @ B ) @ ( set @ B ) @ ( insert @ B @ X ) @ ( pow @ B @ ( set2 @ B @ Xs ) ) ) ) ) ).

% Pow_set(2)
thf(fact_5283_Inf__option__def,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ( ( complete_Inf_Inf @ ( option @ A ) )
        = ( ^ [A8: set @ ( option @ A )] : ( if @ ( option @ A ) @ ( member @ ( option @ A ) @ ( none @ A ) @ A8 ) @ ( none @ A ) @ ( some @ A @ ( complete_Inf_Inf @ A @ ( these @ A @ A8 ) ) ) ) ) ) ) ).

% Inf_option_def
thf(fact_5284_these__empty__eq,axiom,
    ! [A: $tType,B6: set @ ( option @ A )] :
      ( ( ( these @ A @ B6 )
        = ( bot_bot @ ( set @ A ) ) )
      = ( ( B6
          = ( bot_bot @ ( set @ ( option @ A ) ) ) )
        | ( B6
          = ( insert @ ( option @ A ) @ ( none @ A ) @ ( bot_bot @ ( set @ ( option @ A ) ) ) ) ) ) ) ).

% these_empty_eq
thf(fact_5285_these__not__empty__eq,axiom,
    ! [A: $tType,B6: set @ ( option @ A )] :
      ( ( ( these @ A @ B6 )
       != ( bot_bot @ ( set @ A ) ) )
      = ( ( B6
         != ( bot_bot @ ( set @ ( option @ A ) ) ) )
        & ( B6
         != ( insert @ ( option @ A ) @ ( none @ A ) @ ( bot_bot @ ( set @ ( option @ A ) ) ) ) ) ) ) ).

% these_not_empty_eq
thf(fact_5286_image__Fpow__mono,axiom,
    ! [B: $tType,A: $tType,F3: B > A,A6: set @ B,B6: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ ( image2 @ B @ A @ F3 @ A6 ) @ B6 )
     => ( ord_less_eq @ ( set @ ( set @ A ) ) @ ( image2 @ ( set @ B ) @ ( set @ A ) @ ( image2 @ B @ A @ F3 ) @ ( finite_Fpow @ B @ A6 ) ) @ ( finite_Fpow @ A @ B6 ) ) ) ).

% image_Fpow_mono
thf(fact_5287_Un__set__drop__extend,axiom,
    ! [A: $tType,J2: nat,L: list @ ( set @ A )] :
      ( ( ord_less_eq @ nat @ ( suc @ ( zero_zero @ nat ) ) @ J2 )
     => ( ( ord_less @ nat @ J2 @ ( size_size @ ( list @ ( set @ A ) ) @ L ) )
       => ( ( sup_sup @ ( set @ A ) @ ( nth @ ( set @ A ) @ L @ ( minus_minus @ nat @ J2 @ ( suc @ ( zero_zero @ nat ) ) ) ) @ ( complete_Sup_Sup @ ( set @ A ) @ ( set2 @ ( set @ A ) @ ( drop @ ( set @ A ) @ J2 @ L ) ) ) )
          = ( complete_Sup_Sup @ ( set @ A ) @ ( set2 @ ( set @ A ) @ ( drop @ ( set @ A ) @ ( minus_minus @ nat @ J2 @ ( suc @ ( zero_zero @ nat ) ) ) @ L ) ) ) ) ) ) ).

% Un_set_drop_extend
thf(fact_5288_relInvImage__UNIV__relImage,axiom,
    ! [B: $tType,A: $tType,R4: set @ ( product_prod @ A @ A ),F3: A > B] : ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ R4 @ ( bNF_Gr7122648621184425601vImage @ A @ B @ ( top_top @ ( set @ A ) ) @ ( bNF_Gr4221423524335903396lImage @ A @ B @ R4 @ F3 ) @ F3 ) ) ).

% relInvImage_UNIV_relImage
thf(fact_5289_top1I,axiom,
    ! [A: $tType,X: A] : ( top_top @ ( A > $o ) @ X ) ).

% top1I
thf(fact_5290_drop__drop,axiom,
    ! [A: $tType,N: nat,M: nat,Xs: list @ A] :
      ( ( drop @ A @ N @ ( drop @ A @ M @ Xs ) )
      = ( drop @ A @ ( plus_plus @ nat @ N @ M ) @ Xs ) ) ).

% drop_drop
thf(fact_5291_top2I,axiom,
    ! [A: $tType,B: $tType,X: A,Y: B] : ( top_top @ ( A > B > $o ) @ X @ Y ) ).

% top2I
thf(fact_5292_drop__upd__irrelevant,axiom,
    ! [A: $tType,M: nat,N: nat,L: list @ A,X: A] :
      ( ( ord_less @ nat @ M @ N )
     => ( ( drop @ A @ N @ ( list_update @ A @ L @ M @ X ) )
        = ( drop @ A @ N @ L ) ) ) ).

% drop_upd_irrelevant
thf(fact_5293_drop__update__cancel,axiom,
    ! [A: $tType,N: nat,M: nat,Xs: list @ A,X: A] :
      ( ( ord_less @ nat @ N @ M )
     => ( ( drop @ A @ M @ ( list_update @ A @ Xs @ N @ X ) )
        = ( drop @ A @ M @ Xs ) ) ) ).

% drop_update_cancel
thf(fact_5294_drop__eq__Nil2,axiom,
    ! [A: $tType,N: nat,Xs: list @ A] :
      ( ( ( nil @ A )
        = ( drop @ A @ N @ Xs ) )
      = ( ord_less_eq @ nat @ ( size_size @ ( list @ A ) @ Xs ) @ N ) ) ).

% drop_eq_Nil2
thf(fact_5295_drop__eq__Nil,axiom,
    ! [A: $tType,N: nat,Xs: list @ A] :
      ( ( ( drop @ A @ N @ Xs )
        = ( nil @ A ) )
      = ( ord_less_eq @ nat @ ( size_size @ ( list @ A ) @ Xs ) @ N ) ) ).

% drop_eq_Nil
thf(fact_5296_drop__all,axiom,
    ! [A: $tType,Xs: list @ A,N: nat] :
      ( ( ord_less_eq @ nat @ ( size_size @ ( list @ A ) @ Xs ) @ N )
     => ( ( drop @ A @ N @ Xs )
        = ( nil @ A ) ) ) ).

% drop_all
thf(fact_5297_nth__drop,axiom,
    ! [A: $tType,N: nat,Xs: list @ A,I2: nat] :
      ( ( ord_less_eq @ nat @ N @ ( size_size @ ( list @ A ) @ Xs ) )
     => ( ( nth @ A @ ( drop @ A @ N @ Xs ) @ I2 )
        = ( nth @ A @ Xs @ ( plus_plus @ nat @ N @ I2 ) ) ) ) ).

% nth_drop
thf(fact_5298_UNIV__bool,axiom,
    ( ( top_top @ ( set @ $o ) )
    = ( insert @ $o @ $false @ ( insert @ $o @ $true @ ( bot_bot @ ( set @ $o ) ) ) ) ) ).

% UNIV_bool
thf(fact_5299_less__filter__def,axiom,
    ! [A: $tType] :
      ( ( ord_less @ ( filter @ A ) )
      = ( ^ [F10: filter @ A,F11: filter @ A] :
            ( ( ord_less_eq @ ( filter @ A ) @ F10 @ F11 )
            & ~ ( ord_less_eq @ ( filter @ A ) @ F11 @ F10 ) ) ) ) ).

% less_filter_def
thf(fact_5300_drop__eq__ConsD,axiom,
    ! [A: $tType,N: nat,Xs: list @ A,X: A,Xs5: list @ A] :
      ( ( ( drop @ A @ N @ Xs )
        = ( cons @ A @ X @ Xs5 ) )
     => ( ( drop @ A @ ( suc @ N ) @ Xs )
        = Xs5 ) ) ).

% drop_eq_ConsD
thf(fact_5301_set__drop__subset,axiom,
    ! [A: $tType,N: nat,Xs: list @ A] : ( ord_less_eq @ ( set @ A ) @ ( set2 @ A @ ( drop @ A @ N @ Xs ) ) @ ( set2 @ A @ Xs ) ) ).

% set_drop_subset
thf(fact_5302_sorted__drop,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Xs: list @ A,N: nat] :
          ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ Xs )
         => ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( drop @ A @ N @ Xs ) ) ) ) ).

% sorted_drop
thf(fact_5303_drop__eq__nths,axiom,
    ! [A: $tType] :
      ( ( drop @ A )
      = ( ^ [N3: nat,Xs3: list @ A] : ( nths @ A @ Xs3 @ ( collect @ nat @ ( ord_less_eq @ nat @ N3 ) ) ) ) ) ).

% drop_eq_nths
thf(fact_5304_relImage__mono,axiom,
    ! [B: $tType,A: $tType,R1: set @ ( product_prod @ A @ A ),R22: set @ ( product_prod @ A @ A ),F3: A > B] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ R1 @ R22 )
     => ( ord_less_eq @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Gr4221423524335903396lImage @ A @ B @ R1 @ F3 ) @ ( bNF_Gr4221423524335903396lImage @ A @ B @ R22 @ F3 ) ) ) ).

% relImage_mono
thf(fact_5305_set__drop__subset__set__drop,axiom,
    ! [A: $tType,N: nat,M: nat,Xs: list @ A] :
      ( ( ord_less_eq @ nat @ N @ M )
     => ( ord_less_eq @ ( set @ A ) @ ( set2 @ A @ ( drop @ A @ M @ Xs ) ) @ ( set2 @ A @ ( drop @ A @ N @ Xs ) ) ) ) ).

% set_drop_subset_set_drop
thf(fact_5306_drop__update__swap,axiom,
    ! [A: $tType,M: nat,N: nat,Xs: list @ A,X: A] :
      ( ( ord_less_eq @ nat @ M @ N )
     => ( ( drop @ A @ M @ ( list_update @ A @ Xs @ N @ X ) )
        = ( list_update @ A @ ( drop @ A @ M @ Xs ) @ ( minus_minus @ nat @ N @ M ) @ X ) ) ) ).

% drop_update_swap
thf(fact_5307_drop__takeWhile,axiom,
    ! [A: $tType,I2: nat,P2: A > $o,L: list @ A] :
      ( ( ord_less_eq @ nat @ I2 @ ( size_size @ ( list @ A ) @ ( takeWhile @ A @ P2 @ L ) ) )
     => ( ( drop @ A @ I2 @ ( takeWhile @ A @ P2 @ L ) )
        = ( takeWhile @ A @ P2 @ ( drop @ A @ I2 @ L ) ) ) ) ).

% drop_takeWhile
thf(fact_5308_drop__Cons,axiom,
    ! [A: $tType,N: nat,X: A,Xs: list @ A] :
      ( ( drop @ A @ N @ ( cons @ A @ X @ Xs ) )
      = ( case_nat @ ( list @ A ) @ ( cons @ A @ X @ Xs )
        @ ^ [M3: nat] : ( drop @ A @ M3 @ Xs )
        @ N ) ) ).

% drop_Cons
thf(fact_5309_nths__drop,axiom,
    ! [A: $tType,N: nat,Xs: list @ A,I5: set @ nat] :
      ( ( nths @ A @ ( drop @ A @ N @ Xs ) @ I5 )
      = ( nths @ A @ Xs @ ( image2 @ nat @ nat @ ( plus_plus @ nat @ N ) @ I5 ) ) ) ).

% nths_drop
thf(fact_5310_hd__drop__conv__nth,axiom,
    ! [A: $tType,N: nat,Xs: list @ A] :
      ( ( ord_less @ nat @ N @ ( size_size @ ( list @ A ) @ Xs ) )
     => ( ( hd @ A @ ( drop @ A @ N @ Xs ) )
        = ( nth @ A @ Xs @ N ) ) ) ).

% hd_drop_conv_nth
thf(fact_5311_Fpow__mono,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
     => ( ord_less_eq @ ( set @ ( set @ A ) ) @ ( finite_Fpow @ A @ A6 ) @ ( finite_Fpow @ A @ B6 ) ) ) ).

% Fpow_mono
thf(fact_5312_Fpow__subset__Pow,axiom,
    ! [A: $tType,A6: set @ A] : ( ord_less_eq @ ( set @ ( set @ A ) ) @ ( finite_Fpow @ A @ A6 ) @ ( pow @ A @ A6 ) ) ).

% Fpow_subset_Pow
thf(fact_5313_Fpow__def,axiom,
    ! [A: $tType] :
      ( ( finite_Fpow @ A )
      = ( ^ [A8: set @ A] :
            ( collect @ ( set @ A )
            @ ^ [X11: set @ A] :
                ( ( ord_less_eq @ ( set @ A ) @ X11 @ A8 )
                & ( finite_finite2 @ A @ X11 ) ) ) ) ) ).

% Fpow_def
thf(fact_5314_Cons__nth__drop__Suc,axiom,
    ! [A: $tType,I2: nat,Xs: list @ A] :
      ( ( ord_less @ nat @ I2 @ ( size_size @ ( list @ A ) @ Xs ) )
     => ( ( cons @ A @ ( nth @ A @ Xs @ I2 ) @ ( drop @ A @ ( suc @ I2 ) @ Xs ) )
        = ( drop @ A @ I2 @ Xs ) ) ) ).

% Cons_nth_drop_Suc
thf(fact_5315_in__set__drop__conv__nth,axiom,
    ! [A: $tType,X: A,N: nat,L: list @ A] :
      ( ( member @ A @ X @ ( set2 @ A @ ( drop @ A @ N @ L ) ) )
      = ( ? [I: nat] :
            ( ( ord_less_eq @ nat @ N @ I )
            & ( ord_less @ nat @ I @ ( size_size @ ( list @ A ) @ L ) )
            & ( X
              = ( nth @ A @ L @ I ) ) ) ) ) ).

% in_set_drop_conv_nth
thf(fact_5316_Fpow__Pow__finite,axiom,
    ! [A: $tType] :
      ( ( finite_Fpow @ A )
      = ( ^ [A8: set @ A] : ( inf_inf @ ( set @ ( set @ A ) ) @ ( pow @ A @ A8 ) @ ( collect @ ( set @ A ) @ ( finite_finite2 @ A ) ) ) ) ) ).

% Fpow_Pow_finite
thf(fact_5317_drop__last__conv,axiom,
    ! [A: $tType,L: list @ A] :
      ( ( L
       != ( nil @ A ) )
     => ( ( drop @ A @ ( minus_minus @ nat @ ( size_size @ ( list @ A ) @ L ) @ ( suc @ ( zero_zero @ nat ) ) ) @ L )
        = ( cons @ A @ ( last @ A @ L ) @ ( nil @ A ) ) ) ) ).

% drop_last_conv
thf(fact_5318_ntrancl__def,axiom,
    ! [A: $tType] :
      ( ( transitive_ntrancl @ A )
      = ( ^ [N3: nat,R2: set @ ( product_prod @ A @ A )] :
            ( complete_Sup_Sup @ ( set @ ( product_prod @ A @ A ) )
            @ ( image2 @ nat @ ( set @ ( product_prod @ A @ A ) )
              @ ^ [I: nat] : ( compow @ ( set @ ( product_prod @ A @ A ) ) @ I @ R2 )
              @ ( collect @ nat
                @ ^ [I: nat] :
                    ( ( ord_less @ nat @ ( zero_zero @ nat ) @ I )
                    & ( ord_less_eq @ nat @ I @ ( suc @ N3 ) ) ) ) ) ) ) ) ).

% ntrancl_def
thf(fact_5319_take__hd__drop,axiom,
    ! [A: $tType,N: nat,Xs: list @ A] :
      ( ( ord_less @ nat @ N @ ( size_size @ ( list @ A ) @ Xs ) )
     => ( ( append @ A @ ( take @ A @ N @ Xs ) @ ( cons @ A @ ( hd @ A @ ( drop @ A @ N @ Xs ) ) @ ( nil @ A ) ) )
        = ( take @ A @ ( suc @ N ) @ Xs ) ) ) ).

% take_hd_drop
thf(fact_5320_drop__upt,axiom,
    ! [M: nat,I2: nat,J2: nat] :
      ( ( drop @ nat @ M @ ( upt @ I2 @ J2 ) )
      = ( upt @ ( plus_plus @ nat @ I2 @ M ) @ J2 ) ) ).

% drop_upt
thf(fact_5321_take__update,axiom,
    ! [A: $tType,N: nat,L: list @ A,I2: nat,X: A] :
      ( ( take @ A @ N @ ( list_update @ A @ L @ I2 @ X ) )
      = ( list_update @ A @ ( take @ A @ N @ L ) @ I2 @ X ) ) ).

% take_update
thf(fact_5322_take__all,axiom,
    ! [A: $tType,Xs: list @ A,N: nat] :
      ( ( ord_less_eq @ nat @ ( size_size @ ( list @ A ) @ Xs ) @ N )
     => ( ( take @ A @ N @ Xs )
        = Xs ) ) ).

% take_all
thf(fact_5323_take__all__iff,axiom,
    ! [A: $tType,N: nat,Xs: list @ A] :
      ( ( ( take @ A @ N @ Xs )
        = Xs )
      = ( ord_less_eq @ nat @ ( size_size @ ( list @ A ) @ Xs ) @ N ) ) ).

% take_all_iff
thf(fact_5324_take__upt,axiom,
    ! [I2: nat,M: nat,N: nat] :
      ( ( ord_less_eq @ nat @ ( plus_plus @ nat @ I2 @ M ) @ N )
     => ( ( take @ nat @ M @ ( upt @ I2 @ N ) )
        = ( upt @ I2 @ ( plus_plus @ nat @ I2 @ M ) ) ) ) ).

% take_upt
thf(fact_5325_nth__take,axiom,
    ! [A: $tType,I2: nat,N: nat,Xs: list @ A] :
      ( ( ord_less @ nat @ I2 @ N )
     => ( ( nth @ A @ ( take @ A @ N @ Xs ) @ I2 )
        = ( nth @ A @ Xs @ I2 ) ) ) ).

% nth_take
thf(fact_5326_Misc_Olast__in__set,axiom,
    ! [A: $tType,L: list @ A] :
      ( ( L
       != ( nil @ A ) )
     => ( member @ A @ ( last @ A @ L ) @ ( set2 @ A @ L ) ) ) ).

% Misc.last_in_set
thf(fact_5327_take__update__cancel,axiom,
    ! [A: $tType,N: nat,M: nat,Xs: list @ A,Y: A] :
      ( ( ord_less_eq @ nat @ N @ M )
     => ( ( take @ A @ N @ ( list_update @ A @ Xs @ M @ Y ) )
        = ( take @ A @ N @ Xs ) ) ) ).

% take_update_cancel
thf(fact_5328_last__upt,axiom,
    ! [I2: nat,J2: nat] :
      ( ( ord_less @ nat @ I2 @ J2 )
     => ( ( last @ nat @ ( upt @ I2 @ J2 ) )
        = ( minus_minus @ nat @ J2 @ ( one_one @ nat ) ) ) ) ).

% last_upt
thf(fact_5329_hd__take,axiom,
    ! [A: $tType,J2: nat,Xs: list @ A] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ J2 )
     => ( ( hd @ A @ ( take @ A @ J2 @ Xs ) )
        = ( hd @ A @ Xs ) ) ) ).

% hd_take
thf(fact_5330_last__drop,axiom,
    ! [A: $tType,N: nat,Xs: list @ A] :
      ( ( ord_less @ nat @ N @ ( size_size @ ( list @ A ) @ Xs ) )
     => ( ( last @ A @ ( drop @ A @ N @ Xs ) )
        = ( last @ A @ Xs ) ) ) ).

% last_drop
thf(fact_5331_finite__relpow,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A ),N: nat] :
      ( ( finite_finite2 @ ( product_prod @ A @ A ) @ R4 )
     => ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
       => ( finite_finite2 @ ( product_prod @ A @ A ) @ ( compow @ ( set @ ( product_prod @ A @ A ) ) @ N @ R4 ) ) ) ) ).

% finite_relpow
thf(fact_5332_set__take__subset,axiom,
    ! [A: $tType,N: nat,Xs: list @ A] : ( ord_less_eq @ ( set @ A ) @ ( set2 @ A @ ( take @ A @ N @ Xs ) ) @ ( set2 @ A @ Xs ) ) ).

% set_take_subset
thf(fact_5333_sorted__take,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Xs: list @ A,N: nat] :
          ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ Xs )
         => ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( take @ A @ N @ Xs ) ) ) ) ).

% sorted_take
thf(fact_5334_relpow__Suc__D2_H,axiom,
    ! [A: $tType,N: nat,R4: set @ ( product_prod @ A @ A ),X6: A,Y5: A,Z7: A] :
      ( ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X6 @ Y5 ) @ ( compow @ ( set @ ( product_prod @ A @ A ) ) @ N @ R4 ) )
        & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y5 @ Z7 ) @ R4 ) )
     => ? [W: A] :
          ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X6 @ W ) @ R4 )
          & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ W @ Z7 ) @ ( compow @ ( set @ ( product_prod @ A @ A ) ) @ N @ R4 ) ) ) ) ).

% relpow_Suc_D2'
thf(fact_5335_take__drop,axiom,
    ! [A: $tType,N: nat,M: nat,Xs: list @ A] :
      ( ( take @ A @ N @ ( drop @ A @ M @ Xs ) )
      = ( drop @ A @ M @ ( take @ A @ ( plus_plus @ nat @ N @ M ) @ Xs ) ) ) ).

% take_drop
thf(fact_5336_last__zip,axiom,
    ! [A: $tType,B: $tType,Xs: list @ A,Ys3: list @ B] :
      ( ( Xs
       != ( nil @ A ) )
     => ( ( Ys3
         != ( nil @ B ) )
       => ( ( ( size_size @ ( list @ A ) @ Xs )
            = ( size_size @ ( list @ B ) @ Ys3 ) )
         => ( ( last @ ( product_prod @ A @ B ) @ ( zip @ A @ B @ Xs @ Ys3 ) )
            = ( product_Pair @ A @ B @ ( last @ A @ Xs ) @ ( last @ B @ Ys3 ) ) ) ) ) ) ).

% last_zip
thf(fact_5337_relpow__0__E,axiom,
    ! [A: $tType,X: A,Y: A,R4: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ ( compow @ ( set @ ( product_prod @ A @ A ) ) @ ( zero_zero @ nat ) @ R4 ) )
     => ( X = Y ) ) ).

% relpow_0_E
thf(fact_5338_relpow__0__I,axiom,
    ! [A: $tType,X: A,R4: set @ ( product_prod @ A @ A )] : ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ X ) @ ( compow @ ( set @ ( product_prod @ A @ A ) ) @ ( zero_zero @ nat ) @ R4 ) ) ).

% relpow_0_I
thf(fact_5339_relpow__Suc__E,axiom,
    ! [A: $tType,X: A,Z4: A,N: nat,R4: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Z4 ) @ ( compow @ ( set @ ( product_prod @ A @ A ) ) @ ( suc @ N ) @ R4 ) )
     => ~ ! [Y3: A] :
            ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y3 ) @ ( compow @ ( set @ ( product_prod @ A @ A ) ) @ N @ R4 ) )
           => ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y3 @ Z4 ) @ R4 ) ) ) ).

% relpow_Suc_E
thf(fact_5340_relpow__Suc__I,axiom,
    ! [A: $tType,X: A,Y: A,N: nat,R4: set @ ( product_prod @ A @ A ),Z4: A] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ ( compow @ ( set @ ( product_prod @ A @ A ) ) @ N @ R4 ) )
     => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y @ Z4 ) @ R4 )
       => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Z4 ) @ ( compow @ ( set @ ( product_prod @ A @ A ) ) @ ( suc @ N ) @ R4 ) ) ) ) ).

% relpow_Suc_I
thf(fact_5341_relpow__Suc__D2,axiom,
    ! [A: $tType,X: A,Z4: A,N: nat,R4: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Z4 ) @ ( compow @ ( set @ ( product_prod @ A @ A ) ) @ ( suc @ N ) @ R4 ) )
     => ? [Y3: A] :
          ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y3 ) @ R4 )
          & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y3 @ Z4 ) @ ( compow @ ( set @ ( product_prod @ A @ A ) ) @ N @ R4 ) ) ) ) ).

% relpow_Suc_D2
thf(fact_5342_relpow__Suc__E2,axiom,
    ! [A: $tType,X: A,Z4: A,N: nat,R4: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Z4 ) @ ( compow @ ( set @ ( product_prod @ A @ A ) ) @ ( suc @ N ) @ R4 ) )
     => ~ ! [Y3: A] :
            ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y3 ) @ R4 )
           => ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y3 @ Z4 ) @ ( compow @ ( set @ ( product_prod @ A @ A ) ) @ N @ R4 ) ) ) ) ).

% relpow_Suc_E2
thf(fact_5343_relpow__Suc__I2,axiom,
    ! [A: $tType,X: A,Y: A,R4: set @ ( product_prod @ A @ A ),Z4: A,N: nat] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ R4 )
     => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y @ Z4 ) @ ( compow @ ( set @ ( product_prod @ A @ A ) ) @ N @ R4 ) )
       => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Z4 ) @ ( compow @ ( set @ ( product_prod @ A @ A ) ) @ ( suc @ N ) @ R4 ) ) ) ) ).

% relpow_Suc_I2
thf(fact_5344_last__filter,axiom,
    ! [A: $tType,Xs: list @ A,P2: A > $o] :
      ( ( Xs
       != ( nil @ A ) )
     => ( ( P2 @ ( last @ A @ Xs ) )
       => ( ( last @ A @ ( filter2 @ A @ P2 @ Xs ) )
          = ( last @ A @ Xs ) ) ) ) ).

% last_filter
thf(fact_5345_tl__last,axiom,
    ! [A: $tType,Xs: list @ A] :
      ( ( ( tl @ A @ Xs )
       != ( nil @ A ) )
     => ( ( last @ A @ Xs )
        = ( last @ A @ ( tl @ A @ Xs ) ) ) ) ).

% tl_last
thf(fact_5346_relpow__add,axiom,
    ! [A: $tType,M: nat,N: nat,R4: set @ ( product_prod @ A @ A )] :
      ( ( compow @ ( set @ ( product_prod @ A @ A ) ) @ ( plus_plus @ nat @ M @ N ) @ R4 )
      = ( relcomp @ A @ A @ A @ ( compow @ ( set @ ( product_prod @ A @ A ) ) @ M @ R4 ) @ ( compow @ ( set @ ( product_prod @ A @ A ) ) @ N @ R4 ) ) ) ).

% relpow_add
thf(fact_5347_set__take__subset__set__take,axiom,
    ! [A: $tType,M: nat,N: nat,Xs: list @ A] :
      ( ( ord_less_eq @ nat @ M @ N )
     => ( ord_less_eq @ ( set @ A ) @ ( set2 @ A @ ( take @ A @ M @ Xs ) ) @ ( set2 @ A @ ( take @ A @ N @ Xs ) ) ) ) ).

% set_take_subset_set_take
thf(fact_5348_relpowp__relpow__eq,axiom,
    ! [A: $tType,N: nat,R4: set @ ( product_prod @ A @ A )] :
      ( ( compow @ ( A > A > $o ) @ N
        @ ^ [X4: A,Y4: A] : ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X4 @ Y4 ) @ R4 ) )
      = ( ^ [X4: A,Y4: A] : ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X4 @ Y4 ) @ ( compow @ ( set @ ( product_prod @ A @ A ) ) @ N @ R4 ) ) ) ) ).

% relpowp_relpow_eq
thf(fact_5349_last__take__nth__conv,axiom,
    ! [A: $tType,N: nat,L: list @ A] :
      ( ( ord_less_eq @ nat @ N @ ( size_size @ ( list @ A ) @ L ) )
     => ( ( N
         != ( zero_zero @ nat ) )
       => ( ( last @ A @ ( take @ A @ N @ L ) )
          = ( nth @ A @ L @ ( minus_minus @ nat @ N @ ( one_one @ nat ) ) ) ) ) ) ).

% last_take_nth_conv
thf(fact_5350_drop__take__drop__unsplit,axiom,
    ! [A: $tType,I2: nat,J2: nat,L: list @ A] :
      ( ( ord_less_eq @ nat @ I2 @ J2 )
     => ( ( append @ A @ ( drop @ A @ I2 @ ( take @ A @ J2 @ L ) ) @ ( drop @ A @ J2 @ L ) )
        = ( drop @ A @ I2 @ L ) ) ) ).

% drop_take_drop_unsplit
thf(fact_5351_take__add,axiom,
    ! [A: $tType,I2: nat,J2: nat,Xs: list @ A] :
      ( ( take @ A @ ( plus_plus @ nat @ I2 @ J2 ) @ Xs )
      = ( append @ A @ ( take @ A @ I2 @ Xs ) @ ( take @ A @ J2 @ ( drop @ A @ I2 @ Xs ) ) ) ) ).

% take_add
thf(fact_5352_slice__def,axiom,
    ! [A: $tType] :
      ( ( slice @ A )
      = ( ^ [From2: nat,To2: nat,List: list @ A] : ( take @ A @ ( minus_minus @ nat @ To2 @ From2 ) @ ( drop @ A @ From2 @ List ) ) ) ) ).

% slice_def
thf(fact_5353_relpow__E,axiom,
    ! [A: $tType,X: A,Z4: A,N: nat,R4: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Z4 ) @ ( compow @ ( set @ ( product_prod @ A @ A ) ) @ N @ R4 ) )
     => ( ( ( N
            = ( zero_zero @ nat ) )
         => ( X != Z4 ) )
       => ~ ! [Y3: A,M5: nat] :
              ( ( N
                = ( suc @ M5 ) )
             => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y3 ) @ ( compow @ ( set @ ( product_prod @ A @ A ) ) @ M5 @ R4 ) )
               => ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y3 @ Z4 ) @ R4 ) ) ) ) ) ).

% relpow_E
thf(fact_5354_relpow__E2,axiom,
    ! [A: $tType,X: A,Z4: A,N: nat,R4: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Z4 ) @ ( compow @ ( set @ ( product_prod @ A @ A ) ) @ N @ R4 ) )
     => ( ( ( N
            = ( zero_zero @ nat ) )
         => ( X != Z4 ) )
       => ~ ! [Y3: A,M5: nat] :
              ( ( N
                = ( suc @ M5 ) )
             => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y3 ) @ R4 )
               => ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y3 @ Z4 ) @ ( compow @ ( set @ ( product_prod @ A @ A ) ) @ M5 @ R4 ) ) ) ) ) ) ).

% relpow_E2
thf(fact_5355_trancl__power,axiom,
    ! [A: $tType,P3: product_prod @ A @ A,R4: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ A @ A ) @ P3 @ ( transitive_trancl @ A @ R4 ) )
      = ( ? [N3: nat] :
            ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N3 )
            & ( member @ ( product_prod @ A @ A ) @ P3 @ ( compow @ ( set @ ( product_prod @ A @ A ) ) @ N3 @ R4 ) ) ) ) ) ).

% trancl_power
thf(fact_5356_relpow__empty,axiom,
    ! [A: $tType,N: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
     => ( ( compow @ ( set @ ( product_prod @ A @ A ) ) @ N @ ( bot_bot @ ( set @ ( product_prod @ A @ A ) ) ) )
        = ( bot_bot @ ( set @ ( product_prod @ A @ A ) ) ) ) ) ).

% relpow_empty
thf(fact_5357_nth__take__lemma,axiom,
    ! [A: $tType,K2: nat,Xs: list @ A,Ys3: list @ A] :
      ( ( ord_less_eq @ nat @ K2 @ ( size_size @ ( list @ A ) @ Xs ) )
     => ( ( ord_less_eq @ nat @ K2 @ ( size_size @ ( list @ A ) @ Ys3 ) )
       => ( ! [I3: nat] :
              ( ( ord_less @ nat @ I3 @ K2 )
             => ( ( nth @ A @ Xs @ I3 )
                = ( nth @ A @ Ys3 @ I3 ) ) )
         => ( ( take @ A @ K2 @ Xs )
            = ( take @ A @ K2 @ Ys3 ) ) ) ) ) ).

% nth_take_lemma
thf(fact_5358_append__eq__append__conv__if,axiom,
    ! [A: $tType,Xs_1: list @ A,Xs_2: list @ A,Ys_1: list @ A,Ys_2: list @ A] :
      ( ( ( append @ A @ Xs_1 @ Xs_2 )
        = ( append @ A @ Ys_1 @ Ys_2 ) )
      = ( ( ( ord_less_eq @ nat @ ( size_size @ ( list @ A ) @ Xs_1 ) @ ( size_size @ ( list @ A ) @ Ys_1 ) )
         => ( ( Xs_1
              = ( take @ A @ ( size_size @ ( list @ A ) @ Xs_1 ) @ Ys_1 ) )
            & ( Xs_2
              = ( append @ A @ ( drop @ A @ ( size_size @ ( list @ A ) @ Xs_1 ) @ Ys_1 ) @ Ys_2 ) ) ) )
        & ( ~ ( ord_less_eq @ nat @ ( size_size @ ( list @ A ) @ Xs_1 ) @ ( size_size @ ( list @ A ) @ Ys_1 ) )
         => ( ( ( take @ A @ ( size_size @ ( list @ A ) @ Ys_1 ) @ Xs_1 )
              = Ys_1 )
            & ( ( append @ A @ ( drop @ A @ ( size_size @ ( list @ A ) @ Ys_1 ) @ Xs_1 ) @ Xs_2 )
              = Ys_2 ) ) ) ) ) ).

% append_eq_append_conv_if
thf(fact_5359_filter__upt__take__conv,axiom,
    ! [A: $tType,P2: A > $o,M: nat,L: list @ A,N: nat] :
      ( ( filter2 @ nat
        @ ^ [I: nat] : ( P2 @ ( nth @ A @ ( take @ A @ M @ L ) @ I ) )
        @ ( upt @ N @ M ) )
      = ( filter2 @ nat
        @ ^ [I: nat] : ( P2 @ ( nth @ A @ L @ I ) )
        @ ( upt @ N @ M ) ) ) ).

% filter_upt_take_conv
thf(fact_5360_takeWhile__eq__take__P__nth,axiom,
    ! [A: $tType,N: nat,Xs: list @ A,P2: A > $o] :
      ( ! [I3: nat] :
          ( ( ord_less @ nat @ I3 @ N )
         => ( ( ord_less @ nat @ I3 @ ( size_size @ ( list @ A ) @ Xs ) )
           => ( P2 @ ( nth @ A @ Xs @ I3 ) ) ) )
     => ( ( ( ord_less @ nat @ N @ ( size_size @ ( list @ A ) @ Xs ) )
         => ~ ( P2 @ ( nth @ A @ Xs @ N ) ) )
       => ( ( takeWhile @ A @ P2 @ Xs )
          = ( take @ A @ N @ Xs ) ) ) ) ).

% takeWhile_eq_take_P_nth
thf(fact_5361_take__Cons,axiom,
    ! [A: $tType,N: nat,X: A,Xs: list @ A] :
      ( ( take @ A @ N @ ( cons @ A @ X @ Xs ) )
      = ( case_nat @ ( list @ A ) @ ( nil @ A )
        @ ^ [M3: nat] : ( cons @ A @ X @ ( take @ A @ M3 @ Xs ) )
        @ N ) ) ).

% take_Cons
thf(fact_5362_zip__replicate1,axiom,
    ! [A: $tType,B: $tType,N: nat,X: A,Ys3: list @ B] :
      ( ( zip @ A @ B @ ( replicate @ A @ N @ X ) @ Ys3 )
      = ( map @ B @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X ) @ ( take @ B @ N @ Ys3 ) ) ) ).

% zip_replicate1
thf(fact_5363_relpow__fun__conv,axiom,
    ! [A: $tType,A3: A,B2: A,N: nat,R4: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ ( compow @ ( set @ ( product_prod @ A @ A ) ) @ N @ R4 ) )
      = ( ? [F4: nat > A] :
            ( ( ( F4 @ ( zero_zero @ nat ) )
              = A3 )
            & ( ( F4 @ N )
              = B2 )
            & ! [I: nat] :
                ( ( ord_less @ nat @ I @ N )
               => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ ( F4 @ I ) @ ( F4 @ ( suc @ I ) ) ) @ R4 ) ) ) ) ) ).

% relpow_fun_conv
thf(fact_5364_sorted__hd__last,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [L: list @ A] :
          ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ L )
         => ( ( L
             != ( nil @ A ) )
           => ( ord_less_eq @ A @ ( hd @ A @ L ) @ ( last @ A @ L ) ) ) ) ) ).

% sorted_hd_last
thf(fact_5365_zip__replicate2,axiom,
    ! [B: $tType,A: $tType,Xs: list @ A,N: nat,Y: B] :
      ( ( zip @ A @ B @ Xs @ ( replicate @ B @ N @ Y ) )
      = ( map @ A @ ( product_prod @ A @ B )
        @ ^ [X4: A] : ( product_Pair @ A @ B @ X4 @ Y )
        @ ( take @ A @ N @ Xs ) ) ) ).

% zip_replicate2
thf(fact_5366_hd__last__singletonI,axiom,
    ! [A: $tType,Xs: list @ A] :
      ( ( Xs
       != ( nil @ A ) )
     => ( ( ( hd @ A @ Xs )
          = ( last @ A @ Xs ) )
       => ( ( distinct @ A @ Xs )
         => ( Xs
            = ( cons @ A @ ( hd @ A @ Xs ) @ ( nil @ A ) ) ) ) ) ) ).

% hd_last_singletonI
thf(fact_5367_filter__nth__ex__nth,axiom,
    ! [A: $tType,N: nat,P2: A > $o,Xs: list @ A] :
      ( ( ord_less @ nat @ N @ ( size_size @ ( list @ A ) @ ( filter2 @ A @ P2 @ Xs ) ) )
     => ? [M5: nat] :
          ( ( ord_less_eq @ nat @ N @ M5 )
          & ( ord_less @ nat @ M5 @ ( size_size @ ( list @ A ) @ Xs ) )
          & ( ( nth @ A @ ( filter2 @ A @ P2 @ Xs ) @ N )
            = ( nth @ A @ Xs @ M5 ) )
          & ( ( filter2 @ A @ P2 @ ( take @ A @ M5 @ Xs ) )
            = ( take @ A @ N @ ( filter2 @ A @ P2 @ Xs ) ) ) ) ) ).

% filter_nth_ex_nth
thf(fact_5368_map__upd__upds__conv__if,axiom,
    ! [A: $tType,B: $tType,X: A,Ys3: list @ B,Xs: list @ A,F3: A > ( option @ B ),Y: B] :
      ( ( ( member @ A @ X @ ( set2 @ A @ ( take @ A @ ( size_size @ ( list @ B ) @ Ys3 ) @ Xs ) ) )
       => ( ( map_upds @ A @ B @ ( fun_upd @ A @ ( option @ B ) @ F3 @ X @ ( some @ B @ Y ) ) @ Xs @ Ys3 )
          = ( map_upds @ A @ B @ F3 @ Xs @ Ys3 ) ) )
      & ( ~ ( member @ A @ X @ ( set2 @ A @ ( take @ A @ ( size_size @ ( list @ B ) @ Ys3 ) @ Xs ) ) )
       => ( ( map_upds @ A @ B @ ( fun_upd @ A @ ( option @ B ) @ F3 @ X @ ( some @ B @ Y ) ) @ Xs @ Ys3 )
          = ( fun_upd @ A @ ( option @ B ) @ ( map_upds @ A @ B @ F3 @ Xs @ Ys3 ) @ X @ ( some @ B @ Y ) ) ) ) ) ).

% map_upd_upds_conv_if
thf(fact_5369_Union__take__drop__id,axiom,
    ! [A: $tType,N: nat,L: list @ ( set @ A )] :
      ( ( sup_sup @ ( set @ A ) @ ( complete_Sup_Sup @ ( set @ A ) @ ( set2 @ ( set @ A ) @ ( drop @ ( set @ A ) @ N @ L ) ) ) @ ( complete_Sup_Sup @ ( set @ A ) @ ( set2 @ ( set @ A ) @ ( take @ ( set @ A ) @ N @ L ) ) ) )
      = ( complete_Sup_Sup @ ( set @ A ) @ ( set2 @ ( set @ A ) @ L ) ) ) ).

% Union_take_drop_id
thf(fact_5370_relpow__finite__bounded,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A ),K2: nat] :
      ( ( finite_finite2 @ ( product_prod @ A @ A ) @ R4 )
     => ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ ( compow @ ( set @ ( product_prod @ A @ A ) ) @ K2 @ R4 )
        @ ( complete_Sup_Sup @ ( set @ ( product_prod @ A @ A ) )
          @ ( image2 @ nat @ ( set @ ( product_prod @ A @ A ) )
            @ ^ [N3: nat] : ( compow @ ( set @ ( product_prod @ A @ A ) ) @ N3 @ R4 )
            @ ( collect @ nat
              @ ^ [N3: nat] : ( ord_less_eq @ nat @ N3 @ ( finite_card @ ( product_prod @ A @ A ) @ R4 ) ) ) ) ) ) ) ).

% relpow_finite_bounded
thf(fact_5371_set__take__disj__set__drop__if__distinct,axiom,
    ! [A: $tType,Vs: list @ A,I2: nat,J2: nat] :
      ( ( distinct @ A @ Vs )
     => ( ( ord_less_eq @ nat @ I2 @ J2 )
       => ( ( inf_inf @ ( set @ A ) @ ( set2 @ A @ ( take @ A @ I2 @ Vs ) ) @ ( set2 @ A @ ( drop @ A @ J2 @ Vs ) ) )
          = ( bot_bot @ ( set @ A ) ) ) ) ) ).

% set_take_disj_set_drop_if_distinct
thf(fact_5372_lex__take__index,axiom,
    ! [A: $tType,Xs: list @ A,Ys3: list @ A,R3: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xs @ Ys3 ) @ ( lex @ A @ R3 ) )
     => ~ ! [I3: nat] :
            ( ( ord_less @ nat @ I3 @ ( size_size @ ( list @ A ) @ Xs ) )
           => ( ( ord_less @ nat @ I3 @ ( size_size @ ( list @ A ) @ Ys3 ) )
             => ( ( ( take @ A @ I3 @ Xs )
                  = ( take @ A @ I3 @ Ys3 ) )
               => ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ ( nth @ A @ Xs @ I3 ) @ ( nth @ A @ Ys3 @ I3 ) ) @ R3 ) ) ) ) ) ).

% lex_take_index
thf(fact_5373_foldl__list__update,axiom,
    ! [B: $tType,A: $tType,N: nat,Xs: list @ A,F3: B > A > B,A3: B,X: A] :
      ( ( ord_less @ nat @ N @ ( size_size @ ( list @ A ) @ Xs ) )
     => ( ( foldl @ B @ A @ F3 @ A3 @ ( list_update @ A @ Xs @ N @ X ) )
        = ( foldl @ B @ A @ F3 @ ( F3 @ ( foldl @ B @ A @ F3 @ A3 @ ( take @ A @ N @ Xs ) ) @ X ) @ ( drop @ A @ ( suc @ N ) @ Xs ) ) ) ) ).

% foldl_list_update
thf(fact_5374_map__nth__upt__drop__take__conv,axiom,
    ! [A: $tType,N7: nat,L: list @ A,M6: nat] :
      ( ( ord_less_eq @ nat @ N7 @ ( size_size @ ( list @ A ) @ L ) )
     => ( ( map @ nat @ A @ ( nth @ A @ L ) @ ( upt @ M6 @ N7 ) )
        = ( drop @ A @ M6 @ ( take @ A @ N7 @ L ) ) ) ) ).

% map_nth_upt_drop_take_conv
thf(fact_5375_take__Suc__conv__app__nth,axiom,
    ! [A: $tType,I2: nat,Xs: list @ A] :
      ( ( ord_less @ nat @ I2 @ ( size_size @ ( list @ A ) @ Xs ) )
     => ( ( take @ A @ ( suc @ I2 ) @ Xs )
        = ( append @ A @ ( take @ A @ I2 @ Xs ) @ ( cons @ A @ ( nth @ A @ Xs @ I2 ) @ ( nil @ A ) ) ) ) ) ).

% take_Suc_conv_app_nth
thf(fact_5376_take__update__last,axiom,
    ! [A: $tType,N: nat,List2: list @ A,X: A] :
      ( ( ord_less @ nat @ N @ ( size_size @ ( list @ A ) @ List2 ) )
     => ( ( list_update @ A @ ( take @ A @ ( suc @ N ) @ List2 ) @ N @ X )
        = ( append @ A @ ( take @ A @ N @ List2 ) @ ( cons @ A @ X @ ( nil @ A ) ) ) ) ) ).

% take_update_last
thf(fact_5377_id__take__nth__drop,axiom,
    ! [A: $tType,I2: nat,Xs: list @ A] :
      ( ( ord_less @ nat @ I2 @ ( size_size @ ( list @ A ) @ Xs ) )
     => ( Xs
        = ( append @ A @ ( take @ A @ I2 @ Xs ) @ ( cons @ A @ ( nth @ A @ Xs @ I2 ) @ ( drop @ A @ ( suc @ I2 ) @ Xs ) ) ) ) ) ).

% id_take_nth_drop
thf(fact_5378_mset__zip__take__Cons__drop__twice,axiom,
    ! [A: $tType,B: $tType,Xs: list @ A,Ys3: list @ B,J2: nat,X: A,Y: B] :
      ( ( ( size_size @ ( list @ A ) @ Xs )
        = ( size_size @ ( list @ B ) @ Ys3 ) )
     => ( ( ord_less_eq @ nat @ J2 @ ( size_size @ ( list @ A ) @ Xs ) )
       => ( ( mset @ ( product_prod @ A @ B ) @ ( zip @ A @ B @ ( append @ A @ ( take @ A @ J2 @ Xs ) @ ( cons @ A @ X @ ( drop @ A @ J2 @ Xs ) ) ) @ ( append @ B @ ( take @ B @ J2 @ Ys3 ) @ ( cons @ B @ Y @ ( drop @ B @ J2 @ Ys3 ) ) ) ) )
          = ( add_mset @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X @ Y ) @ ( mset @ ( product_prod @ A @ B ) @ ( zip @ A @ B @ Xs @ Ys3 ) ) ) ) ) ) ).

% mset_zip_take_Cons_drop_twice
thf(fact_5379_upd__conv__take__nth__drop,axiom,
    ! [A: $tType,I2: nat,Xs: list @ A,A3: A] :
      ( ( ord_less @ nat @ I2 @ ( size_size @ ( list @ A ) @ Xs ) )
     => ( ( list_update @ A @ Xs @ I2 @ A3 )
        = ( append @ A @ ( take @ A @ I2 @ Xs ) @ ( cons @ A @ A3 @ ( drop @ A @ ( suc @ I2 ) @ Xs ) ) ) ) ) ).

% upd_conv_take_nth_drop
thf(fact_5380_nth__image,axiom,
    ! [A: $tType,L: nat,Xs: list @ A] :
      ( ( ord_less_eq @ nat @ L @ ( size_size @ ( list @ A ) @ Xs ) )
     => ( ( image2 @ nat @ A @ ( nth @ A @ Xs ) @ ( set_or7035219750837199246ssThan @ nat @ ( zero_zero @ nat ) @ L ) )
        = ( set2 @ A @ ( take @ A @ L @ Xs ) ) ) ) ).

% nth_image
thf(fact_5381_relpow__finite__bounded1,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A ),K2: nat] :
      ( ( finite_finite2 @ ( product_prod @ A @ A ) @ R4 )
     => ( ( ord_less @ nat @ ( zero_zero @ nat ) @ K2 )
       => ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ ( compow @ ( set @ ( product_prod @ A @ A ) ) @ K2 @ R4 )
          @ ( complete_Sup_Sup @ ( set @ ( product_prod @ A @ A ) )
            @ ( image2 @ nat @ ( set @ ( product_prod @ A @ A ) )
              @ ^ [N3: nat] : ( compow @ ( set @ ( product_prod @ A @ A ) ) @ N3 @ R4 )
              @ ( collect @ nat
                @ ^ [N3: nat] :
                    ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N3 )
                    & ( ord_less_eq @ nat @ N3 @ ( finite_card @ ( product_prod @ A @ A ) @ R4 ) ) ) ) ) ) ) ) ) ).

% relpow_finite_bounded1
thf(fact_5382_trancl__finite__eq__relpow,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A )] :
      ( ( finite_finite2 @ ( product_prod @ A @ A ) @ R4 )
     => ( ( transitive_trancl @ A @ R4 )
        = ( complete_Sup_Sup @ ( set @ ( product_prod @ A @ A ) )
          @ ( image2 @ nat @ ( set @ ( product_prod @ A @ A ) )
            @ ^ [N3: nat] : ( compow @ ( set @ ( product_prod @ A @ A ) ) @ N3 @ R4 )
            @ ( collect @ nat
              @ ^ [N3: nat] :
                  ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N3 )
                  & ( ord_less_eq @ nat @ N3 @ ( finite_card @ ( product_prod @ A @ A ) @ R4 ) ) ) ) ) ) ) ) ).

% trancl_finite_eq_relpow
thf(fact_5383_butlast__upd__last__eq,axiom,
    ! [A: $tType,L: list @ A,X: A] :
      ( ( ord_less_eq @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ ( size_size @ ( list @ A ) @ L ) )
     => ( ( list_update @ A @ ( butlast @ A @ L ) @ ( minus_minus @ nat @ ( size_size @ ( list @ A ) @ L ) @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) @ X )
        = ( append @ A @ ( take @ A @ ( minus_minus @ nat @ ( size_size @ ( list @ A ) @ L ) @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) @ L ) @ ( cons @ A @ X @ ( nil @ A ) ) ) ) ) ).

% butlast_upd_last_eq
thf(fact_5384_range__prod,axiom,
    ! [C: $tType,B: $tType,A: $tType,F3: C > ( product_prod @ A @ B )] :
      ( ord_less_eq @ ( set @ ( product_prod @ A @ B ) ) @ ( image2 @ C @ ( product_prod @ A @ B ) @ F3 @ ( top_top @ ( set @ C ) ) )
      @ ( product_Sigma @ A @ B @ ( image2 @ C @ A @ ( comp @ ( product_prod @ A @ B ) @ A @ C @ ( product_fst @ A @ B ) @ F3 ) @ ( top_top @ ( set @ C ) ) )
        @ ^ [Uu2: A] : ( image2 @ C @ B @ ( comp @ ( product_prod @ A @ B ) @ B @ C @ ( product_snd @ A @ B ) @ F3 ) @ ( top_top @ ( set @ C ) ) ) ) ) ).

% range_prod
thf(fact_5385_fun_Oin__rel,axiom,
    ! [B: $tType,A: $tType,D: $tType,R4: A > B > $o,A3: D > A,B2: D > B] :
      ( ( bNF_rel_fun @ D @ D @ A @ B
        @ ^ [Y6: D,Z5: D] : Y6 = Z5
        @ R4
        @ A3
        @ B2 )
      = ( ? [Z2: D > ( product_prod @ A @ B )] :
            ( ( member @ ( D > ( product_prod @ A @ B ) ) @ Z2
              @ ( collect @ ( D > ( product_prod @ A @ B ) )
                @ ^ [X4: D > ( product_prod @ A @ B )] : ( ord_less_eq @ ( set @ ( product_prod @ A @ B ) ) @ ( image2 @ D @ ( product_prod @ A @ B ) @ X4 @ ( top_top @ ( set @ D ) ) ) @ ( collect @ ( product_prod @ A @ B ) @ ( product_case_prod @ A @ B @ $o @ R4 ) ) ) ) )
            & ( ( comp @ ( product_prod @ A @ B ) @ A @ D @ ( product_fst @ A @ B ) @ Z2 )
              = A3 )
            & ( ( comp @ ( product_prod @ A @ B ) @ B @ D @ ( product_snd @ A @ B ) @ Z2 )
              = B2 ) ) ) ) ).

% fun.in_rel
thf(fact_5386_mem__Sigma__iff,axiom,
    ! [B: $tType,A: $tType,A3: A,B2: B,A6: set @ A,B6: A > ( set @ B )] :
      ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ A3 @ B2 ) @ ( product_Sigma @ A @ B @ A6 @ B6 ) )
      = ( ( member @ A @ A3 @ A6 )
        & ( member @ B @ B2 @ ( B6 @ A3 ) ) ) ) ).

% mem_Sigma_iff
thf(fact_5387_SigmaI,axiom,
    ! [B: $tType,A: $tType,A3: A,A6: set @ A,B2: B,B6: A > ( set @ B )] :
      ( ( member @ A @ A3 @ A6 )
     => ( ( member @ B @ B2 @ ( B6 @ A3 ) )
       => ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ A3 @ B2 ) @ ( product_Sigma @ A @ B @ A6 @ B6 ) ) ) ) ).

% SigmaI
thf(fact_5388_Collect__case__prod,axiom,
    ! [B: $tType,A: $tType,P2: A > $o,Q2: B > $o] :
      ( ( collect @ ( product_prod @ A @ B )
        @ ( product_case_prod @ A @ B @ $o
          @ ^ [A7: A,B5: B] :
              ( ( P2 @ A7 )
              & ( Q2 @ B5 ) ) ) )
      = ( product_Sigma @ A @ B @ ( collect @ A @ P2 )
        @ ^ [Uu2: A] : ( collect @ B @ Q2 ) ) ) ).

% Collect_case_prod
thf(fact_5389_Sigma__empty1,axiom,
    ! [B: $tType,A: $tType,B6: A > ( set @ B )] :
      ( ( product_Sigma @ A @ B @ ( bot_bot @ ( set @ A ) ) @ B6 )
      = ( bot_bot @ ( set @ ( product_prod @ A @ B ) ) ) ) ).

% Sigma_empty1
thf(fact_5390_Times__empty,axiom,
    ! [A: $tType,B: $tType,A6: set @ A,B6: set @ B] :
      ( ( ( product_Sigma @ A @ B @ A6
          @ ^ [Uu2: A] : B6 )
        = ( bot_bot @ ( set @ ( product_prod @ A @ B ) ) ) )
      = ( ( A6
          = ( bot_bot @ ( set @ A ) ) )
        | ( B6
          = ( bot_bot @ ( set @ B ) ) ) ) ) ).

% Times_empty
thf(fact_5391_Sigma__empty2,axiom,
    ! [B: $tType,A: $tType,A6: set @ A] :
      ( ( product_Sigma @ A @ B @ A6
        @ ^ [Uu2: A] : ( bot_bot @ ( set @ B ) ) )
      = ( bot_bot @ ( set @ ( product_prod @ A @ B ) ) ) ) ).

% Sigma_empty2
thf(fact_5392_Sigma__UNIV__cancel,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,X7: set @ B] :
      ( ( minus_minus @ ( set @ ( product_prod @ A @ B ) )
        @ ( product_Sigma @ A @ B @ A6
          @ ^ [Uu2: A] : X7 )
        @ ( product_Sigma @ A @ B @ A6
          @ ^ [Uu2: A] : ( top_top @ ( set @ B ) ) ) )
      = ( bot_bot @ ( set @ ( product_prod @ A @ B ) ) ) ) ).

% Sigma_UNIV_cancel
thf(fact_5393_Compl__Times__UNIV2,axiom,
    ! [B: $tType,A: $tType,A6: set @ A] :
      ( ( uminus_uminus @ ( set @ ( product_prod @ A @ B ) )
        @ ( product_Sigma @ A @ B @ A6
          @ ^ [Uu2: A] : ( top_top @ ( set @ B ) ) ) )
      = ( product_Sigma @ A @ B @ ( uminus_uminus @ ( set @ A ) @ A6 )
        @ ^ [Uu2: A] : ( top_top @ ( set @ B ) ) ) ) ).

% Compl_Times_UNIV2
thf(fact_5394_Compl__Times__UNIV1,axiom,
    ! [B: $tType,A: $tType,A6: set @ B] :
      ( ( uminus_uminus @ ( set @ ( product_prod @ A @ B ) )
        @ ( product_Sigma @ A @ B @ ( top_top @ ( set @ A ) )
          @ ^ [Uu2: A] : A6 ) )
      = ( product_Sigma @ A @ B @ ( top_top @ ( set @ A ) )
        @ ^ [Uu2: A] : ( uminus_uminus @ ( set @ B ) @ A6 ) ) ) ).

% Compl_Times_UNIV1
thf(fact_5395_finite__SigmaI,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,B6: A > ( set @ B )] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ! [A5: A] :
            ( ( member @ A @ A5 @ A6 )
           => ( finite_finite2 @ B @ ( B6 @ A5 ) ) )
       => ( finite_finite2 @ ( product_prod @ A @ B ) @ ( product_Sigma @ A @ B @ A6 @ B6 ) ) ) ) ).

% finite_SigmaI
thf(fact_5396_UNIV__Times__UNIV,axiom,
    ! [B: $tType,A: $tType] :
      ( ( product_Sigma @ A @ B @ ( top_top @ ( set @ A ) )
        @ ^ [Uu2: A] : ( top_top @ ( set @ B ) ) )
      = ( top_top @ ( set @ ( product_prod @ A @ B ) ) ) ) ).

% UNIV_Times_UNIV
thf(fact_5397_fst__image__times,axiom,
    ! [B: $tType,A: $tType,B6: set @ B,A6: set @ A] :
      ( ( ( B6
          = ( bot_bot @ ( set @ B ) ) )
       => ( ( image2 @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B )
            @ ( product_Sigma @ A @ B @ A6
              @ ^ [Uu2: A] : B6 ) )
          = ( bot_bot @ ( set @ A ) ) ) )
      & ( ( B6
         != ( bot_bot @ ( set @ B ) ) )
       => ( ( image2 @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B )
            @ ( product_Sigma @ A @ B @ A6
              @ ^ [Uu2: A] : B6 ) )
          = A6 ) ) ) ).

% fst_image_times
thf(fact_5398_snd__image__times,axiom,
    ! [B: $tType,A: $tType,A6: set @ B,B6: set @ A] :
      ( ( ( A6
          = ( bot_bot @ ( set @ B ) ) )
       => ( ( image2 @ ( product_prod @ B @ A ) @ A @ ( product_snd @ B @ A )
            @ ( product_Sigma @ B @ A @ A6
              @ ^ [Uu2: B] : B6 ) )
          = ( bot_bot @ ( set @ A ) ) ) )
      & ( ( A6
         != ( bot_bot @ ( set @ B ) ) )
       => ( ( image2 @ ( product_prod @ B @ A ) @ A @ ( product_snd @ B @ A )
            @ ( product_Sigma @ B @ A @ A6
              @ ^ [Uu2: B] : B6 ) )
          = B6 ) ) ) ).

% snd_image_times
thf(fact_5399_set__product,axiom,
    ! [B: $tType,A: $tType,Xs: list @ A,Ys3: list @ B] :
      ( ( set2 @ ( product_prod @ A @ B ) @ ( product @ A @ B @ Xs @ Ys3 ) )
      = ( product_Sigma @ A @ B @ ( set2 @ A @ Xs )
        @ ^ [Uu2: A] : ( set2 @ B @ Ys3 ) ) ) ).

% set_product
thf(fact_5400_insert__Times__insert,axiom,
    ! [B: $tType,A: $tType,A3: A,A6: set @ A,B2: B,B6: set @ B] :
      ( ( product_Sigma @ A @ B @ ( insert @ A @ A3 @ A6 )
        @ ^ [Uu2: A] : ( insert @ B @ B2 @ B6 ) )
      = ( insert @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ A3 @ B2 )
        @ ( sup_sup @ ( set @ ( product_prod @ A @ B ) )
          @ ( product_Sigma @ A @ B @ A6
            @ ^ [Uu2: A] : ( insert @ B @ B2 @ B6 ) )
          @ ( product_Sigma @ A @ B @ ( insert @ A @ A3 @ A6 )
            @ ^ [Uu2: A] : B6 ) ) ) ) ).

% insert_Times_insert
thf(fact_5401_card__SigmaI,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,B6: A > ( set @ B )] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ! [X3: A] :
            ( ( member @ A @ X3 @ A6 )
           => ( finite_finite2 @ B @ ( B6 @ X3 ) ) )
       => ( ( finite_card @ ( product_prod @ A @ B ) @ ( product_Sigma @ A @ B @ A6 @ B6 ) )
          = ( groups7311177749621191930dd_sum @ A @ nat
            @ ^ [A7: A] : ( finite_card @ B @ ( B6 @ A7 ) )
            @ A6 ) ) ) ) ).

% card_SigmaI
thf(fact_5402_take__butlast__conv,axiom,
    ! [A: $tType,L: list @ A] :
      ( ( take @ A @ ( minus_minus @ nat @ ( size_size @ ( list @ A ) @ L ) @ ( suc @ ( zero_zero @ nat ) ) ) @ L )
      = ( butlast @ A @ L ) ) ).

% take_butlast_conv
thf(fact_5403_times__eq__iff,axiom,
    ! [A: $tType,B: $tType,A6: set @ A,B6: set @ B,C5: set @ A,D5: set @ B] :
      ( ( ( product_Sigma @ A @ B @ A6
          @ ^ [Uu2: A] : B6 )
        = ( product_Sigma @ A @ B @ C5
          @ ^ [Uu2: A] : D5 ) )
      = ( ( ( A6 = C5 )
          & ( B6 = D5 ) )
        | ( ( ( A6
              = ( bot_bot @ ( set @ A ) ) )
            | ( B6
              = ( bot_bot @ ( set @ B ) ) ) )
          & ( ( C5
              = ( bot_bot @ ( set @ A ) ) )
            | ( D5
              = ( bot_bot @ ( set @ B ) ) ) ) ) ) ) ).

% times_eq_iff
thf(fact_5404_less__natural_Orsp,axiom,
    ( bNF_rel_fun @ nat @ nat @ ( nat > $o ) @ ( nat > $o )
    @ ^ [Y6: nat,Z5: nat] : Y6 = Z5
    @ ( bNF_rel_fun @ nat @ nat @ $o @ $o
      @ ^ [Y6: nat,Z5: nat] : Y6 = Z5
      @ ^ [Y6: $o,Z5: $o] : Y6 = Z5 )
    @ ( ord_less @ nat )
    @ ( ord_less @ nat ) ) ).

% less_natural.rsp
thf(fact_5405_less__integer_Orsp,axiom,
    ( bNF_rel_fun @ int @ int @ ( int > $o ) @ ( int > $o )
    @ ^ [Y6: int,Z5: int] : Y6 = Z5
    @ ( bNF_rel_fun @ int @ int @ $o @ $o
      @ ^ [Y6: int,Z5: int] : Y6 = Z5
      @ ^ [Y6: $o,Z5: $o] : Y6 = Z5 )
    @ ( ord_less @ int )
    @ ( ord_less @ int ) ) ).

% less_integer.rsp
thf(fact_5406_fun_Orel__map_I2_J,axiom,
    ! [A: $tType,C: $tType,B: $tType,D: $tType,Sa: A > C > $o,X: D > A,G3: B > C,Y: D > B] :
      ( ( bNF_rel_fun @ D @ D @ A @ C
        @ ^ [Y6: D,Z5: D] : Y6 = Z5
        @ Sa
        @ X
        @ ( comp @ B @ C @ D @ G3 @ Y ) )
      = ( bNF_rel_fun @ D @ D @ A @ B
        @ ^ [Y6: D,Z5: D] : Y6 = Z5
        @ ^ [X4: A,Y4: B] : ( Sa @ X4 @ ( G3 @ Y4 ) )
        @ X
        @ Y ) ) ).

% fun.rel_map(2)
thf(fact_5407_fun_Orel__map_I1_J,axiom,
    ! [A: $tType,C: $tType,B: $tType,D: $tType,Sb: C > B > $o,I2: A > C,X: D > A,Y: D > B] :
      ( ( bNF_rel_fun @ D @ D @ C @ B
        @ ^ [Y6: D,Z5: D] : Y6 = Z5
        @ Sb
        @ ( comp @ A @ C @ D @ I2 @ X )
        @ Y )
      = ( bNF_rel_fun @ D @ D @ A @ B
        @ ^ [Y6: D,Z5: D] : Y6 = Z5
        @ ^ [X4: A] : ( Sb @ ( I2 @ X4 ) )
        @ X
        @ Y ) ) ).

% fun.rel_map(1)
thf(fact_5408_Collect__case__prod__Sigma,axiom,
    ! [B: $tType,A: $tType,P2: A > $o,Q2: A > B > $o] :
      ( ( collect @ ( product_prod @ A @ B )
        @ ( product_case_prod @ A @ B @ $o
          @ ^ [X4: A,Y4: B] :
              ( ( P2 @ X4 )
              & ( Q2 @ X4 @ Y4 ) ) ) )
      = ( product_Sigma @ A @ B @ ( collect @ A @ P2 )
        @ ^ [X4: A] : ( collect @ B @ ( Q2 @ X4 ) ) ) ) ).

% Collect_case_prod_Sigma
thf(fact_5409_plus__integer_Orsp,axiom,
    ( bNF_rel_fun @ int @ int @ ( int > int ) @ ( int > int )
    @ ^ [Y6: int,Z5: int] : Y6 = Z5
    @ ( bNF_rel_fun @ int @ int @ int @ int
      @ ^ [Y6: int,Z5: int] : Y6 = Z5
      @ ^ [Y6: int,Z5: int] : Y6 = Z5 )
    @ ( plus_plus @ int )
    @ ( plus_plus @ int ) ) ).

% plus_integer.rsp
thf(fact_5410_plus__natural_Orsp,axiom,
    ( bNF_rel_fun @ nat @ nat @ ( nat > nat ) @ ( nat > nat )
    @ ^ [Y6: nat,Z5: nat] : Y6 = Z5
    @ ( bNF_rel_fun @ nat @ nat @ nat @ nat
      @ ^ [Y6: nat,Z5: nat] : Y6 = Z5
      @ ^ [Y6: nat,Z5: nat] : Y6 = Z5 )
    @ ( plus_plus @ nat )
    @ ( plus_plus @ nat ) ) ).

% plus_natural.rsp
thf(fact_5411_butlast__update_H,axiom,
    ! [A: $tType,L: list @ A,I2: nat,X: A] :
      ( ( list_update @ A @ ( butlast @ A @ L ) @ I2 @ X )
      = ( butlast @ A @ ( list_update @ A @ L @ I2 @ X ) ) ) ).

% butlast_update'
thf(fact_5412_Times__eq__cancel2,axiom,
    ! [A: $tType,B: $tType,X: A,C5: set @ A,A6: set @ B,B6: set @ B] :
      ( ( member @ A @ X @ C5 )
     => ( ( ( product_Sigma @ B @ A @ A6
            @ ^ [Uu2: B] : C5 )
          = ( product_Sigma @ B @ A @ B6
            @ ^ [Uu2: B] : C5 ) )
        = ( A6 = B6 ) ) ) ).

% Times_eq_cancel2
thf(fact_5413_Sigma__cong,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,B6: set @ A,C5: A > ( set @ B ),D5: A > ( set @ B )] :
      ( ( A6 = B6 )
     => ( ! [X3: A] :
            ( ( member @ A @ X3 @ B6 )
           => ( ( C5 @ X3 )
              = ( D5 @ X3 ) ) )
       => ( ( product_Sigma @ A @ B @ A6 @ C5 )
          = ( product_Sigma @ A @ B @ B6 @ D5 ) ) ) ) ).

% Sigma_cong
thf(fact_5414_Sigma__Diff__distrib1,axiom,
    ! [B: $tType,A: $tType,I5: set @ A,J4: set @ A,C5: A > ( set @ B )] :
      ( ( product_Sigma @ A @ B @ ( minus_minus @ ( set @ A ) @ I5 @ J4 ) @ C5 )
      = ( minus_minus @ ( set @ ( product_prod @ A @ B ) ) @ ( product_Sigma @ A @ B @ I5 @ C5 ) @ ( product_Sigma @ A @ B @ J4 @ C5 ) ) ) ).

% Sigma_Diff_distrib1
thf(fact_5415_sub_Orsp,axiom,
    ( bNF_rel_fun @ num @ num @ ( num > int ) @ ( num > int )
    @ ^ [Y6: num,Z5: num] : Y6 = Z5
    @ ( bNF_rel_fun @ num @ num @ int @ int
      @ ^ [Y6: num,Z5: num] : Y6 = Z5
      @ ^ [Y6: int,Z5: int] : Y6 = Z5 )
    @ ^ [M3: num,N3: num] : ( minus_minus @ int @ ( numeral_numeral @ int @ M3 ) @ ( numeral_numeral @ int @ N3 ) )
    @ ^ [M3: num,N3: num] : ( minus_minus @ int @ ( numeral_numeral @ int @ M3 ) @ ( numeral_numeral @ int @ N3 ) ) ) ).

% sub.rsp
thf(fact_5416_Times__Diff__distrib1,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,B6: set @ A,C5: set @ B] :
      ( ( product_Sigma @ A @ B @ ( minus_minus @ ( set @ A ) @ A6 @ B6 )
        @ ^ [Uu2: A] : C5 )
      = ( minus_minus @ ( set @ ( product_prod @ A @ B ) )
        @ ( product_Sigma @ A @ B @ A6
          @ ^ [Uu2: A] : C5 )
        @ ( product_Sigma @ A @ B @ B6
          @ ^ [Uu2: A] : C5 ) ) ) ).

% Times_Diff_distrib1
thf(fact_5417_Sigma__Diff__distrib2,axiom,
    ! [B: $tType,A: $tType,I5: set @ A,A6: A > ( set @ B ),B6: A > ( set @ B )] :
      ( ( product_Sigma @ A @ B @ I5
        @ ^ [I: A] : ( minus_minus @ ( set @ B ) @ ( A6 @ I ) @ ( B6 @ I ) ) )
      = ( minus_minus @ ( set @ ( product_prod @ A @ B ) ) @ ( product_Sigma @ A @ B @ I5 @ A6 ) @ ( product_Sigma @ A @ B @ I5 @ B6 ) ) ) ).

% Sigma_Diff_distrib2
thf(fact_5418_dup_Orsp,axiom,
    ( bNF_rel_fun @ int @ int @ int @ int
    @ ^ [Y6: int,Z5: int] : Y6 = Z5
    @ ^ [Y6: int,Z5: int] : Y6 = Z5
    @ ^ [K3: int] : ( plus_plus @ int @ K3 @ K3 )
    @ ^ [K3: int] : ( plus_plus @ int @ K3 @ K3 ) ) ).

% dup.rsp
thf(fact_5419_transfer__rule__numeral,axiom,
    ! [A: $tType,B: $tType] :
      ( ( ( monoid_add @ B )
        & ( semiring_numeral @ B )
        & ( monoid_add @ A )
        & ( semiring_numeral @ A ) )
     => ! [R4: A > B > $o] :
          ( ( R4 @ ( zero_zero @ A ) @ ( zero_zero @ B ) )
         => ( ( R4 @ ( one_one @ A ) @ ( one_one @ B ) )
           => ( ( bNF_rel_fun @ A @ B @ ( A > A ) @ ( B > B ) @ R4 @ ( bNF_rel_fun @ A @ B @ A @ B @ R4 @ R4 ) @ ( plus_plus @ A ) @ ( plus_plus @ B ) )
             => ( bNF_rel_fun @ num @ num @ A @ B
                @ ^ [Y6: num,Z5: num] : Y6 = Z5
                @ R4
                @ ( numeral_numeral @ A )
                @ ( numeral_numeral @ B ) ) ) ) ) ) ).

% transfer_rule_numeral
thf(fact_5420_transfer__rule__of__int,axiom,
    ! [A: $tType,B: $tType] :
      ( ( ( ring_1 @ B )
        & ( ring_1 @ A ) )
     => ! [R4: A > B > $o] :
          ( ( R4 @ ( zero_zero @ A ) @ ( zero_zero @ B ) )
         => ( ( R4 @ ( one_one @ A ) @ ( one_one @ B ) )
           => ( ( bNF_rel_fun @ A @ B @ ( A > A ) @ ( B > B ) @ R4 @ ( bNF_rel_fun @ A @ B @ A @ B @ R4 @ R4 ) @ ( plus_plus @ A ) @ ( plus_plus @ B ) )
             => ( ( bNF_rel_fun @ A @ B @ A @ B @ R4 @ R4 @ ( uminus_uminus @ A ) @ ( uminus_uminus @ B ) )
               => ( bNF_rel_fun @ int @ int @ A @ B
                  @ ^ [Y6: int,Z5: int] : Y6 = Z5
                  @ R4
                  @ ( ring_1_of_int @ A )
                  @ ( ring_1_of_int @ B ) ) ) ) ) ) ) ).

% transfer_rule_of_int
thf(fact_5421_SigmaE,axiom,
    ! [A: $tType,B: $tType,C3: product_prod @ A @ B,A6: set @ A,B6: A > ( set @ B )] :
      ( ( member @ ( product_prod @ A @ B ) @ C3 @ ( product_Sigma @ A @ B @ A6 @ B6 ) )
     => ~ ! [X3: A] :
            ( ( member @ A @ X3 @ A6 )
           => ! [Y3: B] :
                ( ( member @ B @ Y3 @ ( B6 @ X3 ) )
               => ( C3
                 != ( product_Pair @ A @ B @ X3 @ Y3 ) ) ) ) ) ).

% SigmaE
thf(fact_5422_SigmaD1,axiom,
    ! [B: $tType,A: $tType,A3: A,B2: B,A6: set @ A,B6: A > ( set @ B )] :
      ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ A3 @ B2 ) @ ( product_Sigma @ A @ B @ A6 @ B6 ) )
     => ( member @ A @ A3 @ A6 ) ) ).

% SigmaD1
thf(fact_5423_SigmaD2,axiom,
    ! [B: $tType,A: $tType,A3: A,B2: B,A6: set @ A,B6: A > ( set @ B )] :
      ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ A3 @ B2 ) @ ( product_Sigma @ A @ B @ A6 @ B6 ) )
     => ( member @ B @ B2 @ ( B6 @ A3 ) ) ) ).

% SigmaD2
thf(fact_5424_SigmaE2,axiom,
    ! [B: $tType,A: $tType,A3: A,B2: B,A6: set @ A,B6: A > ( set @ B )] :
      ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ A3 @ B2 ) @ ( product_Sigma @ A @ B @ A6 @ B6 ) )
     => ~ ( ( member @ A @ A3 @ A6 )
         => ~ ( member @ B @ B2 @ ( B6 @ A3 ) ) ) ) ).

% SigmaE2
thf(fact_5425_predicate2__transferD,axiom,
    ! [A: $tType,B: $tType,D: $tType,C: $tType,R1: A > B > $o,R22: C > D > $o,P2: A > C > $o,Q2: B > D > $o,A3: product_prod @ A @ B,A6: set @ ( product_prod @ A @ B ),B2: product_prod @ C @ D,B6: set @ ( product_prod @ C @ D )] :
      ( ( bNF_rel_fun @ A @ B @ ( C > $o ) @ ( D > $o ) @ R1
        @ ( bNF_rel_fun @ C @ D @ $o @ $o @ R22
          @ ^ [Y6: $o,Z5: $o] : Y6 = Z5 )
        @ P2
        @ Q2 )
     => ( ( member @ ( product_prod @ A @ B ) @ A3 @ A6 )
       => ( ( member @ ( product_prod @ C @ D ) @ B2 @ B6 )
         => ( ( ord_less_eq @ ( set @ ( product_prod @ A @ B ) ) @ A6 @ ( collect @ ( product_prod @ A @ B ) @ ( product_case_prod @ A @ B @ $o @ R1 ) ) )
           => ( ( ord_less_eq @ ( set @ ( product_prod @ C @ D ) ) @ B6 @ ( collect @ ( product_prod @ C @ D ) @ ( product_case_prod @ C @ D @ $o @ R22 ) ) )
             => ( ( P2 @ ( product_fst @ A @ B @ A3 ) @ ( product_fst @ C @ D @ B2 ) )
                = ( Q2 @ ( product_snd @ A @ B @ A3 ) @ ( product_snd @ C @ D @ B2 ) ) ) ) ) ) ) ) ).

% predicate2_transferD
thf(fact_5426_fun_Orel__mono,axiom,
    ! [D: $tType,B: $tType,A: $tType,R4: A > B > $o,Ra2: A > B > $o] :
      ( ( ord_less_eq @ ( A > B > $o ) @ R4 @ Ra2 )
     => ( ord_less_eq @ ( ( D > A ) > ( D > B ) > $o )
        @ ( bNF_rel_fun @ D @ D @ A @ B
          @ ^ [Y6: D,Z5: D] : Y6 = Z5
          @ R4 )
        @ ( bNF_rel_fun @ D @ D @ A @ B
          @ ^ [Y6: D,Z5: D] : Y6 = Z5
          @ Ra2 ) ) ) ).

% fun.rel_mono
thf(fact_5427_less__eq__natural_Orsp,axiom,
    ( bNF_rel_fun @ nat @ nat @ ( nat > $o ) @ ( nat > $o )
    @ ^ [Y6: nat,Z5: nat] : Y6 = Z5
    @ ( bNF_rel_fun @ nat @ nat @ $o @ $o
      @ ^ [Y6: nat,Z5: nat] : Y6 = Z5
      @ ^ [Y6: $o,Z5: $o] : Y6 = Z5 )
    @ ( ord_less_eq @ nat )
    @ ( ord_less_eq @ nat ) ) ).

% less_eq_natural.rsp
thf(fact_5428_less__eq__integer_Orsp,axiom,
    ( bNF_rel_fun @ int @ int @ ( int > $o ) @ ( int > $o )
    @ ^ [Y6: int,Z5: int] : Y6 = Z5
    @ ( bNF_rel_fun @ int @ int @ $o @ $o
      @ ^ [Y6: int,Z5: int] : Y6 = Z5
      @ ^ [Y6: $o,Z5: $o] : Y6 = Z5 )
    @ ( ord_less_eq @ int )
    @ ( ord_less_eq @ int ) ) ).

% less_eq_integer.rsp
thf(fact_5429_Sigma__mono,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,C5: set @ A,B6: A > ( set @ B ),D5: A > ( set @ B )] :
      ( ( ord_less_eq @ ( set @ A ) @ A6 @ C5 )
     => ( ! [X3: A] :
            ( ( member @ A @ X3 @ A6 )
           => ( ord_less_eq @ ( set @ B ) @ ( B6 @ X3 ) @ ( D5 @ X3 ) ) )
       => ( ord_less_eq @ ( set @ ( product_prod @ A @ B ) ) @ ( product_Sigma @ A @ B @ A6 @ B6 ) @ ( product_Sigma @ A @ B @ C5 @ D5 ) ) ) ) ).

% Sigma_mono
thf(fact_5430_Sigma__Int__distrib1,axiom,
    ! [B: $tType,A: $tType,I5: set @ A,J4: set @ A,C5: A > ( set @ B )] :
      ( ( product_Sigma @ A @ B @ ( inf_inf @ ( set @ A ) @ I5 @ J4 ) @ C5 )
      = ( inf_inf @ ( set @ ( product_prod @ A @ B ) ) @ ( product_Sigma @ A @ B @ I5 @ C5 ) @ ( product_Sigma @ A @ B @ J4 @ C5 ) ) ) ).

% Sigma_Int_distrib1
thf(fact_5431_Sigma__Un__distrib1,axiom,
    ! [B: $tType,A: $tType,I5: set @ A,J4: set @ A,C5: A > ( set @ B )] :
      ( ( product_Sigma @ A @ B @ ( sup_sup @ ( set @ A ) @ I5 @ J4 ) @ C5 )
      = ( sup_sup @ ( set @ ( product_prod @ A @ B ) ) @ ( product_Sigma @ A @ B @ I5 @ C5 ) @ ( product_Sigma @ A @ B @ J4 @ C5 ) ) ) ).

% Sigma_Un_distrib1
thf(fact_5432_member__product,axiom,
    ! [B: $tType,A: $tType,X: product_prod @ A @ B,A6: set @ A,B6: set @ B] :
      ( ( member @ ( product_prod @ A @ B ) @ X @ ( product_product @ A @ B @ A6 @ B6 ) )
      = ( member @ ( product_prod @ A @ B ) @ X
        @ ( product_Sigma @ A @ B @ A6
          @ ^ [Uu2: A] : B6 ) ) ) ).

% member_product
thf(fact_5433_Product__Type_Oproduct__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( product_product @ A @ B )
      = ( ^ [A8: set @ A,B7: set @ B] :
            ( product_Sigma @ A @ B @ A8
            @ ^ [Uu2: A] : B7 ) ) ) ).

% Product_Type.product_def
thf(fact_5434_Times__subset__cancel2,axiom,
    ! [A: $tType,B: $tType,X: A,C5: set @ A,A6: set @ B,B6: set @ B] :
      ( ( member @ A @ X @ C5 )
     => ( ( ord_less_eq @ ( set @ ( product_prod @ B @ A ) )
          @ ( product_Sigma @ B @ A @ A6
            @ ^ [Uu2: B] : C5 )
          @ ( product_Sigma @ B @ A @ B6
            @ ^ [Uu2: B] : C5 ) )
        = ( ord_less_eq @ ( set @ B ) @ A6 @ B6 ) ) ) ).

% Times_subset_cancel2
thf(fact_5435_mem__Times__iff,axiom,
    ! [A: $tType,B: $tType,X: product_prod @ A @ B,A6: set @ A,B6: set @ B] :
      ( ( member @ ( product_prod @ A @ B ) @ X
        @ ( product_Sigma @ A @ B @ A6
          @ ^ [Uu2: A] : B6 ) )
      = ( ( member @ A @ ( product_fst @ A @ B @ X ) @ A6 )
        & ( member @ B @ ( product_snd @ A @ B @ X ) @ B6 ) ) ) ).

% mem_Times_iff
thf(fact_5436_in__prod__fst__sndI,axiom,
    ! [B: $tType,A: $tType,X: product_prod @ A @ B,A6: set @ A,B6: set @ B] :
      ( ( member @ A @ ( product_fst @ A @ B @ X ) @ A6 )
     => ( ( member @ B @ ( product_snd @ A @ B @ X ) @ B6 )
       => ( member @ ( product_prod @ A @ B ) @ X
          @ ( product_Sigma @ A @ B @ A6
            @ ^ [Uu2: A] : B6 ) ) ) ) ).

% in_prod_fst_sndI
thf(fact_5437_card__cartesian__product,axiom,
    ! [A: $tType,B: $tType,A6: set @ A,B6: set @ B] :
      ( ( finite_card @ ( product_prod @ A @ B )
        @ ( product_Sigma @ A @ B @ A6
          @ ^ [Uu2: A] : B6 ) )
      = ( times_times @ nat @ ( finite_card @ A @ A6 ) @ ( finite_card @ B @ B6 ) ) ) ).

% card_cartesian_product
thf(fact_5438_swap__product,axiom,
    ! [B: $tType,A: $tType,A6: set @ B,B6: set @ A] :
      ( ( image2 @ ( product_prod @ B @ A ) @ ( product_prod @ A @ B )
        @ ( product_case_prod @ B @ A @ ( product_prod @ A @ B )
          @ ^ [I: B,J: A] : ( product_Pair @ A @ B @ J @ I ) )
        @ ( product_Sigma @ B @ A @ A6
          @ ^ [Uu2: B] : B6 ) )
      = ( product_Sigma @ A @ B @ B6
        @ ^ [Uu2: A] : A6 ) ) ).

% swap_product
thf(fact_5439_Sigma__empty__iff,axiom,
    ! [B: $tType,A: $tType,I5: set @ A,X7: A > ( set @ B )] :
      ( ( ( product_Sigma @ A @ B @ I5 @ X7 )
        = ( bot_bot @ ( set @ ( product_prod @ A @ B ) ) ) )
      = ( ! [X4: A] :
            ( ( member @ A @ X4 @ I5 )
           => ( ( X7 @ X4 )
              = ( bot_bot @ ( set @ B ) ) ) ) ) ) ).

% Sigma_empty_iff
thf(fact_5440_Times__Int__Times,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,B6: set @ B,C5: set @ A,D5: set @ B] :
      ( ( inf_inf @ ( set @ ( product_prod @ A @ B ) )
        @ ( product_Sigma @ A @ B @ A6
          @ ^ [Uu2: A] : B6 )
        @ ( product_Sigma @ A @ B @ C5
          @ ^ [Uu2: A] : D5 ) )
      = ( product_Sigma @ A @ B @ ( inf_inf @ ( set @ A ) @ A6 @ C5 )
        @ ^ [Uu2: A] : ( inf_inf @ ( set @ B ) @ B6 @ D5 ) ) ) ).

% Times_Int_Times
thf(fact_5441_Sigma__Int__distrib2,axiom,
    ! [B: $tType,A: $tType,I5: set @ A,A6: A > ( set @ B ),B6: A > ( set @ B )] :
      ( ( product_Sigma @ A @ B @ I5
        @ ^ [I: A] : ( inf_inf @ ( set @ B ) @ ( A6 @ I ) @ ( B6 @ I ) ) )
      = ( inf_inf @ ( set @ ( product_prod @ A @ B ) ) @ ( product_Sigma @ A @ B @ I5 @ A6 ) @ ( product_Sigma @ A @ B @ I5 @ B6 ) ) ) ).

% Sigma_Int_distrib2
thf(fact_5442_Times__Int__distrib1,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,B6: set @ A,C5: set @ B] :
      ( ( product_Sigma @ A @ B @ ( inf_inf @ ( set @ A ) @ A6 @ B6 )
        @ ^ [Uu2: A] : C5 )
      = ( inf_inf @ ( set @ ( product_prod @ A @ B ) )
        @ ( product_Sigma @ A @ B @ A6
          @ ^ [Uu2: A] : C5 )
        @ ( product_Sigma @ A @ B @ B6
          @ ^ [Uu2: A] : C5 ) ) ) ).

% Times_Int_distrib1
thf(fact_5443_infinite__cartesian__product,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,B6: set @ B] :
      ( ~ ( finite_finite2 @ A @ A6 )
     => ( ~ ( finite_finite2 @ B @ B6 )
       => ~ ( finite_finite2 @ ( product_prod @ A @ B )
            @ ( product_Sigma @ A @ B @ A6
              @ ^ [Uu2: A] : B6 ) ) ) ) ).

% infinite_cartesian_product
thf(fact_5444_finite__cartesian__product,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,B6: set @ B] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( finite_finite2 @ B @ B6 )
       => ( finite_finite2 @ ( product_prod @ A @ B )
          @ ( product_Sigma @ A @ B @ A6
            @ ^ [Uu2: A] : B6 ) ) ) ) ).

% finite_cartesian_product
thf(fact_5445_trancl__subset__Sigma,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ A] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ R3
        @ ( product_Sigma @ A @ A @ A6
          @ ^ [Uu2: A] : A6 ) )
     => ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ ( transitive_trancl @ A @ R3 )
        @ ( product_Sigma @ A @ A @ A6
          @ ^ [Uu2: A] : A6 ) ) ) ).

% trancl_subset_Sigma
thf(fact_5446_Sigma__Un__distrib2,axiom,
    ! [B: $tType,A: $tType,I5: set @ A,A6: A > ( set @ B ),B6: A > ( set @ B )] :
      ( ( product_Sigma @ A @ B @ I5
        @ ^ [I: A] : ( sup_sup @ ( set @ B ) @ ( A6 @ I ) @ ( B6 @ I ) ) )
      = ( sup_sup @ ( set @ ( product_prod @ A @ B ) ) @ ( product_Sigma @ A @ B @ I5 @ A6 ) @ ( product_Sigma @ A @ B @ I5 @ B6 ) ) ) ).

% Sigma_Un_distrib2
thf(fact_5447_Times__Un__distrib1,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,B6: set @ A,C5: set @ B] :
      ( ( product_Sigma @ A @ B @ ( sup_sup @ ( set @ A ) @ A6 @ B6 )
        @ ^ [Uu2: A] : C5 )
      = ( sup_sup @ ( set @ ( product_prod @ A @ B ) )
        @ ( product_Sigma @ A @ B @ A6
          @ ^ [Uu2: A] : C5 )
        @ ( product_Sigma @ A @ B @ B6
          @ ^ [Uu2: A] : C5 ) ) ) ).

% Times_Un_distrib1
thf(fact_5448_relcomp__subset__Sigma,axiom,
    ! [B: $tType,C: $tType,A: $tType,R3: set @ ( product_prod @ A @ B ),A6: set @ A,B6: set @ B,S2: set @ ( product_prod @ B @ C ),C5: set @ C] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ B ) ) @ R3
        @ ( product_Sigma @ A @ B @ A6
          @ ^ [Uu2: A] : B6 ) )
     => ( ( ord_less_eq @ ( set @ ( product_prod @ B @ C ) ) @ S2
          @ ( product_Sigma @ B @ C @ B6
            @ ^ [Uu2: B] : C5 ) )
       => ( ord_less_eq @ ( set @ ( product_prod @ A @ C ) ) @ ( relcomp @ A @ B @ C @ R3 @ S2 )
          @ ( product_Sigma @ A @ C @ A6
            @ ^ [Uu2: A] : C5 ) ) ) ) ).

% relcomp_subset_Sigma
thf(fact_5449_Sigma__Union,axiom,
    ! [B: $tType,A: $tType,X7: set @ ( set @ A ),B6: A > ( set @ B )] :
      ( ( product_Sigma @ A @ B @ ( complete_Sup_Sup @ ( set @ A ) @ X7 ) @ B6 )
      = ( complete_Sup_Sup @ ( set @ ( product_prod @ A @ B ) )
        @ ( image2 @ ( set @ A ) @ ( set @ ( product_prod @ A @ B ) )
          @ ^ [A8: set @ A] : ( product_Sigma @ A @ B @ A8 @ B6 )
          @ X7 ) ) ) ).

% Sigma_Union
thf(fact_5450_rev__butlast__is__tl__rev,axiom,
    ! [A: $tType,L: list @ A] :
      ( ( rev @ A @ ( butlast @ A @ L ) )
      = ( tl @ A @ ( rev @ A @ L ) ) ) ).

% rev_butlast_is_tl_rev
thf(fact_5451_Id__on__subset__Times,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ ( id_on @ A @ A6 )
      @ ( product_Sigma @ A @ A @ A6
        @ ^ [Uu2: A] : A6 ) ) ).

% Id_on_subset_Times
thf(fact_5452_card__cartesian__product__singleton,axiom,
    ! [A: $tType,B: $tType,X: A,A6: set @ B] :
      ( ( finite_card @ ( product_prod @ A @ B )
        @ ( product_Sigma @ A @ B @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) )
          @ ^ [Uu2: A] : A6 ) )
      = ( finite_card @ B @ A6 ) ) ).

% card_cartesian_product_singleton
thf(fact_5453_times__subset__iff,axiom,
    ! [A: $tType,B: $tType,A6: set @ A,C5: set @ B,B6: set @ A,D5: set @ B] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ B ) )
        @ ( product_Sigma @ A @ B @ A6
          @ ^ [Uu2: A] : C5 )
        @ ( product_Sigma @ A @ B @ B6
          @ ^ [Uu2: A] : D5 ) )
      = ( ( A6
          = ( bot_bot @ ( set @ A ) ) )
        | ( C5
          = ( bot_bot @ ( set @ B ) ) )
        | ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
          & ( ord_less_eq @ ( set @ B ) @ C5 @ D5 ) ) ) ) ).

% times_subset_iff
thf(fact_5454_image__paired__Times,axiom,
    ! [C: $tType,D: $tType,B: $tType,A: $tType,F3: C > A,G3: D > B,A6: set @ C,B6: set @ D] :
      ( ( image2 @ ( product_prod @ C @ D ) @ ( product_prod @ A @ B )
        @ ( product_case_prod @ C @ D @ ( product_prod @ A @ B )
          @ ^ [X4: C,Y4: D] : ( product_Pair @ A @ B @ ( F3 @ X4 ) @ ( G3 @ Y4 ) ) )
        @ ( product_Sigma @ C @ D @ A6
          @ ^ [Uu2: C] : B6 ) )
      = ( product_Sigma @ A @ B @ ( image2 @ C @ A @ F3 @ A6 )
        @ ^ [Uu2: A] : ( image2 @ D @ B @ G3 @ B6 ) ) ) ).

% image_paired_Times
thf(fact_5455_finite__SigmaI2,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,B6: A > ( set @ B )] :
      ( ( finite_finite2 @ A
        @ ( collect @ A
          @ ^ [X4: A] :
              ( ( member @ A @ X4 @ A6 )
              & ( ( B6 @ X4 )
               != ( bot_bot @ ( set @ B ) ) ) ) ) )
     => ( ! [A5: A] :
            ( ( member @ A @ A5 @ A6 )
           => ( finite_finite2 @ B @ ( B6 @ A5 ) ) )
       => ( finite_finite2 @ ( product_prod @ A @ B ) @ ( product_Sigma @ A @ B @ A6 @ B6 ) ) ) ) ).

% finite_SigmaI2
thf(fact_5456_finite__cartesian__productD1,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,B6: set @ B] :
      ( ( finite_finite2 @ ( product_prod @ A @ B )
        @ ( product_Sigma @ A @ B @ A6
          @ ^ [Uu2: A] : B6 ) )
     => ( ( B6
         != ( bot_bot @ ( set @ B ) ) )
       => ( finite_finite2 @ A @ A6 ) ) ) ).

% finite_cartesian_productD1
thf(fact_5457_finite__cartesian__productD2,axiom,
    ! [A: $tType,B: $tType,A6: set @ A,B6: set @ B] :
      ( ( finite_finite2 @ ( product_prod @ A @ B )
        @ ( product_Sigma @ A @ B @ A6
          @ ^ [Uu2: A] : B6 ) )
     => ( ( A6
         != ( bot_bot @ ( set @ A ) ) )
       => ( finite_finite2 @ B @ B6 ) ) ) ).

% finite_cartesian_productD2
thf(fact_5458_finite__cartesian__product__iff,axiom,
    ! [A: $tType,B: $tType,A6: set @ A,B6: set @ B] :
      ( ( finite_finite2 @ ( product_prod @ A @ B )
        @ ( product_Sigma @ A @ B @ A6
          @ ^ [Uu2: A] : B6 ) )
      = ( ( A6
          = ( bot_bot @ ( set @ A ) ) )
        | ( B6
          = ( bot_bot @ ( set @ B ) ) )
        | ( ( finite_finite2 @ A @ A6 )
          & ( finite_finite2 @ B @ B6 ) ) ) ) ).

% finite_cartesian_product_iff
thf(fact_5459_fst__image__Sigma,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,B6: A > ( set @ B )] :
      ( ( image2 @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) @ ( product_Sigma @ A @ B @ A6 @ B6 ) )
      = ( collect @ A
        @ ^ [X4: A] :
            ( ( member @ A @ X4 @ A6 )
            & ( ( B6 @ X4 )
             != ( bot_bot @ ( set @ B ) ) ) ) ) ) ).

% fst_image_Sigma
thf(fact_5460_Restr__trancl__mono,axiom,
    ! [A: $tType,V2: A,W2: A,E6: set @ ( product_prod @ A @ A ),U3: set @ A] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ V2 @ W2 )
        @ ( transitive_trancl @ A
          @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ E6
            @ ( product_Sigma @ A @ A @ U3
              @ ^ [Uu2: A] : U3 ) ) ) )
     => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ V2 @ W2 ) @ ( transitive_trancl @ A @ E6 ) ) ) ).

% Restr_trancl_mono
thf(fact_5461_butlast__subset,axiom,
    ! [A: $tType,Xs: list @ A,A6: set @ A] :
      ( ( Xs
       != ( nil @ A ) )
     => ( ( ord_less_eq @ ( set @ A ) @ ( set2 @ A @ Xs ) @ A6 )
       => ( ord_less_eq @ ( set @ A ) @ ( set2 @ A @ ( butlast @ A @ Xs ) ) @ A6 ) ) ) ).

% butlast_subset
thf(fact_5462_butlast__eq__consE,axiom,
    ! [A: $tType,L: list @ A,X: A,Xs: list @ A] :
      ( ( ( butlast @ A @ L )
        = ( cons @ A @ X @ Xs ) )
     => ~ ! [Xl: A] :
            ( L
           != ( cons @ A @ X @ ( append @ A @ Xs @ ( cons @ A @ Xl @ ( nil @ A ) ) ) ) ) ) ).

% butlast_eq_consE
thf(fact_5463_butlast__eq__cons__conv,axiom,
    ! [A: $tType,L: list @ A,X: A,Xs: list @ A] :
      ( ( ( butlast @ A @ L )
        = ( cons @ A @ X @ Xs ) )
      = ( ? [Xl2: A] :
            ( L
            = ( cons @ A @ X @ ( append @ A @ Xs @ ( cons @ A @ Xl2 @ ( nil @ A ) ) ) ) ) ) ) ).

% butlast_eq_cons_conv
thf(fact_5464_sorted__butlast,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Xs: list @ A] :
          ( ( Xs
           != ( nil @ A ) )
         => ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ Xs )
           => ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( butlast @ A @ Xs ) ) ) ) ) ).

% sorted_butlast
thf(fact_5465_UN__Times__distrib,axiom,
    ! [C: $tType,D: $tType,B: $tType,A: $tType,E6: C > ( set @ A ),F5: D > ( set @ B ),A6: set @ C,B6: set @ D] :
      ( ( complete_Sup_Sup @ ( set @ ( product_prod @ A @ B ) )
        @ ( image2 @ ( product_prod @ C @ D ) @ ( set @ ( product_prod @ A @ B ) )
          @ ( product_case_prod @ C @ D @ ( set @ ( product_prod @ A @ B ) )
            @ ^ [A7: C,B5: D] :
                ( product_Sigma @ A @ B @ ( E6 @ A7 )
                @ ^ [Uu2: A] : ( F5 @ B5 ) ) )
          @ ( product_Sigma @ C @ D @ A6
            @ ^ [Uu2: C] : B6 ) ) )
      = ( product_Sigma @ A @ B @ ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ C @ ( set @ A ) @ E6 @ A6 ) )
        @ ^ [Uu2: A] : ( complete_Sup_Sup @ ( set @ B ) @ ( image2 @ D @ ( set @ B ) @ F5 @ B6 ) ) ) ) ).

% UN_Times_distrib
thf(fact_5466_set__zip__cart,axiom,
    ! [B: $tType,A: $tType,X: product_prod @ A @ B,L: list @ A,L4: list @ B] :
      ( ( member @ ( product_prod @ A @ B ) @ X @ ( set2 @ ( product_prod @ A @ B ) @ ( zip @ A @ B @ L @ L4 ) ) )
     => ( member @ ( product_prod @ A @ B ) @ X
        @ ( product_Sigma @ A @ B @ ( set2 @ A @ L )
          @ ^ [Uu2: A] : ( set2 @ B @ L4 ) ) ) ) ).

% set_zip_cart
thf(fact_5467_nth__butlast,axiom,
    ! [A: $tType,N: nat,Xs: list @ A] :
      ( ( ord_less @ nat @ N @ ( size_size @ ( list @ A ) @ ( butlast @ A @ Xs ) ) )
     => ( ( nth @ A @ ( butlast @ A @ Xs ) @ N )
        = ( nth @ A @ Xs @ N ) ) ) ).

% nth_butlast
thf(fact_5468_take__butlast,axiom,
    ! [A: $tType,N: nat,Xs: list @ A] :
      ( ( ord_less @ nat @ N @ ( size_size @ ( list @ A ) @ Xs ) )
     => ( ( take @ A @ N @ ( butlast @ A @ Xs ) )
        = ( take @ A @ N @ Xs ) ) ) ).

% take_butlast
thf(fact_5469_butlast__upt,axiom,
    ! [M: nat,N: nat] :
      ( ( butlast @ nat @ ( upt @ M @ N ) )
      = ( upt @ M @ ( minus_minus @ nat @ N @ ( one_one @ nat ) ) ) ) ).

% butlast_upt
thf(fact_5470_butlast__rev__tl,axiom,
    ! [A: $tType,Xs: list @ A] :
      ( ( Xs
       != ( nil @ A ) )
     => ( ( butlast @ A @ ( rev @ A @ Xs ) )
        = ( rev @ A @ ( tl @ A @ Xs ) ) ) ) ).

% butlast_rev_tl
thf(fact_5471_distinct__butlast__swap,axiom,
    ! [A: $tType,Pq: list @ A,I2: nat] :
      ( ( distinct @ A @ Pq )
     => ( distinct @ A @ ( butlast @ A @ ( list_update @ A @ Pq @ I2 @ ( last @ A @ Pq ) ) ) ) ) ).

% distinct_butlast_swap
thf(fact_5472_sum_Ocartesian__product,axiom,
    ! [A: $tType,C: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [G3: B > C > A,B6: set @ C,A6: set @ B] :
          ( ( groups7311177749621191930dd_sum @ B @ A
            @ ^ [X4: B] : ( groups7311177749621191930dd_sum @ C @ A @ ( G3 @ X4 ) @ B6 )
            @ A6 )
          = ( groups7311177749621191930dd_sum @ ( product_prod @ B @ C ) @ A @ ( product_case_prod @ B @ C @ A @ G3 )
            @ ( product_Sigma @ B @ C @ A6
              @ ^ [Uu2: B] : B6 ) ) ) ) ).

% sum.cartesian_product
thf(fact_5473_prod_Ocartesian__product,axiom,
    ! [A: $tType,C: $tType,B: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [G3: B > C > A,B6: set @ C,A6: set @ B] :
          ( ( groups7121269368397514597t_prod @ B @ A
            @ ^ [X4: B] : ( groups7121269368397514597t_prod @ C @ A @ ( G3 @ X4 ) @ B6 )
            @ A6 )
          = ( groups7121269368397514597t_prod @ ( product_prod @ B @ C ) @ A @ ( product_case_prod @ B @ C @ A @ G3 )
            @ ( product_Sigma @ B @ C @ A6
              @ ^ [Uu2: B] : B6 ) ) ) ) ).

% prod.cartesian_product
thf(fact_5474_takeWhile__not__last,axiom,
    ! [A: $tType,Xs: list @ A] :
      ( ( distinct @ A @ Xs )
     => ( ( takeWhile @ A
          @ ^ [Y4: A] :
              ( Y4
             != ( last @ A @ Xs ) )
          @ Xs )
        = ( butlast @ A @ Xs ) ) ) ).

% takeWhile_not_last
thf(fact_5475_snd__image__Sigma,axiom,
    ! [A: $tType,B: $tType,A6: set @ B,B6: B > ( set @ A )] :
      ( ( image2 @ ( product_prod @ B @ A ) @ A @ ( product_snd @ B @ A ) @ ( product_Sigma @ B @ A @ A6 @ B6 ) )
      = ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ B6 @ A6 ) ) ) ).

% snd_image_Sigma
thf(fact_5476_subset__fst__snd,axiom,
    ! [B: $tType,A: $tType,A6: set @ ( product_prod @ A @ B )] :
      ( ord_less_eq @ ( set @ ( product_prod @ A @ B ) ) @ A6
      @ ( product_Sigma @ A @ B @ ( image2 @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) @ A6 )
        @ ^ [Uu2: A] : ( image2 @ ( product_prod @ A @ B ) @ B @ ( product_snd @ A @ B ) @ A6 ) ) ) ).

% subset_fst_snd
thf(fact_5477_snoc__eq__iff__butlast_H,axiom,
    ! [A: $tType,Ys3: list @ A,Xs: list @ A,X: A] :
      ( ( Ys3
        = ( append @ A @ Xs @ ( cons @ A @ X @ ( nil @ A ) ) ) )
      = ( ( Ys3
         != ( nil @ A ) )
        & ( ( butlast @ A @ Ys3 )
          = Xs )
        & ( ( last @ A @ Ys3 )
          = X ) ) ) ).

% snoc_eq_iff_butlast'
thf(fact_5478_hd__butlast,axiom,
    ! [A: $tType,Xs: list @ A] :
      ( ( ord_less @ nat @ ( one_one @ nat ) @ ( size_size @ ( list @ A ) @ Xs ) )
     => ( ( hd @ A @ ( butlast @ A @ Xs ) )
        = ( hd @ A @ Xs ) ) ) ).

% hd_butlast
thf(fact_5479_sum_OSigma,axiom,
    ! [A: $tType,C: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [A6: set @ B,B6: B > ( set @ C ),G3: B > C > A] :
          ( ( finite_finite2 @ B @ A6 )
         => ( ! [X3: B] :
                ( ( member @ B @ X3 @ A6 )
               => ( finite_finite2 @ C @ ( B6 @ X3 ) ) )
           => ( ( groups7311177749621191930dd_sum @ B @ A
                @ ^ [X4: B] : ( groups7311177749621191930dd_sum @ C @ A @ ( G3 @ X4 ) @ ( B6 @ X4 ) )
                @ A6 )
              = ( groups7311177749621191930dd_sum @ ( product_prod @ B @ C ) @ A @ ( product_case_prod @ B @ C @ A @ G3 ) @ ( product_Sigma @ B @ C @ A6 @ B6 ) ) ) ) ) ) ).

% sum.Sigma
thf(fact_5480_prod_OSigma,axiom,
    ! [A: $tType,C: $tType,B: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [A6: set @ B,B6: B > ( set @ C ),G3: B > C > A] :
          ( ( finite_finite2 @ B @ A6 )
         => ( ! [X3: B] :
                ( ( member @ B @ X3 @ A6 )
               => ( finite_finite2 @ C @ ( B6 @ X3 ) ) )
           => ( ( groups7121269368397514597t_prod @ B @ A
                @ ^ [X4: B] : ( groups7121269368397514597t_prod @ C @ A @ ( G3 @ X4 ) @ ( B6 @ X4 ) )
                @ A6 )
              = ( groups7121269368397514597t_prod @ ( product_prod @ B @ C ) @ A @ ( product_case_prod @ B @ C @ A @ G3 ) @ ( product_Sigma @ B @ C @ A6 @ B6 ) ) ) ) ) ) ).

% prod.Sigma
thf(fact_5481_rel__fun__Collect__case__prodD,axiom,
    ! [C: $tType,D: $tType,B: $tType,A: $tType,A6: A > B > $o,B6: C > D > $o,F3: A > C,G3: B > D,X7: set @ ( product_prod @ A @ B ),X: product_prod @ A @ B] :
      ( ( bNF_rel_fun @ A @ B @ C @ D @ A6 @ B6 @ F3 @ G3 )
     => ( ( ord_less_eq @ ( set @ ( product_prod @ A @ B ) ) @ X7 @ ( collect @ ( product_prod @ A @ B ) @ ( product_case_prod @ A @ B @ $o @ A6 ) ) )
       => ( ( member @ ( product_prod @ A @ B ) @ X @ X7 )
         => ( B6 @ ( comp @ A @ C @ ( product_prod @ A @ B ) @ F3 @ ( product_fst @ A @ B ) @ X ) @ ( comp @ B @ D @ ( product_prod @ A @ B ) @ G3 @ ( product_snd @ A @ B ) @ X ) ) ) ) ) ).

% rel_fun_Collect_case_prodD
thf(fact_5482_relImage__relInvImage,axiom,
    ! [B: $tType,A: $tType,R4: set @ ( product_prod @ A @ A ),F3: B > A,A6: set @ B] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ R4
        @ ( product_Sigma @ A @ A @ ( image2 @ B @ A @ F3 @ A6 )
          @ ^ [Uu2: A] : ( image2 @ B @ A @ F3 @ A6 ) ) )
     => ( ( bNF_Gr4221423524335903396lImage @ B @ A @ ( bNF_Gr7122648621184425601vImage @ B @ A @ A6 @ R4 @ F3 ) @ F3 )
        = R4 ) ) ).

% relImage_relInvImage
thf(fact_5483_Sigma__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( product_Sigma @ A @ B )
      = ( ^ [A8: set @ A,B7: A > ( set @ B )] :
            ( complete_Sup_Sup @ ( set @ ( product_prod @ A @ B ) )
            @ ( image2 @ A @ ( set @ ( product_prod @ A @ B ) )
              @ ^ [X4: A] :
                  ( complete_Sup_Sup @ ( set @ ( product_prod @ A @ B ) )
                  @ ( image2 @ B @ ( set @ ( product_prod @ A @ B ) )
                    @ ^ [Y4: B] : ( insert @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X4 @ Y4 ) @ ( bot_bot @ ( set @ ( product_prod @ A @ B ) ) ) )
                    @ ( B7 @ X4 ) ) )
              @ A8 ) ) ) ) ).

% Sigma_def
thf(fact_5484_product__fold,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,B6: set @ B] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( finite_finite2 @ B @ B6 )
       => ( ( product_Sigma @ A @ B @ A6
            @ ^ [Uu2: A] : B6 )
          = ( finite_fold @ A @ ( set @ ( product_prod @ A @ B ) )
            @ ^ [X4: A,Z2: set @ ( product_prod @ A @ B )] :
                ( finite_fold @ B @ ( set @ ( product_prod @ A @ B ) )
                @ ^ [Y4: B] : ( insert @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X4 @ Y4 ) )
                @ Z2
                @ B6 )
            @ ( bot_bot @ ( set @ ( product_prod @ A @ B ) ) )
            @ A6 ) ) ) ) ).

% product_fold
thf(fact_5485_butlast__take,axiom,
    ! [A: $tType,N: nat,Xs: list @ A] :
      ( ( ord_less_eq @ nat @ N @ ( size_size @ ( list @ A ) @ Xs ) )
     => ( ( butlast @ A @ ( take @ A @ N @ Xs ) )
        = ( take @ A @ ( minus_minus @ nat @ N @ ( one_one @ nat ) ) @ Xs ) ) ) ).

% butlast_take
thf(fact_5486_lists__length__Suc__eq,axiom,
    ! [A: $tType,A6: set @ A,N: nat] :
      ( ( collect @ ( list @ A )
        @ ^ [Xs3: list @ A] :
            ( ( ord_less_eq @ ( set @ A ) @ ( set2 @ A @ Xs3 ) @ A6 )
            & ( ( size_size @ ( list @ A ) @ Xs3 )
              = ( suc @ N ) ) ) )
      = ( image2 @ ( product_prod @ ( list @ A ) @ A ) @ ( list @ A )
        @ ( product_case_prod @ ( list @ A ) @ A @ ( list @ A )
          @ ^ [Xs3: list @ A,N3: A] : ( cons @ A @ N3 @ Xs3 ) )
        @ ( product_Sigma @ ( list @ A ) @ A
          @ ( collect @ ( list @ A )
            @ ^ [Xs3: list @ A] :
                ( ( ord_less_eq @ ( set @ A ) @ ( set2 @ A @ Xs3 ) @ A6 )
                & ( ( size_size @ ( list @ A ) @ Xs3 )
                  = N ) ) )
          @ ^ [Uu2: list @ A] : A6 ) ) ) ).

% lists_length_Suc_eq
thf(fact_5487_take__minus__one__conv__butlast,axiom,
    ! [A: $tType,N: nat,L: list @ A] :
      ( ( ord_less_eq @ nat @ N @ ( size_size @ ( list @ A ) @ L ) )
     => ( ( take @ A @ ( minus_minus @ nat @ N @ ( suc @ ( zero_zero @ nat ) ) ) @ L )
        = ( butlast @ A @ ( take @ A @ N @ L ) ) ) ) ).

% take_minus_one_conv_butlast
thf(fact_5488_transfer__rule__of__nat,axiom,
    ! [A: $tType,B: $tType] :
      ( ( ( semiring_1 @ B )
        & ( semiring_1 @ A ) )
     => ! [R4: A > B > $o] :
          ( ( R4 @ ( zero_zero @ A ) @ ( zero_zero @ B ) )
         => ( ( R4 @ ( one_one @ A ) @ ( one_one @ B ) )
           => ( ( bNF_rel_fun @ A @ B @ ( A > A ) @ ( B > B ) @ R4 @ ( bNF_rel_fun @ A @ B @ A @ B @ R4 @ R4 ) @ ( plus_plus @ A ) @ ( plus_plus @ B ) )
             => ( bNF_rel_fun @ nat @ nat @ A @ B
                @ ^ [Y6: nat,Z5: nat] : Y6 = Z5
                @ R4
                @ ( semiring_1_of_nat @ A )
                @ ( semiring_1_of_nat @ B ) ) ) ) ) ) ).

% transfer_rule_of_nat
thf(fact_5489_Restr__subset,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A,R3: set @ ( product_prod @ A @ A )] :
      ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
     => ( ( inf_inf @ ( set @ ( product_prod @ A @ A ) )
          @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
            @ ( product_Sigma @ A @ A @ B6
              @ ^ [Uu2: A] : B6 ) )
          @ ( product_Sigma @ A @ A @ A6
            @ ^ [Uu2: A] : A6 ) )
        = ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
          @ ( product_Sigma @ A @ A @ A6
            @ ^ [Uu2: A] : A6 ) ) ) ) ).

% Restr_subset
thf(fact_5490_transfer__rule__of__bool,axiom,
    ! [A: $tType,B: $tType] :
      ( ( ( zero_neq_one @ B )
        & ( zero_neq_one @ A ) )
     => ! [R4: A > B > $o] :
          ( ( R4 @ ( zero_zero @ A ) @ ( zero_zero @ B ) )
         => ( ( R4 @ ( one_one @ A ) @ ( one_one @ B ) )
           => ( bNF_rel_fun @ $o @ $o @ A @ B
              @ ^ [Y6: $o,Z5: $o] : Y6 = Z5
              @ R4
              @ ( zero_neq_one_of_bool @ A )
              @ ( zero_neq_one_of_bool @ B ) ) ) ) ) ).

% transfer_rule_of_bool
thf(fact_5491_fun__mono,axiom,
    ! [A: $tType,B: $tType,D: $tType,C: $tType,C5: A > B > $o,A6: A > B > $o,B6: C > D > $o,D5: C > D > $o] :
      ( ( ord_less_eq @ ( A > B > $o ) @ C5 @ A6 )
     => ( ( ord_less_eq @ ( C > D > $o ) @ B6 @ D5 )
       => ( ord_less_eq @ ( ( A > C ) > ( B > D ) > $o ) @ ( bNF_rel_fun @ A @ B @ C @ D @ A6 @ B6 ) @ ( bNF_rel_fun @ A @ B @ C @ D @ C5 @ D5 ) ) ) ) ).

% fun_mono
thf(fact_5492_pairself__image__cart,axiom,
    ! [B: $tType,A: $tType,F3: B > A,A6: set @ B,B6: set @ B] :
      ( ( image2 @ ( product_prod @ B @ B ) @ ( product_prod @ A @ A ) @ ( pairself @ B @ A @ F3 )
        @ ( product_Sigma @ B @ B @ A6
          @ ^ [Uu2: B] : B6 ) )
      = ( product_Sigma @ A @ A @ ( image2 @ B @ A @ F3 @ A6 )
        @ ^ [Uu2: A] : ( image2 @ B @ A @ F3 @ B6 ) ) ) ).

% pairself_image_cart
thf(fact_5493_plus__rat_Otransfer,axiom,
    ( bNF_rel_fun @ ( product_prod @ int @ int ) @ rat @ ( ( product_prod @ int @ int ) > ( product_prod @ int @ int ) ) @ ( rat > rat ) @ pcr_rat @ ( bNF_rel_fun @ ( product_prod @ int @ int ) @ rat @ ( product_prod @ int @ int ) @ rat @ pcr_rat @ pcr_rat )
    @ ^ [X4: product_prod @ int @ int,Y4: product_prod @ int @ int] : ( product_Pair @ int @ int @ ( plus_plus @ int @ ( times_times @ int @ ( product_fst @ int @ int @ X4 ) @ ( product_snd @ int @ int @ Y4 ) ) @ ( times_times @ int @ ( product_fst @ int @ int @ Y4 ) @ ( product_snd @ int @ int @ X4 ) ) ) @ ( times_times @ int @ ( product_snd @ int @ int @ X4 ) @ ( product_snd @ int @ int @ Y4 ) ) )
    @ ( plus_plus @ rat ) ) ).

% plus_rat.transfer
thf(fact_5494_pairself_Osimps,axiom,
    ! [B: $tType,A: $tType,F3: A > B,A3: A,B2: A] :
      ( ( pairself @ A @ B @ F3 @ ( product_Pair @ A @ A @ A3 @ B2 ) )
      = ( product_Pair @ B @ B @ ( F3 @ A3 ) @ ( F3 @ B2 ) ) ) ).

% pairself.simps
thf(fact_5495_pairself_Oelims,axiom,
    ! [B: $tType,A: $tType,X: A > B,Xa: product_prod @ A @ A,Y: product_prod @ B @ B] :
      ( ( ( pairself @ A @ B @ X @ Xa )
        = Y )
     => ~ ! [A5: A,B4: A] :
            ( ( Xa
              = ( product_Pair @ A @ A @ A5 @ B4 ) )
           => ( Y
             != ( product_Pair @ B @ B @ ( X @ A5 ) @ ( X @ B4 ) ) ) ) ) ).

% pairself.elims
thf(fact_5496_Fract_Otransfer,axiom,
    ( bNF_rel_fun @ int @ int @ ( int > ( product_prod @ int @ int ) ) @ ( int > rat )
    @ ^ [Y6: int,Z5: int] : Y6 = Z5
    @ ( bNF_rel_fun @ int @ int @ ( product_prod @ int @ int ) @ rat
      @ ^ [Y6: int,Z5: int] : Y6 = Z5
      @ pcr_rat )
    @ ^ [A7: int,B5: int] :
        ( if @ ( product_prod @ int @ int )
        @ ( B5
          = ( zero_zero @ int ) )
        @ ( product_Pair @ int @ int @ ( zero_zero @ int ) @ ( one_one @ int ) )
        @ ( product_Pair @ int @ int @ A7 @ B5 ) )
    @ fract ) ).

% Fract.transfer
thf(fact_5497_uminus__rat_Otransfer,axiom,
    ( bNF_rel_fun @ ( product_prod @ int @ int ) @ rat @ ( product_prod @ int @ int ) @ rat @ pcr_rat @ pcr_rat
    @ ^ [X4: product_prod @ int @ int] : ( product_Pair @ int @ int @ ( uminus_uminus @ int @ ( product_fst @ int @ int @ X4 ) ) @ ( product_snd @ int @ int @ X4 ) )
    @ ( uminus_uminus @ rat ) ) ).

% uminus_rat.transfer
thf(fact_5498_times__rat_Otransfer,axiom,
    ( bNF_rel_fun @ ( product_prod @ int @ int ) @ rat @ ( ( product_prod @ int @ int ) > ( product_prod @ int @ int ) ) @ ( rat > rat ) @ pcr_rat @ ( bNF_rel_fun @ ( product_prod @ int @ int ) @ rat @ ( product_prod @ int @ int ) @ rat @ pcr_rat @ pcr_rat )
    @ ^ [X4: product_prod @ int @ int,Y4: product_prod @ int @ int] : ( product_Pair @ int @ int @ ( times_times @ int @ ( product_fst @ int @ int @ X4 ) @ ( product_fst @ int @ int @ Y4 ) ) @ ( times_times @ int @ ( product_snd @ int @ int @ X4 ) @ ( product_snd @ int @ int @ Y4 ) ) )
    @ ( times_times @ rat ) ) ).

% times_rat.transfer
thf(fact_5499_inverse__rat_Otransfer,axiom,
    ( bNF_rel_fun @ ( product_prod @ int @ int ) @ rat @ ( product_prod @ int @ int ) @ rat @ pcr_rat @ pcr_rat
    @ ^ [X4: product_prod @ int @ int] :
        ( if @ ( product_prod @ int @ int )
        @ ( ( product_fst @ int @ int @ X4 )
          = ( zero_zero @ int ) )
        @ ( product_Pair @ int @ int @ ( zero_zero @ int ) @ ( one_one @ int ) )
        @ ( product_Pair @ int @ int @ ( product_snd @ int @ int @ X4 ) @ ( product_fst @ int @ int @ X4 ) ) )
    @ ( inverse_inverse @ rat ) ) ).

% inverse_rat.transfer
thf(fact_5500_pairself_Opelims,axiom,
    ! [B: $tType,A: $tType,X: A > B,Xa: product_prod @ A @ A,Y: product_prod @ B @ B] :
      ( ( ( pairself @ A @ B @ X @ Xa )
        = Y )
     => ( ( accp @ ( product_prod @ ( A > B ) @ ( product_prod @ A @ A ) ) @ ( pairself_rel @ A @ B ) @ ( product_Pair @ ( A > B ) @ ( product_prod @ A @ A ) @ X @ Xa ) )
       => ~ ! [A5: A,B4: A] :
              ( ( Xa
                = ( product_Pair @ A @ A @ A5 @ B4 ) )
             => ( ( Y
                  = ( product_Pair @ B @ B @ ( X @ A5 ) @ ( X @ B4 ) ) )
               => ~ ( accp @ ( product_prod @ ( A > B ) @ ( product_prod @ A @ A ) ) @ ( pairself_rel @ A @ B ) @ ( product_Pair @ ( A > B ) @ ( product_prod @ A @ A ) @ X @ ( product_Pair @ A @ A @ A5 @ B4 ) ) ) ) ) ) ) ).

% pairself.pelims
thf(fact_5501_positive_Otransfer,axiom,
    ( bNF_rel_fun @ ( product_prod @ int @ int ) @ rat @ $o @ $o @ pcr_rat
    @ ^ [Y6: $o,Z5: $o] : Y6 = Z5
    @ ^ [X4: product_prod @ int @ int] : ( ord_less @ int @ ( zero_zero @ int ) @ ( times_times @ int @ ( product_fst @ int @ int @ X4 ) @ ( product_snd @ int @ int @ X4 ) ) )
    @ positive ) ).

% positive.transfer
thf(fact_5502_times__int_Otransfer,axiom,
    ( bNF_rel_fun @ ( product_prod @ nat @ nat ) @ int @ ( ( product_prod @ nat @ nat ) > ( product_prod @ nat @ nat ) ) @ ( int > int ) @ pcr_int @ ( bNF_rel_fun @ ( product_prod @ nat @ nat ) @ int @ ( product_prod @ nat @ nat ) @ int @ pcr_int @ pcr_int )
    @ ( product_case_prod @ nat @ nat @ ( ( product_prod @ nat @ nat ) > ( product_prod @ nat @ nat ) )
      @ ^ [X4: nat,Y4: nat] :
          ( product_case_prod @ nat @ nat @ ( product_prod @ nat @ nat )
          @ ^ [U2: nat,V3: nat] : ( product_Pair @ nat @ nat @ ( plus_plus @ nat @ ( times_times @ nat @ X4 @ U2 ) @ ( times_times @ nat @ Y4 @ V3 ) ) @ ( plus_plus @ nat @ ( times_times @ nat @ X4 @ V3 ) @ ( times_times @ nat @ Y4 @ U2 ) ) ) ) )
    @ ( times_times @ int ) ) ).

% times_int.transfer
thf(fact_5503_positive__add,axiom,
    ! [X: rat,Y: rat] :
      ( ( positive @ X )
     => ( ( positive @ Y )
       => ( positive @ ( plus_plus @ rat @ X @ Y ) ) ) ) ).

% positive_add
thf(fact_5504_nat_Otransfer,axiom,
    ( bNF_rel_fun @ ( product_prod @ nat @ nat ) @ int @ nat @ nat @ pcr_int
    @ ^ [Y6: nat,Z5: nat] : Y6 = Z5
    @ ( product_case_prod @ nat @ nat @ nat @ ( minus_minus @ nat ) )
    @ nat2 ) ).

% nat.transfer
thf(fact_5505_int__transfer,axiom,
    ( bNF_rel_fun @ nat @ nat @ ( product_prod @ nat @ nat ) @ int
    @ ^ [Y6: nat,Z5: nat] : Y6 = Z5
    @ pcr_int
    @ ^ [N3: nat] : ( product_Pair @ nat @ nat @ N3 @ ( zero_zero @ nat ) )
    @ ( semiring_1_of_nat @ int ) ) ).

% int_transfer
thf(fact_5506_less__rat__def,axiom,
    ( ( ord_less @ rat )
    = ( ^ [X4: rat,Y4: rat] : ( positive @ ( minus_minus @ rat @ Y4 @ X4 ) ) ) ) ).

% less_rat_def
thf(fact_5507_uminus__int_Otransfer,axiom,
    ( bNF_rel_fun @ ( product_prod @ nat @ nat ) @ int @ ( product_prod @ nat @ nat ) @ int @ pcr_int @ pcr_int
    @ ( product_case_prod @ nat @ nat @ ( product_prod @ nat @ nat )
      @ ^ [X4: nat,Y4: nat] : ( product_Pair @ nat @ nat @ Y4 @ X4 ) )
    @ ( uminus_uminus @ int ) ) ).

% uminus_int.transfer
thf(fact_5508_of__int_Otransfer,axiom,
    ! [A: $tType] :
      ( ( ring_1 @ A )
     => ( bNF_rel_fun @ ( product_prod @ nat @ nat ) @ int @ A @ A @ pcr_int
        @ ^ [Y6: A,Z5: A] : Y6 = Z5
        @ ( product_case_prod @ nat @ nat @ A
          @ ^ [I: nat,J: nat] : ( minus_minus @ A @ ( semiring_1_of_nat @ A @ I ) @ ( semiring_1_of_nat @ A @ J ) ) )
        @ ( ring_1_of_int @ A ) ) ) ).

% of_int.transfer
thf(fact_5509_positive__rat,axiom,
    ! [A3: int,B2: int] :
      ( ( positive @ ( fract @ A3 @ B2 ) )
      = ( ord_less @ int @ ( zero_zero @ int ) @ ( times_times @ int @ A3 @ B2 ) ) ) ).

% positive_rat
thf(fact_5510_less__int_Otransfer,axiom,
    ( bNF_rel_fun @ ( product_prod @ nat @ nat ) @ int @ ( ( product_prod @ nat @ nat ) > $o ) @ ( int > $o ) @ pcr_int
    @ ( bNF_rel_fun @ ( product_prod @ nat @ nat ) @ int @ $o @ $o @ pcr_int
      @ ^ [Y6: $o,Z5: $o] : Y6 = Z5 )
    @ ( product_case_prod @ nat @ nat @ ( ( product_prod @ nat @ nat ) > $o )
      @ ^ [X4: nat,Y4: nat] :
          ( product_case_prod @ nat @ nat @ $o
          @ ^ [U2: nat,V3: nat] : ( ord_less @ nat @ ( plus_plus @ nat @ X4 @ V3 ) @ ( plus_plus @ nat @ U2 @ Y4 ) ) ) )
    @ ( ord_less @ int ) ) ).

% less_int.transfer
thf(fact_5511_less__eq__int_Otransfer,axiom,
    ( bNF_rel_fun @ ( product_prod @ nat @ nat ) @ int @ ( ( product_prod @ nat @ nat ) > $o ) @ ( int > $o ) @ pcr_int
    @ ( bNF_rel_fun @ ( product_prod @ nat @ nat ) @ int @ $o @ $o @ pcr_int
      @ ^ [Y6: $o,Z5: $o] : Y6 = Z5 )
    @ ( product_case_prod @ nat @ nat @ ( ( product_prod @ nat @ nat ) > $o )
      @ ^ [X4: nat,Y4: nat] :
          ( product_case_prod @ nat @ nat @ $o
          @ ^ [U2: nat,V3: nat] : ( ord_less_eq @ nat @ ( plus_plus @ nat @ X4 @ V3 ) @ ( plus_plus @ nat @ U2 @ Y4 ) ) ) )
    @ ( ord_less_eq @ int ) ) ).

% less_eq_int.transfer
thf(fact_5512_plus__int_Otransfer,axiom,
    ( bNF_rel_fun @ ( product_prod @ nat @ nat ) @ int @ ( ( product_prod @ nat @ nat ) > ( product_prod @ nat @ nat ) ) @ ( int > int ) @ pcr_int @ ( bNF_rel_fun @ ( product_prod @ nat @ nat ) @ int @ ( product_prod @ nat @ nat ) @ int @ pcr_int @ pcr_int )
    @ ( product_case_prod @ nat @ nat @ ( ( product_prod @ nat @ nat ) > ( product_prod @ nat @ nat ) )
      @ ^ [X4: nat,Y4: nat] :
          ( product_case_prod @ nat @ nat @ ( product_prod @ nat @ nat )
          @ ^ [U2: nat,V3: nat] : ( product_Pair @ nat @ nat @ ( plus_plus @ nat @ X4 @ U2 ) @ ( plus_plus @ nat @ Y4 @ V3 ) ) ) )
    @ ( plus_plus @ int ) ) ).

% plus_int.transfer
thf(fact_5513_minus__int_Otransfer,axiom,
    ( bNF_rel_fun @ ( product_prod @ nat @ nat ) @ int @ ( ( product_prod @ nat @ nat ) > ( product_prod @ nat @ nat ) ) @ ( int > int ) @ pcr_int @ ( bNF_rel_fun @ ( product_prod @ nat @ nat ) @ int @ ( product_prod @ nat @ nat ) @ int @ pcr_int @ pcr_int )
    @ ( product_case_prod @ nat @ nat @ ( ( product_prod @ nat @ nat ) > ( product_prod @ nat @ nat ) )
      @ ^ [X4: nat,Y4: nat] :
          ( product_case_prod @ nat @ nat @ ( product_prod @ nat @ nat )
          @ ^ [U2: nat,V3: nat] : ( product_Pair @ nat @ nat @ ( plus_plus @ nat @ X4 @ V3 ) @ ( plus_plus @ nat @ Y4 @ U2 ) ) ) )
    @ ( minus_minus @ int ) ) ).

% minus_int.transfer
thf(fact_5514_positive_Orep__eq,axiom,
    ( positive
    = ( ^ [X4: rat] : ( ord_less @ int @ ( zero_zero @ int ) @ ( times_times @ int @ ( product_fst @ int @ int @ ( rep_Rat @ X4 ) ) @ ( product_snd @ int @ int @ ( rep_Rat @ X4 ) ) ) ) ) ) ).

% positive.rep_eq
thf(fact_5515_map__to__set__upd,axiom,
    ! [B: $tType,A: $tType,M: A > ( option @ B ),K2: A,V2: B] :
      ( ( map_to_set @ A @ B @ ( fun_upd @ A @ ( option @ B ) @ M @ K2 @ ( some @ B @ V2 ) ) )
      = ( insert @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ K2 @ V2 )
        @ ( minus_minus @ ( set @ ( product_prod @ A @ B ) ) @ ( map_to_set @ A @ B @ M )
          @ ( collect @ ( product_prod @ A @ B )
            @ ^ [Uu2: product_prod @ A @ B] :
              ? [V4: B] :
                ( Uu2
                = ( product_Pair @ A @ B @ K2 @ V4 ) ) ) ) ) ) ).

% map_to_set_upd
thf(fact_5516_rtrancl__finite__eq__relpow,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A )] :
      ( ( finite_finite2 @ ( product_prod @ A @ A ) @ R4 )
     => ( ( transitive_rtrancl @ A @ R4 )
        = ( complete_Sup_Sup @ ( set @ ( product_prod @ A @ A ) )
          @ ( image2 @ nat @ ( set @ ( product_prod @ A @ A ) )
            @ ^ [N3: nat] : ( compow @ ( set @ ( product_prod @ A @ A ) ) @ N3 @ R4 )
            @ ( collect @ nat
              @ ^ [N3: nat] : ( ord_less_eq @ nat @ N3 @ ( finite_card @ ( product_prod @ A @ A ) @ R4 ) ) ) ) ) ) ) ).

% rtrancl_finite_eq_relpow
thf(fact_5517_finite__Collect__bounded__ex,axiom,
    ! [B: $tType,A: $tType,P2: A > $o,Q2: B > A > $o] :
      ( ( finite_finite2 @ A @ ( collect @ A @ P2 ) )
     => ( ( finite_finite2 @ B
          @ ( collect @ B
            @ ^ [X4: B] :
              ? [Y4: A] :
                ( ( P2 @ Y4 )
                & ( Q2 @ X4 @ Y4 ) ) ) )
        = ( ! [Y4: A] :
              ( ( P2 @ Y4 )
             => ( finite_finite2 @ B
                @ ( collect @ B
                  @ ^ [X4: B] : ( Q2 @ X4 @ Y4 ) ) ) ) ) ) ) ).

% finite_Collect_bounded_ex
thf(fact_5518_eq__or__mem__image__simp,axiom,
    ! [B: $tType,A: $tType,F3: B > A,A3: B,B6: set @ B] :
      ( ( collect @ A
        @ ^ [Uu2: A] :
          ? [L2: B] :
            ( ( Uu2
              = ( F3 @ L2 ) )
            & ( ( L2 = A3 )
              | ( member @ B @ L2 @ B6 ) ) ) )
      = ( insert @ A @ ( F3 @ A3 )
        @ ( collect @ A
          @ ^ [Uu2: A] :
            ? [L2: B] :
              ( ( Uu2
                = ( F3 @ L2 ) )
              & ( member @ B @ L2 @ B6 ) ) ) ) ) ).

% eq_or_mem_image_simp
thf(fact_5519_rtrancl__reflcl__absorb,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A )] :
      ( ( sup_sup @ ( set @ ( product_prod @ A @ A ) ) @ ( transitive_rtrancl @ A @ R4 ) @ ( id2 @ A ) )
      = ( transitive_rtrancl @ A @ R4 ) ) ).

% rtrancl_reflcl_absorb
thf(fact_5520_rtrancl__reflcl,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A )] :
      ( ( transitive_rtrancl @ A @ ( sup_sup @ ( set @ ( product_prod @ A @ A ) ) @ R4 @ ( id2 @ A ) ) )
      = ( transitive_rtrancl @ A @ R4 ) ) ).

% rtrancl_reflcl
thf(fact_5521_Eps__Opt__eq__None,axiom,
    ! [A: $tType,P2: A > $o] :
      ( ( ( eps_Opt @ A @ P2 )
        = ( none @ A ) )
      = ( ~ ? [X11: A] : ( P2 @ X11 ) ) ) ).

% Eps_Opt_eq_None
thf(fact_5522_trancl__reflcl,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] :
      ( ( transitive_trancl @ A @ ( sup_sup @ ( set @ ( product_prod @ A @ A ) ) @ R3 @ ( id2 @ A ) ) )
      = ( transitive_rtrancl @ A @ R3 ) ) ).

% trancl_reflcl
thf(fact_5523_pairself__image__eq,axiom,
    ! [B: $tType,A: $tType,F3: B > A,P2: B > B > $o] :
      ( ( image2 @ ( product_prod @ B @ B ) @ ( product_prod @ A @ A ) @ ( pairself @ B @ A @ F3 ) @ ( collect @ ( product_prod @ B @ B ) @ ( product_case_prod @ B @ B @ $o @ P2 ) ) )
      = ( collect @ ( product_prod @ A @ A )
        @ ^ [Uu2: product_prod @ A @ A] :
          ? [A7: B,B5: B] :
            ( ( Uu2
              = ( product_Pair @ A @ A @ ( F3 @ A7 ) @ ( F3 @ B5 ) ) )
            & ( P2 @ A7 @ B5 ) ) ) ) ).

% pairself_image_eq
thf(fact_5524_listrel1__rtrancl__subset__rtrancl__listrel1,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] : ( ord_less_eq @ ( set @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) ) @ ( listrel1 @ A @ ( transitive_rtrancl @ A @ R3 ) ) @ ( transitive_rtrancl @ ( list @ A ) @ ( listrel1 @ A @ R3 ) ) ) ).

% listrel1_rtrancl_subset_rtrancl_listrel1
thf(fact_5525_rtrancl__mono,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),S2: set @ ( product_prod @ A @ A )] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ R3 @ S2 )
     => ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ ( transitive_rtrancl @ A @ R3 ) @ ( transitive_rtrancl @ A @ S2 ) ) ) ).

% rtrancl_mono
thf(fact_5526_rtrancl__subset,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A ),S: set @ ( product_prod @ A @ A )] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ R4 @ S )
     => ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ S @ ( transitive_rtrancl @ A @ R4 ) )
       => ( ( transitive_rtrancl @ A @ S )
          = ( transitive_rtrancl @ A @ R4 ) ) ) ) ).

% rtrancl_subset
thf(fact_5527_rtrancl__subset__rtrancl,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),S2: set @ ( product_prod @ A @ A )] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ R3 @ ( transitive_rtrancl @ A @ S2 ) )
     => ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ ( transitive_rtrancl @ A @ R3 ) @ ( transitive_rtrancl @ A @ S2 ) ) ) ).

% rtrancl_subset_rtrancl
thf(fact_5528_rtrancl__mono__rightI,axiom,
    ! [A: $tType,S: set @ ( product_prod @ A @ A ),S6: set @ ( product_prod @ A @ A )] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ S @ S6 )
     => ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ S @ ( transitive_rtrancl @ A @ S6 ) ) ) ).

% rtrancl_mono_rightI
thf(fact_5529_rtrancl__mono__mp,axiom,
    ! [A: $tType,U3: set @ ( product_prod @ A @ A ),V: set @ ( product_prod @ A @ A ),X: product_prod @ A @ A] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ U3 @ V )
     => ( ( member @ ( product_prod @ A @ A ) @ X @ ( transitive_rtrancl @ A @ U3 ) )
       => ( member @ ( product_prod @ A @ A ) @ X @ ( transitive_rtrancl @ A @ V ) ) ) ) ).

% rtrancl_mono_mp
thf(fact_5530_r__le__rtrancl,axiom,
    ! [A: $tType,S: set @ ( product_prod @ A @ A )] : ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ S @ ( transitive_rtrancl @ A @ S ) ) ).

% r_le_rtrancl
thf(fact_5531_setcompr__eq__image,axiom,
    ! [A: $tType,B: $tType,F3: B > A,P2: B > $o] :
      ( ( collect @ A
        @ ^ [Uu2: A] :
          ? [X4: B] :
            ( ( Uu2
              = ( F3 @ X4 ) )
            & ( P2 @ X4 ) ) )
      = ( image2 @ B @ A @ F3 @ ( collect @ B @ P2 ) ) ) ).

% setcompr_eq_image
thf(fact_5532_Setcompr__eq__image,axiom,
    ! [A: $tType,B: $tType,F3: B > A,A6: set @ B] :
      ( ( collect @ A
        @ ^ [Uu2: A] :
          ? [X4: B] :
            ( ( Uu2
              = ( F3 @ X4 ) )
            & ( member @ B @ X4 @ A6 ) ) )
      = ( image2 @ B @ A @ F3 @ A6 ) ) ).

% Setcompr_eq_image
thf(fact_5533_fs__contract,axiom,
    ! [B: $tType,C: $tType,A: $tType,F3: A > B > C,S: set @ C] :
      ( ( image2 @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B )
        @ ( collect @ ( product_prod @ A @ B )
          @ ^ [Uu2: product_prod @ A @ B] :
            ? [P7: product_prod @ A @ B] :
              ( ( Uu2 = P7 )
              & ( member @ C @ ( F3 @ ( product_fst @ A @ B @ P7 ) @ ( product_snd @ A @ B @ P7 ) ) @ S ) ) ) )
      = ( collect @ A
        @ ^ [A7: A] :
          ? [B5: B] : ( member @ C @ ( F3 @ A7 @ B5 ) @ S ) ) ) ).

% fs_contract
thf(fact_5534_tranclD,axiom,
    ! [A: $tType,X: A,Y: A,R4: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ ( transitive_trancl @ A @ R4 ) )
     => ? [Z3: A] :
          ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Z3 ) @ R4 )
          & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Z3 @ Y ) @ ( transitive_rtrancl @ A @ R4 ) ) ) ) ).

% tranclD
thf(fact_5535_rtranclD,axiom,
    ! [A: $tType,A3: A,B2: A,R4: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ ( transitive_rtrancl @ A @ R4 ) )
     => ( ( A3 = B2 )
        | ( ( A3 != B2 )
          & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ ( transitive_trancl @ A @ R4 ) ) ) ) ) ).

% rtranclD
thf(fact_5536_tranclD2,axiom,
    ! [A: $tType,X: A,Y: A,R4: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ ( transitive_trancl @ A @ R4 ) )
     => ? [Z3: A] :
          ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Z3 ) @ ( transitive_rtrancl @ A @ R4 ) )
          & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Z3 @ Y ) @ R4 ) ) ) ).

% tranclD2
thf(fact_5537_trancl__into__rtrancl,axiom,
    ! [A: $tType,A3: A,B2: A,R3: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ ( transitive_trancl @ A @ R3 ) )
     => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ ( transitive_rtrancl @ A @ R3 ) ) ) ).

% trancl_into_rtrancl
thf(fact_5538_rtrancl__eq__or__trancl,axiom,
    ! [A: $tType,X: A,Y: A,R4: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ ( transitive_rtrancl @ A @ R4 ) )
      = ( ( X = Y )
        | ( ( X != Y )
          & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ ( transitive_trancl @ A @ R4 ) ) ) ) ) ).

% rtrancl_eq_or_trancl
thf(fact_5539_rtrancl__into__trancl1,axiom,
    ! [A: $tType,A3: A,B2: A,R3: set @ ( product_prod @ A @ A ),C3: A] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ ( transitive_rtrancl @ A @ R3 ) )
     => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ B2 @ C3 ) @ R3 )
       => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ C3 ) @ ( transitive_trancl @ A @ R3 ) ) ) ) ).

% rtrancl_into_trancl1
thf(fact_5540_rtrancl__into__trancl2,axiom,
    ! [A: $tType,A3: A,B2: A,R3: set @ ( product_prod @ A @ A ),C3: A] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ R3 )
     => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ B2 @ C3 ) @ ( transitive_rtrancl @ A @ R3 ) )
       => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ C3 ) @ ( transitive_trancl @ A @ R3 ) ) ) ) ).

% rtrancl_into_trancl2
thf(fact_5541_rtrancl__trancl__trancl,axiom,
    ! [A: $tType,X: A,Y: A,R3: set @ ( product_prod @ A @ A ),Z4: A] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ ( transitive_rtrancl @ A @ R3 ) )
     => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y @ Z4 ) @ ( transitive_trancl @ A @ R3 ) )
       => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Z4 ) @ ( transitive_trancl @ A @ R3 ) ) ) ) ).

% rtrancl_trancl_trancl
thf(fact_5542_trancl__rtrancl__trancl,axiom,
    ! [A: $tType,A3: A,B2: A,R3: set @ ( product_prod @ A @ A ),C3: A] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ ( transitive_trancl @ A @ R3 ) )
     => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ B2 @ C3 ) @ ( transitive_rtrancl @ A @ R3 ) )
       => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ C3 ) @ ( transitive_trancl @ A @ R3 ) ) ) ) ).

% trancl_rtrancl_trancl
thf(fact_5543_in__rtrancl__insert,axiom,
    ! [A: $tType,X: product_prod @ A @ A,R4: set @ ( product_prod @ A @ A ),R3: product_prod @ A @ A] :
      ( ( member @ ( product_prod @ A @ A ) @ X @ ( transitive_rtrancl @ A @ R4 ) )
     => ( member @ ( product_prod @ A @ A ) @ X @ ( transitive_rtrancl @ A @ ( insert @ ( product_prod @ A @ A ) @ R3 @ R4 ) ) ) ) ).

% in_rtrancl_insert
thf(fact_5544_rtrancl__listrel1__ConsI2,axiom,
    ! [A: $tType,X: A,Y: A,R3: set @ ( product_prod @ A @ A ),Xs: list @ A,Ys3: list @ A] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ ( transitive_rtrancl @ A @ R3 ) )
     => ( ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xs @ Ys3 ) @ ( transitive_rtrancl @ ( list @ A ) @ ( listrel1 @ A @ R3 ) ) )
       => ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( cons @ A @ X @ Xs ) @ ( cons @ A @ Y @ Ys3 ) ) @ ( transitive_rtrancl @ ( list @ A ) @ ( listrel1 @ A @ R3 ) ) ) ) ) ).

% rtrancl_listrel1_ConsI2
thf(fact_5545_set__Cons__def,axiom,
    ! [A: $tType] :
      ( ( set_Cons @ A )
      = ( ^ [A8: set @ A,XS: set @ ( list @ A )] :
            ( collect @ ( list @ A )
            @ ^ [Z2: list @ A] :
              ? [X4: A,Xs3: list @ A] :
                ( ( Z2
                  = ( cons @ A @ X4 @ Xs3 ) )
                & ( member @ A @ X4 @ A8 )
                & ( member @ ( list @ A ) @ Xs3 @ XS ) ) ) ) ) ).

% set_Cons_def
thf(fact_5546_in__rtrancl__UnI,axiom,
    ! [A: $tType,X: product_prod @ A @ A,R4: set @ ( product_prod @ A @ A ),S: set @ ( product_prod @ A @ A )] :
      ( ( ( member @ ( product_prod @ A @ A ) @ X @ ( transitive_rtrancl @ A @ R4 ) )
        | ( member @ ( product_prod @ A @ A ) @ X @ ( transitive_rtrancl @ A @ S ) ) )
     => ( member @ ( product_prod @ A @ A ) @ X @ ( transitive_rtrancl @ A @ ( sup_sup @ ( set @ ( product_prod @ A @ A ) ) @ R4 @ S ) ) ) ) ).

% in_rtrancl_UnI
thf(fact_5547_rtrancl__Un__rtrancl,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A ),S: set @ ( product_prod @ A @ A )] :
      ( ( transitive_rtrancl @ A @ ( sup_sup @ ( set @ ( product_prod @ A @ A ) ) @ ( transitive_rtrancl @ A @ R4 ) @ ( transitive_rtrancl @ A @ S ) ) )
      = ( transitive_rtrancl @ A @ ( sup_sup @ ( set @ ( product_prod @ A @ A ) ) @ R4 @ S ) ) ) ).

% rtrancl_Un_rtrancl
thf(fact_5548_converse__rtranclE_H,axiom,
    ! [A: $tType,U: A,V2: A,R4: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ U @ V2 ) @ ( transitive_rtrancl @ A @ R4 ) )
     => ( ( U != V2 )
       => ~ ! [Vh: A] :
              ( ( U != Vh )
             => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ U @ Vh ) @ R4 )
               => ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Vh @ V2 ) @ ( transitive_rtrancl @ A @ R4 ) ) ) ) ) ) ).

% converse_rtranclE'
thf(fact_5549_converse__rtrancl__into__rtrancl,axiom,
    ! [A: $tType,A3: A,B2: A,R3: set @ ( product_prod @ A @ A ),C3: A] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ R3 )
     => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ B2 @ C3 ) @ ( transitive_rtrancl @ A @ R3 ) )
       => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ C3 ) @ ( transitive_rtrancl @ A @ R3 ) ) ) ) ).

% converse_rtrancl_into_rtrancl
thf(fact_5550_converse__rtrancl__induct,axiom,
    ! [A: $tType,A3: A,B2: A,R3: set @ ( product_prod @ A @ A ),P2: A > $o] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ ( transitive_rtrancl @ A @ R3 ) )
     => ( ( P2 @ B2 )
       => ( ! [Y3: A,Z3: A] :
              ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y3 @ Z3 ) @ R3 )
             => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Z3 @ B2 ) @ ( transitive_rtrancl @ A @ R3 ) )
               => ( ( P2 @ Z3 )
                 => ( P2 @ Y3 ) ) ) )
         => ( P2 @ A3 ) ) ) ) ).

% converse_rtrancl_induct
thf(fact_5551_converse__rtranclE,axiom,
    ! [A: $tType,X: A,Z4: A,R3: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Z4 ) @ ( transitive_rtrancl @ A @ R3 ) )
     => ( ( X != Z4 )
       => ~ ! [Y3: A] :
              ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y3 ) @ R3 )
             => ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y3 @ Z4 ) @ ( transitive_rtrancl @ A @ R3 ) ) ) ) ) ).

% converse_rtranclE
thf(fact_5552_rtrancl__induct,axiom,
    ! [A: $tType,A3: A,B2: A,R3: set @ ( product_prod @ A @ A ),P2: A > $o] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ ( transitive_rtrancl @ A @ R3 ) )
     => ( ( P2 @ A3 )
       => ( ! [Y3: A,Z3: A] :
              ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ Y3 ) @ ( transitive_rtrancl @ A @ R3 ) )
             => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y3 @ Z3 ) @ R3 )
               => ( ( P2 @ Y3 )
                 => ( P2 @ Z3 ) ) ) )
         => ( P2 @ B2 ) ) ) ) ).

% rtrancl_induct
thf(fact_5553_rtrancl__trans,axiom,
    ! [A: $tType,X: A,Y: A,R3: set @ ( product_prod @ A @ A ),Z4: A] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ ( transitive_rtrancl @ A @ R3 ) )
     => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y @ Z4 ) @ ( transitive_rtrancl @ A @ R3 ) )
       => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Z4 ) @ ( transitive_rtrancl @ A @ R3 ) ) ) ) ).

% rtrancl_trans
thf(fact_5554_rtranclE,axiom,
    ! [A: $tType,A3: A,B2: A,R3: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ ( transitive_rtrancl @ A @ R3 ) )
     => ( ( A3 != B2 )
       => ~ ! [Y3: A] :
              ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ Y3 ) @ ( transitive_rtrancl @ A @ R3 ) )
             => ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y3 @ B2 ) @ R3 ) ) ) ) ).

% rtranclE
thf(fact_5555_rtrancl_Ortrancl__into__rtrancl,axiom,
    ! [A: $tType,A3: A,B2: A,R3: set @ ( product_prod @ A @ A ),C3: A] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ ( transitive_rtrancl @ A @ R3 ) )
     => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ B2 @ C3 ) @ R3 )
       => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ C3 ) @ ( transitive_rtrancl @ A @ R3 ) ) ) ) ).

% rtrancl.rtrancl_into_rtrancl
thf(fact_5556_rtrancl_Ortrancl__refl,axiom,
    ! [A: $tType,A3: A,R3: set @ ( product_prod @ A @ A )] : ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ A3 ) @ ( transitive_rtrancl @ A @ R3 ) ) ).

% rtrancl.rtrancl_refl
thf(fact_5557_rtrancl_Osimps,axiom,
    ! [A: $tType,A1: A,A22: A,R3: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A1 @ A22 ) @ ( transitive_rtrancl @ A @ R3 ) )
      = ( ? [A7: A] :
            ( ( A1 = A7 )
            & ( A22 = A7 ) )
        | ? [A7: A,B5: A,C4: A] :
            ( ( A1 = A7 )
            & ( A22 = C4 )
            & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A7 @ B5 ) @ ( transitive_rtrancl @ A @ R3 ) )
            & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ B5 @ C4 ) @ R3 ) ) ) ) ).

% rtrancl.simps
thf(fact_5558_rtrancl_Ocases,axiom,
    ! [A: $tType,A1: A,A22: A,R3: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A1 @ A22 ) @ ( transitive_rtrancl @ A @ R3 ) )
     => ( ( A22 != A1 )
       => ~ ! [B4: A] :
              ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A1 @ B4 ) @ ( transitive_rtrancl @ A @ R3 ) )
             => ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ B4 @ A22 ) @ R3 ) ) ) ) ).

% rtrancl.cases
thf(fact_5559_finite__image__set2,axiom,
    ! [A: $tType,B: $tType,C: $tType,P2: A > $o,Q2: B > $o,F3: A > B > C] :
      ( ( finite_finite2 @ A @ ( collect @ A @ P2 ) )
     => ( ( finite_finite2 @ B @ ( collect @ B @ Q2 ) )
       => ( finite_finite2 @ C
          @ ( collect @ C
            @ ^ [Uu2: C] :
              ? [X4: A,Y4: B] :
                ( ( Uu2
                  = ( F3 @ X4 @ Y4 ) )
                & ( P2 @ X4 )
                & ( Q2 @ Y4 ) ) ) ) ) ) ).

% finite_image_set2
thf(fact_5560_finite__image__set,axiom,
    ! [A: $tType,B: $tType,P2: A > $o,F3: A > B] :
      ( ( finite_finite2 @ A @ ( collect @ A @ P2 ) )
     => ( finite_finite2 @ B
        @ ( collect @ B
          @ ^ [Uu2: B] :
            ? [X4: A] :
              ( ( Uu2
                = ( F3 @ X4 ) )
              & ( P2 @ X4 ) ) ) ) ) ).

% finite_image_set
thf(fact_5561_Union__SetCompr__eq,axiom,
    ! [B: $tType,A: $tType,F3: B > ( set @ A ),P2: B > $o] :
      ( ( complete_Sup_Sup @ ( set @ A )
        @ ( collect @ ( set @ A )
          @ ^ [Uu2: set @ A] :
            ? [X4: B] :
              ( ( Uu2
                = ( F3 @ X4 ) )
              & ( P2 @ X4 ) ) ) )
      = ( collect @ A
        @ ^ [A7: A] :
          ? [X4: B] :
            ( ( P2 @ X4 )
            & ( member @ A @ A7 @ ( F3 @ X4 ) ) ) ) ) ).

% Union_SetCompr_eq
thf(fact_5562_rtrancl__Un__separatorE,axiom,
    ! [A: $tType,A3: A,B2: A,P2: set @ ( product_prod @ A @ A ),Q2: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ ( transitive_rtrancl @ A @ ( sup_sup @ ( set @ ( product_prod @ A @ A ) ) @ P2 @ Q2 ) ) )
     => ( ! [X3: A,Y3: A] :
            ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ X3 ) @ ( transitive_rtrancl @ A @ P2 ) )
           => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X3 @ Y3 ) @ Q2 )
             => ( X3 = Y3 ) ) )
       => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ ( transitive_rtrancl @ A @ P2 ) ) ) ) ).

% rtrancl_Un_separatorE
thf(fact_5563_rtrancl__Un__separator__converseE,axiom,
    ! [A: $tType,A3: A,B2: A,P2: set @ ( product_prod @ A @ A ),Q2: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ ( transitive_rtrancl @ A @ ( sup_sup @ ( set @ ( product_prod @ A @ A ) ) @ P2 @ Q2 ) ) )
     => ( ! [X3: A,Y3: A] :
            ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X3 @ B2 ) @ ( transitive_rtrancl @ A @ P2 ) )
           => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y3 @ X3 ) @ Q2 )
             => ( Y3 = X3 ) ) )
       => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ ( transitive_rtrancl @ A @ P2 ) ) ) ) ).

% rtrancl_Un_separator_converseE
thf(fact_5564_converse__rtrancl__induct2,axiom,
    ! [A: $tType,B: $tType,Ax: A,Ay: B,Bx: A,By: B,R3: set @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) ),P2: A > B > $o] :
      ( ( member @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) ) @ ( product_Pair @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ Ax @ Ay ) @ ( product_Pair @ A @ B @ Bx @ By ) ) @ ( transitive_rtrancl @ ( product_prod @ A @ B ) @ R3 ) )
     => ( ( P2 @ Bx @ By )
       => ( ! [A5: A,B4: B,Aa3: A,Ba: B] :
              ( ( member @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) ) @ ( product_Pair @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ A5 @ B4 ) @ ( product_Pair @ A @ B @ Aa3 @ Ba ) ) @ R3 )
             => ( ( member @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) ) @ ( product_Pair @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ Aa3 @ Ba ) @ ( product_Pair @ A @ B @ Bx @ By ) ) @ ( transitive_rtrancl @ ( product_prod @ A @ B ) @ R3 ) )
               => ( ( P2 @ Aa3 @ Ba )
                 => ( P2 @ A5 @ B4 ) ) ) )
         => ( P2 @ Ax @ Ay ) ) ) ) ).

% converse_rtrancl_induct2
thf(fact_5565_converse__rtranclE2,axiom,
    ! [B: $tType,A: $tType,Xa: A,Xb: B,Za: A,Zb: B,R3: set @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) )] :
      ( ( member @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) ) @ ( product_Pair @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ Xa @ Xb ) @ ( product_Pair @ A @ B @ Za @ Zb ) ) @ ( transitive_rtrancl @ ( product_prod @ A @ B ) @ R3 ) )
     => ( ( ( product_Pair @ A @ B @ Xa @ Xb )
         != ( product_Pair @ A @ B @ Za @ Zb ) )
       => ~ ! [A5: A,B4: B] :
              ( ( member @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) ) @ ( product_Pair @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ Xa @ Xb ) @ ( product_Pair @ A @ B @ A5 @ B4 ) ) @ R3 )
             => ~ ( member @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) ) @ ( product_Pair @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ A5 @ B4 ) @ ( product_Pair @ A @ B @ Za @ Zb ) ) @ ( transitive_rtrancl @ ( product_prod @ A @ B ) @ R3 ) ) ) ) ) ).

% converse_rtranclE2
thf(fact_5566_rtrancl__induct2,axiom,
    ! [A: $tType,B: $tType,Ax: A,Ay: B,Bx: A,By: B,R3: set @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) ),P2: A > B > $o] :
      ( ( member @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) ) @ ( product_Pair @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ Ax @ Ay ) @ ( product_Pair @ A @ B @ Bx @ By ) ) @ ( transitive_rtrancl @ ( product_prod @ A @ B ) @ R3 ) )
     => ( ( P2 @ Ax @ Ay )
       => ( ! [A5: A,B4: B,Aa3: A,Ba: B] :
              ( ( member @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) ) @ ( product_Pair @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ Ax @ Ay ) @ ( product_Pair @ A @ B @ A5 @ B4 ) ) @ ( transitive_rtrancl @ ( product_prod @ A @ B ) @ R3 ) )
             => ( ( member @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) ) @ ( product_Pair @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ A5 @ B4 ) @ ( product_Pair @ A @ B @ Aa3 @ Ba ) ) @ R3 )
               => ( ( P2 @ A5 @ B4 )
                 => ( P2 @ Aa3 @ Ba ) ) ) )
         => ( P2 @ Bx @ By ) ) ) ) ).

% rtrancl_induct2
thf(fact_5567_rtrancl__Un__subset,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A ),S: set @ ( product_prod @ A @ A )] : ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ ( sup_sup @ ( set @ ( product_prod @ A @ A ) ) @ ( transitive_rtrancl @ A @ R4 ) @ ( transitive_rtrancl @ A @ S ) ) @ ( transitive_rtrancl @ A @ ( sup_sup @ ( set @ ( product_prod @ A @ A ) ) @ R4 @ S ) ) ) ).

% rtrancl_Un_subset
thf(fact_5568_rtrancl__sub__insert__rtrancl,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A ),X: product_prod @ A @ A] : ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ ( transitive_rtrancl @ A @ R4 ) @ ( transitive_rtrancl @ A @ ( insert @ ( product_prod @ A @ A ) @ X @ R4 ) ) ) ).

% rtrancl_sub_insert_rtrancl
thf(fact_5569_full__SetCompr__eq,axiom,
    ! [A: $tType,B: $tType,F3: B > A] :
      ( ( collect @ A
        @ ^ [U2: A] :
          ? [X4: B] :
            ( U2
            = ( F3 @ X4 ) ) )
      = ( image2 @ B @ A @ F3 @ ( top_top @ ( set @ B ) ) ) ) ).

% full_SetCompr_eq
thf(fact_5570_finite__inf__Sup,axiom,
    ! [A: $tType] :
      ( ( finite8700451911770168679attice @ A )
     => ! [A3: A,A6: set @ A] :
          ( ( inf_inf @ A @ A3 @ ( complete_Sup_Sup @ A @ A6 ) )
          = ( complete_Sup_Sup @ A
            @ ( collect @ A
              @ ^ [Uu2: A] :
                ? [B5: A] :
                  ( ( Uu2
                    = ( inf_inf @ A @ A3 @ B5 ) )
                  & ( member @ A @ B5 @ A6 ) ) ) ) ) ) ).

% finite_inf_Sup
thf(fact_5571_Id__def,axiom,
    ! [A: $tType] :
      ( ( id2 @ A )
      = ( collect @ ( product_prod @ A @ A )
        @ ^ [P7: product_prod @ A @ A] :
          ? [X4: A] :
            ( P7
            = ( product_Pair @ A @ A @ X4 @ X4 ) ) ) ) ).

% Id_def
thf(fact_5572_ran__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ran @ A @ B )
      = ( ^ [M3: A > ( option @ B )] :
            ( collect @ B
            @ ^ [B5: B] :
              ? [A7: A] :
                ( ( M3 @ A7 )
                = ( some @ B @ B5 ) ) ) ) ) ).

% ran_def
thf(fact_5573_Pow__Compl,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ( pow @ A @ ( uminus_uminus @ ( set @ A ) @ A6 ) )
      = ( collect @ ( set @ A )
        @ ^ [Uu2: set @ A] :
          ? [B7: set @ A] :
            ( ( Uu2
              = ( uminus_uminus @ ( set @ A ) @ B7 ) )
            & ( member @ ( set @ A ) @ A6 @ ( pow @ A @ B7 ) ) ) ) ) ).

% Pow_Compl
thf(fact_5574_listrel1__def,axiom,
    ! [A: $tType] :
      ( ( listrel1 @ A )
      = ( ^ [R5: set @ ( product_prod @ A @ A )] :
            ( collect @ ( product_prod @ ( list @ A ) @ ( list @ A ) )
            @ ( product_case_prod @ ( list @ A ) @ ( list @ A ) @ $o
              @ ^ [Xs3: list @ A,Ys2: list @ A] :
                ? [Us3: list @ A,Z2: A,Z9: A,Vs3: list @ A] :
                  ( ( Xs3
                    = ( append @ A @ Us3 @ ( cons @ A @ Z2 @ Vs3 ) ) )
                  & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Z2 @ Z9 ) @ R5 )
                  & ( Ys2
                    = ( append @ A @ Us3 @ ( cons @ A @ Z9 @ Vs3 ) ) ) ) ) ) ) ) ).

% listrel1_def
thf(fact_5575_relImage__def,axiom,
    ! [A: $tType,B: $tType] :
      ( ( bNF_Gr4221423524335903396lImage @ B @ A )
      = ( ^ [R2: set @ ( product_prod @ B @ B ),F4: B > A] :
            ( collect @ ( product_prod @ A @ A )
            @ ^ [Uu2: product_prod @ A @ A] :
              ? [A12: B,A23: B] :
                ( ( Uu2
                  = ( product_Pair @ A @ A @ ( F4 @ A12 ) @ ( F4 @ A23 ) ) )
                & ( member @ ( product_prod @ B @ B ) @ ( product_Pair @ B @ B @ A12 @ A23 ) @ R2 ) ) ) ) ) ).

% relImage_def
thf(fact_5576_relInvImage__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( bNF_Gr7122648621184425601vImage @ A @ B )
      = ( ^ [A8: set @ A,R2: set @ ( product_prod @ B @ B ),F4: A > B] :
            ( collect @ ( product_prod @ A @ A )
            @ ^ [Uu2: product_prod @ A @ A] :
              ? [A12: A,A23: A] :
                ( ( Uu2
                  = ( product_Pair @ A @ A @ A12 @ A23 ) )
                & ( member @ A @ A12 @ A8 )
                & ( member @ A @ A23 @ A8 )
                & ( member @ ( product_prod @ B @ B ) @ ( product_Pair @ B @ B @ ( F4 @ A12 ) @ ( F4 @ A23 ) ) @ R2 ) ) ) ) ) ).

% relInvImage_def
thf(fact_5577_trancl__union__outside,axiom,
    ! [A: $tType,V2: A,W2: A,E6: set @ ( product_prod @ A @ A ),U3: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ V2 @ W2 ) @ ( transitive_trancl @ A @ ( sup_sup @ ( set @ ( product_prod @ A @ A ) ) @ E6 @ U3 ) ) )
     => ( ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ V2 @ W2 ) @ ( transitive_trancl @ A @ E6 ) )
       => ? [X3: A,Y3: A] :
            ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ V2 @ X3 ) @ ( transitive_rtrancl @ A @ ( sup_sup @ ( set @ ( product_prod @ A @ A ) ) @ E6 @ U3 ) ) )
            & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X3 @ Y3 ) @ U3 )
            & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y3 @ W2 ) @ ( transitive_rtrancl @ A @ ( sup_sup @ ( set @ ( product_prod @ A @ A ) ) @ E6 @ U3 ) ) ) ) ) ) ).

% trancl_union_outside
thf(fact_5578_trancl__over__edgeE,axiom,
    ! [A: $tType,U: A,W2: A,V1: A,V22: A,E6: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ U @ W2 ) @ ( transitive_trancl @ A @ ( insert @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ V1 @ V22 ) @ E6 ) ) )
     => ( ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ U @ W2 ) @ ( transitive_trancl @ A @ E6 ) )
       => ~ ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ U @ V1 ) @ ( transitive_rtrancl @ A @ E6 ) )
           => ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ V22 @ W2 ) @ ( transitive_rtrancl @ A @ E6 ) ) ) ) ) ).

% trancl_over_edgeE
thf(fact_5579_Un__interval,axiom,
    ! [A: $tType,B: $tType] :
      ( ( linorder @ A )
     => ! [B1: A,B22: A,B32: A,F3: A > B] :
          ( ( ord_less_eq @ A @ B1 @ B22 )
         => ( ( ord_less_eq @ A @ B22 @ B32 )
           => ( ( sup_sup @ ( set @ B )
                @ ( collect @ B
                  @ ^ [Uu2: B] :
                    ? [I: A] :
                      ( ( Uu2
                        = ( F3 @ I ) )
                      & ( ord_less_eq @ A @ B1 @ I )
                      & ( ord_less @ A @ I @ B22 ) ) )
                @ ( collect @ B
                  @ ^ [Uu2: B] :
                    ? [I: A] :
                      ( ( Uu2
                        = ( F3 @ I ) )
                      & ( ord_less_eq @ A @ B22 @ I )
                      & ( ord_less @ A @ I @ B32 ) ) ) )
              = ( collect @ B
                @ ^ [Uu2: B] :
                  ? [I: A] :
                    ( ( Uu2
                      = ( F3 @ I ) )
                    & ( ord_less_eq @ A @ B1 @ I )
                    & ( ord_less @ A @ I @ B32 ) ) ) ) ) ) ) ).

% Un_interval
thf(fact_5580_lex__conv,axiom,
    ! [A: $tType] :
      ( ( lex @ A )
      = ( ^ [R5: set @ ( product_prod @ A @ A )] :
            ( collect @ ( product_prod @ ( list @ A ) @ ( list @ A ) )
            @ ( product_case_prod @ ( list @ A ) @ ( list @ A ) @ $o
              @ ^ [Xs3: list @ A,Ys2: list @ A] :
                  ( ( ( size_size @ ( list @ A ) @ Xs3 )
                    = ( size_size @ ( list @ A ) @ Ys2 ) )
                  & ? [Xys2: list @ A,X4: A,Y4: A,Xs6: list @ A,Ys6: list @ A] :
                      ( ( Xs3
                        = ( append @ A @ Xys2 @ ( cons @ A @ X4 @ Xs6 ) ) )
                      & ( Ys2
                        = ( append @ A @ Xys2 @ ( cons @ A @ Y4 @ Ys6 ) ) )
                      & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X4 @ Y4 ) @ R5 ) ) ) ) ) ) ) ).

% lex_conv
thf(fact_5581_rtrancl__trancl__reflcl,axiom,
    ! [A: $tType] :
      ( ( transitive_rtrancl @ A )
      = ( ^ [R5: set @ ( product_prod @ A @ A )] : ( sup_sup @ ( set @ ( product_prod @ A @ A ) ) @ ( transitive_trancl @ A @ R5 ) @ ( id2 @ A ) ) ) ) ).

% rtrancl_trancl_reflcl
thf(fact_5582_rtrancl__unfold,axiom,
    ! [A: $tType] :
      ( ( transitive_rtrancl @ A )
      = ( ^ [R5: set @ ( product_prod @ A @ A )] : ( sup_sup @ ( set @ ( product_prod @ A @ A ) ) @ ( id2 @ A ) @ ( relcomp @ A @ A @ A @ ( transitive_rtrancl @ A @ R5 ) @ R5 ) ) ) ) ).

% rtrancl_unfold
thf(fact_5583_Collect__ex__eq,axiom,
    ! [A: $tType,B: $tType,P2: A > B > $o] :
      ( ( collect @ A
        @ ^ [X4: A] :
          ? [X11: B] : ( P2 @ X4 @ X11 ) )
      = ( complete_Sup_Sup @ ( set @ A )
        @ ( image2 @ B @ ( set @ A )
          @ ^ [Y4: B] :
              ( collect @ A
              @ ^ [X4: A] : ( P2 @ X4 @ Y4 ) )
          @ ( top_top @ ( set @ B ) ) ) ) ) ).

% Collect_ex_eq
thf(fact_5584_trancl__subset__Sigma__aux,axiom,
    ! [A: $tType,A3: A,B2: A,R3: set @ ( product_prod @ A @ A ),A6: set @ A] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ ( transitive_rtrancl @ A @ R3 ) )
     => ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ R3
          @ ( product_Sigma @ A @ A @ A6
            @ ^ [Uu2: A] : A6 ) )
       => ( ( A3 = B2 )
          | ( member @ A @ A3 @ A6 ) ) ) ) ).

% trancl_subset_Sigma_aux
thf(fact_5585_relcomp__unfold,axiom,
    ! [B: $tType,C: $tType,A: $tType] :
      ( ( relcomp @ A @ C @ B )
      = ( ^ [R5: set @ ( product_prod @ A @ C ),S5: set @ ( product_prod @ C @ B )] :
            ( collect @ ( product_prod @ A @ B )
            @ ( product_case_prod @ A @ B @ $o
              @ ^ [X4: A,Z2: B] :
                ? [Y4: C] :
                  ( ( member @ ( product_prod @ A @ C ) @ ( product_Pair @ A @ C @ X4 @ Y4 ) @ R5 )
                  & ( member @ ( product_prod @ C @ B ) @ ( product_Pair @ C @ B @ Y4 @ Z2 ) @ S5 ) ) ) ) ) ) ).

% relcomp_unfold
thf(fact_5586_Restr__rtrancl__mono,axiom,
    ! [A: $tType,V2: A,W2: A,E6: set @ ( product_prod @ A @ A ),U3: set @ A] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ V2 @ W2 )
        @ ( transitive_rtrancl @ A
          @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ E6
            @ ( product_Sigma @ A @ A @ U3
              @ ^ [Uu2: A] : U3 ) ) ) )
     => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ V2 @ W2 ) @ ( transitive_rtrancl @ A @ E6 ) ) ) ).

% Restr_rtrancl_mono
thf(fact_5587_graph__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( graph @ A @ B )
      = ( ^ [M3: A > ( option @ B )] :
            ( collect @ ( product_prod @ A @ B )
            @ ^ [Uu2: product_prod @ A @ B] :
              ? [A7: A,B5: B] :
                ( ( Uu2
                  = ( product_Pair @ A @ B @ A7 @ B5 ) )
                & ( ( M3 @ A7 )
                  = ( some @ B @ B5 ) ) ) ) ) ) ).

% graph_def
thf(fact_5588_pred__nat__trancl__eq__le,axiom,
    ! [M: nat,N: nat] :
      ( ( member @ ( product_prod @ nat @ nat ) @ ( product_Pair @ nat @ nat @ M @ N ) @ ( transitive_rtrancl @ nat @ pred_nat ) )
      = ( ord_less_eq @ nat @ M @ N ) ) ).

% pred_nat_trancl_eq_le
thf(fact_5589_rtrancl__mapI,axiom,
    ! [B: $tType,A: $tType,A3: A,B2: A,E6: set @ ( product_prod @ A @ A ),F3: A > B] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ ( transitive_rtrancl @ A @ E6 ) )
     => ( member @ ( product_prod @ B @ B ) @ ( product_Pair @ B @ B @ ( F3 @ A3 ) @ ( F3 @ B2 ) ) @ ( transitive_rtrancl @ B @ ( image2 @ ( product_prod @ A @ A ) @ ( product_prod @ B @ B ) @ ( pairself @ A @ B @ F3 ) @ E6 ) ) ) ) ).

% rtrancl_mapI
thf(fact_5590_set__map__filter,axiom,
    ! [B: $tType,A: $tType,G3: B > ( option @ A ),Xs: list @ B] :
      ( ( set2 @ A @ ( map_filter @ B @ A @ G3 @ Xs ) )
      = ( collect @ A
        @ ^ [Y4: A] :
          ? [X4: B] :
            ( ( member @ B @ X4 @ ( set2 @ B @ Xs ) )
            & ( ( G3 @ X4 )
              = ( some @ A @ Y4 ) ) ) ) ) ).

% set_map_filter
thf(fact_5591_ex__assn__def,axiom,
    ! [A: $tType] :
      ( ( ex_assn @ A )
      = ( ^ [P5: A > assn] :
            ( abs_assn
            @ ^ [H7: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
              ? [X4: A] : ( rep_assn @ ( P5 @ X4 ) @ H7 ) ) ) ) ).

% ex_assn_def
thf(fact_5592_set__conv__nth,axiom,
    ! [A: $tType] :
      ( ( set2 @ A )
      = ( ^ [Xs3: list @ A] :
            ( collect @ A
            @ ^ [Uu2: A] :
              ? [I: nat] :
                ( ( Uu2
                  = ( nth @ A @ Xs3 @ I ) )
                & ( ord_less @ nat @ I @ ( size_size @ ( list @ A ) @ Xs3 ) ) ) ) ) ) ).

% set_conv_nth
thf(fact_5593_rtrancl__Int__subset,axiom,
    ! [A: $tType,S2: set @ ( product_prod @ A @ A ),R3: set @ ( product_prod @ A @ A )] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ ( id2 @ A ) @ S2 )
     => ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ ( relcomp @ A @ A @ A @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ ( transitive_rtrancl @ A @ R3 ) @ S2 ) @ R3 ) @ S2 )
       => ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ ( transitive_rtrancl @ A @ R3 ) @ S2 ) ) ) ).

% rtrancl_Int_subset
thf(fact_5594_rtrancl__last__touch,axiom,
    ! [A: $tType,Q6: A,Q7: A,R4: set @ ( product_prod @ A @ A ),S: set @ A] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Q6 @ Q7 ) @ ( transitive_rtrancl @ A @ R4 ) )
     => ( ( member @ A @ Q6 @ S )
       => ~ ! [Qt: A] :
              ( ( member @ A @ Qt @ S )
             => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Q6 @ Qt ) @ ( transitive_rtrancl @ A @ R4 ) )
               => ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Qt @ Q7 )
                    @ ( transitive_rtrancl @ A
                      @ ( minus_minus @ ( set @ ( product_prod @ A @ A ) ) @ R4
                        @ ( product_Sigma @ A @ A @ ( top_top @ ( set @ A ) )
                          @ ^ [Uu2: A] : S ) ) ) ) ) ) ) ) ).

% rtrancl_last_touch
thf(fact_5595_rtrancl__last__visit_H,axiom,
    ! [A: $tType,Q6: A,Q7: A,R4: set @ ( product_prod @ A @ A ),S: set @ A] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Q6 @ Q7 ) @ ( transitive_rtrancl @ A @ R4 ) )
     => ( ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Q6 @ Q7 )
            @ ( transitive_rtrancl @ A
              @ ( minus_minus @ ( set @ ( product_prod @ A @ A ) ) @ R4
                @ ( product_Sigma @ A @ A @ ( top_top @ ( set @ A ) )
                  @ ^ [Uu2: A] : S ) ) ) )
       => ~ ! [Qt: A] :
              ( ( member @ A @ Qt @ S )
             => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Q6 @ Qt ) @ ( transitive_rtrancl @ A @ R4 ) )
               => ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Qt @ Q7 )
                    @ ( transitive_rtrancl @ A
                      @ ( minus_minus @ ( set @ ( product_prod @ A @ A ) ) @ R4
                        @ ( product_Sigma @ A @ A @ ( top_top @ ( set @ A ) )
                          @ ^ [Uu2: A] : S ) ) ) ) ) ) ) ) ).

% rtrancl_last_visit'
thf(fact_5596_rtrancl__insert,axiom,
    ! [A: $tType,A3: A,B2: A,R3: set @ ( product_prod @ A @ A )] :
      ( ( transitive_rtrancl @ A @ ( insert @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ R3 ) )
      = ( sup_sup @ ( set @ ( product_prod @ A @ A ) ) @ ( transitive_rtrancl @ A @ R3 )
        @ ( collect @ ( product_prod @ A @ A )
          @ ( product_case_prod @ A @ A @ $o
            @ ^ [X4: A,Y4: A] :
                ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X4 @ A3 ) @ ( transitive_rtrancl @ A @ R3 ) )
                & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ B2 @ Y4 ) @ ( transitive_rtrancl @ A @ R3 ) ) ) ) ) ) ) ).

% rtrancl_insert
thf(fact_5597_rtrancl__imp__UN__relpow,axiom,
    ! [A: $tType,P3: product_prod @ A @ A,R4: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ A @ A ) @ P3 @ ( transitive_rtrancl @ A @ R4 ) )
     => ( member @ ( product_prod @ A @ A ) @ P3
        @ ( complete_Sup_Sup @ ( set @ ( product_prod @ A @ A ) )
          @ ( image2 @ nat @ ( set @ ( product_prod @ A @ A ) )
            @ ^ [N3: nat] : ( compow @ ( set @ ( product_prod @ A @ A ) ) @ N3 @ R4 )
            @ ( top_top @ ( set @ nat ) ) ) ) ) ) ).

% rtrancl_imp_UN_relpow
thf(fact_5598_rtrancl__is__UN__relpow,axiom,
    ! [A: $tType] :
      ( ( transitive_rtrancl @ A )
      = ( ^ [R2: set @ ( product_prod @ A @ A )] :
            ( complete_Sup_Sup @ ( set @ ( product_prod @ A @ A ) )
            @ ( image2 @ nat @ ( set @ ( product_prod @ A @ A ) )
              @ ^ [N3: nat] : ( compow @ ( set @ ( product_prod @ A @ A ) ) @ N3 @ R2 )
              @ ( top_top @ ( set @ nat ) ) ) ) ) ) ).

% rtrancl_is_UN_relpow
thf(fact_5599_set__nths,axiom,
    ! [A: $tType,Xs: list @ A,I5: set @ nat] :
      ( ( set2 @ A @ ( nths @ A @ Xs @ I5 ) )
      = ( collect @ A
        @ ^ [Uu2: A] :
          ? [I: nat] :
            ( ( Uu2
              = ( nth @ A @ Xs @ I ) )
            & ( ord_less @ nat @ I @ ( size_size @ ( list @ A ) @ Xs ) )
            & ( member @ nat @ I @ I5 ) ) ) ) ).

% set_nths
thf(fact_5600_rtrancl__last__visit,axiom,
    ! [A: $tType,Q6: A,Q7: A,R4: set @ ( product_prod @ A @ A ),S: set @ A] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Q6 @ Q7 ) @ ( transitive_rtrancl @ A @ R4 ) )
     => ( ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Q6 @ Q7 )
            @ ( transitive_rtrancl @ A
              @ ( minus_minus @ ( set @ ( product_prod @ A @ A ) ) @ R4
                @ ( product_Sigma @ A @ A @ ( top_top @ ( set @ A ) )
                  @ ^ [Uu2: A] : S ) ) ) )
       => ~ ! [Qt: A] :
              ( ( member @ A @ Qt @ S )
             => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Q6 @ Qt ) @ ( transitive_trancl @ A @ R4 ) )
               => ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Qt @ Q7 )
                    @ ( transitive_rtrancl @ A
                      @ ( minus_minus @ ( set @ ( product_prod @ A @ A ) ) @ R4
                        @ ( product_Sigma @ A @ A @ ( top_top @ ( set @ A ) )
                          @ ^ [Uu2: A] : S ) ) ) ) ) ) ) ) ).

% rtrancl_last_visit
thf(fact_5601_trancl__insert,axiom,
    ! [A: $tType,Y: A,X: A,R3: set @ ( product_prod @ A @ A )] :
      ( ( transitive_trancl @ A @ ( insert @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y @ X ) @ R3 ) )
      = ( sup_sup @ ( set @ ( product_prod @ A @ A ) ) @ ( transitive_trancl @ A @ R3 )
        @ ( collect @ ( product_prod @ A @ A )
          @ ( product_case_prod @ A @ A @ $o
            @ ^ [A7: A,B5: A] :
                ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A7 @ Y ) @ ( transitive_rtrancl @ A @ R3 ) )
                & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ B5 ) @ ( transitive_rtrancl @ A @ R3 ) ) ) ) ) ) ) ).

% trancl_insert
thf(fact_5602_set__drop__conv,axiom,
    ! [A: $tType,N: nat,L: list @ A] :
      ( ( set2 @ A @ ( drop @ A @ N @ L ) )
      = ( collect @ A
        @ ^ [Uu2: A] :
          ? [I: nat] :
            ( ( Uu2
              = ( nth @ A @ L @ I ) )
            & ( ord_less_eq @ nat @ N @ I )
            & ( ord_less @ nat @ I @ ( size_size @ ( list @ A ) @ L ) ) ) ) ) ).

% set_drop_conv
thf(fact_5603_trancl__multi__insert2,axiom,
    ! [A: $tType,A3: A,B2: A,R3: set @ ( product_prod @ A @ A ),M: A,X7: set @ A] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 )
        @ ( transitive_trancl @ A
          @ ( sup_sup @ ( set @ ( product_prod @ A @ A ) ) @ R3
            @ ( product_Sigma @ A @ A @ ( insert @ A @ M @ ( bot_bot @ ( set @ A ) ) )
              @ ^ [Uu2: A] : X7 ) ) ) )
     => ( ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ ( transitive_trancl @ A @ R3 ) )
       => ~ ! [X3: A] :
              ( ( member @ A @ X3 @ X7 )
             => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ M ) @ ( transitive_rtrancl @ A @ R3 ) )
               => ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X3 @ B2 ) @ ( transitive_rtrancl @ A @ R3 ) ) ) ) ) ) ).

% trancl_multi_insert2
thf(fact_5604_trancl__multi__insert,axiom,
    ! [A: $tType,A3: A,B2: A,R3: set @ ( product_prod @ A @ A ),X7: set @ A,M: A] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 )
        @ ( transitive_trancl @ A
          @ ( sup_sup @ ( set @ ( product_prod @ A @ A ) ) @ R3
            @ ( product_Sigma @ A @ A @ X7
              @ ^ [Uu2: A] : ( insert @ A @ M @ ( bot_bot @ ( set @ A ) ) ) ) ) ) )
     => ( ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ ( transitive_trancl @ A @ R3 ) )
       => ~ ! [X3: A] :
              ( ( member @ A @ X3 @ X7 )
             => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ X3 ) @ ( transitive_rtrancl @ A @ R3 ) )
               => ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ M @ B2 ) @ ( transitive_rtrancl @ A @ R3 ) ) ) ) ) ) ).

% trancl_multi_insert
thf(fact_5605_rtrancl__last__visit__node,axiom,
    ! [A: $tType,S2: A,S3: A,R4: set @ ( product_prod @ A @ A ),Sh: A] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ S2 @ S3 ) @ ( transitive_rtrancl @ A @ R4 ) )
     => ( ( ( S2 != Sh )
          & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ S2 @ S3 )
            @ ( transitive_rtrancl @ A
              @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R4
                @ ( product_Sigma @ A @ A @ ( top_top @ ( set @ A ) )
                  @ ^ [Uu2: A] : ( uminus_uminus @ ( set @ A ) @ ( insert @ A @ Sh @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ) ) )
        | ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ S2 @ Sh ) @ ( transitive_rtrancl @ A @ R4 ) )
          & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Sh @ S3 )
            @ ( transitive_rtrancl @ A
              @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R4
                @ ( product_Sigma @ A @ A @ ( top_top @ ( set @ A ) )
                  @ ^ [Uu2: A] : ( uminus_uminus @ ( set @ A ) @ ( insert @ A @ Sh @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ) ) ) ) ) ).

% rtrancl_last_visit_node
thf(fact_5606_brk__rel__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( brk_rel @ A @ B )
      = ( ^ [R2: set @ ( product_prod @ A @ B )] :
            ( sup_sup @ ( set @ ( product_prod @ ( product_prod @ $o @ A ) @ ( product_prod @ $o @ B ) ) )
            @ ( collect @ ( product_prod @ ( product_prod @ $o @ A ) @ ( product_prod @ $o @ B ) )
              @ ^ [Uu2: product_prod @ ( product_prod @ $o @ A ) @ ( product_prod @ $o @ B )] :
                ? [X4: A,Y4: B] :
                  ( ( Uu2
                    = ( product_Pair @ ( product_prod @ $o @ A ) @ ( product_prod @ $o @ B ) @ ( product_Pair @ $o @ A @ $false @ X4 ) @ ( product_Pair @ $o @ B @ $false @ Y4 ) ) )
                  & ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X4 @ Y4 ) @ R2 ) ) )
            @ ( collect @ ( product_prod @ ( product_prod @ $o @ A ) @ ( product_prod @ $o @ B ) )
              @ ^ [Uu2: product_prod @ ( product_prod @ $o @ A ) @ ( product_prod @ $o @ B )] :
                ? [X4: A,Y4: B] :
                  ( Uu2
                  = ( product_Pair @ ( product_prod @ $o @ A ) @ ( product_prod @ $o @ B ) @ ( product_Pair @ $o @ A @ $true @ X4 ) @ ( product_Pair @ $o @ B @ $false @ Y4 ) ) ) ) ) ) ) ).

% brk_rel_def
thf(fact_5607_lexn__conv,axiom,
    ! [A: $tType] :
      ( ( lexn @ A )
      = ( ^ [R5: set @ ( product_prod @ A @ A ),N3: nat] :
            ( collect @ ( product_prod @ ( list @ A ) @ ( list @ A ) )
            @ ( product_case_prod @ ( list @ A ) @ ( list @ A ) @ $o
              @ ^ [Xs3: list @ A,Ys2: list @ A] :
                  ( ( ( size_size @ ( list @ A ) @ Xs3 )
                    = N3 )
                  & ( ( size_size @ ( list @ A ) @ Ys2 )
                    = N3 )
                  & ? [Xys2: list @ A,X4: A,Y4: A,Xs6: list @ A,Ys6: list @ A] :
                      ( ( Xs3
                        = ( append @ A @ Xys2 @ ( cons @ A @ X4 @ Xs6 ) ) )
                      & ( Ys2
                        = ( append @ A @ Xys2 @ ( cons @ A @ Y4 @ Ys6 ) ) )
                      & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X4 @ Y4 ) @ R5 ) ) ) ) ) ) ) ).

% lexn_conv
thf(fact_5608_rel__pred__comp__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( rel_pred_comp @ A @ B )
      = ( ^ [R2: A > B > $o,P5: B > $o,X4: A] :
          ? [Y4: B] :
            ( ( R2 @ X4 @ Y4 )
            & ( P5 @ Y4 ) ) ) ) ).

% rel_pred_comp_def
thf(fact_5609_lex__def,axiom,
    ! [A: $tType] :
      ( ( lex @ A )
      = ( ^ [R5: set @ ( product_prod @ A @ A )] : ( complete_Sup_Sup @ ( set @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) ) @ ( image2 @ nat @ ( set @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) ) @ ( lexn @ A @ R5 ) @ ( top_top @ ( set @ nat ) ) ) ) ) ) ).

% lex_def
thf(fact_5610_lexord__def,axiom,
    ! [A: $tType] :
      ( ( lexord @ A )
      = ( ^ [R5: set @ ( product_prod @ A @ A )] :
            ( collect @ ( product_prod @ ( list @ A ) @ ( list @ A ) )
            @ ( product_case_prod @ ( list @ A ) @ ( list @ A ) @ $o
              @ ^ [X4: list @ A,Y4: list @ A] :
                ? [A7: A,V3: list @ A] :
                  ( ( Y4
                    = ( append @ A @ X4 @ ( cons @ A @ A7 @ V3 ) ) )
                  | ? [U2: list @ A,B5: A,C4: A,W3: list @ A,Z2: list @ A] :
                      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ B5 @ C4 ) @ R5 )
                      & ( X4
                        = ( append @ A @ U2 @ ( cons @ A @ B5 @ W3 ) ) )
                      & ( Y4
                        = ( append @ A @ U2 @ ( cons @ A @ C4 @ Z2 ) ) ) ) ) ) ) ) ) ).

% lexord_def
thf(fact_5611_list__collect__set__alt,axiom,
    ! [A: $tType,B: $tType] :
      ( ( list_collect_set @ B @ A )
      = ( ^ [F4: B > ( set @ A ),L2: list @ B] :
            ( complete_Sup_Sup @ ( set @ A )
            @ ( collect @ ( set @ A )
              @ ^ [Uu2: set @ A] :
                ? [I: nat] :
                  ( ( Uu2
                    = ( F4 @ ( nth @ B @ L2 @ I ) ) )
                  & ( ord_less @ nat @ I @ ( size_size @ ( list @ B ) @ L2 ) ) ) ) ) ) ) ).

% list_collect_set_alt
thf(fact_5612_lexn_Osimps_I2_J,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),N: nat] :
      ( ( lexn @ A @ R3 @ ( suc @ N ) )
      = ( inf_inf @ ( set @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) ) @ ( image2 @ ( product_prod @ ( product_prod @ A @ ( list @ A ) ) @ ( product_prod @ A @ ( list @ A ) ) ) @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_map_prod @ ( product_prod @ A @ ( list @ A ) ) @ ( list @ A ) @ ( product_prod @ A @ ( list @ A ) ) @ ( list @ A ) @ ( product_case_prod @ A @ ( list @ A ) @ ( list @ A ) @ ( cons @ A ) ) @ ( product_case_prod @ A @ ( list @ A ) @ ( list @ A ) @ ( cons @ A ) ) ) @ ( lex_prod @ A @ ( list @ A ) @ R3 @ ( lexn @ A @ R3 @ N ) ) )
        @ ( collect @ ( product_prod @ ( list @ A ) @ ( list @ A ) )
          @ ( product_case_prod @ ( list @ A ) @ ( list @ A ) @ $o
            @ ^ [Xs3: list @ A,Ys2: list @ A] :
                ( ( ( size_size @ ( list @ A ) @ Xs3 )
                  = ( suc @ N ) )
                & ( ( size_size @ ( list @ A ) @ Ys2 )
                  = ( suc @ N ) ) ) ) ) ) ) ).

% lexn.simps(2)
thf(fact_5613_map__prod__ident,axiom,
    ! [B: $tType,A: $tType] :
      ( ( product_map_prod @ A @ A @ B @ B
        @ ^ [X4: A] : X4
        @ ^ [Y4: B] : Y4 )
      = ( ^ [Z2: product_prod @ A @ B] : Z2 ) ) ).

% map_prod_ident
thf(fact_5614_map__prod__simp,axiom,
    ! [C: $tType,A: $tType,B: $tType,D: $tType,F3: C > A,G3: D > B,A3: C,B2: D] :
      ( ( product_map_prod @ C @ A @ D @ B @ F3 @ G3 @ ( product_Pair @ C @ D @ A3 @ B2 ) )
      = ( product_Pair @ A @ B @ ( F3 @ A3 ) @ ( G3 @ B2 ) ) ) ).

% map_prod_simp
thf(fact_5615_fst__map__prod,axiom,
    ! [B: $tType,A: $tType,D: $tType,C: $tType,F3: C > A,G3: D > B,X: product_prod @ C @ D] :
      ( ( product_fst @ A @ B @ ( product_map_prod @ C @ A @ D @ B @ F3 @ G3 @ X ) )
      = ( F3 @ ( product_fst @ C @ D @ X ) ) ) ).

% fst_map_prod
thf(fact_5616_snd__map__prod,axiom,
    ! [B: $tType,A: $tType,D: $tType,C: $tType,F3: C > B,G3: D > A,X: product_prod @ C @ D] :
      ( ( product_snd @ B @ A @ ( product_map_prod @ C @ B @ D @ A @ F3 @ G3 @ X ) )
      = ( G3 @ ( product_snd @ C @ D @ X ) ) ) ).

% snd_map_prod
thf(fact_5617_list__collect__set__simps_I2_J,axiom,
    ! [A: $tType,B: $tType,F3: B > ( set @ A ),A3: B] :
      ( ( list_collect_set @ B @ A @ F3 @ ( cons @ B @ A3 @ ( nil @ B ) ) )
      = ( F3 @ A3 ) ) ).

% list_collect_set_simps(2)
thf(fact_5618_list__collect__set__simps_I1_J,axiom,
    ! [B: $tType,A: $tType,F3: B > ( set @ A )] :
      ( ( list_collect_set @ B @ A @ F3 @ ( nil @ B ) )
      = ( bot_bot @ ( set @ A ) ) ) ).

% list_collect_set_simps(1)
thf(fact_5619_list__collect__set__simps_I3_J,axiom,
    ! [A: $tType,B: $tType,F3: B > ( set @ A ),A3: B,L: list @ B] :
      ( ( list_collect_set @ B @ A @ F3 @ ( cons @ B @ A3 @ L ) )
      = ( sup_sup @ ( set @ A ) @ ( F3 @ A3 ) @ ( list_collect_set @ B @ A @ F3 @ L ) ) ) ).

% list_collect_set_simps(3)
thf(fact_5620_list__collect__set__simps_I4_J,axiom,
    ! [A: $tType,B: $tType,F3: B > ( set @ A ),L: list @ B,L4: list @ B] :
      ( ( list_collect_set @ B @ A @ F3 @ ( append @ B @ L @ L4 ) )
      = ( sup_sup @ ( set @ A ) @ ( list_collect_set @ B @ A @ F3 @ L ) @ ( list_collect_set @ B @ A @ F3 @ L4 ) ) ) ).

% list_collect_set_simps(4)
thf(fact_5621_map__prod__imageI,axiom,
    ! [D: $tType,C: $tType,B: $tType,A: $tType,A3: A,B2: B,R4: set @ ( product_prod @ A @ B ),F3: A > C,G3: B > D] :
      ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ A3 @ B2 ) @ R4 )
     => ( member @ ( product_prod @ C @ D ) @ ( product_Pair @ C @ D @ ( F3 @ A3 ) @ ( G3 @ B2 ) ) @ ( image2 @ ( product_prod @ A @ B ) @ ( product_prod @ C @ D ) @ ( product_map_prod @ A @ C @ B @ D @ F3 @ G3 ) @ R4 ) ) ) ).

% map_prod_imageI
thf(fact_5622_lexord__cons__cons,axiom,
    ! [A: $tType,A3: A,X: list @ A,B2: A,Y: list @ A,R3: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( cons @ A @ A3 @ X ) @ ( cons @ A @ B2 @ Y ) ) @ ( lexord @ A @ R3 ) )
      = ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ R3 )
        | ( ( A3 = B2 )
          & ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ X @ Y ) @ ( lexord @ A @ R3 ) ) ) ) ) ).

% lexord_cons_cons
thf(fact_5623_list__collect__set__map__simps_I2_J,axiom,
    ! [A: $tType,B: $tType,C: $tType,F3: B > ( set @ A ),X: C > B,A3: C] :
      ( ( list_collect_set @ B @ A @ F3 @ ( map @ C @ B @ X @ ( cons @ C @ A3 @ ( nil @ C ) ) ) )
      = ( F3 @ ( X @ A3 ) ) ) ).

% list_collect_set_map_simps(2)
thf(fact_5624_list__collect__set__map__simps_I1_J,axiom,
    ! [C: $tType,B: $tType,A: $tType,F3: B > ( set @ A ),X: C > B] :
      ( ( list_collect_set @ B @ A @ F3 @ ( map @ C @ B @ X @ ( nil @ C ) ) )
      = ( bot_bot @ ( set @ A ) ) ) ).

% list_collect_set_map_simps(1)
thf(fact_5625_list__collect__set__map__simps_I3_J,axiom,
    ! [A: $tType,B: $tType,C: $tType,F3: B > ( set @ A ),X: C > B,A3: C,L: list @ C] :
      ( ( list_collect_set @ B @ A @ F3 @ ( map @ C @ B @ X @ ( cons @ C @ A3 @ L ) ) )
      = ( sup_sup @ ( set @ A ) @ ( F3 @ ( X @ A3 ) ) @ ( list_collect_set @ B @ A @ F3 @ ( map @ C @ B @ X @ L ) ) ) ) ).

% list_collect_set_map_simps(3)
thf(fact_5626_list__collect__set__map__simps_I4_J,axiom,
    ! [A: $tType,B: $tType,C: $tType,F3: B > ( set @ A ),X: C > B,L: list @ C,L4: list @ C] :
      ( ( list_collect_set @ B @ A @ F3 @ ( map @ C @ B @ X @ ( append @ C @ L @ L4 ) ) )
      = ( sup_sup @ ( set @ A ) @ ( list_collect_set @ B @ A @ F3 @ ( map @ C @ B @ X @ L ) ) @ ( list_collect_set @ B @ A @ F3 @ ( map @ C @ B @ X @ L4 ) ) ) ) ).

% list_collect_set_map_simps(4)
thf(fact_5627_fst__comp__map__prod,axiom,
    ! [D: $tType,C: $tType,B: $tType,A: $tType,F3: A > C,G3: B > D] :
      ( ( comp @ ( product_prod @ C @ D ) @ C @ ( product_prod @ A @ B ) @ ( product_fst @ C @ D ) @ ( product_map_prod @ A @ C @ B @ D @ F3 @ G3 ) )
      = ( comp @ A @ C @ ( product_prod @ A @ B ) @ F3 @ ( product_fst @ A @ B ) ) ) ).

% fst_comp_map_prod
thf(fact_5628_snd__comp__map__prod,axiom,
    ! [D: $tType,C: $tType,B: $tType,A: $tType,F3: A > D,G3: B > C] :
      ( ( comp @ ( product_prod @ D @ C ) @ C @ ( product_prod @ A @ B ) @ ( product_snd @ D @ C ) @ ( product_map_prod @ A @ D @ B @ C @ F3 @ G3 ) )
      = ( comp @ B @ C @ ( product_prod @ A @ B ) @ G3 @ ( product_snd @ A @ B ) ) ) ).

% snd_comp_map_prod
thf(fact_5629_map__prod__compose,axiom,
    ! [D: $tType,C: $tType,A: $tType,E: $tType,F2: $tType,B: $tType,F1: E > C,F22: A > E,G1: F2 > D,G22: B > F2] :
      ( ( product_map_prod @ A @ C @ B @ D @ ( comp @ E @ C @ A @ F1 @ F22 ) @ ( comp @ F2 @ D @ B @ G1 @ G22 ) )
      = ( comp @ ( product_prod @ E @ F2 ) @ ( product_prod @ C @ D ) @ ( product_prod @ A @ B ) @ ( product_map_prod @ E @ C @ F2 @ D @ F1 @ G1 ) @ ( product_map_prod @ A @ E @ B @ F2 @ F22 @ G22 ) ) ) ).

% map_prod_compose
thf(fact_5630_map__prod_Ocompositionality,axiom,
    ! [D: $tType,F2: $tType,E: $tType,C: $tType,B: $tType,A: $tType,F3: C > E,G3: D > F2,H: A > C,I2: B > D,Prod: product_prod @ A @ B] :
      ( ( product_map_prod @ C @ E @ D @ F2 @ F3 @ G3 @ ( product_map_prod @ A @ C @ B @ D @ H @ I2 @ Prod ) )
      = ( product_map_prod @ A @ E @ B @ F2 @ ( comp @ C @ E @ A @ F3 @ H ) @ ( comp @ D @ F2 @ B @ G3 @ I2 ) @ Prod ) ) ).

% map_prod.compositionality
thf(fact_5631_map__prod_Ocomp,axiom,
    ! [A: $tType,C: $tType,E: $tType,F2: $tType,D: $tType,B: $tType,F3: C > E,G3: D > F2,H: A > C,I2: B > D] :
      ( ( comp @ ( product_prod @ C @ D ) @ ( product_prod @ E @ F2 ) @ ( product_prod @ A @ B ) @ ( product_map_prod @ C @ E @ D @ F2 @ F3 @ G3 ) @ ( product_map_prod @ A @ C @ B @ D @ H @ I2 ) )
      = ( product_map_prod @ A @ E @ B @ F2 @ ( comp @ C @ E @ A @ F3 @ H ) @ ( comp @ D @ F2 @ B @ G3 @ I2 ) ) ) ).

% map_prod.comp
thf(fact_5632_prod_Omap__ident,axiom,
    ! [B: $tType,A: $tType,T5: product_prod @ A @ B] :
      ( ( product_map_prod @ A @ A @ B @ B
        @ ^ [X4: A] : X4
        @ ^ [X4: B] : X4
        @ T5 )
      = T5 ) ).

% prod.map_ident
thf(fact_5633_case__prod__map__prod,axiom,
    ! [C: $tType,A: $tType,B: $tType,E: $tType,D: $tType,H: B > C > A,F3: D > B,G3: E > C,X: product_prod @ D @ E] :
      ( ( product_case_prod @ B @ C @ A @ H @ ( product_map_prod @ D @ B @ E @ C @ F3 @ G3 @ X ) )
      = ( product_case_prod @ D @ E @ A
        @ ^ [L2: D,R5: E] : ( H @ ( F3 @ L2 ) @ ( G3 @ R5 ) )
        @ X ) ) ).

% case_prod_map_prod
thf(fact_5634_prod__fun__imageE,axiom,
    ! [B: $tType,A: $tType,D: $tType,C: $tType,C3: product_prod @ A @ B,F3: C > A,G3: D > B,R4: set @ ( product_prod @ C @ D )] :
      ( ( member @ ( product_prod @ A @ B ) @ C3 @ ( image2 @ ( product_prod @ C @ D ) @ ( product_prod @ A @ B ) @ ( product_map_prod @ C @ A @ D @ B @ F3 @ G3 ) @ R4 ) )
     => ~ ! [X3: C,Y3: D] :
            ( ( C3
              = ( product_Pair @ A @ B @ ( F3 @ X3 ) @ ( G3 @ Y3 ) ) )
           => ~ ( member @ ( product_prod @ C @ D ) @ ( product_Pair @ C @ D @ X3 @ Y3 ) @ R4 ) ) ) ).

% prod_fun_imageE
thf(fact_5635_lexord__irreflexive,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),Xs: list @ A] :
      ( ! [X3: A] :
          ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X3 @ X3 ) @ R3 )
     => ~ ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xs @ Xs ) @ ( lexord @ A @ R3 ) ) ) ).

% lexord_irreflexive
thf(fact_5636_lexord__linear,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),X: list @ A,Y: list @ A] :
      ( ! [A5: A,B4: A] :
          ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A5 @ B4 ) @ R3 )
          | ( A5 = B4 )
          | ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ B4 @ A5 ) @ R3 ) )
     => ( ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ X @ Y ) @ ( lexord @ A @ R3 ) )
        | ( X = Y )
        | ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Y @ X ) @ ( lexord @ A @ R3 ) ) ) ) ).

% lexord_linear
thf(fact_5637_map__prod__def,axiom,
    ! [B: $tType,D: $tType,C: $tType,A: $tType] :
      ( ( product_map_prod @ A @ C @ B @ D )
      = ( ^ [F4: A > C,G4: B > D] :
            ( product_case_prod @ A @ B @ ( product_prod @ C @ D )
            @ ^ [X4: A,Y4: B] : ( product_Pair @ C @ D @ ( F4 @ X4 ) @ ( G4 @ Y4 ) ) ) ) ) ).

% map_prod_def
thf(fact_5638_case__prod__o__map__prod,axiom,
    ! [B: $tType,D: $tType,C: $tType,E: $tType,A: $tType,F3: D > E > C,G1: A > D,G22: B > E] :
      ( ( comp @ ( product_prod @ D @ E ) @ C @ ( product_prod @ A @ B ) @ ( product_case_prod @ D @ E @ C @ F3 ) @ ( product_map_prod @ A @ D @ B @ E @ G1 @ G22 ) )
      = ( product_case_prod @ A @ B @ C
        @ ^ [L2: A,R5: B] : ( F3 @ ( G1 @ L2 ) @ ( G22 @ R5 ) ) ) ) ).

% case_prod_o_map_prod
thf(fact_5639_lexord__partial__trans,axiom,
    ! [A: $tType,Xs: list @ A,R3: set @ ( product_prod @ A @ A ),Ys3: list @ A,Zs: list @ A] :
      ( ! [X3: A,Y3: A,Z3: A] :
          ( ( member @ A @ X3 @ ( set2 @ A @ Xs ) )
         => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X3 @ Y3 ) @ R3 )
           => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y3 @ Z3 ) @ R3 )
             => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X3 @ Z3 ) @ R3 ) ) ) )
     => ( ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xs @ Ys3 ) @ ( lexord @ A @ R3 ) )
       => ( ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Ys3 @ Zs ) @ ( lexord @ A @ R3 ) )
         => ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xs @ Zs ) @ ( lexord @ A @ R3 ) ) ) ) ) ).

% lexord_partial_trans
thf(fact_5640_lexord__append__leftD,axiom,
    ! [A: $tType,X: list @ A,U: list @ A,V2: list @ A,R3: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( append @ A @ X @ U ) @ ( append @ A @ X @ V2 ) ) @ ( lexord @ A @ R3 ) )
     => ( ! [A5: A] :
            ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A5 @ A5 ) @ R3 )
       => ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ U @ V2 ) @ ( lexord @ A @ R3 ) ) ) ) ).

% lexord_append_leftD
thf(fact_5641_list__collect__set__as__map,axiom,
    ! [A: $tType,B: $tType] :
      ( ( list_collect_set @ B @ A )
      = ( ^ [F4: B > ( set @ A ),L2: list @ B] : ( complete_Sup_Sup @ ( set @ A ) @ ( set2 @ ( set @ A ) @ ( map @ B @ ( set @ A ) @ F4 @ L2 ) ) ) ) ) ).

% list_collect_set_as_map
thf(fact_5642_map__prod__surj__on,axiom,
    ! [B: $tType,D: $tType,C: $tType,A: $tType,F3: B > A,A6: set @ B,A16: set @ A,G3: D > C,B6: set @ D,B14: set @ C] :
      ( ( ( image2 @ B @ A @ F3 @ A6 )
        = A16 )
     => ( ( ( image2 @ D @ C @ G3 @ B6 )
          = B14 )
       => ( ( image2 @ ( product_prod @ B @ D ) @ ( product_prod @ A @ C ) @ ( product_map_prod @ B @ A @ D @ C @ F3 @ G3 )
            @ ( product_Sigma @ B @ D @ A6
              @ ^ [Uu2: B] : B6 ) )
          = ( product_Sigma @ A @ C @ A16
            @ ^ [Uu2: A] : B14 ) ) ) ) ).

% map_prod_surj_on
thf(fact_5643_map__prod__surj,axiom,
    ! [A: $tType,C: $tType,D: $tType,B: $tType,F3: A > B,G3: C > D] :
      ( ( ( image2 @ A @ B @ F3 @ ( top_top @ ( set @ A ) ) )
        = ( top_top @ ( set @ B ) ) )
     => ( ( ( image2 @ C @ D @ G3 @ ( top_top @ ( set @ C ) ) )
          = ( top_top @ ( set @ D ) ) )
       => ( ( image2 @ ( product_prod @ A @ C ) @ ( product_prod @ B @ D ) @ ( product_map_prod @ A @ B @ C @ D @ F3 @ G3 ) @ ( top_top @ ( set @ ( product_prod @ A @ C ) ) ) )
          = ( top_top @ ( set @ ( product_prod @ B @ D ) ) ) ) ) ) ).

% map_prod_surj
thf(fact_5644_lexord__append__left__rightI,axiom,
    ! [A: $tType,A3: A,B2: A,R3: set @ ( product_prod @ A @ A ),U: list @ A,X: list @ A,Y: list @ A] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ R3 )
     => ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( append @ A @ U @ ( cons @ A @ A3 @ X ) ) @ ( append @ A @ U @ ( cons @ A @ B2 @ Y ) ) ) @ ( lexord @ A @ R3 ) ) ) ).

% lexord_append_left_rightI
thf(fact_5645_lexord__same__pref__iff,axiom,
    ! [A: $tType,Xs: list @ A,Ys3: list @ A,Zs: list @ A,R3: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( append @ A @ Xs @ Ys3 ) @ ( append @ A @ Xs @ Zs ) ) @ ( lexord @ A @ R3 ) )
      = ( ? [X4: A] :
            ( ( member @ A @ X4 @ ( set2 @ A @ Xs ) )
            & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X4 @ X4 ) @ R3 ) )
        | ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Ys3 @ Zs ) @ ( lexord @ A @ R3 ) ) ) ) ).

% lexord_same_pref_iff
thf(fact_5646_lexord__sufI,axiom,
    ! [A: $tType,U: list @ A,W2: list @ A,R3: set @ ( product_prod @ A @ A ),V2: list @ A,Z4: list @ A] :
      ( ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ U @ W2 ) @ ( lexord @ A @ R3 ) )
     => ( ( ord_less_eq @ nat @ ( size_size @ ( list @ A ) @ W2 ) @ ( size_size @ ( list @ A ) @ U ) )
       => ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( append @ A @ U @ V2 ) @ ( append @ A @ W2 @ Z4 ) ) @ ( lexord @ A @ R3 ) ) ) ) ).

% lexord_sufI
thf(fact_5647_list__collect__set__def,axiom,
    ! [A: $tType,B: $tType] :
      ( ( list_collect_set @ B @ A )
      = ( ^ [F4: B > ( set @ A ),L2: list @ B] :
            ( complete_Sup_Sup @ ( set @ A )
            @ ( collect @ ( set @ A )
              @ ^ [Uu2: set @ A] :
                ? [A7: B] :
                  ( ( Uu2
                    = ( F4 @ A7 ) )
                  & ( member @ B @ A7 @ ( set2 @ B @ L2 ) ) ) ) ) ) ) ).

% list_collect_set_def
thf(fact_5648_List_Olexordp__def,axiom,
    ! [A: $tType] :
      ( ( lexordp @ A )
      = ( ^ [R5: A > A > $o,Xs3: list @ A,Ys2: list @ A] : ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xs3 @ Ys2 ) @ ( lexord @ A @ ( collect @ ( product_prod @ A @ A ) @ ( product_case_prod @ A @ A @ $o @ R5 ) ) ) ) ) ) ).

% List.lexordp_def
thf(fact_5649_image2__def,axiom,
    ! [A: $tType,B: $tType,C: $tType] :
      ( ( bNF_Greatest_image2 @ C @ A @ B )
      = ( ^ [A8: set @ C,F4: C > A,G4: C > B] :
            ( collect @ ( product_prod @ A @ B )
            @ ^ [Uu2: product_prod @ A @ B] :
              ? [A7: C] :
                ( ( Uu2
                  = ( product_Pair @ A @ B @ ( F4 @ A7 ) @ ( G4 @ A7 ) ) )
                & ( member @ C @ A7 @ A8 ) ) ) ) ) ).

% image2_def
thf(fact_5650_of__rat_Otransfer,axiom,
    ! [A: $tType] :
      ( ( field_char_0 @ A )
     => ( bNF_rel_fun @ ( product_prod @ int @ int ) @ rat @ A @ A @ pcr_rat
        @ ^ [Y6: A,Z5: A] : Y6 = Z5
        @ ^ [X4: product_prod @ int @ int] : ( divide_divide @ A @ ( ring_1_of_int @ A @ ( product_fst @ int @ int @ X4 ) ) @ ( ring_1_of_int @ A @ ( product_snd @ int @ int @ X4 ) ) )
        @ ( field_char_0_of_rat @ A ) ) ) ).

% of_rat.transfer
thf(fact_5651_zero__less__of__rat__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [R3: rat] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ ( field_char_0_of_rat @ A @ R3 ) )
          = ( ord_less @ rat @ ( zero_zero @ rat ) @ R3 ) ) ) ).

% zero_less_of_rat_iff
thf(fact_5652_of__rat__less__0__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [R3: rat] :
          ( ( ord_less @ A @ ( field_char_0_of_rat @ A @ R3 ) @ ( zero_zero @ A ) )
          = ( ord_less @ rat @ R3 @ ( zero_zero @ rat ) ) ) ) ).

% of_rat_less_0_iff
thf(fact_5653_zero__le__of__rat__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [R3: rat] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( field_char_0_of_rat @ A @ R3 ) )
          = ( ord_less_eq @ rat @ ( zero_zero @ rat ) @ R3 ) ) ) ).

% zero_le_of_rat_iff
thf(fact_5654_of__rat__le__0__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [R3: rat] :
          ( ( ord_less_eq @ A @ ( field_char_0_of_rat @ A @ R3 ) @ ( zero_zero @ A ) )
          = ( ord_less_eq @ rat @ R3 @ ( zero_zero @ rat ) ) ) ) ).

% of_rat_le_0_iff
thf(fact_5655_one__less__of__rat__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [R3: rat] :
          ( ( ord_less @ A @ ( one_one @ A ) @ ( field_char_0_of_rat @ A @ R3 ) )
          = ( ord_less @ rat @ ( one_one @ rat ) @ R3 ) ) ) ).

% one_less_of_rat_iff
thf(fact_5656_of__rat__less__1__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [R3: rat] :
          ( ( ord_less @ A @ ( field_char_0_of_rat @ A @ R3 ) @ ( one_one @ A ) )
          = ( ord_less @ rat @ R3 @ ( one_one @ rat ) ) ) ) ).

% of_rat_less_1_iff
thf(fact_5657_one__le__of__rat__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [R3: rat] :
          ( ( ord_less_eq @ A @ ( one_one @ A ) @ ( field_char_0_of_rat @ A @ R3 ) )
          = ( ord_less_eq @ rat @ ( one_one @ rat ) @ R3 ) ) ) ).

% one_le_of_rat_iff
thf(fact_5658_of__rat__le__1__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [R3: rat] :
          ( ( ord_less_eq @ A @ ( field_char_0_of_rat @ A @ R3 ) @ ( one_one @ A ) )
          = ( ord_less_eq @ rat @ R3 @ ( one_one @ rat ) ) ) ) ).

% of_rat_le_1_iff
thf(fact_5659_of__rat__sum,axiom,
    ! [A: $tType,B: $tType] :
      ( ( field_char_0 @ A )
     => ! [F3: B > rat,A6: set @ B] :
          ( ( field_char_0_of_rat @ A @ ( groups7311177749621191930dd_sum @ B @ rat @ F3 @ A6 ) )
          = ( groups7311177749621191930dd_sum @ B @ A
            @ ^ [A7: B] : ( field_char_0_of_rat @ A @ ( F3 @ A7 ) )
            @ A6 ) ) ) ).

% of_rat_sum
thf(fact_5660_of__rat__prod,axiom,
    ! [A: $tType,B: $tType] :
      ( ( field_char_0 @ A )
     => ! [F3: B > rat,A6: set @ B] :
          ( ( field_char_0_of_rat @ A @ ( groups7121269368397514597t_prod @ B @ rat @ F3 @ A6 ) )
          = ( groups7121269368397514597t_prod @ B @ A
            @ ^ [A7: B] : ( field_char_0_of_rat @ A @ ( F3 @ A7 ) )
            @ A6 ) ) ) ).

% of_rat_prod
thf(fact_5661_of__rat__less,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [R3: rat,S2: rat] :
          ( ( ord_less @ A @ ( field_char_0_of_rat @ A @ R3 ) @ ( field_char_0_of_rat @ A @ S2 ) )
          = ( ord_less @ rat @ R3 @ S2 ) ) ) ).

% of_rat_less
thf(fact_5662_of__rat__less__eq,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [R3: rat,S2: rat] :
          ( ( ord_less_eq @ A @ ( field_char_0_of_rat @ A @ R3 ) @ ( field_char_0_of_rat @ A @ S2 ) )
          = ( ord_less_eq @ rat @ R3 @ S2 ) ) ) ).

% of_rat_less_eq
thf(fact_5663_of__rat__add,axiom,
    ! [A: $tType] :
      ( ( field_char_0 @ A )
     => ! [A3: rat,B2: rat] :
          ( ( field_char_0_of_rat @ A @ ( plus_plus @ rat @ A3 @ B2 ) )
          = ( plus_plus @ A @ ( field_char_0_of_rat @ A @ A3 ) @ ( field_char_0_of_rat @ A @ B2 ) ) ) ) ).

% of_rat_add
thf(fact_5664_image2__eqI,axiom,
    ! [A: $tType,C: $tType,B: $tType,B2: A,F3: B > A,X: B,C3: C,G3: B > C,A6: set @ B] :
      ( ( B2
        = ( F3 @ X ) )
     => ( ( C3
          = ( G3 @ X ) )
       => ( ( member @ B @ X @ A6 )
         => ( member @ ( product_prod @ A @ C ) @ ( product_Pair @ A @ C @ B2 @ C3 ) @ ( bNF_Greatest_image2 @ B @ A @ C @ A6 @ F3 @ G3 ) ) ) ) ) ).

% image2_eqI
thf(fact_5665_set__zip,axiom,
    ! [B: $tType,A: $tType,Xs: list @ A,Ys3: list @ B] :
      ( ( set2 @ ( product_prod @ A @ B ) @ ( zip @ A @ B @ Xs @ Ys3 ) )
      = ( collect @ ( product_prod @ A @ B )
        @ ^ [Uu2: product_prod @ A @ B] :
          ? [I: nat] :
            ( ( Uu2
              = ( product_Pair @ A @ B @ ( nth @ A @ Xs @ I ) @ ( nth @ B @ Ys3 @ I ) ) )
            & ( ord_less @ nat @ I @ ( ord_min @ nat @ ( size_size @ ( list @ A ) @ Xs ) @ ( size_size @ ( list @ B ) @ Ys3 ) ) ) ) ) ) ).

% set_zip
thf(fact_5666_Gr__incl,axiom,
    ! [A: $tType,B: $tType,A6: set @ A,F3: A > B,B6: set @ B] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ B ) ) @ ( bNF_Gr @ A @ B @ A6 @ F3 )
        @ ( product_Sigma @ A @ B @ A6
          @ ^ [Uu2: A] : B6 ) )
      = ( ord_less_eq @ ( set @ B ) @ ( image2 @ A @ B @ F3 @ A6 ) @ B6 ) ) ).

% Gr_incl
thf(fact_5667_prod__encode__def,axiom,
    ( nat_prod_encode
    = ( product_case_prod @ nat @ nat @ nat
      @ ^ [M3: nat,N3: nat] : ( plus_plus @ nat @ ( nat_triangle @ ( plus_plus @ nat @ M3 @ N3 ) ) @ M3 ) ) ) ).

% prod_encode_def
thf(fact_5668_min_Obounded__iff,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less_eq @ A @ A3 @ ( ord_min @ A @ B2 @ C3 ) )
          = ( ( ord_less_eq @ A @ A3 @ B2 )
            & ( ord_less_eq @ A @ A3 @ C3 ) ) ) ) ).

% min.bounded_iff
thf(fact_5669_min_Oabsorb2,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [B2: A,A3: A] :
          ( ( ord_less_eq @ A @ B2 @ A3 )
         => ( ( ord_min @ A @ A3 @ B2 )
            = B2 ) ) ) ).

% min.absorb2
thf(fact_5670_min_Oabsorb1,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ( ord_min @ A @ A3 @ B2 )
            = A3 ) ) ) ).

% min.absorb1
thf(fact_5671_min__arg__le_I2_J,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [M: A,N: A] :
          ( ( ord_less_eq @ A @ M @ ( ord_min @ A @ M @ N ) )
          = ( ( ord_min @ A @ M @ N )
            = M ) ) ) ).

% min_arg_le(2)
thf(fact_5672_min__arg__le_I1_J,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [N: A,M: A] :
          ( ( ord_less_eq @ A @ N @ ( ord_min @ A @ M @ N ) )
          = ( ( ord_min @ A @ M @ N )
            = N ) ) ) ).

% min_arg_le(1)
thf(fact_5673_min__eq__arg_I2_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [M: A,N: A] :
          ( ( ( ord_min @ A @ M @ N )
            = N )
          = ( ord_less_eq @ A @ N @ M ) ) ) ).

% min_eq_arg(2)
thf(fact_5674_min__eq__arg_I1_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [M: A,N: A] :
          ( ( ( ord_min @ A @ M @ N )
            = M )
          = ( ord_less_eq @ A @ M @ N ) ) ) ).

% min_eq_arg(1)
thf(fact_5675_min__less__iff__conj,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Z4: A,X: A,Y: A] :
          ( ( ord_less @ A @ Z4 @ ( ord_min @ A @ X @ Y ) )
          = ( ( ord_less @ A @ Z4 @ X )
            & ( ord_less @ A @ Z4 @ Y ) ) ) ) ).

% min_less_iff_conj
thf(fact_5676_min_Oabsorb4,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [B2: A,A3: A] :
          ( ( ord_less @ A @ B2 @ A3 )
         => ( ( ord_min @ A @ A3 @ B2 )
            = B2 ) ) ) ).

% min.absorb4
thf(fact_5677_min_Oabsorb3,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ( ( ord_min @ A @ A3 @ B2 )
            = A3 ) ) ) ).

% min.absorb3
thf(fact_5678_min__simps_I2_J,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [B2: A,A3: A] :
          ( ( ord_less @ A @ B2 @ A3 )
         => ( ( ord_min @ A @ A3 @ B2 )
            = B2 ) ) ) ).

% min_simps(2)
thf(fact_5679_min__simps_I1_J,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ( ( ord_min @ A @ A3 @ B2 )
            = A3 ) ) ) ).

% min_simps(1)
thf(fact_5680_min__less__self__conv_I2_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ ( ord_min @ A @ A3 @ B2 ) @ B2 )
          = ( ord_less @ A @ A3 @ B2 ) ) ) ).

% min_less_self_conv(2)
thf(fact_5681_min__less__self__conv_I1_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less @ A @ ( ord_min @ A @ A3 @ B2 ) @ A3 )
          = ( ord_less @ A @ B2 @ A3 ) ) ) ).

% min_less_self_conv(1)
thf(fact_5682_min__arg__not__ge_I2_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [M: A,N: A] :
          ( ( ~ ( ord_less @ A @ ( ord_min @ A @ M @ N ) @ N ) )
          = ( ( ord_min @ A @ M @ N )
            = N ) ) ) ).

% min_arg_not_ge(2)
thf(fact_5683_min__arg__not__ge_I1_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [M: A,N: A] :
          ( ( ~ ( ord_less @ A @ ( ord_min @ A @ M @ N ) @ M ) )
          = ( ( ord_min @ A @ M @ N )
            = M ) ) ) ).

% min_arg_not_ge(1)
thf(fact_5684_min__bot2,axiom,
    ! [A: $tType] :
      ( ( order_bot @ A )
     => ! [X: A] :
          ( ( ord_min @ A @ X @ ( bot_bot @ A ) )
          = ( bot_bot @ A ) ) ) ).

% min_bot2
thf(fact_5685_min__bot,axiom,
    ! [A: $tType] :
      ( ( order_bot @ A )
     => ! [X: A] :
          ( ( ord_min @ A @ ( bot_bot @ A ) @ X )
          = ( bot_bot @ A ) ) ) ).

% min_bot
thf(fact_5686_min__top,axiom,
    ! [A: $tType] :
      ( ( order_top @ A )
     => ! [X: A] :
          ( ( ord_min @ A @ ( top_top @ A ) @ X )
          = X ) ) ).

% min_top
thf(fact_5687_min__top2,axiom,
    ! [A: $tType] :
      ( ( order_top @ A )
     => ! [X: A] :
          ( ( ord_min @ A @ X @ ( top_top @ A ) )
          = X ) ) ).

% min_top2
thf(fact_5688_max__min__same_I4_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Y: A,X: A] :
          ( ( ord_max @ A @ Y @ ( ord_min @ A @ X @ Y ) )
          = Y ) ) ).

% max_min_same(4)
thf(fact_5689_max__min__same_I3_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [X: A,Y: A] :
          ( ( ord_max @ A @ ( ord_min @ A @ X @ Y ) @ Y )
          = Y ) ) ).

% max_min_same(3)
thf(fact_5690_max__min__same_I2_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [X: A,Y: A] :
          ( ( ord_max @ A @ ( ord_min @ A @ X @ Y ) @ X )
          = X ) ) ).

% max_min_same(2)
thf(fact_5691_max__min__same_I1_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [X: A,Y: A] :
          ( ( ord_max @ A @ X @ ( ord_min @ A @ X @ Y ) )
          = X ) ) ).

% max_min_same(1)
thf(fact_5692_min__0R,axiom,
    ! [N: nat] :
      ( ( ord_min @ nat @ N @ ( zero_zero @ nat ) )
      = ( zero_zero @ nat ) ) ).

% min_0R
thf(fact_5693_min__0L,axiom,
    ! [N: nat] :
      ( ( ord_min @ nat @ ( zero_zero @ nat ) @ N )
      = ( zero_zero @ nat ) ) ).

% min_0L
thf(fact_5694_min__Suc__Suc,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_min @ nat @ ( suc @ M ) @ ( suc @ N ) )
      = ( suc @ ( ord_min @ nat @ M @ N ) ) ) ).

% min_Suc_Suc
thf(fact_5695_min__number__of_I1_J,axiom,
    ! [A: $tType] :
      ( ( ( numeral @ A )
        & ( ord @ A ) )
     => ! [U: num,V2: num] :
          ( ( ( ord_less_eq @ A @ ( numeral_numeral @ A @ U ) @ ( numeral_numeral @ A @ V2 ) )
           => ( ( ord_min @ A @ ( numeral_numeral @ A @ U ) @ ( numeral_numeral @ A @ V2 ) )
              = ( numeral_numeral @ A @ U ) ) )
          & ( ~ ( ord_less_eq @ A @ ( numeral_numeral @ A @ U ) @ ( numeral_numeral @ A @ V2 ) )
           => ( ( ord_min @ A @ ( numeral_numeral @ A @ U ) @ ( numeral_numeral @ A @ V2 ) )
              = ( numeral_numeral @ A @ V2 ) ) ) ) ) ).

% min_number_of(1)
thf(fact_5696_min__Suc__gt_I1_J,axiom,
    ! [A3: nat,B2: nat] :
      ( ( ord_less @ nat @ A3 @ B2 )
     => ( ( ord_min @ nat @ ( suc @ A3 ) @ B2 )
        = ( suc @ A3 ) ) ) ).

% min_Suc_gt(1)
thf(fact_5697_min__Suc__gt_I2_J,axiom,
    ! [A3: nat,B2: nat] :
      ( ( ord_less @ nat @ A3 @ B2 )
     => ( ( ord_min @ nat @ B2 @ ( suc @ A3 ) )
        = ( suc @ A3 ) ) ) ).

% min_Suc_gt(2)
thf(fact_5698_min__number__of_I2_J,axiom,
    ! [A: $tType] :
      ( ( ( uminus @ A )
        & ( numeral @ A )
        & ( ord @ A ) )
     => ! [U: num,V2: num] :
          ( ( ( ord_less_eq @ A @ ( numeral_numeral @ A @ U ) @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ V2 ) ) )
           => ( ( ord_min @ A @ ( numeral_numeral @ A @ U ) @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ V2 ) ) )
              = ( numeral_numeral @ A @ U ) ) )
          & ( ~ ( ord_less_eq @ A @ ( numeral_numeral @ A @ U ) @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ V2 ) ) )
           => ( ( ord_min @ A @ ( numeral_numeral @ A @ U ) @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ V2 ) ) )
              = ( uminus_uminus @ A @ ( numeral_numeral @ A @ V2 ) ) ) ) ) ) ).

% min_number_of(2)
thf(fact_5699_min__number__of_I3_J,axiom,
    ! [A: $tType] :
      ( ( ( uminus @ A )
        & ( numeral @ A )
        & ( ord @ A ) )
     => ! [U: num,V2: num] :
          ( ( ( ord_less_eq @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ U ) ) @ ( numeral_numeral @ A @ V2 ) )
           => ( ( ord_min @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ U ) ) @ ( numeral_numeral @ A @ V2 ) )
              = ( uminus_uminus @ A @ ( numeral_numeral @ A @ U ) ) ) )
          & ( ~ ( ord_less_eq @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ U ) ) @ ( numeral_numeral @ A @ V2 ) )
           => ( ( ord_min @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ U ) ) @ ( numeral_numeral @ A @ V2 ) )
              = ( numeral_numeral @ A @ V2 ) ) ) ) ) ).

% min_number_of(3)
thf(fact_5700_min__number__of_I4_J,axiom,
    ! [A: $tType] :
      ( ( ( uminus @ A )
        & ( numeral @ A )
        & ( ord @ A ) )
     => ! [U: num,V2: num] :
          ( ( ( ord_less_eq @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ U ) ) @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ V2 ) ) )
           => ( ( ord_min @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ U ) ) @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ V2 ) ) )
              = ( uminus_uminus @ A @ ( numeral_numeral @ A @ U ) ) ) )
          & ( ~ ( ord_less_eq @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ U ) ) @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ V2 ) ) )
           => ( ( ord_min @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ U ) ) @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ V2 ) ) )
              = ( uminus_uminus @ A @ ( numeral_numeral @ A @ V2 ) ) ) ) ) ) ).

% min_number_of(4)
thf(fact_5701_zip__replicate,axiom,
    ! [A: $tType,B: $tType,I2: nat,X: A,J2: nat,Y: B] :
      ( ( zip @ A @ B @ ( replicate @ A @ I2 @ X ) @ ( replicate @ B @ J2 @ Y ) )
      = ( replicate @ ( product_prod @ A @ B ) @ ( ord_min @ nat @ I2 @ J2 ) @ ( product_Pair @ A @ B @ X @ Y ) ) ) ).

% zip_replicate
thf(fact_5702_GrD2,axiom,
    ! [A: $tType,B: $tType,X: A,Fx: B,A6: set @ A,F3: A > B] :
      ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X @ Fx ) @ ( bNF_Gr @ A @ B @ A6 @ F3 ) )
     => ( ( F3 @ X )
        = Fx ) ) ).

% GrD2
thf(fact_5703_GrD1,axiom,
    ! [B: $tType,A: $tType,X: A,Fx: B,A6: set @ A,F3: A > B] :
      ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X @ Fx ) @ ( bNF_Gr @ A @ B @ A6 @ F3 ) )
     => ( member @ A @ X @ A6 ) ) ).

% GrD1
thf(fact_5704_min__def__raw,axiom,
    ! [A: $tType] :
      ( ( ord @ A )
     => ( ( ord_min @ A )
        = ( ^ [A7: A,B5: A] : ( if @ A @ ( ord_less_eq @ A @ A7 @ B5 ) @ A7 @ B5 ) ) ) ) ).

% min_def_raw
thf(fact_5705_min__le__iff__disj,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [X: A,Y: A,Z4: A] :
          ( ( ord_less_eq @ A @ ( ord_min @ A @ X @ Y ) @ Z4 )
          = ( ( ord_less_eq @ A @ X @ Z4 )
            | ( ord_less_eq @ A @ Y @ Z4 ) ) ) ) ).

% min_le_iff_disj
thf(fact_5706_min_OcoboundedI2,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [B2: A,C3: A,A3: A] :
          ( ( ord_less_eq @ A @ B2 @ C3 )
         => ( ord_less_eq @ A @ ( ord_min @ A @ A3 @ B2 ) @ C3 ) ) ) ).

% min.coboundedI2
thf(fact_5707_min_OcoboundedI1,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A3: A,C3: A,B2: A] :
          ( ( ord_less_eq @ A @ A3 @ C3 )
         => ( ord_less_eq @ A @ ( ord_min @ A @ A3 @ B2 ) @ C3 ) ) ) ).

% min.coboundedI1
thf(fact_5708_min_Oabsorb__iff2,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ( ( ord_less_eq @ A )
        = ( ^ [B5: A,A7: A] :
              ( ( ord_min @ A @ A7 @ B5 )
              = B5 ) ) ) ) ).

% min.absorb_iff2
thf(fact_5709_min_Oabsorb__iff1,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ( ( ord_less_eq @ A )
        = ( ^ [A7: A,B5: A] :
              ( ( ord_min @ A @ A7 @ B5 )
              = A7 ) ) ) ) ).

% min.absorb_iff1
thf(fact_5710_min_Ocobounded2,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A3: A,B2: A] : ( ord_less_eq @ A @ ( ord_min @ A @ A3 @ B2 ) @ B2 ) ) ).

% min.cobounded2
thf(fact_5711_min_Ocobounded1,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A3: A,B2: A] : ( ord_less_eq @ A @ ( ord_min @ A @ A3 @ B2 ) @ A3 ) ) ).

% min.cobounded1
thf(fact_5712_min_Oorder__iff,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ( ( ord_less_eq @ A )
        = ( ^ [A7: A,B5: A] :
              ( A7
              = ( ord_min @ A @ A7 @ B5 ) ) ) ) ) ).

% min.order_iff
thf(fact_5713_min_OboundedI,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ( ord_less_eq @ A @ A3 @ C3 )
           => ( ord_less_eq @ A @ A3 @ ( ord_min @ A @ B2 @ C3 ) ) ) ) ) ).

% min.boundedI
thf(fact_5714_min_OboundedE,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less_eq @ A @ A3 @ ( ord_min @ A @ B2 @ C3 ) )
         => ~ ( ( ord_less_eq @ A @ A3 @ B2 )
             => ~ ( ord_less_eq @ A @ A3 @ C3 ) ) ) ) ).

% min.boundedE
thf(fact_5715_min_OorderI,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A3: A,B2: A] :
          ( ( A3
            = ( ord_min @ A @ A3 @ B2 ) )
         => ( ord_less_eq @ A @ A3 @ B2 ) ) ) ).

% min.orderI
thf(fact_5716_min_OorderE,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( A3
            = ( ord_min @ A @ A3 @ B2 ) ) ) ) ).

% min.orderE
thf(fact_5717_min_Omono,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A3: A,C3: A,B2: A,D3: A] :
          ( ( ord_less_eq @ A @ A3 @ C3 )
         => ( ( ord_less_eq @ A @ B2 @ D3 )
           => ( ord_less_eq @ A @ ( ord_min @ A @ A3 @ B2 ) @ ( ord_min @ A @ C3 @ D3 ) ) ) ) ) ).

% min.mono
thf(fact_5718_min__absorb2,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [Y: A,X: A] :
          ( ( ord_less_eq @ A @ Y @ X )
         => ( ( ord_min @ A @ X @ Y )
            = Y ) ) ) ).

% min_absorb2
thf(fact_5719_min__absorb1,axiom,
    ! [A: $tType] :
      ( ( ord @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less_eq @ A @ X @ Y )
         => ( ( ord_min @ A @ X @ Y )
            = X ) ) ) ).

% min_absorb1
thf(fact_5720_min__def,axiom,
    ! [A: $tType] :
      ( ( ord @ A )
     => ( ( ord_min @ A )
        = ( ^ [A7: A,B5: A] : ( if @ A @ ( ord_less_eq @ A @ A7 @ B5 ) @ A7 @ B5 ) ) ) ) ).

% min_def
thf(fact_5721_min__diff,axiom,
    ! [M: nat,I2: nat,N: nat] :
      ( ( ord_min @ nat @ ( minus_minus @ nat @ M @ I2 ) @ ( minus_minus @ nat @ N @ I2 ) )
      = ( minus_minus @ nat @ ( ord_min @ nat @ M @ N ) @ I2 ) ) ).

% min_diff
thf(fact_5722_min_Ostrict__coboundedI2,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [B2: A,C3: A,A3: A] :
          ( ( ord_less @ A @ B2 @ C3 )
         => ( ord_less @ A @ ( ord_min @ A @ A3 @ B2 ) @ C3 ) ) ) ).

% min.strict_coboundedI2
thf(fact_5723_min_Ostrict__coboundedI1,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A3: A,C3: A,B2: A] :
          ( ( ord_less @ A @ A3 @ C3 )
         => ( ord_less @ A @ ( ord_min @ A @ A3 @ B2 ) @ C3 ) ) ) ).

% min.strict_coboundedI1
thf(fact_5724_min_Ostrict__order__iff,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ( ( ord_less @ A )
        = ( ^ [A7: A,B5: A] :
              ( ( A7
                = ( ord_min @ A @ A7 @ B5 ) )
              & ( A7 != B5 ) ) ) ) ) ).

% min.strict_order_iff
thf(fact_5725_min_Ostrict__boundedE,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( ord_less @ A @ A3 @ ( ord_min @ A @ B2 @ C3 ) )
         => ~ ( ( ord_less @ A @ A3 @ B2 )
             => ~ ( ord_less @ A @ A3 @ C3 ) ) ) ) ).

% min.strict_boundedE
thf(fact_5726_min__less__iff__disj,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [X: A,Y: A,Z4: A] :
          ( ( ord_less @ A @ ( ord_min @ A @ X @ Y ) @ Z4 )
          = ( ( ord_less @ A @ X @ Z4 )
            | ( ord_less @ A @ Y @ Z4 ) ) ) ) ).

% min_less_iff_disj
thf(fact_5727_of__nat__min,axiom,
    ! [A: $tType] :
      ( ( linord181362715937106298miring @ A )
     => ! [X: nat,Y: nat] :
          ( ( semiring_1_of_nat @ A @ ( ord_min @ nat @ X @ Y ) )
          = ( ord_min @ A @ ( semiring_1_of_nat @ A @ X ) @ ( semiring_1_of_nat @ A @ Y ) ) ) ) ).

% of_nat_min
thf(fact_5728_nat__mult__min__right,axiom,
    ! [M: nat,N: nat,Q6: nat] :
      ( ( times_times @ nat @ M @ ( ord_min @ nat @ N @ Q6 ) )
      = ( ord_min @ nat @ ( times_times @ nat @ M @ N ) @ ( times_times @ nat @ M @ Q6 ) ) ) ).

% nat_mult_min_right
thf(fact_5729_nat__mult__min__left,axiom,
    ! [M: nat,N: nat,Q6: nat] :
      ( ( times_times @ nat @ ( ord_min @ nat @ M @ N ) @ Q6 )
      = ( ord_min @ nat @ ( times_times @ nat @ M @ Q6 ) @ ( times_times @ nat @ N @ Q6 ) ) ) ).

% nat_mult_min_left
thf(fact_5730_min__add__distrib__left,axiom,
    ! [A: $tType] :
      ( ( ordere2412721322843649153imp_le @ A )
     => ! [X: A,Y: A,Z4: A] :
          ( ( plus_plus @ A @ ( ord_min @ A @ X @ Y ) @ Z4 )
          = ( ord_min @ A @ ( plus_plus @ A @ X @ Z4 ) @ ( plus_plus @ A @ Y @ Z4 ) ) ) ) ).

% min_add_distrib_left
thf(fact_5731_min__add__distrib__right,axiom,
    ! [A: $tType] :
      ( ( ordere2412721322843649153imp_le @ A )
     => ! [X: A,Y: A,Z4: A] :
          ( ( plus_plus @ A @ X @ ( ord_min @ A @ Y @ Z4 ) )
          = ( ord_min @ A @ ( plus_plus @ A @ X @ Y ) @ ( plus_plus @ A @ X @ Z4 ) ) ) ) ).

% min_add_distrib_right
thf(fact_5732_inf__nat__def,axiom,
    ( ( inf_inf @ nat )
    = ( ord_min @ nat ) ) ).

% inf_nat_def
thf(fact_5733_Min_Osemilattice__order__set__axioms,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ( lattic4895041142388067077er_set @ A @ ( ord_min @ A ) @ ( ord_less_eq @ A ) @ ( ord_less @ A ) ) ) ).

% Min.semilattice_order_set_axioms
thf(fact_5734_le__prod__encode__2,axiom,
    ! [B2: nat,A3: nat] : ( ord_less_eq @ nat @ B2 @ ( nat_prod_encode @ ( product_Pair @ nat @ nat @ A3 @ B2 ) ) ) ).

% le_prod_encode_2
thf(fact_5735_le__prod__encode__1,axiom,
    ! [A3: nat,B2: nat] : ( ord_less_eq @ nat @ A3 @ ( nat_prod_encode @ ( product_Pair @ nat @ nat @ A3 @ B2 ) ) ) ).

% le_prod_encode_1
thf(fact_5736_max__mult__distrib__left,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [P3: A,X: A,Y: A] :
          ( ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ P3 )
           => ( ( times_times @ A @ P3 @ ( ord_max @ A @ X @ Y ) )
              = ( ord_max @ A @ ( times_times @ A @ P3 @ X ) @ ( times_times @ A @ P3 @ Y ) ) ) )
          & ( ~ ( ord_less_eq @ A @ ( zero_zero @ A ) @ P3 )
           => ( ( times_times @ A @ P3 @ ( ord_max @ A @ X @ Y ) )
              = ( ord_min @ A @ ( times_times @ A @ P3 @ X ) @ ( times_times @ A @ P3 @ Y ) ) ) ) ) ) ).

% max_mult_distrib_left
thf(fact_5737_min__mult__distrib__left,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [P3: A,X: A,Y: A] :
          ( ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ P3 )
           => ( ( times_times @ A @ P3 @ ( ord_min @ A @ X @ Y ) )
              = ( ord_min @ A @ ( times_times @ A @ P3 @ X ) @ ( times_times @ A @ P3 @ Y ) ) ) )
          & ( ~ ( ord_less_eq @ A @ ( zero_zero @ A ) @ P3 )
           => ( ( times_times @ A @ P3 @ ( ord_min @ A @ X @ Y ) )
              = ( ord_max @ A @ ( times_times @ A @ P3 @ X ) @ ( times_times @ A @ P3 @ Y ) ) ) ) ) ) ).

% min_mult_distrib_left
thf(fact_5738_max__mult__distrib__right,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [P3: A,X: A,Y: A] :
          ( ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ P3 )
           => ( ( times_times @ A @ ( ord_max @ A @ X @ Y ) @ P3 )
              = ( ord_max @ A @ ( times_times @ A @ X @ P3 ) @ ( times_times @ A @ Y @ P3 ) ) ) )
          & ( ~ ( ord_less_eq @ A @ ( zero_zero @ A ) @ P3 )
           => ( ( times_times @ A @ ( ord_max @ A @ X @ Y ) @ P3 )
              = ( ord_min @ A @ ( times_times @ A @ X @ P3 ) @ ( times_times @ A @ Y @ P3 ) ) ) ) ) ) ).

% max_mult_distrib_right
thf(fact_5739_min__mult__distrib__right,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [P3: A,X: A,Y: A] :
          ( ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ P3 )
           => ( ( times_times @ A @ ( ord_min @ A @ X @ Y ) @ P3 )
              = ( ord_min @ A @ ( times_times @ A @ X @ P3 ) @ ( times_times @ A @ Y @ P3 ) ) ) )
          & ( ~ ( ord_less_eq @ A @ ( zero_zero @ A ) @ P3 )
           => ( ( times_times @ A @ ( ord_min @ A @ X @ Y ) @ P3 )
              = ( ord_max @ A @ ( times_times @ A @ X @ P3 ) @ ( times_times @ A @ Y @ P3 ) ) ) ) ) ) ).

% min_mult_distrib_right
thf(fact_5740_max__divide__distrib__right,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [P3: A,X: A,Y: A] :
          ( ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ P3 )
           => ( ( divide_divide @ A @ ( ord_max @ A @ X @ Y ) @ P3 )
              = ( ord_max @ A @ ( divide_divide @ A @ X @ P3 ) @ ( divide_divide @ A @ Y @ P3 ) ) ) )
          & ( ~ ( ord_less_eq @ A @ ( zero_zero @ A ) @ P3 )
           => ( ( divide_divide @ A @ ( ord_max @ A @ X @ Y ) @ P3 )
              = ( ord_min @ A @ ( divide_divide @ A @ X @ P3 ) @ ( divide_divide @ A @ Y @ P3 ) ) ) ) ) ) ).

% max_divide_distrib_right
thf(fact_5741_min__divide__distrib__right,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [P3: A,X: A,Y: A] :
          ( ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ P3 )
           => ( ( divide_divide @ A @ ( ord_min @ A @ X @ Y ) @ P3 )
              = ( ord_min @ A @ ( divide_divide @ A @ X @ P3 ) @ ( divide_divide @ A @ Y @ P3 ) ) ) )
          & ( ~ ( ord_less_eq @ A @ ( zero_zero @ A ) @ P3 )
           => ( ( divide_divide @ A @ ( ord_min @ A @ X @ Y ) @ P3 )
              = ( ord_max @ A @ ( divide_divide @ A @ X @ P3 ) @ ( divide_divide @ A @ Y @ P3 ) ) ) ) ) ) ).

% min_divide_distrib_right
thf(fact_5742_Inf__insert__finite,axiom,
    ! [A: $tType] :
      ( ( condit6923001295902523014norder @ A )
     => ! [S: set @ A,X: A] :
          ( ( finite_finite2 @ A @ S )
         => ( ( ( S
                = ( bot_bot @ ( set @ A ) ) )
             => ( ( complete_Inf_Inf @ A @ ( insert @ A @ X @ S ) )
                = X ) )
            & ( ( S
               != ( bot_bot @ ( set @ A ) ) )
             => ( ( complete_Inf_Inf @ A @ ( insert @ A @ X @ S ) )
                = ( ord_min @ A @ X @ ( complete_Inf_Inf @ A @ S ) ) ) ) ) ) ) ).

% Inf_insert_finite
thf(fact_5743_min__Suc1,axiom,
    ! [N: nat,M: nat] :
      ( ( ord_min @ nat @ ( suc @ N ) @ M )
      = ( case_nat @ nat @ ( zero_zero @ nat )
        @ ^ [M7: nat] : ( suc @ ( ord_min @ nat @ N @ M7 ) )
        @ M ) ) ).

% min_Suc1
thf(fact_5744_min__Suc2,axiom,
    ! [M: nat,N: nat] :
      ( ( ord_min @ nat @ M @ ( suc @ N ) )
      = ( case_nat @ nat @ ( zero_zero @ nat )
        @ ^ [M7: nat] : ( suc @ ( ord_min @ nat @ M7 @ N ) )
        @ M ) ) ).

% min_Suc2
thf(fact_5745_Gr__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( bNF_Gr @ A @ B )
      = ( ^ [A8: set @ A,F4: A > B] :
            ( collect @ ( product_prod @ A @ B )
            @ ^ [Uu2: product_prod @ A @ B] :
              ? [A7: A] :
                ( ( Uu2
                  = ( product_Pair @ A @ B @ A7 @ ( F4 @ A7 ) ) )
                & ( member @ A @ A7 @ A8 ) ) ) ) ) ).

% Gr_def
thf(fact_5746_prod__encode__prod__decode__aux,axiom,
    ! [K2: nat,M: nat] :
      ( ( nat_prod_encode @ ( nat_prod_decode_aux @ K2 @ M ) )
      = ( plus_plus @ nat @ ( nat_triangle @ K2 ) @ M ) ) ).

% prod_encode_prod_decode_aux
thf(fact_5747_lexord__take__index__conv,axiom,
    ! [A: $tType,X: list @ A,Y: list @ A,R3: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ X @ Y ) @ ( lexord @ A @ R3 ) )
      = ( ( ( ord_less @ nat @ ( size_size @ ( list @ A ) @ X ) @ ( size_size @ ( list @ A ) @ Y ) )
          & ( ( take @ A @ ( size_size @ ( list @ A ) @ X ) @ Y )
            = X ) )
        | ? [I: nat] :
            ( ( ord_less @ nat @ I @ ( ord_min @ nat @ ( size_size @ ( list @ A ) @ X ) @ ( size_size @ ( list @ A ) @ Y ) ) )
            & ( ( take @ A @ I @ X )
              = ( take @ A @ I @ Y ) )
            & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ ( nth @ A @ X @ I ) @ ( nth @ A @ Y @ I ) ) @ R3 ) ) ) ) ).

% lexord_take_index_conv
thf(fact_5748_min__list_Osimps,axiom,
    ! [A: $tType] :
      ( ( ord @ A )
     => ! [X: A,Xs: list @ A] :
          ( ( min_list @ A @ ( cons @ A @ X @ Xs ) )
          = ( case_list @ A @ A @ X
            @ ^ [A7: A,List: list @ A] : ( ord_min @ A @ X @ ( min_list @ A @ Xs ) )
            @ Xs ) ) ) ).

% min_list.simps
thf(fact_5749_set__list__bind,axiom,
    ! [A: $tType,B: $tType,Xs: list @ B,F3: B > ( list @ A )] :
      ( ( set2 @ A @ ( bind @ B @ A @ Xs @ F3 ) )
      = ( complete_Sup_Sup @ ( set @ A )
        @ ( image2 @ B @ ( set @ A )
          @ ^ [X4: B] : ( set2 @ A @ ( F3 @ X4 ) )
          @ ( set2 @ B @ Xs ) ) ) ) ).

% set_list_bind
thf(fact_5750_rtrancl__restrictI,axiom,
    ! [A: $tType,U: A,V2: A,E6: set @ ( product_prod @ A @ A ),R4: set @ A] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ U @ V2 )
        @ ( transitive_rtrancl @ A
          @ ( minus_minus @ ( set @ ( product_prod @ A @ A ) ) @ E6
            @ ( product_Sigma @ A @ A @ ( top_top @ ( set @ A ) )
              @ ^ [Uu2: A] : R4 ) ) ) )
     => ( ~ ( member @ A @ U @ R4 )
       => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ U @ V2 ) @ ( transitive_rtrancl @ A @ ( rel_restrict @ A @ E6 @ R4 ) ) ) ) ) ).

% rtrancl_restrictI
thf(fact_5751_rel__restrict__empty,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A )] :
      ( ( rel_restrict @ A @ R4 @ ( bot_bot @ ( set @ A ) ) )
      = R4 ) ).

% rel_restrict_empty
thf(fact_5752_finite__rel__restrict,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A ),A6: set @ A] :
      ( ( finite_finite2 @ ( product_prod @ A @ A ) @ R4 )
     => ( finite_finite2 @ ( product_prod @ A @ A ) @ ( rel_restrict @ A @ R4 @ A6 ) ) ) ).

% finite_rel_restrict
thf(fact_5753_rel__restrict__mono,axiom,
    ! [A: $tType,A6: set @ ( product_prod @ A @ A ),B6: set @ ( product_prod @ A @ A ),R4: set @ A] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ A6 @ B6 )
     => ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ ( rel_restrict @ A @ A6 @ R4 ) @ ( rel_restrict @ A @ B6 @ R4 ) ) ) ).

% rel_restrict_mono
thf(fact_5754_rel__restrict__sub,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A ),A6: set @ A] : ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ ( rel_restrict @ A @ R4 @ A6 ) @ R4 ) ).

% rel_restrict_sub
thf(fact_5755_rel__restrict__union,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A ),A6: set @ A,B6: set @ A] :
      ( ( rel_restrict @ A @ R4 @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) )
      = ( rel_restrict @ A @ ( rel_restrict @ A @ R4 @ A6 ) @ B6 ) ) ).

% rel_restrict_union
thf(fact_5756_rel__restrict__notR_I2_J,axiom,
    ! [A: $tType,X: A,Y: A,A6: set @ ( product_prod @ A @ A ),R4: set @ A] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ ( rel_restrict @ A @ A6 @ R4 ) )
     => ~ ( member @ A @ Y @ R4 ) ) ).

% rel_restrict_notR(2)
thf(fact_5757_rel__restrict__notR_I1_J,axiom,
    ! [A: $tType,X: A,Y: A,A6: set @ ( product_prod @ A @ A ),R4: set @ A] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ ( rel_restrict @ A @ A6 @ R4 ) )
     => ~ ( member @ A @ X @ R4 ) ) ).

% rel_restrict_notR(1)
thf(fact_5758_rel__restrictI,axiom,
    ! [A: $tType,X: A,R4: set @ A,Y: A,E6: set @ ( product_prod @ A @ A )] :
      ( ~ ( member @ A @ X @ R4 )
     => ( ~ ( member @ A @ Y @ R4 )
       => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ E6 )
         => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ ( rel_restrict @ A @ E6 @ R4 ) ) ) ) ) ).

% rel_restrictI
thf(fact_5759_rel__restrict__lift,axiom,
    ! [A: $tType,X: A,Y: A,E6: set @ ( product_prod @ A @ A ),R4: set @ A] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ ( rel_restrict @ A @ E6 @ R4 ) )
     => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ E6 ) ) ).

% rel_restrict_lift
thf(fact_5760_rel__restrict__trancl__mem,axiom,
    ! [A: $tType,A3: A,B2: A,A6: set @ ( product_prod @ A @ A ),R4: set @ A] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ ( transitive_trancl @ A @ ( rel_restrict @ A @ A6 @ R4 ) ) )
     => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ ( rel_restrict @ A @ ( transitive_trancl @ A @ A6 ) @ R4 ) ) ) ).

% rel_restrict_trancl_mem
thf(fact_5761_rel__restrict__trancl__notR_I1_J,axiom,
    ! [A: $tType,V2: A,W2: A,E6: set @ ( product_prod @ A @ A ),R4: set @ A] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ V2 @ W2 ) @ ( transitive_trancl @ A @ ( rel_restrict @ A @ E6 @ R4 ) ) )
     => ~ ( member @ A @ V2 @ R4 ) ) ).

% rel_restrict_trancl_notR(1)
thf(fact_5762_rel__restrict__trancl__notR_I2_J,axiom,
    ! [A: $tType,V2: A,W2: A,E6: set @ ( product_prod @ A @ A ),R4: set @ A] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ V2 @ W2 ) @ ( transitive_trancl @ A @ ( rel_restrict @ A @ E6 @ R4 ) ) )
     => ~ ( member @ A @ W2 @ R4 ) ) ).

% rel_restrict_trancl_notR(2)
thf(fact_5763_rel__restrict__mono2,axiom,
    ! [A: $tType,R4: set @ A,S: set @ A,A6: set @ ( product_prod @ A @ A )] :
      ( ( ord_less_eq @ ( set @ A ) @ R4 @ S )
     => ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ ( rel_restrict @ A @ A6 @ S ) @ ( rel_restrict @ A @ A6 @ R4 ) ) ) ).

% rel_restrict_mono2
thf(fact_5764_rel__restrict__trancl__sub,axiom,
    ! [A: $tType,A6: set @ ( product_prod @ A @ A ),R4: set @ A] : ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ ( transitive_trancl @ A @ ( rel_restrict @ A @ A6 @ R4 ) ) @ ( rel_restrict @ A @ ( transitive_trancl @ A @ A6 ) @ R4 ) ) ).

% rel_restrict_trancl_sub
thf(fact_5765_rel__restrict__def,axiom,
    ! [A: $tType] :
      ( ( rel_restrict @ A )
      = ( ^ [R2: set @ ( product_prod @ A @ A ),A8: set @ A] :
            ( collect @ ( product_prod @ A @ A )
            @ ( product_case_prod @ A @ A @ $o
              @ ^ [V3: A,W3: A] :
                  ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ V3 @ W3 ) @ R2 )
                  & ~ ( member @ A @ V3 @ A8 )
                  & ~ ( member @ A @ W3 @ A8 ) ) ) ) ) ) ).

% rel_restrict_def
thf(fact_5766_rel__restrict__compl,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A ),A6: set @ A] :
      ( ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ ( rel_restrict @ A @ R4 @ A6 ) @ ( rel_restrict @ A @ R4 @ ( uminus_uminus @ ( set @ A ) @ A6 ) ) )
      = ( bot_bot @ ( set @ ( product_prod @ A @ A ) ) ) ) ).

% rel_restrict_compl
thf(fact_5767_homo__rel__restrict__mono,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A ),B6: set @ A,A6: set @ A] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ R4
        @ ( product_Sigma @ A @ A @ B6
          @ ^ [Uu2: A] : B6 ) )
     => ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ ( rel_restrict @ A @ R4 @ A6 )
        @ ( product_Sigma @ A @ A @ ( minus_minus @ ( set @ A ) @ B6 @ A6 )
          @ ^ [Uu2: A] : ( minus_minus @ ( set @ A ) @ B6 @ A6 ) ) ) ) ).

% homo_rel_restrict_mono
thf(fact_5768_rel__restrict__alt__def,axiom,
    ! [A: $tType] :
      ( ( rel_restrict @ A )
      = ( ^ [R2: set @ ( product_prod @ A @ A ),A8: set @ A] :
            ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R2
            @ ( product_Sigma @ A @ A @ ( uminus_uminus @ ( set @ A ) @ A8 )
              @ ^ [Uu2: A] : ( uminus_uminus @ ( set @ A ) @ A8 ) ) ) ) ) ).

% rel_restrict_alt_def
thf(fact_5769_rel__restrict__Sigma__sub,axiom,
    ! [A: $tType,A6: set @ A,R4: set @ A] :
      ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) )
      @ ( rel_restrict @ A
        @ ( transitive_trancl @ A
          @ ( product_Sigma @ A @ A @ A6
            @ ^ [Uu2: A] : A6 ) )
        @ R4 )
      @ ( transitive_trancl @ A
        @ ( product_Sigma @ A @ A @ ( minus_minus @ ( set @ A ) @ A6 @ R4 )
          @ ^ [Uu2: A] : ( minus_minus @ ( set @ A ) @ A6 @ R4 ) ) ) ) ).

% rel_restrict_Sigma_sub
thf(fact_5770_min__list_Oelims,axiom,
    ! [A: $tType] :
      ( ( ord @ A )
     => ! [X: list @ A,Y: A] :
          ( ( ( min_list @ A @ X )
            = Y )
         => ( ! [X3: A,Xs2: list @ A] :
                ( ( X
                  = ( cons @ A @ X3 @ Xs2 ) )
               => ( Y
                 != ( case_list @ A @ A @ X3
                    @ ^ [A7: A,List: list @ A] : ( ord_min @ A @ X3 @ ( min_list @ A @ Xs2 ) )
                    @ Xs2 ) ) )
           => ~ ( ( X
                  = ( nil @ A ) )
               => ( Y
                 != ( undefined @ A ) ) ) ) ) ) ).

% min_list.elims
thf(fact_5771_times__int_Orsp,axiom,
    ( bNF_rel_fun @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) @ ( ( product_prod @ nat @ nat ) > ( product_prod @ nat @ nat ) ) @ ( ( product_prod @ nat @ nat ) > ( product_prod @ nat @ nat ) ) @ intrel @ ( bNF_rel_fun @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) @ intrel @ intrel )
    @ ( product_case_prod @ nat @ nat @ ( ( product_prod @ nat @ nat ) > ( product_prod @ nat @ nat ) )
      @ ^ [X4: nat,Y4: nat] :
          ( product_case_prod @ nat @ nat @ ( product_prod @ nat @ nat )
          @ ^ [U2: nat,V3: nat] : ( product_Pair @ nat @ nat @ ( plus_plus @ nat @ ( times_times @ nat @ X4 @ U2 ) @ ( times_times @ nat @ Y4 @ V3 ) ) @ ( plus_plus @ nat @ ( times_times @ nat @ X4 @ V3 ) @ ( times_times @ nat @ Y4 @ U2 ) ) ) ) )
    @ ( product_case_prod @ nat @ nat @ ( ( product_prod @ nat @ nat ) > ( product_prod @ nat @ nat ) )
      @ ^ [X4: nat,Y4: nat] :
          ( product_case_prod @ nat @ nat @ ( product_prod @ nat @ nat )
          @ ^ [U2: nat,V3: nat] : ( product_Pair @ nat @ nat @ ( plus_plus @ nat @ ( times_times @ nat @ X4 @ U2 ) @ ( times_times @ nat @ Y4 @ V3 ) ) @ ( plus_plus @ nat @ ( times_times @ nat @ X4 @ V3 ) @ ( times_times @ nat @ Y4 @ U2 ) ) ) ) ) ) ).

% times_int.rsp
thf(fact_5772_image__split__eq__Sigma,axiom,
    ! [C: $tType,B: $tType,A: $tType,F3: C > A,G3: C > B,A6: set @ C] :
      ( ( image2 @ C @ ( product_prod @ A @ B )
        @ ^ [X4: C] : ( product_Pair @ A @ B @ ( F3 @ X4 ) @ ( G3 @ X4 ) )
        @ A6 )
      = ( product_Sigma @ A @ B @ ( image2 @ C @ A @ F3 @ A6 )
        @ ^ [X4: A] : ( image2 @ C @ B @ G3 @ ( inf_inf @ ( set @ C ) @ ( vimage @ C @ A @ F3 @ ( insert @ A @ X4 @ ( bot_bot @ ( set @ A ) ) ) ) @ A6 ) ) ) ) ).

% image_split_eq_Sigma
thf(fact_5773_vimage__eq,axiom,
    ! [A: $tType,B: $tType,A3: A,F3: A > B,B6: set @ B] :
      ( ( member @ A @ A3 @ ( vimage @ A @ B @ F3 @ B6 ) )
      = ( member @ B @ ( F3 @ A3 ) @ B6 ) ) ).

% vimage_eq
thf(fact_5774_vimageI,axiom,
    ! [B: $tType,A: $tType,F3: B > A,A3: B,B2: A,B6: set @ A] :
      ( ( ( F3 @ A3 )
        = B2 )
     => ( ( member @ A @ B2 @ B6 )
       => ( member @ B @ A3 @ ( vimage @ B @ A @ F3 @ B6 ) ) ) ) ).

% vimageI
thf(fact_5775_vimage__Collect__eq,axiom,
    ! [B: $tType,A: $tType,F3: A > B,P2: B > $o] :
      ( ( vimage @ A @ B @ F3 @ ( collect @ B @ P2 ) )
      = ( collect @ A
        @ ^ [Y4: A] : ( P2 @ ( F3 @ Y4 ) ) ) ) ).

% vimage_Collect_eq
thf(fact_5776_vimage__ident,axiom,
    ! [A: $tType,Y7: set @ A] :
      ( ( vimage @ A @ A
        @ ^ [X4: A] : X4
        @ Y7 )
      = Y7 ) ).

% vimage_ident
thf(fact_5777_vimage__empty,axiom,
    ! [B: $tType,A: $tType,F3: A > B] :
      ( ( vimage @ A @ B @ F3 @ ( bot_bot @ ( set @ B ) ) )
      = ( bot_bot @ ( set @ A ) ) ) ).

% vimage_empty
thf(fact_5778_vimage__UNIV,axiom,
    ! [B: $tType,A: $tType,F3: A > B] :
      ( ( vimage @ A @ B @ F3 @ ( top_top @ ( set @ B ) ) )
      = ( top_top @ ( set @ A ) ) ) ).

% vimage_UNIV
thf(fact_5779_vimage__Int,axiom,
    ! [A: $tType,B: $tType,F3: A > B,A6: set @ B,B6: set @ B] :
      ( ( vimage @ A @ B @ F3 @ ( inf_inf @ ( set @ B ) @ A6 @ B6 ) )
      = ( inf_inf @ ( set @ A ) @ ( vimage @ A @ B @ F3 @ A6 ) @ ( vimage @ A @ B @ F3 @ B6 ) ) ) ).

% vimage_Int
thf(fact_5780_vimage__Un,axiom,
    ! [A: $tType,B: $tType,F3: A > B,A6: set @ B,B6: set @ B] :
      ( ( vimage @ A @ B @ F3 @ ( sup_sup @ ( set @ B ) @ A6 @ B6 ) )
      = ( sup_sup @ ( set @ A ) @ ( vimage @ A @ B @ F3 @ A6 ) @ ( vimage @ A @ B @ F3 @ B6 ) ) ) ).

% vimage_Un
thf(fact_5781_intrel__iff,axiom,
    ! [X: nat,Y: nat,U: nat,V2: nat] :
      ( ( intrel @ ( product_Pair @ nat @ nat @ X @ Y ) @ ( product_Pair @ nat @ nat @ U @ V2 ) )
      = ( ( plus_plus @ nat @ X @ V2 )
        = ( plus_plus @ nat @ U @ Y ) ) ) ).

% intrel_iff
thf(fact_5782_vimage__const,axiom,
    ! [B: $tType,A: $tType,C3: B,A6: set @ B] :
      ( ( ( member @ B @ C3 @ A6 )
       => ( ( vimage @ A @ B
            @ ^ [X4: A] : C3
            @ A6 )
          = ( top_top @ ( set @ A ) ) ) )
      & ( ~ ( member @ B @ C3 @ A6 )
       => ( ( vimage @ A @ B
            @ ^ [X4: A] : C3
            @ A6 )
          = ( bot_bot @ ( set @ A ) ) ) ) ) ).

% vimage_const
thf(fact_5783_image__vimage__eq,axiom,
    ! [A: $tType,B: $tType,F3: B > A,A6: set @ A] :
      ( ( image2 @ B @ A @ F3 @ ( vimage @ B @ A @ F3 @ A6 ) )
      = ( inf_inf @ ( set @ A ) @ A6 @ ( image2 @ B @ A @ F3 @ ( top_top @ ( set @ B ) ) ) ) ) ).

% image_vimage_eq
thf(fact_5784_vimage__if,axiom,
    ! [B: $tType,A: $tType,C3: B,A6: set @ B,D3: B,B6: set @ A] :
      ( ( ( member @ B @ C3 @ A6 )
       => ( ( ( member @ B @ D3 @ A6 )
           => ( ( vimage @ A @ B
                @ ^ [X4: A] : ( if @ B @ ( member @ A @ X4 @ B6 ) @ C3 @ D3 )
                @ A6 )
              = ( top_top @ ( set @ A ) ) ) )
          & ( ~ ( member @ B @ D3 @ A6 )
           => ( ( vimage @ A @ B
                @ ^ [X4: A] : ( if @ B @ ( member @ A @ X4 @ B6 ) @ C3 @ D3 )
                @ A6 )
              = B6 ) ) ) )
      & ( ~ ( member @ B @ C3 @ A6 )
       => ( ( ( member @ B @ D3 @ A6 )
           => ( ( vimage @ A @ B
                @ ^ [X4: A] : ( if @ B @ ( member @ A @ X4 @ B6 ) @ C3 @ D3 )
                @ A6 )
              = ( uminus_uminus @ ( set @ A ) @ B6 ) ) )
          & ( ~ ( member @ B @ D3 @ A6 )
           => ( ( vimage @ A @ B
                @ ^ [X4: A] : ( if @ B @ ( member @ A @ X4 @ B6 ) @ C3 @ D3 )
                @ A6 )
              = ( bot_bot @ ( set @ A ) ) ) ) ) ) ) ).

% vimage_if
thf(fact_5785_vimage__inter__cong,axiom,
    ! [B: $tType,A: $tType,S: set @ A,F3: A > B,G3: A > B,Y: set @ B] :
      ( ! [W: A] :
          ( ( member @ A @ W @ S )
         => ( ( F3 @ W )
            = ( G3 @ W ) ) )
     => ( ( inf_inf @ ( set @ A ) @ ( vimage @ A @ B @ F3 @ Y ) @ S )
        = ( inf_inf @ ( set @ A ) @ ( vimage @ A @ B @ G3 @ Y ) @ S ) ) ) ).

% vimage_inter_cong
thf(fact_5786_subset__vimage__iff,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,F3: A > B,B6: set @ B] :
      ( ( ord_less_eq @ ( set @ A ) @ A6 @ ( vimage @ A @ B @ F3 @ B6 ) )
      = ( ! [X4: A] :
            ( ( member @ A @ X4 @ A6 )
           => ( member @ B @ ( F3 @ X4 ) @ B6 ) ) ) ) ).

% subset_vimage_iff
thf(fact_5787_vimage__mono,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,B6: set @ A,F3: B > A] :
      ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
     => ( ord_less_eq @ ( set @ B ) @ ( vimage @ B @ A @ F3 @ A6 ) @ ( vimage @ B @ A @ F3 @ B6 ) ) ) ).

% vimage_mono
thf(fact_5788_vimage__Diff,axiom,
    ! [A: $tType,B: $tType,F3: A > B,A6: set @ B,B6: set @ B] :
      ( ( vimage @ A @ B @ F3 @ ( minus_minus @ ( set @ B ) @ A6 @ B6 ) )
      = ( minus_minus @ ( set @ A ) @ ( vimage @ A @ B @ F3 @ A6 ) @ ( vimage @ A @ B @ F3 @ B6 ) ) ) ).

% vimage_Diff
thf(fact_5789_vimage__Compl,axiom,
    ! [A: $tType,B: $tType,F3: A > B,A6: set @ B] :
      ( ( vimage @ A @ B @ F3 @ ( uminus_uminus @ ( set @ B ) @ A6 ) )
      = ( uminus_uminus @ ( set @ A ) @ ( vimage @ A @ B @ F3 @ A6 ) ) ) ).

% vimage_Compl
thf(fact_5790_vimage__singleton__eq,axiom,
    ! [A: $tType,B: $tType,A3: A,F3: A > B,B2: B] :
      ( ( member @ A @ A3 @ ( vimage @ A @ B @ F3 @ ( insert @ B @ B2 @ ( bot_bot @ ( set @ B ) ) ) ) )
      = ( ( F3 @ A3 )
        = B2 ) ) ).

% vimage_singleton_eq
thf(fact_5791_vimage__Collect,axiom,
    ! [B: $tType,A: $tType,P2: B > $o,F3: A > B,Q2: A > $o] :
      ( ! [X3: A] :
          ( ( P2 @ ( F3 @ X3 ) )
          = ( Q2 @ X3 ) )
     => ( ( vimage @ A @ B @ F3 @ ( collect @ B @ P2 ) )
        = ( collect @ A @ Q2 ) ) ) ).

% vimage_Collect
thf(fact_5792_vimageI2,axiom,
    ! [B: $tType,A: $tType,F3: B > A,A3: B,A6: set @ A] :
      ( ( member @ A @ ( F3 @ A3 ) @ A6 )
     => ( member @ B @ A3 @ ( vimage @ B @ A @ F3 @ A6 ) ) ) ).

% vimageI2
thf(fact_5793_vimageE,axiom,
    ! [A: $tType,B: $tType,A3: A,F3: A > B,B6: set @ B] :
      ( ( member @ A @ A3 @ ( vimage @ A @ B @ F3 @ B6 ) )
     => ( member @ B @ ( F3 @ A3 ) @ B6 ) ) ).

% vimageE
thf(fact_5794_vimageD,axiom,
    ! [A: $tType,B: $tType,A3: A,F3: A > B,A6: set @ B] :
      ( ( member @ A @ A3 @ ( vimage @ A @ B @ F3 @ A6 ) )
     => ( member @ B @ ( F3 @ A3 ) @ A6 ) ) ).

% vimageD
thf(fact_5795_vimage__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( vimage @ A @ B )
      = ( ^ [F4: A > B,B7: set @ B] :
            ( collect @ A
            @ ^ [X4: A] : ( member @ B @ ( F4 @ X4 ) @ B7 ) ) ) ) ).

% vimage_def
thf(fact_5796_image__subset__iff__subset__vimage,axiom,
    ! [B: $tType,A: $tType,F3: B > A,A6: set @ B,B6: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ ( image2 @ B @ A @ F3 @ A6 ) @ B6 )
      = ( ord_less_eq @ ( set @ B ) @ A6 @ ( vimage @ B @ A @ F3 @ B6 ) ) ) ).

% image_subset_iff_subset_vimage
thf(fact_5797_image__vimage__subset,axiom,
    ! [B: $tType,A: $tType,F3: B > A,A6: set @ A] : ( ord_less_eq @ ( set @ A ) @ ( image2 @ B @ A @ F3 @ ( vimage @ B @ A @ F3 @ A6 ) ) @ A6 ) ).

% image_vimage_subset
thf(fact_5798_vimage__UN,axiom,
    ! [A: $tType,B: $tType,C: $tType,F3: A > B,B6: C > ( set @ B ),A6: set @ C] :
      ( ( vimage @ A @ B @ F3 @ ( complete_Sup_Sup @ ( set @ B ) @ ( image2 @ C @ ( set @ B ) @ B6 @ A6 ) ) )
      = ( complete_Sup_Sup @ ( set @ A )
        @ ( image2 @ C @ ( set @ A )
          @ ^ [X4: C] : ( vimage @ A @ B @ F3 @ ( B6 @ X4 ) )
          @ A6 ) ) ) ).

% vimage_UN
thf(fact_5799_vimage__INT,axiom,
    ! [A: $tType,B: $tType,C: $tType,F3: A > B,B6: C > ( set @ B ),A6: set @ C] :
      ( ( vimage @ A @ B @ F3 @ ( complete_Inf_Inf @ ( set @ B ) @ ( image2 @ C @ ( set @ B ) @ B6 @ A6 ) ) )
      = ( complete_Inf_Inf @ ( set @ A )
        @ ( image2 @ C @ ( set @ A )
          @ ^ [X4: C] : ( vimage @ A @ B @ F3 @ ( B6 @ X4 ) )
          @ A6 ) ) ) ).

% vimage_INT
thf(fact_5800_vimage__Times,axiom,
    ! [A: $tType,B: $tType,C: $tType,F3: A > ( product_prod @ B @ C ),A6: set @ B,B6: set @ C] :
      ( ( vimage @ A @ ( product_prod @ B @ C ) @ F3
        @ ( product_Sigma @ B @ C @ A6
          @ ^ [Uu2: B] : B6 ) )
      = ( inf_inf @ ( set @ A ) @ ( vimage @ A @ B @ ( comp @ ( product_prod @ B @ C ) @ B @ A @ ( product_fst @ B @ C ) @ F3 ) @ A6 ) @ ( vimage @ A @ C @ ( comp @ ( product_prod @ B @ C ) @ C @ A @ ( product_snd @ B @ C ) @ F3 ) @ B6 ) ) ) ).

% vimage_Times
thf(fact_5801_vimage__Union,axiom,
    ! [A: $tType,B: $tType,F3: A > B,A6: set @ ( set @ B )] :
      ( ( vimage @ A @ B @ F3 @ ( complete_Sup_Sup @ ( set @ B ) @ A6 ) )
      = ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ ( set @ B ) @ ( set @ A ) @ ( vimage @ A @ B @ F3 ) @ A6 ) ) ) ).

% vimage_Union
thf(fact_5802_Pair__vimage__Sigma,axiom,
    ! [B: $tType,A: $tType,X: B,A6: set @ B,F3: B > ( set @ A )] :
      ( ( ( member @ B @ X @ A6 )
       => ( ( vimage @ A @ ( product_prod @ B @ A ) @ ( product_Pair @ B @ A @ X ) @ ( product_Sigma @ B @ A @ A6 @ F3 ) )
          = ( F3 @ X ) ) )
      & ( ~ ( member @ B @ X @ A6 )
       => ( ( vimage @ A @ ( product_prod @ B @ A ) @ ( product_Pair @ B @ A @ X ) @ ( product_Sigma @ B @ A @ A6 @ F3 ) )
          = ( bot_bot @ ( set @ A ) ) ) ) ) ).

% Pair_vimage_Sigma
thf(fact_5803_vimage__subsetD,axiom,
    ! [A: $tType,B: $tType,F3: B > A,B6: set @ A,A6: set @ B] :
      ( ( ( image2 @ B @ A @ F3 @ ( top_top @ ( set @ B ) ) )
        = ( top_top @ ( set @ A ) ) )
     => ( ( ord_less_eq @ ( set @ B ) @ ( vimage @ B @ A @ F3 @ B6 ) @ A6 )
       => ( ord_less_eq @ ( set @ A ) @ B6 @ ( image2 @ B @ A @ F3 @ A6 ) ) ) ) ).

% vimage_subsetD
thf(fact_5804_vimage__insert,axiom,
    ! [A: $tType,B: $tType,F3: A > B,A3: B,B6: set @ B] :
      ( ( vimage @ A @ B @ F3 @ ( insert @ B @ A3 @ B6 ) )
      = ( sup_sup @ ( set @ A ) @ ( vimage @ A @ B @ F3 @ ( insert @ B @ A3 @ ( bot_bot @ ( set @ B ) ) ) ) @ ( vimage @ A @ B @ F3 @ B6 ) ) ) ).

% vimage_insert
thf(fact_5805_vimage__fst,axiom,
    ! [B: $tType,A: $tType,A6: set @ A] :
      ( ( vimage @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) @ A6 )
      = ( product_Sigma @ A @ B @ A6
        @ ^ [Uu2: A] : ( top_top @ ( set @ B ) ) ) ) ).

% vimage_fst
thf(fact_5806_vimage__snd,axiom,
    ! [B: $tType,A: $tType,A6: set @ B] :
      ( ( vimage @ ( product_prod @ A @ B ) @ B @ ( product_snd @ A @ B ) @ A6 )
      = ( product_Sigma @ A @ B @ ( top_top @ ( set @ A ) )
        @ ^ [Uu2: A] : A6 ) ) ).

% vimage_snd
thf(fact_5807_uminus__int_Orsp,axiom,
    ( bNF_rel_fun @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) @ intrel @ intrel
    @ ( product_case_prod @ nat @ nat @ ( product_prod @ nat @ nat )
      @ ^ [X4: nat,Y4: nat] : ( product_Pair @ nat @ nat @ Y4 @ X4 ) )
    @ ( product_case_prod @ nat @ nat @ ( product_prod @ nat @ nat )
      @ ^ [X4: nat,Y4: nat] : ( product_Pair @ nat @ nat @ Y4 @ X4 ) ) ) ).

% uminus_int.rsp
thf(fact_5808_option_Othe__def,axiom,
    ! [A: $tType] :
      ( ( the2 @ A )
      = ( case_option @ A @ A @ ( undefined @ A )
        @ ^ [X23: A] : X23 ) ) ).

% option.the_def
thf(fact_5809_hd__def,axiom,
    ! [A: $tType] :
      ( ( hd @ A )
      = ( case_list @ A @ A @ ( undefined @ A )
        @ ^ [X212: A,X223: list @ A] : X212 ) ) ).

% hd_def
thf(fact_5810_nat_Orsp,axiom,
    ( bNF_rel_fun @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) @ nat @ nat @ intrel
    @ ^ [Y6: nat,Z5: nat] : Y6 = Z5
    @ ( product_case_prod @ nat @ nat @ nat @ ( minus_minus @ nat ) )
    @ ( product_case_prod @ nat @ nat @ nat @ ( minus_minus @ nat ) ) ) ).

% nat.rsp
thf(fact_5811_finite__vimageD_H,axiom,
    ! [A: $tType,B: $tType,F3: A > B,A6: set @ B] :
      ( ( finite_finite2 @ A @ ( vimage @ A @ B @ F3 @ A6 ) )
     => ( ( ord_less_eq @ ( set @ B ) @ A6 @ ( image2 @ A @ B @ F3 @ ( top_top @ ( set @ A ) ) ) )
       => ( finite_finite2 @ B @ A6 ) ) ) ).

% finite_vimageD'
thf(fact_5812_of__int_Orsp,axiom,
    ! [A: $tType] :
      ( ( ring_1 @ A )
     => ( bNF_rel_fun @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) @ A @ A @ intrel
        @ ^ [Y6: A,Z5: A] : Y6 = Z5
        @ ( product_case_prod @ nat @ nat @ A
          @ ^ [I: nat,J: nat] : ( minus_minus @ A @ ( semiring_1_of_nat @ A @ I ) @ ( semiring_1_of_nat @ A @ J ) ) )
        @ ( product_case_prod @ nat @ nat @ A
          @ ^ [I: nat,J: nat] : ( minus_minus @ A @ ( semiring_1_of_nat @ A @ I ) @ ( semiring_1_of_nat @ A @ J ) ) ) ) ) ).

% of_int.rsp
thf(fact_5813_vimage__eq__UN,axiom,
    ! [B: $tType,A: $tType] :
      ( ( vimage @ A @ B )
      = ( ^ [F4: A > B,B7: set @ B] :
            ( complete_Sup_Sup @ ( set @ A )
            @ ( image2 @ B @ ( set @ A )
              @ ^ [Y4: B] : ( vimage @ A @ B @ F4 @ ( insert @ B @ Y4 @ ( bot_bot @ ( set @ B ) ) ) )
              @ B7 ) ) ) ) ).

% vimage_eq_UN
thf(fact_5814_intrel__def,axiom,
    ( intrel
    = ( product_case_prod @ nat @ nat @ ( ( product_prod @ nat @ nat ) > $o )
      @ ^ [X4: nat,Y4: nat] :
          ( product_case_prod @ nat @ nat @ $o
          @ ^ [U2: nat,V3: nat] :
              ( ( plus_plus @ nat @ X4 @ V3 )
              = ( plus_plus @ nat @ U2 @ Y4 ) ) ) ) ) ).

% intrel_def
thf(fact_5815_less__int_Orsp,axiom,
    ( bNF_rel_fun @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) @ ( ( product_prod @ nat @ nat ) > $o ) @ ( ( product_prod @ nat @ nat ) > $o ) @ intrel
    @ ( bNF_rel_fun @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) @ $o @ $o @ intrel
      @ ^ [Y6: $o,Z5: $o] : Y6 = Z5 )
    @ ( product_case_prod @ nat @ nat @ ( ( product_prod @ nat @ nat ) > $o )
      @ ^ [X4: nat,Y4: nat] :
          ( product_case_prod @ nat @ nat @ $o
          @ ^ [U2: nat,V3: nat] : ( ord_less @ nat @ ( plus_plus @ nat @ X4 @ V3 ) @ ( plus_plus @ nat @ U2 @ Y4 ) ) ) )
    @ ( product_case_prod @ nat @ nat @ ( ( product_prod @ nat @ nat ) > $o )
      @ ^ [X4: nat,Y4: nat] :
          ( product_case_prod @ nat @ nat @ $o
          @ ^ [U2: nat,V3: nat] : ( ord_less @ nat @ ( plus_plus @ nat @ X4 @ V3 ) @ ( plus_plus @ nat @ U2 @ Y4 ) ) ) ) ) ).

% less_int.rsp
thf(fact_5816_less__eq__int_Orsp,axiom,
    ( bNF_rel_fun @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) @ ( ( product_prod @ nat @ nat ) > $o ) @ ( ( product_prod @ nat @ nat ) > $o ) @ intrel
    @ ( bNF_rel_fun @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) @ $o @ $o @ intrel
      @ ^ [Y6: $o,Z5: $o] : Y6 = Z5 )
    @ ( product_case_prod @ nat @ nat @ ( ( product_prod @ nat @ nat ) > $o )
      @ ^ [X4: nat,Y4: nat] :
          ( product_case_prod @ nat @ nat @ $o
          @ ^ [U2: nat,V3: nat] : ( ord_less_eq @ nat @ ( plus_plus @ nat @ X4 @ V3 ) @ ( plus_plus @ nat @ U2 @ Y4 ) ) ) )
    @ ( product_case_prod @ nat @ nat @ ( ( product_prod @ nat @ nat ) > $o )
      @ ^ [X4: nat,Y4: nat] :
          ( product_case_prod @ nat @ nat @ $o
          @ ^ [U2: nat,V3: nat] : ( ord_less_eq @ nat @ ( plus_plus @ nat @ X4 @ V3 ) @ ( plus_plus @ nat @ U2 @ Y4 ) ) ) ) ) ).

% less_eq_int.rsp
thf(fact_5817_plus__int_Orsp,axiom,
    ( bNF_rel_fun @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) @ ( ( product_prod @ nat @ nat ) > ( product_prod @ nat @ nat ) ) @ ( ( product_prod @ nat @ nat ) > ( product_prod @ nat @ nat ) ) @ intrel @ ( bNF_rel_fun @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) @ intrel @ intrel )
    @ ( product_case_prod @ nat @ nat @ ( ( product_prod @ nat @ nat ) > ( product_prod @ nat @ nat ) )
      @ ^ [X4: nat,Y4: nat] :
          ( product_case_prod @ nat @ nat @ ( product_prod @ nat @ nat )
          @ ^ [U2: nat,V3: nat] : ( product_Pair @ nat @ nat @ ( plus_plus @ nat @ X4 @ U2 ) @ ( plus_plus @ nat @ Y4 @ V3 ) ) ) )
    @ ( product_case_prod @ nat @ nat @ ( ( product_prod @ nat @ nat ) > ( product_prod @ nat @ nat ) )
      @ ^ [X4: nat,Y4: nat] :
          ( product_case_prod @ nat @ nat @ ( product_prod @ nat @ nat )
          @ ^ [U2: nat,V3: nat] : ( product_Pair @ nat @ nat @ ( plus_plus @ nat @ X4 @ U2 ) @ ( plus_plus @ nat @ Y4 @ V3 ) ) ) ) ) ).

% plus_int.rsp
thf(fact_5818_minus__int_Orsp,axiom,
    ( bNF_rel_fun @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) @ ( ( product_prod @ nat @ nat ) > ( product_prod @ nat @ nat ) ) @ ( ( product_prod @ nat @ nat ) > ( product_prod @ nat @ nat ) ) @ intrel @ ( bNF_rel_fun @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) @ intrel @ intrel )
    @ ( product_case_prod @ nat @ nat @ ( ( product_prod @ nat @ nat ) > ( product_prod @ nat @ nat ) )
      @ ^ [X4: nat,Y4: nat] :
          ( product_case_prod @ nat @ nat @ ( product_prod @ nat @ nat )
          @ ^ [U2: nat,V3: nat] : ( product_Pair @ nat @ nat @ ( plus_plus @ nat @ X4 @ V3 ) @ ( plus_plus @ nat @ Y4 @ U2 ) ) ) )
    @ ( product_case_prod @ nat @ nat @ ( ( product_prod @ nat @ nat ) > ( product_prod @ nat @ nat ) )
      @ ^ [X4: nat,Y4: nat] :
          ( product_case_prod @ nat @ nat @ ( product_prod @ nat @ nat )
          @ ^ [U2: nat,V3: nat] : ( product_Pair @ nat @ nat @ ( plus_plus @ nat @ X4 @ V3 ) @ ( plus_plus @ nat @ Y4 @ U2 ) ) ) ) ) ).

% minus_int.rsp
thf(fact_5819_min__list_Opelims,axiom,
    ! [A: $tType] :
      ( ( ord @ A )
     => ! [X: list @ A,Y: A] :
          ( ( ( min_list @ A @ X )
            = Y )
         => ( ( accp @ ( list @ A ) @ ( min_list_rel @ A ) @ X )
           => ( ! [X3: A,Xs2: list @ A] :
                  ( ( X
                    = ( cons @ A @ X3 @ Xs2 ) )
                 => ( ( Y
                      = ( case_list @ A @ A @ X3
                        @ ^ [A7: A,List: list @ A] : ( ord_min @ A @ X3 @ ( min_list @ A @ Xs2 ) )
                        @ Xs2 ) )
                   => ~ ( accp @ ( list @ A ) @ ( min_list_rel @ A ) @ ( cons @ A @ X3 @ Xs2 ) ) ) )
             => ~ ( ( X
                    = ( nil @ A ) )
                 => ( ( Y
                      = ( undefined @ A ) )
                   => ~ ( accp @ ( list @ A ) @ ( min_list_rel @ A ) @ ( nil @ A ) ) ) ) ) ) ) ) ).

% min_list.pelims
thf(fact_5820_mod__h__bot__normalize,axiom,
    ! [A: $tType,H: heap_ext @ product_unit,P2: assn] :
      ( ( syntax7388354845996824322omatch @ A @ ( heap_ext @ product_unit ) @ ( undefined @ A ) @ H )
     => ( ( rep_assn @ P2 @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ ( bot_bot @ ( set @ nat ) ) ) )
        = ( rep_assn @ P2 @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ ( undefined @ ( heap_ext @ product_unit ) ) @ ( bot_bot @ ( set @ nat ) ) ) ) ) ) ).

% mod_h_bot_normalize
thf(fact_5821_arg__min__list_Oelims,axiom,
    ! [B: $tType,A: $tType] :
      ( ( linorder @ B )
     => ! [X: A > B,Xa: list @ A,Y: A] :
          ( ( ( arg_min_list @ A @ B @ X @ Xa )
            = Y )
         => ( ! [X3: A] :
                ( ( Xa
                  = ( cons @ A @ X3 @ ( nil @ A ) ) )
               => ( Y != X3 ) )
           => ( ! [X3: A,Y3: A,Zs2: list @ A] :
                  ( ( Xa
                    = ( cons @ A @ X3 @ ( cons @ A @ Y3 @ Zs2 ) ) )
                 => ( Y
                   != ( if @ A @ ( ord_less_eq @ B @ ( X @ X3 ) @ ( X @ ( arg_min_list @ A @ B @ X @ ( cons @ A @ Y3 @ Zs2 ) ) ) ) @ X3 @ ( arg_min_list @ A @ B @ X @ ( cons @ A @ Y3 @ Zs2 ) ) ) ) )
             => ~ ( ( Xa
                    = ( nil @ A ) )
                 => ( Y
                   != ( undefined @ A ) ) ) ) ) ) ) ).

% arg_min_list.elims
thf(fact_5822_arg__min__list_Osimps_I2_J,axiom,
    ! [B: $tType,A: $tType] :
      ( ( linorder @ B )
     => ! [F3: A > B,X: A,Y: A,Zs: list @ A] :
          ( ( arg_min_list @ A @ B @ F3 @ ( cons @ A @ X @ ( cons @ A @ Y @ Zs ) ) )
          = ( if @ A @ ( ord_less_eq @ B @ ( F3 @ X ) @ ( F3 @ ( arg_min_list @ A @ B @ F3 @ ( cons @ A @ Y @ Zs ) ) ) ) @ X @ ( arg_min_list @ A @ B @ F3 @ ( cons @ A @ Y @ Zs ) ) ) ) ) ).

% arg_min_list.simps(2)
thf(fact_5823_arg__min__list_Opelims,axiom,
    ! [B: $tType,A: $tType] :
      ( ( linorder @ B )
     => ! [X: A > B,Xa: list @ A,Y: A] :
          ( ( ( arg_min_list @ A @ B @ X @ Xa )
            = Y )
         => ( ( accp @ ( product_prod @ ( A > B ) @ ( list @ A ) ) @ ( arg_min_list_rel @ A @ B ) @ ( product_Pair @ ( A > B ) @ ( list @ A ) @ X @ Xa ) )
           => ( ! [X3: A] :
                  ( ( Xa
                    = ( cons @ A @ X3 @ ( nil @ A ) ) )
                 => ( ( Y = X3 )
                   => ~ ( accp @ ( product_prod @ ( A > B ) @ ( list @ A ) ) @ ( arg_min_list_rel @ A @ B ) @ ( product_Pair @ ( A > B ) @ ( list @ A ) @ X @ ( cons @ A @ X3 @ ( nil @ A ) ) ) ) ) )
             => ( ! [X3: A,Y3: A,Zs2: list @ A] :
                    ( ( Xa
                      = ( cons @ A @ X3 @ ( cons @ A @ Y3 @ Zs2 ) ) )
                   => ( ( Y
                        = ( if @ A @ ( ord_less_eq @ B @ ( X @ X3 ) @ ( X @ ( arg_min_list @ A @ B @ X @ ( cons @ A @ Y3 @ Zs2 ) ) ) ) @ X3 @ ( arg_min_list @ A @ B @ X @ ( cons @ A @ Y3 @ Zs2 ) ) ) )
                     => ~ ( accp @ ( product_prod @ ( A > B ) @ ( list @ A ) ) @ ( arg_min_list_rel @ A @ B ) @ ( product_Pair @ ( A > B ) @ ( list @ A ) @ X @ ( cons @ A @ X3 @ ( cons @ A @ Y3 @ Zs2 ) ) ) ) ) )
               => ~ ( ( Xa
                      = ( nil @ A ) )
                   => ( ( Y
                        = ( undefined @ A ) )
                     => ~ ( accp @ ( product_prod @ ( A > B ) @ ( list @ A ) ) @ ( arg_min_list_rel @ A @ B ) @ ( product_Pair @ ( A > B ) @ ( list @ A ) @ X @ ( nil @ A ) ) ) ) ) ) ) ) ) ) ).

% arg_min_list.pelims
thf(fact_5824_add_Osafe__commute,axiom,
    ! [A: $tType] :
      ( ( ab_semigroup_add @ A )
     => ! [X: A,Y: A,A3: A,B2: A] :
          ( ( syntax7388354845996824322omatch @ A @ A @ ( plus_plus @ A @ X @ Y ) @ A3 )
         => ( ( plus_plus @ A @ A3 @ B2 )
            = ( plus_plus @ A @ B2 @ A3 ) ) ) ) ).

% add.safe_commute
thf(fact_5825_finite__mono__remains__stable__implies__strict__prefix,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [F3: nat > A] :
          ( ( finite_finite2 @ A @ ( image2 @ nat @ A @ F3 @ ( top_top @ ( set @ nat ) ) ) )
         => ( ( order_mono @ nat @ A @ F3 )
           => ( ! [N4: nat] :
                  ( ( ( F3 @ N4 )
                    = ( F3 @ ( suc @ N4 ) ) )
                 => ( ( F3 @ ( suc @ N4 ) )
                    = ( F3 @ ( suc @ ( suc @ N4 ) ) ) ) )
             => ? [N14: nat] :
                  ( ! [N10: nat] :
                      ( ( ord_less_eq @ nat @ N10 @ N14 )
                     => ! [M4: nat] :
                          ( ( ord_less_eq @ nat @ M4 @ N14 )
                         => ( ( ord_less @ nat @ M4 @ N10 )
                           => ( ord_less @ A @ ( F3 @ M4 ) @ ( F3 @ N10 ) ) ) ) )
                  & ! [N10: nat] :
                      ( ( ord_less_eq @ nat @ N14 @ N10 )
                     => ( ( F3 @ N14 )
                        = ( F3 @ N10 ) ) ) ) ) ) ) ) ).

% finite_mono_remains_stable_implies_strict_prefix
thf(fact_5826_mono__inf,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ( semilattice_inf @ A )
        & ( semilattice_inf @ B ) )
     => ! [F3: A > B,A6: A,B6: A] :
          ( ( order_mono @ A @ B @ F3 )
         => ( ord_less_eq @ B @ ( F3 @ ( inf_inf @ A @ A6 @ B6 ) ) @ ( inf_inf @ B @ ( F3 @ A6 ) @ ( F3 @ B6 ) ) ) ) ) ).

% mono_inf
thf(fact_5827_mono__sup,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ( semilattice_sup @ A )
        & ( semilattice_sup @ B ) )
     => ! [F3: A > B,A6: A,B6: A] :
          ( ( order_mono @ A @ B @ F3 )
         => ( ord_less_eq @ B @ ( sup_sup @ B @ ( F3 @ A6 ) @ ( F3 @ B6 ) ) @ ( F3 @ ( sup_sup @ A @ A6 @ B6 ) ) ) ) ) ).

% mono_sup
thf(fact_5828_mono__iff__le__Suc,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ( ( order_mono @ nat @ A )
        = ( ^ [F4: nat > A] :
            ! [N3: nat] : ( ord_less_eq @ A @ ( F4 @ N3 ) @ ( F4 @ ( suc @ N3 ) ) ) ) ) ) ).

% mono_iff_le_Suc
thf(fact_5829_mono__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ( order @ A )
        & ( order @ B ) )
     => ( ( order_mono @ A @ B )
        = ( ^ [F4: A > B] :
            ! [X4: A,Y4: A] :
              ( ( ord_less_eq @ A @ X4 @ Y4 )
             => ( ord_less_eq @ B @ ( F4 @ X4 ) @ ( F4 @ Y4 ) ) ) ) ) ) ).

% mono_def
thf(fact_5830_monoI,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ( order @ A )
        & ( order @ B ) )
     => ! [F3: A > B] :
          ( ! [X3: A,Y3: A] :
              ( ( ord_less_eq @ A @ X3 @ Y3 )
             => ( ord_less_eq @ B @ ( F3 @ X3 ) @ ( F3 @ Y3 ) ) )
         => ( order_mono @ A @ B @ F3 ) ) ) ).

% monoI
thf(fact_5831_monoE,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ( order @ A )
        & ( order @ B ) )
     => ! [F3: A > B,X: A,Y: A] :
          ( ( order_mono @ A @ B @ F3 )
         => ( ( ord_less_eq @ A @ X @ Y )
           => ( ord_less_eq @ B @ ( F3 @ X ) @ ( F3 @ Y ) ) ) ) ) ).

% monoE
thf(fact_5832_monoD,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ( order @ A )
        & ( order @ B ) )
     => ! [F3: A > B,X: A,Y: A] :
          ( ( order_mono @ A @ B @ F3 )
         => ( ( ord_less_eq @ A @ X @ Y )
           => ( ord_less_eq @ B @ ( F3 @ X ) @ ( F3 @ Y ) ) ) ) ) ).

% monoD
thf(fact_5833_mono__invE,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ( linorder @ A )
        & ( order @ B ) )
     => ! [F3: A > B,X: A,Y: A] :
          ( ( order_mono @ A @ B @ F3 )
         => ( ( ord_less @ B @ ( F3 @ X ) @ ( F3 @ Y ) )
           => ( ord_less_eq @ A @ X @ Y ) ) ) ) ).

% mono_invE
thf(fact_5834_funpow__mono,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [F3: A > A,A6: A,B6: A,N: nat] :
          ( ( order_mono @ A @ A @ F3 )
         => ( ( ord_less_eq @ A @ A6 @ B6 )
           => ( ord_less_eq @ A @ ( compow @ ( A > A ) @ N @ F3 @ A6 ) @ ( compow @ ( A > A ) @ N @ F3 @ B6 ) ) ) ) ) ).

% funpow_mono
thf(fact_5835_mono__funpow,axiom,
    ! [A: $tType] :
      ( ( ( lattice @ A )
        & ( order_bot @ A ) )
     => ! [Q2: A > A] :
          ( ( order_mono @ A @ A @ Q2 )
         => ( order_mono @ nat @ A
            @ ^ [I: nat] : ( compow @ ( A > A ) @ I @ Q2 @ ( bot_bot @ A ) ) ) ) ) ).

% mono_funpow
thf(fact_5836_mono__pow,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [F3: A > A,N: nat] :
          ( ( order_mono @ A @ A @ F3 )
         => ( order_mono @ A @ A @ ( compow @ ( A > A ) @ N @ F3 ) ) ) ) ).

% mono_pow
thf(fact_5837_mono__strict__invE,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ( linorder @ A )
        & ( order @ B ) )
     => ! [F3: A > B,X: A,Y: A] :
          ( ( order_mono @ A @ B @ F3 )
         => ( ( ord_less @ B @ ( F3 @ X ) @ ( F3 @ Y ) )
           => ( ord_less @ A @ X @ Y ) ) ) ) ).

% mono_strict_invE
thf(fact_5838_mono__add,axiom,
    ! [A: $tType] :
      ( ( ordere6658533253407199908up_add @ A )
     => ! [A3: A] : ( order_mono @ A @ A @ ( plus_plus @ A @ A3 ) ) ) ).

% mono_add
thf(fact_5839_mono__Suc,axiom,
    order_mono @ nat @ nat @ suc ).

% mono_Suc
thf(fact_5840_Rings_Omono__mult,axiom,
    ! [A: $tType] :
      ( ( ordered_semiring @ A )
     => ! [A3: A] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 )
         => ( order_mono @ A @ A @ ( times_times @ A @ A3 ) ) ) ) ).

% Rings.mono_mult
thf(fact_5841_mono__times__nat,axiom,
    ! [N: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
     => ( order_mono @ nat @ nat @ ( times_times @ nat @ N ) ) ) ).

% mono_times_nat
thf(fact_5842_mono__image__least,axiom,
    ! [A: $tType,B: $tType] :
      ( ( ( order @ B )
        & ( order @ A ) )
     => ! [F3: A > B,M: A,N: A,M8: B,N2: B] :
          ( ( order_mono @ A @ B @ F3 )
         => ( ( ( image2 @ A @ B @ F3 @ ( set_or7035219750837199246ssThan @ A @ M @ N ) )
              = ( set_or7035219750837199246ssThan @ B @ M8 @ N2 ) )
           => ( ( ord_less @ A @ M @ N )
             => ( ( F3 @ M )
                = M8 ) ) ) ) ) ).

% mono_image_least
thf(fact_5843_Kleene__iter__lpfp,axiom,
    ! [A: $tType] :
      ( ( order_bot @ A )
     => ! [F3: A > A,P3: A,K2: nat] :
          ( ( order_mono @ A @ A @ F3 )
         => ( ( ord_less_eq @ A @ ( F3 @ P3 ) @ P3 )
           => ( ord_less_eq @ A @ ( compow @ ( A > A ) @ K2 @ F3 @ ( bot_bot @ A ) ) @ P3 ) ) ) ) ).

% Kleene_iter_lpfp
thf(fact_5844_Kleene__iter__gpfp,axiom,
    ! [A: $tType] :
      ( ( order_top @ A )
     => ! [F3: A > A,P3: A,K2: nat] :
          ( ( order_mono @ A @ A @ F3 )
         => ( ( ord_less_eq @ A @ P3 @ ( F3 @ P3 ) )
           => ( ord_less_eq @ A @ P3 @ ( compow @ ( A > A ) @ K2 @ F3 @ ( top_top @ A ) ) ) ) ) ) ).

% Kleene_iter_gpfp
thf(fact_5845_funpow__mono2,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [F3: A > A,I2: nat,J2: nat,X: A,Y: A] :
          ( ( order_mono @ A @ A @ F3 )
         => ( ( ord_less_eq @ nat @ I2 @ J2 )
           => ( ( ord_less_eq @ A @ X @ Y )
             => ( ( ord_less_eq @ A @ X @ ( F3 @ X ) )
               => ( ord_less_eq @ A @ ( compow @ ( A > A ) @ I2 @ F3 @ X ) @ ( compow @ ( A > A ) @ J2 @ F3 @ Y ) ) ) ) ) ) ) ).

% funpow_mono2
thf(fact_5846_mono__Sup,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ( comple6319245703460814977attice @ A )
        & ( comple6319245703460814977attice @ B ) )
     => ! [F3: A > B,A6: set @ A] :
          ( ( order_mono @ A @ B @ F3 )
         => ( ord_less_eq @ B @ ( complete_Sup_Sup @ B @ ( image2 @ A @ B @ F3 @ A6 ) ) @ ( F3 @ ( complete_Sup_Sup @ A @ A6 ) ) ) ) ) ).

% mono_Sup
thf(fact_5847_mono__SUP,axiom,
    ! [B: $tType,A: $tType,C: $tType] :
      ( ( ( comple6319245703460814977attice @ A )
        & ( comple6319245703460814977attice @ B ) )
     => ! [F3: A > B,A6: C > A,I5: set @ C] :
          ( ( order_mono @ A @ B @ F3 )
         => ( ord_less_eq @ B
            @ ( complete_Sup_Sup @ B
              @ ( image2 @ C @ B
                @ ^ [X4: C] : ( F3 @ ( A6 @ X4 ) )
                @ I5 ) )
            @ ( F3 @ ( complete_Sup_Sup @ A @ ( image2 @ C @ A @ A6 @ I5 ) ) ) ) ) ) ).

% mono_SUP
thf(fact_5848_mono__INF,axiom,
    ! [B: $tType,A: $tType,C: $tType] :
      ( ( ( comple6319245703460814977attice @ A )
        & ( comple6319245703460814977attice @ B ) )
     => ! [F3: A > B,A6: C > A,I5: set @ C] :
          ( ( order_mono @ A @ B @ F3 )
         => ( ord_less_eq @ B @ ( F3 @ ( complete_Inf_Inf @ A @ ( image2 @ C @ A @ A6 @ I5 ) ) )
            @ ( complete_Inf_Inf @ B
              @ ( image2 @ C @ B
                @ ^ [X4: C] : ( F3 @ ( A6 @ X4 ) )
                @ I5 ) ) ) ) ) ).

% mono_INF
thf(fact_5849_mono__Inf,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ( comple6319245703460814977attice @ A )
        & ( comple6319245703460814977attice @ B ) )
     => ! [F3: A > B,A6: set @ A] :
          ( ( order_mono @ A @ B @ F3 )
         => ( ord_less_eq @ B @ ( F3 @ ( complete_Inf_Inf @ A @ A6 ) ) @ ( complete_Inf_Inf @ B @ ( image2 @ A @ B @ F3 @ A6 ) ) ) ) ) ).

% mono_Inf
thf(fact_5850_add_Oright__assoc,axiom,
    ! [A: $tType] :
      ( ( ab_semigroup_add @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( plus_plus @ A @ ( plus_plus @ A @ A3 @ B2 ) @ C3 )
          = ( plus_plus @ A @ A3 @ ( plus_plus @ A @ B2 @ C3 ) ) ) ) ).

% add.right_assoc
thf(fact_5851_add_Oright__commute,axiom,
    ! [A: $tType] :
      ( ( ab_semigroup_add @ A )
     => ! [A3: A,B2: A,C3: A] :
          ( ( plus_plus @ A @ ( plus_plus @ A @ A3 @ B2 ) @ C3 )
          = ( plus_plus @ A @ ( plus_plus @ A @ A3 @ C3 ) @ B2 ) ) ) ).

% add.right_commute
thf(fact_5852_funpow__decreasing,axiom,
    ! [A: $tType] :
      ( ( ( lattice @ A )
        & ( order_bot @ A ) )
     => ! [M: nat,N: nat,F3: A > A] :
          ( ( ord_less_eq @ nat @ M @ N )
         => ( ( order_mono @ A @ A @ F3 )
           => ( ord_less_eq @ A @ ( compow @ ( A > A ) @ M @ F3 @ ( bot_bot @ A ) ) @ ( compow @ ( A > A ) @ N @ F3 @ ( bot_bot @ A ) ) ) ) ) ) ).

% funpow_decreasing
thf(fact_5853_funpow__increasing,axiom,
    ! [A: $tType] :
      ( ( ( lattice @ A )
        & ( order_top @ A ) )
     => ! [M: nat,N: nat,F3: A > A] :
          ( ( ord_less_eq @ nat @ M @ N )
         => ( ( order_mono @ A @ A @ F3 )
           => ( ord_less_eq @ A @ ( compow @ ( A > A ) @ N @ F3 @ ( top_top @ A ) ) @ ( compow @ ( A > A ) @ M @ F3 @ ( top_top @ A ) ) ) ) ) ) ).

% funpow_increasing
thf(fact_5854_mono__ge2__power__minus__self,axiom,
    ! [K2: nat] :
      ( ( ord_less_eq @ nat @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) @ K2 )
     => ( order_mono @ nat @ nat
        @ ^ [M3: nat] : ( minus_minus @ nat @ ( power_power @ nat @ K2 @ M3 ) @ M3 ) ) ) ).

% mono_ge2_power_minus_self
thf(fact_5855_remdups__adj__altdef,axiom,
    ! [A: $tType,Xs: list @ A,Ys3: list @ A] :
      ( ( ( remdups_adj @ A @ Xs )
        = Ys3 )
      = ( ? [F4: nat > nat] :
            ( ( order_mono @ nat @ nat @ F4 )
            & ( ( image2 @ nat @ nat @ F4 @ ( set_or7035219750837199246ssThan @ nat @ ( zero_zero @ nat ) @ ( size_size @ ( list @ A ) @ Xs ) ) )
              = ( set_or7035219750837199246ssThan @ nat @ ( zero_zero @ nat ) @ ( size_size @ ( list @ A ) @ Ys3 ) ) )
            & ! [I: nat] :
                ( ( ord_less @ nat @ I @ ( size_size @ ( list @ A ) @ Xs ) )
               => ( ( nth @ A @ Xs @ I )
                  = ( nth @ A @ Ys3 @ ( F4 @ I ) ) ) )
            & ! [I: nat] :
                ( ( ord_less @ nat @ ( plus_plus @ nat @ I @ ( one_one @ nat ) ) @ ( size_size @ ( list @ A ) @ Xs ) )
               => ( ( ( nth @ A @ Xs @ I )
                    = ( nth @ A @ Xs @ ( plus_plus @ nat @ I @ ( one_one @ nat ) ) ) )
                  = ( ( F4 @ I )
                    = ( F4 @ ( plus_plus @ nat @ I @ ( one_one @ nat ) ) ) ) ) ) ) ) ) ).

% remdups_adj_altdef
thf(fact_5856_comp__fun__idem__on_Ocomp__comp__fun__idem__on,axiom,
    ! [B: $tType,A: $tType,C: $tType,S: set @ A,F3: A > B > B,G3: C > A,R4: set @ C] :
      ( ( finite673082921795544331dem_on @ A @ B @ S @ F3 )
     => ( ( ord_less_eq @ ( set @ A ) @ ( image2 @ C @ A @ G3 @ ( top_top @ ( set @ C ) ) ) @ S )
       => ( finite673082921795544331dem_on @ C @ B @ R4 @ ( comp @ A @ ( B > B ) @ C @ F3 @ G3 ) ) ) ) ).

% comp_fun_idem_on.comp_comp_fun_idem_on
thf(fact_5857_ring__1__class_Oof__int__def,axiom,
    ! [A: $tType] :
      ( ( ring_1 @ A )
     => ( ( ring_1_of_int @ A )
        = ( map_fun @ int @ ( product_prod @ nat @ nat ) @ A @ A @ rep_Integ @ ( id @ A )
          @ ( product_case_prod @ nat @ nat @ A
            @ ^ [I: nat,J: nat] : ( minus_minus @ A @ ( semiring_1_of_nat @ A @ I ) @ ( semiring_1_of_nat @ A @ J ) ) ) ) ) ) ).

% ring_1_class.of_int_def
thf(fact_5858_image__mset_Oidentity,axiom,
    ! [A: $tType] :
      ( ( image_mset @ A @ A
        @ ^ [X4: A] : X4 )
      = ( id @ ( multiset @ A ) ) ) ).

% image_mset.identity
thf(fact_5859_of__nat__eq__id,axiom,
    ( ( semiring_1_of_nat @ nat )
    = ( id @ nat ) ) ).

% of_nat_eq_id
thf(fact_5860_case__prod__Pair,axiom,
    ! [B: $tType,A: $tType] :
      ( ( product_case_prod @ A @ B @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B ) )
      = ( id @ ( product_prod @ A @ B ) ) ) ).

% case_prod_Pair
thf(fact_5861_id__funpow,axiom,
    ! [A: $tType,N: nat] :
      ( ( compow @ ( A > A ) @ N @ ( id @ A ) )
      = ( id @ A ) ) ).

% id_funpow
thf(fact_5862_apfst__id,axiom,
    ! [B: $tType,A: $tType] :
      ( ( product_apfst @ A @ A @ B @ ( id @ A ) )
      = ( id @ ( product_prod @ A @ B ) ) ) ).

% apfst_id
thf(fact_5863_apsnd__id,axiom,
    ! [B: $tType,A: $tType] :
      ( ( product_apsnd @ B @ B @ A @ ( id @ B ) )
      = ( id @ ( product_prod @ A @ B ) ) ) ).

% apsnd_id
thf(fact_5864_comp__the__Some,axiom,
    ! [A: $tType] :
      ( ( comp @ ( option @ A ) @ A @ A @ ( the2 @ A ) @ ( some @ A ) )
      = ( id @ A ) ) ).

% comp_the_Some
thf(fact_5865_mono__Int,axiom,
    ! [B: $tType,A: $tType,F3: ( set @ A ) > ( set @ B ),A6: set @ A,B6: set @ A] :
      ( ( order_mono @ ( set @ A ) @ ( set @ B ) @ F3 )
     => ( ord_less_eq @ ( set @ B ) @ ( F3 @ ( inf_inf @ ( set @ A ) @ A6 @ B6 ) ) @ ( inf_inf @ ( set @ B ) @ ( F3 @ A6 ) @ ( F3 @ B6 ) ) ) ) ).

% mono_Int
thf(fact_5866_rtranclp_Omono,axiom,
    ! [A: $tType,R3: A > A > $o] :
      ( order_mono @ ( A > A > $o ) @ ( A > A > $o )
      @ ^ [P7: A > A > $o,X12: A,X23: A] :
          ( ? [A7: A] :
              ( ( X12 = A7 )
              & ( X23 = A7 ) )
          | ? [A7: A,B5: A,C4: A] :
              ( ( X12 = A7 )
              & ( X23 = C4 )
              & ( P7 @ A7 @ B5 )
              & ( R3 @ B5 @ C4 ) ) ) ) ).

% rtranclp.mono
thf(fact_5867_tranclp_Omono,axiom,
    ! [A: $tType,R3: A > A > $o] :
      ( order_mono @ ( A > A > $o ) @ ( A > A > $o )
      @ ^ [P7: A > A > $o,X12: A,X23: A] :
          ( ? [A7: A,B5: A] :
              ( ( X12 = A7 )
              & ( X23 = B5 )
              & ( R3 @ A7 @ B5 ) )
          | ? [A7: A,B5: A,C4: A] :
              ( ( X12 = A7 )
              & ( X23 = C4 )
              & ( P7 @ A7 @ B5 )
              & ( R3 @ B5 @ C4 ) ) ) ) ).

% tranclp.mono
thf(fact_5868_mono__Un,axiom,
    ! [B: $tType,A: $tType,F3: ( set @ A ) > ( set @ B ),A6: set @ A,B6: set @ A] :
      ( ( order_mono @ ( set @ A ) @ ( set @ B ) @ F3 )
     => ( ord_less_eq @ ( set @ B ) @ ( sup_sup @ ( set @ B ) @ ( F3 @ A6 ) @ ( F3 @ B6 ) ) @ ( F3 @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) ) ) ) ).

% mono_Un
thf(fact_5869_sorted__remdups__adj,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Xs: list @ A] :
          ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ Xs )
         => ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( remdups_adj @ A @ Xs ) ) ) ) ).

% sorted_remdups_adj
thf(fact_5870_DEADID_Oin__rel,axiom,
    ! [B: $tType] :
      ( ( ^ [Y6: B,Z5: B] : Y6 = Z5 )
      = ( ^ [A7: B,B5: B] :
          ? [Z2: B] :
            ( ( member @ B @ Z2 @ ( top_top @ ( set @ B ) ) )
            & ( ( id @ B @ Z2 )
              = A7 )
            & ( ( id @ B @ Z2 )
              = B5 ) ) ) ) ).

% DEADID.in_rel
thf(fact_5871_option_Omap__id,axiom,
    ! [A: $tType,T5: option @ A] :
      ( ( map_option @ A @ A @ ( id @ A ) @ T5 )
      = T5 ) ).

% option.map_id
thf(fact_5872_option_Omap__id0,axiom,
    ! [A: $tType] :
      ( ( map_option @ A @ A @ ( id @ A ) )
      = ( id @ ( option @ A ) ) ) ).

% option.map_id0
thf(fact_5873_map__fun_Oidentity,axiom,
    ! [B: $tType,A: $tType] :
      ( ( map_fun @ A @ A @ B @ B
        @ ^ [X4: A] : X4
        @ ^ [X4: B] : X4 )
      = ( id @ ( A > B ) ) ) ).

% map_fun.identity
thf(fact_5874_map__option_Oidentity,axiom,
    ! [A: $tType] :
      ( ( map_option @ A @ A
        @ ^ [X4: A] : X4 )
      = ( id @ ( option @ A ) ) ) ).

% map_option.identity
thf(fact_5875_funpow__simps__right_I1_J,axiom,
    ! [A: $tType,F3: A > A] :
      ( ( compow @ ( A > A ) @ ( zero_zero @ nat ) @ F3 )
      = ( id @ A ) ) ).

% funpow_simps_right(1)
thf(fact_5876_List_Omap_Oidentity,axiom,
    ! [A: $tType] :
      ( ( map @ A @ A
        @ ^ [X4: A] : X4 )
      = ( id @ ( list @ A ) ) ) ).

% List.map.identity
thf(fact_5877_map__prod_Oidentity,axiom,
    ! [B: $tType,A: $tType] :
      ( ( product_map_prod @ A @ A @ B @ B
        @ ^ [X4: A] : X4
        @ ^ [X4: B] : X4 )
      = ( id @ ( product_prod @ A @ B ) ) ) ).

% map_prod.identity
thf(fact_5878_remdups__adj__length,axiom,
    ! [A: $tType,Xs: list @ A] : ( ord_less_eq @ nat @ ( size_size @ ( list @ A ) @ ( remdups_adj @ A @ Xs ) ) @ ( size_size @ ( list @ A ) @ Xs ) ) ).

% remdups_adj_length
thf(fact_5879_set_Oidentity,axiom,
    ! [A: $tType] :
      ( ( vimage @ A @ A
        @ ^ [X4: A] : X4 )
      = ( id @ ( set @ A ) ) ) ).

% set.identity
thf(fact_5880_apfst__def,axiom,
    ! [B: $tType,C: $tType,A: $tType] :
      ( ( product_apfst @ A @ C @ B )
      = ( ^ [F4: A > C] : ( product_map_prod @ A @ C @ B @ B @ F4 @ ( id @ B ) ) ) ) ).

% apfst_def
thf(fact_5881_apsnd__def,axiom,
    ! [B: $tType,C: $tType,A: $tType] :
      ( ( product_apsnd @ B @ C @ A )
      = ( product_map_prod @ A @ A @ B @ C @ ( id @ A ) ) ) ).

% apsnd_def
thf(fact_5882_less__int__def,axiom,
    ( ( ord_less @ int )
    = ( map_fun @ int @ ( product_prod @ nat @ nat ) @ ( ( product_prod @ nat @ nat ) > $o ) @ ( int > $o ) @ rep_Integ @ ( map_fun @ int @ ( product_prod @ nat @ nat ) @ $o @ $o @ rep_Integ @ ( id @ $o ) )
      @ ( product_case_prod @ nat @ nat @ ( ( product_prod @ nat @ nat ) > $o )
        @ ^ [X4: nat,Y4: nat] :
            ( product_case_prod @ nat @ nat @ $o
            @ ^ [U2: nat,V3: nat] : ( ord_less @ nat @ ( plus_plus @ nat @ X4 @ V3 ) @ ( plus_plus @ nat @ U2 @ Y4 ) ) ) ) ) ) ).

% less_int_def
thf(fact_5883_less__eq__int__def,axiom,
    ( ( ord_less_eq @ int )
    = ( map_fun @ int @ ( product_prod @ nat @ nat ) @ ( ( product_prod @ nat @ nat ) > $o ) @ ( int > $o ) @ rep_Integ @ ( map_fun @ int @ ( product_prod @ nat @ nat ) @ $o @ $o @ rep_Integ @ ( id @ $o ) )
      @ ( product_case_prod @ nat @ nat @ ( ( product_prod @ nat @ nat ) > $o )
        @ ^ [X4: nat,Y4: nat] :
            ( product_case_prod @ nat @ nat @ $o
            @ ^ [U2: nat,V3: nat] : ( ord_less_eq @ nat @ ( plus_plus @ nat @ X4 @ V3 ) @ ( plus_plus @ nat @ U2 @ Y4 ) ) ) ) ) ) ).

% less_eq_int_def
thf(fact_5884_Id__on__Gr,axiom,
    ! [A: $tType] :
      ( ( id_on @ A )
      = ( ^ [A8: set @ A] : ( bNF_Gr @ A @ A @ A8 @ ( id @ A ) ) ) ) ).

% Id_on_Gr
thf(fact_5885_foldr__filter,axiom,
    ! [A: $tType,B: $tType,F3: B > A > A,P2: B > $o,Xs: list @ B] :
      ( ( foldr @ B @ A @ F3 @ ( filter2 @ B @ P2 @ Xs ) )
      = ( foldr @ B @ A
        @ ^ [X4: B] : ( if @ ( A > A ) @ ( P2 @ X4 ) @ ( F3 @ X4 ) @ ( id @ A ) )
        @ Xs ) ) ).

% foldr_filter
thf(fact_5886_nat__def,axiom,
    ( nat2
    = ( map_fun @ int @ ( product_prod @ nat @ nat ) @ nat @ nat @ rep_Integ @ ( id @ nat ) @ ( product_case_prod @ nat @ nat @ nat @ ( minus_minus @ nat ) ) ) ) ).

% nat_def
thf(fact_5887_remdups__adj__Cons_H,axiom,
    ! [A: $tType,X: A,Xs: list @ A] :
      ( ( remdups_adj @ A @ ( cons @ A @ X @ Xs ) )
      = ( cons @ A @ X
        @ ( remdups_adj @ A
          @ ( dropWhile @ A
            @ ^ [Y4: A] : Y4 = X
            @ Xs ) ) ) ) ).

% remdups_adj_Cons'
thf(fact_5888_fst__diag__id,axiom,
    ! [A: $tType,Z4: A] :
      ( ( comp @ ( product_prod @ A @ A ) @ A @ A @ ( product_fst @ A @ A )
        @ ^ [X4: A] : ( product_Pair @ A @ A @ X4 @ X4 )
        @ Z4 )
      = ( id @ A @ Z4 ) ) ).

% fst_diag_id
thf(fact_5889_snd__diag__id,axiom,
    ! [A: $tType,Z4: A] :
      ( ( comp @ ( product_prod @ A @ A ) @ A @ A @ ( product_snd @ A @ A )
        @ ^ [X4: A] : ( product_Pair @ A @ A @ X4 @ X4 )
        @ Z4 )
      = ( id @ A @ Z4 ) ) ).

% snd_diag_id
thf(fact_5890_remdups__adj__Cons,axiom,
    ! [A: $tType,X: A,Xs: list @ A] :
      ( ( remdups_adj @ A @ ( cons @ A @ X @ Xs ) )
      = ( case_list @ ( list @ A ) @ A @ ( cons @ A @ X @ ( nil @ A ) )
        @ ^ [Y4: A,Xs3: list @ A] : ( if @ ( list @ A ) @ ( X = Y4 ) @ ( cons @ A @ Y4 @ Xs3 ) @ ( cons @ A @ X @ ( cons @ A @ Y4 @ Xs3 ) ) )
        @ ( remdups_adj @ A @ Xs ) ) ) ).

% remdups_adj_Cons
thf(fact_5891_remdups__adj__adjacent,axiom,
    ! [A: $tType,I2: nat,Xs: list @ A] :
      ( ( ord_less @ nat @ ( suc @ I2 ) @ ( size_size @ ( list @ A ) @ ( remdups_adj @ A @ Xs ) ) )
     => ( ( nth @ A @ ( remdups_adj @ A @ Xs ) @ I2 )
       != ( nth @ A @ ( remdups_adj @ A @ Xs ) @ ( suc @ I2 ) ) ) ) ).

% remdups_adj_adjacent
thf(fact_5892_ord_Olexordp_Omono,axiom,
    ! [A: $tType,Less: A > A > $o] :
      ( order_mono @ ( ( list @ A ) > ( list @ A ) > $o ) @ ( ( list @ A ) > ( list @ A ) > $o )
      @ ^ [P7: ( list @ A ) > ( list @ A ) > $o,X12: list @ A,X23: list @ A] :
          ( ? [Y4: A,Ys2: list @ A] :
              ( ( X12
                = ( nil @ A ) )
              & ( X23
                = ( cons @ A @ Y4 @ Ys2 ) ) )
          | ? [X4: A,Y4: A,Xs3: list @ A,Ys2: list @ A] :
              ( ( X12
                = ( cons @ A @ X4 @ Xs3 ) )
              & ( X23
                = ( cons @ A @ Y4 @ Ys2 ) )
              & ( Less @ X4 @ Y4 ) )
          | ? [X4: A,Y4: A,Xs3: list @ A,Ys2: list @ A] :
              ( ( X12
                = ( cons @ A @ X4 @ Xs3 ) )
              & ( X23
                = ( cons @ A @ Y4 @ Ys2 ) )
              & ~ ( Less @ X4 @ Y4 )
              & ~ ( Less @ Y4 @ X4 )
              & ( P7 @ Xs3 @ Ys2 ) ) ) ) ).

% ord.lexordp.mono
thf(fact_5893_finite_Omono,axiom,
    ! [A: $tType] :
      ( order_mono @ ( ( set @ A ) > $o ) @ ( ( set @ A ) > $o )
      @ ^ [P7: ( set @ A ) > $o,X4: set @ A] :
          ( ( X4
            = ( bot_bot @ ( set @ A ) ) )
          | ? [A8: set @ A,A7: A] :
              ( ( X4
                = ( insert @ A @ A7 @ A8 ) )
              & ( P7 @ A8 ) ) ) ) ).

% finite.mono
thf(fact_5894_remdups__adj__append__dropWhile,axiom,
    ! [A: $tType,Xs: list @ A,Y: A,Ys3: list @ A] :
      ( ( remdups_adj @ A @ ( append @ A @ Xs @ ( cons @ A @ Y @ Ys3 ) ) )
      = ( append @ A @ ( remdups_adj @ A @ ( append @ A @ Xs @ ( cons @ A @ Y @ ( nil @ A ) ) ) )
        @ ( remdups_adj @ A
          @ ( dropWhile @ A
            @ ^ [X4: A] : X4 = Y
            @ Ys3 ) ) ) ) ).

% remdups_adj_append_dropWhile
thf(fact_5895_remdups__adj__append_H_H,axiom,
    ! [A: $tType,Xs: list @ A,Ys3: list @ A] :
      ( ( Xs
       != ( nil @ A ) )
     => ( ( remdups_adj @ A @ ( append @ A @ Xs @ Ys3 ) )
        = ( append @ A @ ( remdups_adj @ A @ Xs )
          @ ( remdups_adj @ A
            @ ( dropWhile @ A
              @ ^ [Y4: A] :
                  ( Y4
                  = ( last @ A @ Xs ) )
              @ Ys3 ) ) ) ) ) ).

% remdups_adj_append''
thf(fact_5896_tl__remdups__adj,axiom,
    ! [A: $tType,Ys3: list @ A] :
      ( ( Ys3
       != ( nil @ A ) )
     => ( ( tl @ A @ ( remdups_adj @ A @ Ys3 ) )
        = ( remdups_adj @ A
          @ ( dropWhile @ A
            @ ^ [X4: A] :
                ( X4
                = ( hd @ A @ Ys3 ) )
            @ ( tl @ A @ Ys3 ) ) ) ) ) ).

% tl_remdups_adj
thf(fact_5897_lexordp_Omono,axiom,
    ! [A: $tType] :
      ( ( ord @ A )
     => ( order_mono @ ( ( list @ A ) > ( list @ A ) > $o ) @ ( ( list @ A ) > ( list @ A ) > $o )
        @ ^ [P7: ( list @ A ) > ( list @ A ) > $o,X12: list @ A,X23: list @ A] :
            ( ? [Y4: A,Ys2: list @ A] :
                ( ( X12
                  = ( nil @ A ) )
                & ( X23
                  = ( cons @ A @ Y4 @ Ys2 ) ) )
            | ? [X4: A,Y4: A,Xs3: list @ A,Ys2: list @ A] :
                ( ( X12
                  = ( cons @ A @ X4 @ Xs3 ) )
                & ( X23
                  = ( cons @ A @ Y4 @ Ys2 ) )
                & ( ord_less @ A @ X4 @ Y4 ) )
            | ? [X4: A,Y4: A,Xs3: list @ A,Ys2: list @ A] :
                ( ( X12
                  = ( cons @ A @ X4 @ Xs3 ) )
                & ( X23
                  = ( cons @ A @ Y4 @ Ys2 ) )
                & ~ ( ord_less @ A @ X4 @ Y4 )
                & ~ ( ord_less @ A @ Y4 @ X4 )
                & ( P7 @ Xs3 @ Ys2 ) ) ) ) ) ).

% lexordp.mono
thf(fact_5898_remdups__adj__length__ge1,axiom,
    ! [A: $tType,Xs: list @ A] :
      ( ( Xs
       != ( nil @ A ) )
     => ( ord_less_eq @ nat @ ( suc @ ( zero_zero @ nat ) ) @ ( size_size @ ( list @ A ) @ ( remdups_adj @ A @ Xs ) ) ) ) ).

% remdups_adj_length_ge1
thf(fact_5899_comp__fun__idem__on_Ofold__insert__idem2,axiom,
    ! [B: $tType,A: $tType,S: set @ A,F3: A > B > B,X: A,A6: set @ A,Z4: B] :
      ( ( finite673082921795544331dem_on @ A @ B @ S @ F3 )
     => ( ( ord_less_eq @ ( set @ A ) @ ( insert @ A @ X @ A6 ) @ S )
       => ( ( finite_finite2 @ A @ A6 )
         => ( ( finite_fold @ A @ B @ F3 @ Z4 @ ( insert @ A @ X @ A6 ) )
            = ( finite_fold @ A @ B @ F3 @ ( F3 @ X @ Z4 ) @ A6 ) ) ) ) ) ).

% comp_fun_idem_on.fold_insert_idem2
thf(fact_5900_comp__fun__idem__on_Ofold__insert__idem,axiom,
    ! [B: $tType,A: $tType,S: set @ A,F3: A > B > B,X: A,A6: set @ A,Z4: B] :
      ( ( finite673082921795544331dem_on @ A @ B @ S @ F3 )
     => ( ( ord_less_eq @ ( set @ A ) @ ( insert @ A @ X @ A6 ) @ S )
       => ( ( finite_finite2 @ A @ A6 )
         => ( ( finite_fold @ A @ B @ F3 @ Z4 @ ( insert @ A @ X @ A6 ) )
            = ( F3 @ X @ ( finite_fold @ A @ B @ F3 @ Z4 @ A6 ) ) ) ) ) ) ).

% comp_fun_idem_on.fold_insert_idem
thf(fact_5901_of__rat__def,axiom,
    ! [A: $tType] :
      ( ( field_char_0 @ A )
     => ( ( field_char_0_of_rat @ A )
        = ( map_fun @ rat @ ( product_prod @ int @ int ) @ A @ A @ rep_Rat @ ( id @ A )
          @ ^ [X4: product_prod @ int @ int] : ( divide_divide @ A @ ( ring_1_of_int @ A @ ( product_fst @ int @ int @ X4 ) ) @ ( ring_1_of_int @ A @ ( product_snd @ int @ int @ X4 ) ) ) ) ) ) ).

% of_rat_def
thf(fact_5902_positive__def,axiom,
    ( positive
    = ( map_fun @ rat @ ( product_prod @ int @ int ) @ $o @ $o @ rep_Rat @ ( id @ $o )
      @ ^ [X4: product_prod @ int @ int] : ( ord_less @ int @ ( zero_zero @ int ) @ ( times_times @ int @ ( product_fst @ int @ int @ X4 ) @ ( product_snd @ int @ int @ X4 ) ) ) ) ) ).

% positive_def
thf(fact_5903_finite__def,axiom,
    ! [A: $tType] :
      ( ( finite_finite2 @ A )
      = ( complete_lattice_lfp @ ( ( set @ A ) > $o )
        @ ^ [P7: ( set @ A ) > $o,X4: set @ A] :
            ( ( X4
              = ( bot_bot @ ( set @ A ) ) )
            | ? [A8: set @ A,A7: A] :
                ( ( X4
                  = ( insert @ A @ A7 @ A8 ) )
                & ( P7 @ A8 ) ) ) ) ) ).

% finite_def
thf(fact_5904_mono__compose,axiom,
    ! [D: $tType,C: $tType,B: $tType,A: $tType] :
      ( ( ( order @ A )
        & ( order @ C ) )
     => ! [Q2: A > B > C,F3: D > B] :
          ( ( order_mono @ A @ ( B > C ) @ Q2 )
         => ( order_mono @ A @ ( D > C )
            @ ^ [I: A,X4: D] : ( Q2 @ I @ ( F3 @ X4 ) ) ) ) ) ).

% mono_compose
thf(fact_5905_less__integer__def,axiom,
    ( ( ord_less @ code_integer )
    = ( map_fun @ code_integer @ int @ ( int > $o ) @ ( code_integer > $o ) @ code_int_of_integer @ ( map_fun @ code_integer @ int @ $o @ $o @ code_int_of_integer @ ( id @ $o ) ) @ ( ord_less @ int ) ) ) ).

% less_integer_def
thf(fact_5906_less__eq__integer__def,axiom,
    ( ( ord_less_eq @ code_integer )
    = ( map_fun @ code_integer @ int @ ( int > $o ) @ ( code_integer > $o ) @ code_int_of_integer @ ( map_fun @ code_integer @ int @ $o @ $o @ code_int_of_integer @ ( id @ $o ) ) @ ( ord_less_eq @ int ) ) ) ).

% less_eq_integer_def
thf(fact_5907_plus__integer__def,axiom,
    ( ( plus_plus @ code_integer )
    = ( map_fun @ code_integer @ int @ ( int > int ) @ ( code_integer > code_integer ) @ code_int_of_integer @ ( map_fun @ code_integer @ int @ int @ code_integer @ code_int_of_integer @ code_integer_of_int ) @ ( plus_plus @ int ) ) ) ).

% plus_integer_def
thf(fact_5908_lfp__funpow,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [F3: A > A,N: nat] :
          ( ( order_mono @ A @ A @ F3 )
         => ( ( complete_lattice_lfp @ A @ ( compow @ ( A > A ) @ ( suc @ N ) @ F3 ) )
            = ( complete_lattice_lfp @ A @ F3 ) ) ) ) ).

% lfp_funpow
thf(fact_5909_lfp__Kleene__iter,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [F3: A > A,K2: nat] :
          ( ( order_mono @ A @ A @ F3 )
         => ( ( ( compow @ ( A > A ) @ ( suc @ K2 ) @ F3 @ ( bot_bot @ A ) )
              = ( compow @ ( A > A ) @ K2 @ F3 @ ( bot_bot @ A ) ) )
           => ( ( complete_lattice_lfp @ A @ F3 )
              = ( compow @ ( A > A ) @ K2 @ F3 @ ( bot_bot @ A ) ) ) ) ) ) ).

% lfp_Kleene_iter
thf(fact_5910_lfp__ordinal__induct,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [F3: A > A,P2: A > $o] :
          ( ( order_mono @ A @ A @ F3 )
         => ( ! [S8: A] :
                ( ( P2 @ S8 )
               => ( ( ord_less_eq @ A @ S8 @ ( complete_lattice_lfp @ A @ F3 ) )
                 => ( P2 @ ( F3 @ S8 ) ) ) )
           => ( ! [M13: set @ A] :
                  ( ! [X6: A] :
                      ( ( member @ A @ X6 @ M13 )
                     => ( P2 @ X6 ) )
                 => ( P2 @ ( complete_Sup_Sup @ A @ M13 ) ) )
             => ( P2 @ ( complete_lattice_lfp @ A @ F3 ) ) ) ) ) ) ).

% lfp_ordinal_induct
thf(fact_5911_def__lfp__induct,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A6: A,F3: A > A,P2: A] :
          ( ( A6
            = ( complete_lattice_lfp @ A @ F3 ) )
         => ( ( order_mono @ A @ A @ F3 )
           => ( ( ord_less_eq @ A @ ( F3 @ ( inf_inf @ A @ A6 @ P2 ) ) @ P2 )
             => ( ord_less_eq @ A @ A6 @ P2 ) ) ) ) ) ).

% def_lfp_induct
thf(fact_5912_lfp__induct,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [F3: A > A,P2: A] :
          ( ( order_mono @ A @ A @ F3 )
         => ( ( ord_less_eq @ A @ ( F3 @ ( inf_inf @ A @ ( complete_lattice_lfp @ A @ F3 ) @ P2 ) ) @ P2 )
           => ( ord_less_eq @ A @ ( complete_lattice_lfp @ A @ F3 ) @ P2 ) ) ) ) ).

% lfp_induct
thf(fact_5913_lfp__induct__set,axiom,
    ! [A: $tType,A3: A,F3: ( set @ A ) > ( set @ A ),P2: A > $o] :
      ( ( member @ A @ A3 @ ( complete_lattice_lfp @ ( set @ A ) @ F3 ) )
     => ( ( order_mono @ ( set @ A ) @ ( set @ A ) @ F3 )
       => ( ! [X3: A] :
              ( ( member @ A @ X3 @ ( F3 @ ( inf_inf @ ( set @ A ) @ ( complete_lattice_lfp @ ( set @ A ) @ F3 ) @ ( collect @ A @ P2 ) ) ) )
             => ( P2 @ X3 ) )
         => ( P2 @ A3 ) ) ) ) ).

% lfp_induct_set
thf(fact_5914_def__lfp__induct__set,axiom,
    ! [A: $tType,A6: set @ A,F3: ( set @ A ) > ( set @ A ),A3: A,P2: A > $o] :
      ( ( A6
        = ( complete_lattice_lfp @ ( set @ A ) @ F3 ) )
     => ( ( order_mono @ ( set @ A ) @ ( set @ A ) @ F3 )
       => ( ( member @ A @ A3 @ A6 )
         => ( ! [X3: A] :
                ( ( member @ A @ X3 @ ( F3 @ ( inf_inf @ ( set @ A ) @ A6 @ ( collect @ A @ P2 ) ) ) )
               => ( P2 @ X3 ) )
           => ( P2 @ A3 ) ) ) ) ) ).

% def_lfp_induct_set
thf(fact_5915_le__rel__bool__arg__iff,axiom,
    ! [A: $tType] :
      ( ( ord @ A )
     => ( ( ord_less_eq @ ( $o > A ) )
        = ( ^ [X11: $o > A,Y10: $o > A] :
              ( ( ord_less_eq @ A @ ( X11 @ $false ) @ ( Y10 @ $false ) )
              & ( ord_less_eq @ A @ ( X11 @ $true ) @ ( Y10 @ $true ) ) ) ) ) ) ).

% le_rel_bool_arg_iff
thf(fact_5916_lfp__induct2,axiom,
    ! [A: $tType,B: $tType,A3: A,B2: B,F3: ( set @ ( product_prod @ A @ B ) ) > ( set @ ( product_prod @ A @ B ) ),P2: A > B > $o] :
      ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ A3 @ B2 ) @ ( complete_lattice_lfp @ ( set @ ( product_prod @ A @ B ) ) @ F3 ) )
     => ( ( order_mono @ ( set @ ( product_prod @ A @ B ) ) @ ( set @ ( product_prod @ A @ B ) ) @ F3 )
       => ( ! [A5: A,B4: B] :
              ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ A5 @ B4 ) @ ( F3 @ ( inf_inf @ ( set @ ( product_prod @ A @ B ) ) @ ( complete_lattice_lfp @ ( set @ ( product_prod @ A @ B ) ) @ F3 ) @ ( collect @ ( product_prod @ A @ B ) @ ( product_case_prod @ A @ B @ $o @ P2 ) ) ) ) )
             => ( P2 @ A5 @ B4 ) )
         => ( P2 @ A3 @ B2 ) ) ) ) ).

% lfp_induct2
thf(fact_5917_lfp__const,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [T5: A] :
          ( ( complete_lattice_lfp @ A
            @ ^ [X4: A] : T5 )
          = T5 ) ) ).

% lfp_const
thf(fact_5918_lfp__greatest,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [F3: A > A,A6: A] :
          ( ! [U4: A] :
              ( ( ord_less_eq @ A @ ( F3 @ U4 ) @ U4 )
             => ( ord_less_eq @ A @ A6 @ U4 ) )
         => ( ord_less_eq @ A @ A6 @ ( complete_lattice_lfp @ A @ F3 ) ) ) ) ).

% lfp_greatest
thf(fact_5919_lfp__lowerbound,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [F3: A > A,A6: A] :
          ( ( ord_less_eq @ A @ ( F3 @ A6 ) @ A6 )
         => ( ord_less_eq @ A @ ( complete_lattice_lfp @ A @ F3 ) @ A6 ) ) ) ).

% lfp_lowerbound
thf(fact_5920_lfp__mono,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [F3: A > A,G3: A > A] :
          ( ! [Z10: A] : ( ord_less_eq @ A @ ( F3 @ Z10 ) @ ( G3 @ Z10 ) )
         => ( ord_less_eq @ A @ ( complete_lattice_lfp @ A @ F3 ) @ ( complete_lattice_lfp @ A @ G3 ) ) ) ) ).

% lfp_mono
thf(fact_5921_lfp__lfp,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [F3: A > A > A] :
          ( ! [X3: A,Y3: A,W: A,Z3: A] :
              ( ( ord_less_eq @ A @ X3 @ Y3 )
             => ( ( ord_less_eq @ A @ W @ Z3 )
               => ( ord_less_eq @ A @ ( F3 @ X3 @ W ) @ ( F3 @ Y3 @ Z3 ) ) ) )
         => ( ( complete_lattice_lfp @ A
              @ ^ [X4: A] : ( complete_lattice_lfp @ A @ ( F3 @ X4 ) ) )
            = ( complete_lattice_lfp @ A
              @ ^ [X4: A] : ( F3 @ X4 @ X4 ) ) ) ) ) ).

% lfp_lfp
thf(fact_5922_lfp__rolling,axiom,
    ! [A: $tType,B: $tType] :
      ( ( ( comple6319245703460814977attice @ B )
        & ( comple6319245703460814977attice @ A ) )
     => ! [G3: A > B,F3: B > A] :
          ( ( order_mono @ A @ B @ G3 )
         => ( ( order_mono @ B @ A @ F3 )
           => ( ( G3
                @ ( complete_lattice_lfp @ A
                  @ ^ [X4: A] : ( F3 @ ( G3 @ X4 ) ) ) )
              = ( complete_lattice_lfp @ B
                @ ^ [X4: B] : ( G3 @ ( F3 @ X4 ) ) ) ) ) ) ) ).

% lfp_rolling
thf(fact_5923_coinduct3__mono__lemma,axiom,
    ! [B: $tType,A: $tType] :
      ( ( order @ A )
     => ! [F3: A > ( set @ B ),X7: set @ B,B6: set @ B] :
          ( ( order_mono @ A @ ( set @ B ) @ F3 )
         => ( order_mono @ A @ ( set @ B )
            @ ^ [X4: A] : ( sup_sup @ ( set @ B ) @ ( sup_sup @ ( set @ B ) @ ( F3 @ X4 ) @ X7 ) @ B6 ) ) ) ) ).

% coinduct3_mono_lemma
thf(fact_5924_lfp__eqI,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [F5: A > A,X: A] :
          ( ( order_mono @ A @ A @ F5 )
         => ( ( ( F5 @ X )
              = X )
           => ( ! [Z3: A] :
                  ( ( ( F5 @ Z3 )
                    = Z3 )
                 => ( ord_less_eq @ A @ X @ Z3 ) )
             => ( ( complete_lattice_lfp @ A @ F5 )
                = X ) ) ) ) ) ).

% lfp_eqI
thf(fact_5925_lfp__def,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ( ( complete_lattice_lfp @ A )
        = ( ^ [F4: A > A] :
              ( complete_Inf_Inf @ A
              @ ( collect @ A
                @ ^ [U2: A] : ( ord_less_eq @ A @ ( F4 @ U2 ) @ U2 ) ) ) ) ) ) ).

% lfp_def
thf(fact_5926_plus__rat__def,axiom,
    ( ( plus_plus @ rat )
    = ( map_fun @ rat @ ( product_prod @ int @ int ) @ ( ( product_prod @ int @ int ) > ( product_prod @ int @ int ) ) @ ( rat > rat ) @ rep_Rat @ ( map_fun @ rat @ ( product_prod @ int @ int ) @ ( product_prod @ int @ int ) @ rat @ rep_Rat @ abs_Rat )
      @ ^ [X4: product_prod @ int @ int,Y4: product_prod @ int @ int] : ( product_Pair @ int @ int @ ( plus_plus @ int @ ( times_times @ int @ ( product_fst @ int @ int @ X4 ) @ ( product_snd @ int @ int @ Y4 ) ) @ ( times_times @ int @ ( product_fst @ int @ int @ Y4 ) @ ( product_snd @ int @ int @ X4 ) ) ) @ ( times_times @ int @ ( product_snd @ int @ int @ X4 ) @ ( product_snd @ int @ int @ Y4 ) ) ) ) ) ).

% plus_rat_def
thf(fact_5927_inverse__rat__def,axiom,
    ( ( inverse_inverse @ rat )
    = ( map_fun @ rat @ ( product_prod @ int @ int ) @ ( product_prod @ int @ int ) @ rat @ rep_Rat @ abs_Rat
      @ ^ [X4: product_prod @ int @ int] :
          ( if @ ( product_prod @ int @ int )
          @ ( ( product_fst @ int @ int @ X4 )
            = ( zero_zero @ int ) )
          @ ( product_Pair @ int @ int @ ( zero_zero @ int ) @ ( one_one @ int ) )
          @ ( product_Pair @ int @ int @ ( product_snd @ int @ int @ X4 ) @ ( product_fst @ int @ int @ X4 ) ) ) ) ) ).

% inverse_rat_def
thf(fact_5928_times__rat__def,axiom,
    ( ( times_times @ rat )
    = ( map_fun @ rat @ ( product_prod @ int @ int ) @ ( ( product_prod @ int @ int ) > ( product_prod @ int @ int ) ) @ ( rat > rat ) @ rep_Rat @ ( map_fun @ rat @ ( product_prod @ int @ int ) @ ( product_prod @ int @ int ) @ rat @ rep_Rat @ abs_Rat )
      @ ^ [X4: product_prod @ int @ int,Y4: product_prod @ int @ int] : ( product_Pair @ int @ int @ ( times_times @ int @ ( product_fst @ int @ int @ X4 ) @ ( product_fst @ int @ int @ Y4 ) ) @ ( times_times @ int @ ( product_snd @ int @ int @ X4 ) @ ( product_snd @ int @ int @ Y4 ) ) ) ) ) ).

% times_rat_def
thf(fact_5929_Fract__def,axiom,
    ( fract
    = ( map_fun @ int @ int @ ( int > ( product_prod @ int @ int ) ) @ ( int > rat ) @ ( id @ int ) @ ( map_fun @ int @ int @ ( product_prod @ int @ int ) @ rat @ ( id @ int ) @ abs_Rat )
      @ ^ [A7: int,B5: int] :
          ( if @ ( product_prod @ int @ int )
          @ ( B5
            = ( zero_zero @ int ) )
          @ ( product_Pair @ int @ int @ ( zero_zero @ int ) @ ( one_one @ int ) )
          @ ( product_Pair @ int @ int @ A7 @ B5 ) ) ) ) ).

% Fract_def
thf(fact_5930_uminus__rat__def,axiom,
    ( ( uminus_uminus @ rat )
    = ( map_fun @ rat @ ( product_prod @ int @ int ) @ ( product_prod @ int @ int ) @ rat @ rep_Rat @ abs_Rat
      @ ^ [X4: product_prod @ int @ int] : ( product_Pair @ int @ int @ ( uminus_uminus @ int @ ( product_fst @ int @ int @ X4 ) ) @ ( product_snd @ int @ int @ X4 ) ) ) ) ).

% uminus_rat_def
thf(fact_5931_Code__Numeral_Odup__def,axiom,
    ( code_dup
    = ( map_fun @ code_integer @ int @ int @ code_integer @ code_int_of_integer @ code_integer_of_int
      @ ^ [K3: int] : ( plus_plus @ int @ K3 @ K3 ) ) ) ).

% Code_Numeral.dup_def
thf(fact_5932_plus__rat_Oabs__eq,axiom,
    ! [Xa: product_prod @ int @ int,X: product_prod @ int @ int] :
      ( ( ratrel @ Xa @ Xa )
     => ( ( ratrel @ X @ X )
       => ( ( plus_plus @ rat @ ( abs_Rat @ Xa ) @ ( abs_Rat @ X ) )
          = ( abs_Rat @ ( product_Pair @ int @ int @ ( plus_plus @ int @ ( times_times @ int @ ( product_fst @ int @ int @ Xa ) @ ( product_snd @ int @ int @ X ) ) @ ( times_times @ int @ ( product_fst @ int @ int @ X ) @ ( product_snd @ int @ int @ Xa ) ) ) @ ( times_times @ int @ ( product_snd @ int @ int @ Xa ) @ ( product_snd @ int @ int @ X ) ) ) ) ) ) ) ).

% plus_rat.abs_eq
thf(fact_5933_positive_Oabs__eq,axiom,
    ! [X: product_prod @ int @ int] :
      ( ( ratrel @ X @ X )
     => ( ( positive @ ( abs_Rat @ X ) )
        = ( ord_less @ int @ ( zero_zero @ int ) @ ( times_times @ int @ ( product_fst @ int @ int @ X ) @ ( product_snd @ int @ int @ X ) ) ) ) ) ).

% positive.abs_eq
thf(fact_5934_Fract_Orsp,axiom,
    ( bNF_rel_fun @ int @ int @ ( int > ( product_prod @ int @ int ) ) @ ( int > ( product_prod @ int @ int ) )
    @ ^ [Y6: int,Z5: int] : Y6 = Z5
    @ ( bNF_rel_fun @ int @ int @ ( product_prod @ int @ int ) @ ( product_prod @ int @ int )
      @ ^ [Y6: int,Z5: int] : Y6 = Z5
      @ ratrel )
    @ ^ [A7: int,B5: int] :
        ( if @ ( product_prod @ int @ int )
        @ ( B5
          = ( zero_zero @ int ) )
        @ ( product_Pair @ int @ int @ ( zero_zero @ int ) @ ( one_one @ int ) )
        @ ( product_Pair @ int @ int @ A7 @ B5 ) )
    @ ^ [A7: int,B5: int] :
        ( if @ ( product_prod @ int @ int )
        @ ( B5
          = ( zero_zero @ int ) )
        @ ( product_Pair @ int @ int @ ( zero_zero @ int ) @ ( one_one @ int ) )
        @ ( product_Pair @ int @ int @ A7 @ B5 ) ) ) ).

% Fract.rsp
thf(fact_5935_dup_Orep__eq,axiom,
    ! [X: code_integer] :
      ( ( code_int_of_integer @ ( code_dup @ X ) )
      = ( plus_plus @ int @ ( code_int_of_integer @ X ) @ ( code_int_of_integer @ X ) ) ) ).

% dup.rep_eq
thf(fact_5936_dup_Oabs__eq,axiom,
    ! [X: int] :
      ( ( code_dup @ ( code_integer_of_int @ X ) )
      = ( code_integer_of_int @ ( plus_plus @ int @ X @ X ) ) ) ).

% dup.abs_eq
thf(fact_5937_of__rat_Orsp,axiom,
    ! [A: $tType] :
      ( ( field_char_0 @ A )
     => ( bNF_rel_fun @ ( product_prod @ int @ int ) @ ( product_prod @ int @ int ) @ A @ A @ ratrel
        @ ^ [Y6: A,Z5: A] : Y6 = Z5
        @ ^ [X4: product_prod @ int @ int] : ( divide_divide @ A @ ( ring_1_of_int @ A @ ( product_fst @ int @ int @ X4 ) ) @ ( ring_1_of_int @ A @ ( product_snd @ int @ int @ X4 ) ) )
        @ ^ [X4: product_prod @ int @ int] : ( divide_divide @ A @ ( ring_1_of_int @ A @ ( product_fst @ int @ int @ X4 ) ) @ ( ring_1_of_int @ A @ ( product_snd @ int @ int @ X4 ) ) ) ) ) ).

% of_rat.rsp
thf(fact_5938_ratrel__def,axiom,
    ( ratrel
    = ( ^ [X4: product_prod @ int @ int,Y4: product_prod @ int @ int] :
          ( ( ( product_snd @ int @ int @ X4 )
           != ( zero_zero @ int ) )
          & ( ( product_snd @ int @ int @ Y4 )
           != ( zero_zero @ int ) )
          & ( ( times_times @ int @ ( product_fst @ int @ int @ X4 ) @ ( product_snd @ int @ int @ Y4 ) )
            = ( times_times @ int @ ( product_fst @ int @ int @ Y4 ) @ ( product_snd @ int @ int @ X4 ) ) ) ) ) ) ).

% ratrel_def
thf(fact_5939_times__rat_Orsp,axiom,
    ( bNF_rel_fun @ ( product_prod @ int @ int ) @ ( product_prod @ int @ int ) @ ( ( product_prod @ int @ int ) > ( product_prod @ int @ int ) ) @ ( ( product_prod @ int @ int ) > ( product_prod @ int @ int ) ) @ ratrel @ ( bNF_rel_fun @ ( product_prod @ int @ int ) @ ( product_prod @ int @ int ) @ ( product_prod @ int @ int ) @ ( product_prod @ int @ int ) @ ratrel @ ratrel )
    @ ^ [X4: product_prod @ int @ int,Y4: product_prod @ int @ int] : ( product_Pair @ int @ int @ ( times_times @ int @ ( product_fst @ int @ int @ X4 ) @ ( product_fst @ int @ int @ Y4 ) ) @ ( times_times @ int @ ( product_snd @ int @ int @ X4 ) @ ( product_snd @ int @ int @ Y4 ) ) )
    @ ^ [X4: product_prod @ int @ int,Y4: product_prod @ int @ int] : ( product_Pair @ int @ int @ ( times_times @ int @ ( product_fst @ int @ int @ X4 ) @ ( product_fst @ int @ int @ Y4 ) ) @ ( times_times @ int @ ( product_snd @ int @ int @ X4 ) @ ( product_snd @ int @ int @ Y4 ) ) ) ) ).

% times_rat.rsp
thf(fact_5940_uminus__rat_Orsp,axiom,
    ( bNF_rel_fun @ ( product_prod @ int @ int ) @ ( product_prod @ int @ int ) @ ( product_prod @ int @ int ) @ ( product_prod @ int @ int ) @ ratrel @ ratrel
    @ ^ [X4: product_prod @ int @ int] : ( product_Pair @ int @ int @ ( uminus_uminus @ int @ ( product_fst @ int @ int @ X4 ) ) @ ( product_snd @ int @ int @ X4 ) )
    @ ^ [X4: product_prod @ int @ int] : ( product_Pair @ int @ int @ ( uminus_uminus @ int @ ( product_fst @ int @ int @ X4 ) ) @ ( product_snd @ int @ int @ X4 ) ) ) ).

% uminus_rat.rsp
thf(fact_5941_positive_Orsp,axiom,
    ( bNF_rel_fun @ ( product_prod @ int @ int ) @ ( product_prod @ int @ int ) @ $o @ $o @ ratrel
    @ ^ [Y6: $o,Z5: $o] : Y6 = Z5
    @ ^ [X4: product_prod @ int @ int] : ( ord_less @ int @ ( zero_zero @ int ) @ ( times_times @ int @ ( product_fst @ int @ int @ X4 ) @ ( product_snd @ int @ int @ X4 ) ) )
    @ ^ [X4: product_prod @ int @ int] : ( ord_less @ int @ ( zero_zero @ int ) @ ( times_times @ int @ ( product_fst @ int @ int @ X4 ) @ ( product_snd @ int @ int @ X4 ) ) ) ) ).

% positive.rsp
thf(fact_5942_inverse__rat_Orsp,axiom,
    ( bNF_rel_fun @ ( product_prod @ int @ int ) @ ( product_prod @ int @ int ) @ ( product_prod @ int @ int ) @ ( product_prod @ int @ int ) @ ratrel @ ratrel
    @ ^ [X4: product_prod @ int @ int] :
        ( if @ ( product_prod @ int @ int )
        @ ( ( product_fst @ int @ int @ X4 )
          = ( zero_zero @ int ) )
        @ ( product_Pair @ int @ int @ ( zero_zero @ int ) @ ( one_one @ int ) )
        @ ( product_Pair @ int @ int @ ( product_snd @ int @ int @ X4 ) @ ( product_fst @ int @ int @ X4 ) ) )
    @ ^ [X4: product_prod @ int @ int] :
        ( if @ ( product_prod @ int @ int )
        @ ( ( product_fst @ int @ int @ X4 )
          = ( zero_zero @ int ) )
        @ ( product_Pair @ int @ int @ ( zero_zero @ int ) @ ( one_one @ int ) )
        @ ( product_Pair @ int @ int @ ( product_snd @ int @ int @ X4 ) @ ( product_fst @ int @ int @ X4 ) ) ) ) ).

% inverse_rat.rsp
thf(fact_5943_plus__rat_Orsp,axiom,
    ( bNF_rel_fun @ ( product_prod @ int @ int ) @ ( product_prod @ int @ int ) @ ( ( product_prod @ int @ int ) > ( product_prod @ int @ int ) ) @ ( ( product_prod @ int @ int ) > ( product_prod @ int @ int ) ) @ ratrel @ ( bNF_rel_fun @ ( product_prod @ int @ int ) @ ( product_prod @ int @ int ) @ ( product_prod @ int @ int ) @ ( product_prod @ int @ int ) @ ratrel @ ratrel )
    @ ^ [X4: product_prod @ int @ int,Y4: product_prod @ int @ int] : ( product_Pair @ int @ int @ ( plus_plus @ int @ ( times_times @ int @ ( product_fst @ int @ int @ X4 ) @ ( product_snd @ int @ int @ Y4 ) ) @ ( times_times @ int @ ( product_fst @ int @ int @ Y4 ) @ ( product_snd @ int @ int @ X4 ) ) ) @ ( times_times @ int @ ( product_snd @ int @ int @ X4 ) @ ( product_snd @ int @ int @ Y4 ) ) )
    @ ^ [X4: product_prod @ int @ int,Y4: product_prod @ int @ int] : ( product_Pair @ int @ int @ ( plus_plus @ int @ ( times_times @ int @ ( product_fst @ int @ int @ X4 ) @ ( product_snd @ int @ int @ Y4 ) ) @ ( times_times @ int @ ( product_fst @ int @ int @ Y4 ) @ ( product_snd @ int @ int @ X4 ) ) ) @ ( times_times @ int @ ( product_snd @ int @ int @ X4 ) @ ( product_snd @ int @ int @ Y4 ) ) ) ) ).

% plus_rat.rsp
thf(fact_5944_Code__Numeral_Osub__code_I8_J,axiom,
    ! [M: num,N: num] :
      ( ( code_sub @ ( bit1 @ M ) @ ( bit0 @ N ) )
      = ( plus_plus @ code_integer @ ( code_dup @ ( code_sub @ M @ N ) ) @ ( one_one @ code_integer ) ) ) ).

% Code_Numeral.sub_code(8)
thf(fact_5945_cr__rat__def,axiom,
    ( cr_rat
    = ( ^ [X4: product_prod @ int @ int,Y4: rat] :
          ( ( ratrel @ X4 @ X4 )
          & ( ( abs_Rat @ X4 )
            = Y4 ) ) ) ) ).

% cr_rat_def
thf(fact_5946_swap__comp__swap,axiom,
    ! [B: $tType,A: $tType] :
      ( ( comp @ ( product_prod @ B @ A ) @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) @ ( product_swap @ B @ A ) @ ( product_swap @ A @ B ) )
      = ( id @ ( product_prod @ A @ B ) ) ) ).

% swap_comp_swap
thf(fact_5947_swap__swap,axiom,
    ! [B: $tType,A: $tType,P3: product_prod @ A @ B] :
      ( ( product_swap @ B @ A @ ( product_swap @ A @ B @ P3 ) )
      = P3 ) ).

% swap_swap
thf(fact_5948_swap__simp,axiom,
    ! [A: $tType,B: $tType,X: B,Y: A] :
      ( ( product_swap @ B @ A @ ( product_Pair @ B @ A @ X @ Y ) )
      = ( product_Pair @ A @ B @ Y @ X ) ) ).

% swap_simp
thf(fact_5949_case__swap,axiom,
    ! [A: $tType,B: $tType,C: $tType,F3: C > B > A,P3: product_prod @ C @ B] :
      ( ( product_case_prod @ B @ C @ A
        @ ^ [Y4: B,X4: C] : ( F3 @ X4 @ Y4 )
        @ ( product_swap @ C @ B @ P3 ) )
      = ( product_case_prod @ C @ B @ A @ F3 @ P3 ) ) ).

% case_swap
thf(fact_5950_snd__swap,axiom,
    ! [B: $tType,A: $tType,X: product_prod @ A @ B] :
      ( ( product_snd @ B @ A @ ( product_swap @ A @ B @ X ) )
      = ( product_fst @ A @ B @ X ) ) ).

% snd_swap
thf(fact_5951_fst__swap,axiom,
    ! [A: $tType,B: $tType,X: product_prod @ B @ A] :
      ( ( product_fst @ A @ B @ ( product_swap @ B @ A @ X ) )
      = ( product_snd @ B @ A @ X ) ) ).

% fst_swap
thf(fact_5952_pair__in__swap__image,axiom,
    ! [A: $tType,B: $tType,Y: A,X: B,A6: set @ ( product_prod @ B @ A )] :
      ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ Y @ X ) @ ( image2 @ ( product_prod @ B @ A ) @ ( product_prod @ A @ B ) @ ( product_swap @ B @ A ) @ A6 ) )
      = ( member @ ( product_prod @ B @ A ) @ ( product_Pair @ B @ A @ X @ Y ) @ A6 ) ) ).

% pair_in_swap_image
thf(fact_5953_surj__swap,axiom,
    ! [B: $tType,A: $tType] :
      ( ( image2 @ ( product_prod @ B @ A ) @ ( product_prod @ A @ B ) @ ( product_swap @ B @ A ) @ ( top_top @ ( set @ ( product_prod @ B @ A ) ) ) )
      = ( top_top @ ( set @ ( product_prod @ A @ B ) ) ) ) ).

% surj_swap
thf(fact_5954_product__swap,axiom,
    ! [B: $tType,A: $tType,A6: set @ B,B6: set @ A] :
      ( ( image2 @ ( product_prod @ B @ A ) @ ( product_prod @ A @ B ) @ ( product_swap @ B @ A )
        @ ( product_Sigma @ B @ A @ A6
          @ ^ [Uu2: B] : B6 ) )
      = ( product_Sigma @ A @ B @ B6
        @ ^ [Uu2: A] : A6 ) ) ).

% product_swap
thf(fact_5955_prod_Oswap__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( product_swap @ A @ B )
      = ( ^ [P7: product_prod @ A @ B] : ( product_Pair @ B @ A @ ( product_snd @ A @ B @ P7 ) @ ( product_fst @ A @ B @ P7 ) ) ) ) ).

% prod.swap_def
thf(fact_5956_Code__Numeral_Osub__def,axiom,
    ( code_sub
    = ( map_fun @ num @ num @ ( num > int ) @ ( num > code_integer ) @ ( id @ num ) @ ( map_fun @ num @ num @ int @ code_integer @ ( id @ num ) @ code_integer_of_int )
      @ ^ [M3: num,N3: num] : ( minus_minus @ int @ ( numeral_numeral @ int @ M3 ) @ ( numeral_numeral @ int @ N3 ) ) ) ) ).

% Code_Numeral.sub_def
thf(fact_5957_ord__class_Olexordp__def,axiom,
    ! [A: $tType] :
      ( ( ord @ A )
     => ( ( ord_lexordp @ A )
        = ( complete_lattice_lfp @ ( ( list @ A ) > ( list @ A ) > $o )
          @ ^ [P7: ( list @ A ) > ( list @ A ) > $o,X12: list @ A,X23: list @ A] :
              ( ? [Y4: A,Ys2: list @ A] :
                  ( ( X12
                    = ( nil @ A ) )
                  & ( X23
                    = ( cons @ A @ Y4 @ Ys2 ) ) )
              | ? [X4: A,Y4: A,Xs3: list @ A,Ys2: list @ A] :
                  ( ( X12
                    = ( cons @ A @ X4 @ Xs3 ) )
                  & ( X23
                    = ( cons @ A @ Y4 @ Ys2 ) )
                  & ( ord_less @ A @ X4 @ Y4 ) )
              | ? [X4: A,Y4: A,Xs3: list @ A,Ys2: list @ A] :
                  ( ( X12
                    = ( cons @ A @ X4 @ Xs3 ) )
                  & ( X23
                    = ( cons @ A @ Y4 @ Ys2 ) )
                  & ~ ( ord_less @ A @ X4 @ Y4 )
                  & ~ ( ord_less @ A @ Y4 @ X4 )
                  & ( P7 @ Xs3 @ Ys2 ) ) ) ) ) ) ).

% ord_class.lexordp_def
thf(fact_5958_revg__fun,axiom,
    ! [A: $tType] :
      ( ( revg @ A )
      = ( ^ [A7: list @ A] : ( append @ A @ ( rev @ A @ A7 ) ) ) ) ).

% revg_fun
thf(fact_5959_lexordp__simps_I3_J,axiom,
    ! [A: $tType] :
      ( ( ord @ A )
     => ! [X: A,Xs: list @ A,Y: A,Ys3: list @ A] :
          ( ( ord_lexordp @ A @ ( cons @ A @ X @ Xs ) @ ( cons @ A @ Y @ Ys3 ) )
          = ( ( ord_less @ A @ X @ Y )
            | ( ~ ( ord_less @ A @ Y @ X )
              & ( ord_lexordp @ A @ Xs @ Ys3 ) ) ) ) ) ).

% lexordp_simps(3)
thf(fact_5960_lexordp__irreflexive,axiom,
    ! [A: $tType] :
      ( ( ord @ A )
     => ! [Xs: list @ A] :
          ( ! [X3: A] :
              ~ ( ord_less @ A @ X3 @ X3 )
         => ~ ( ord_lexordp @ A @ Xs @ Xs ) ) ) ).

% lexordp_irreflexive
thf(fact_5961_revg_Osimps_I2_J,axiom,
    ! [A: $tType,A3: A,As: list @ A,B2: list @ A] :
      ( ( revg @ A @ ( cons @ A @ A3 @ As ) @ B2 )
      = ( revg @ A @ As @ ( cons @ A @ A3 @ B2 ) ) ) ).

% revg.simps(2)
thf(fact_5962_revg_Osimps_I1_J,axiom,
    ! [A: $tType,B2: list @ A] :
      ( ( revg @ A @ ( nil @ A ) @ B2 )
      = B2 ) ).

% revg.simps(1)
thf(fact_5963_lexordp_OCons__eq,axiom,
    ! [A: $tType] :
      ( ( ord @ A )
     => ! [X: A,Y: A,Xs: list @ A,Ys3: list @ A] :
          ( ~ ( ord_less @ A @ X @ Y )
         => ( ~ ( ord_less @ A @ Y @ X )
           => ( ( ord_lexordp @ A @ Xs @ Ys3 )
             => ( ord_lexordp @ A @ ( cons @ A @ X @ Xs ) @ ( cons @ A @ Y @ Ys3 ) ) ) ) ) ) ).

% lexordp.Cons_eq
thf(fact_5964_lexordp_OCons,axiom,
    ! [A: $tType] :
      ( ( ord @ A )
     => ! [X: A,Y: A,Xs: list @ A,Ys3: list @ A] :
          ( ( ord_less @ A @ X @ Y )
         => ( ord_lexordp @ A @ ( cons @ A @ X @ Xs ) @ ( cons @ A @ Y @ Ys3 ) ) ) ) ).

% lexordp.Cons
thf(fact_5965_lexordp__append__leftD,axiom,
    ! [A: $tType] :
      ( ( ord @ A )
     => ! [Xs: list @ A,Us: list @ A,Vs: list @ A] :
          ( ( ord_lexordp @ A @ ( append @ A @ Xs @ Us ) @ ( append @ A @ Xs @ Vs ) )
         => ( ! [A5: A] :
                ~ ( ord_less @ A @ A5 @ A5 )
           => ( ord_lexordp @ A @ Us @ Vs ) ) ) ) ).

% lexordp_append_leftD
thf(fact_5966_lexordp_Ocases,axiom,
    ! [A: $tType] :
      ( ( ord @ A )
     => ! [A1: list @ A,A22: list @ A] :
          ( ( ord_lexordp @ A @ A1 @ A22 )
         => ( ( ( A1
                = ( nil @ A ) )
             => ! [Y3: A,Ys5: list @ A] :
                  ( A22
                 != ( cons @ A @ Y3 @ Ys5 ) ) )
           => ( ! [X3: A] :
                  ( ? [Xs2: list @ A] :
                      ( A1
                      = ( cons @ A @ X3 @ Xs2 ) )
                 => ! [Y3: A] :
                      ( ? [Ys5: list @ A] :
                          ( A22
                          = ( cons @ A @ Y3 @ Ys5 ) )
                     => ~ ( ord_less @ A @ X3 @ Y3 ) ) )
             => ~ ! [X3: A,Y3: A,Xs2: list @ A] :
                    ( ( A1
                      = ( cons @ A @ X3 @ Xs2 ) )
                   => ! [Ys5: list @ A] :
                        ( ( A22
                          = ( cons @ A @ Y3 @ Ys5 ) )
                       => ( ~ ( ord_less @ A @ X3 @ Y3 )
                         => ( ~ ( ord_less @ A @ Y3 @ X3 )
                           => ~ ( ord_lexordp @ A @ Xs2 @ Ys5 ) ) ) ) ) ) ) ) ) ).

% lexordp.cases
thf(fact_5967_lexordp_Osimps,axiom,
    ! [A: $tType] :
      ( ( ord @ A )
     => ( ( ord_lexordp @ A )
        = ( ^ [A12: list @ A,A23: list @ A] :
              ( ? [Y4: A,Ys2: list @ A] :
                  ( ( A12
                    = ( nil @ A ) )
                  & ( A23
                    = ( cons @ A @ Y4 @ Ys2 ) ) )
              | ? [X4: A,Y4: A,Xs3: list @ A,Ys2: list @ A] :
                  ( ( A12
                    = ( cons @ A @ X4 @ Xs3 ) )
                  & ( A23
                    = ( cons @ A @ Y4 @ Ys2 ) )
                  & ( ord_less @ A @ X4 @ Y4 ) )
              | ? [X4: A,Y4: A,Xs3: list @ A,Ys2: list @ A] :
                  ( ( A12
                    = ( cons @ A @ X4 @ Xs3 ) )
                  & ( A23
                    = ( cons @ A @ Y4 @ Ys2 ) )
                  & ~ ( ord_less @ A @ X4 @ Y4 )
                  & ~ ( ord_less @ A @ Y4 @ X4 )
                  & ( ord_lexordp @ A @ Xs3 @ Ys2 ) ) ) ) ) ) ).

% lexordp.simps
thf(fact_5968_lexordp__cases,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Xs: list @ A,Ys3: list @ A] :
          ( ( ord_lexordp @ A @ Xs @ Ys3 )
         => ( ( ( Xs
                = ( nil @ A ) )
             => ! [Y3: A,Ys4: list @ A] :
                  ( Ys3
                 != ( cons @ A @ Y3 @ Ys4 ) ) )
           => ( ! [X3: A] :
                  ( ? [Xs4: list @ A] :
                      ( Xs
                      = ( cons @ A @ X3 @ Xs4 ) )
                 => ! [Y3: A] :
                      ( ? [Ys4: list @ A] :
                          ( Ys3
                          = ( cons @ A @ Y3 @ Ys4 ) )
                     => ~ ( ord_less @ A @ X3 @ Y3 ) ) )
             => ~ ! [X3: A,Xs4: list @ A] :
                    ( ( Xs
                      = ( cons @ A @ X3 @ Xs4 ) )
                   => ! [Ys4: list @ A] :
                        ( ( Ys3
                          = ( cons @ A @ X3 @ Ys4 ) )
                       => ~ ( ord_lexordp @ A @ Xs4 @ Ys4 ) ) ) ) ) ) ) ).

% lexordp_cases
thf(fact_5969_lexordp__induct,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Xs: list @ A,Ys3: list @ A,P2: ( list @ A ) > ( list @ A ) > $o] :
          ( ( ord_lexordp @ A @ Xs @ Ys3 )
         => ( ! [Y3: A,Ys5: list @ A] : ( P2 @ ( nil @ A ) @ ( cons @ A @ Y3 @ Ys5 ) )
           => ( ! [X3: A,Xs2: list @ A,Y3: A,Ys5: list @ A] :
                  ( ( ord_less @ A @ X3 @ Y3 )
                 => ( P2 @ ( cons @ A @ X3 @ Xs2 ) @ ( cons @ A @ Y3 @ Ys5 ) ) )
             => ( ! [X3: A,Xs2: list @ A,Ys5: list @ A] :
                    ( ( ord_lexordp @ A @ Xs2 @ Ys5 )
                   => ( ( P2 @ Xs2 @ Ys5 )
                     => ( P2 @ ( cons @ A @ X3 @ Xs2 ) @ ( cons @ A @ X3 @ Ys5 ) ) ) )
               => ( P2 @ Xs @ Ys3 ) ) ) ) ) ) ).

% lexordp_induct
thf(fact_5970_lexordp__iff,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ( ( ord_lexordp @ A )
        = ( ^ [Xs3: list @ A,Ys2: list @ A] :
              ( ? [X4: A,Vs3: list @ A] :
                  ( Ys2
                  = ( append @ A @ Xs3 @ ( cons @ A @ X4 @ Vs3 ) ) )
              | ? [Us3: list @ A,A7: A,B5: A,Vs3: list @ A,Ws: list @ A] :
                  ( ( ord_less @ A @ A7 @ B5 )
                  & ( Xs3
                    = ( append @ A @ Us3 @ ( cons @ A @ A7 @ Vs3 ) ) )
                  & ( Ys2
                    = ( append @ A @ Us3 @ ( cons @ A @ B5 @ Ws ) ) ) ) ) ) ) ) ).

% lexordp_iff
thf(fact_5971_lexordp__append__left__rightI,axiom,
    ! [A: $tType] :
      ( ( ord @ A )
     => ! [X: A,Y: A,Us: list @ A,Xs: list @ A,Ys3: list @ A] :
          ( ( ord_less @ A @ X @ Y )
         => ( ord_lexordp @ A @ ( append @ A @ Us @ ( cons @ A @ X @ Xs ) ) @ ( append @ A @ Us @ ( cons @ A @ Y @ Ys3 ) ) ) ) ) ).

% lexordp_append_left_rightI
thf(fact_5972_revg_Oelims,axiom,
    ! [A: $tType,X: list @ A,Xa: list @ A,Y: list @ A] :
      ( ( ( revg @ A @ X @ Xa )
        = Y )
     => ( ( ( X
            = ( nil @ A ) )
         => ( Y != Xa ) )
       => ~ ! [A5: A,As2: list @ A] :
              ( ( X
                = ( cons @ A @ A5 @ As2 ) )
             => ( Y
               != ( revg @ A @ As2 @ ( cons @ A @ A5 @ Xa ) ) ) ) ) ) ).

% revg.elims
thf(fact_5973_lexordp__conv__lexord,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ( ( ord_lexordp @ A )
        = ( ^ [Xs3: list @ A,Ys2: list @ A] : ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Xs3 @ Ys2 ) @ ( lexord @ A @ ( collect @ ( product_prod @ A @ A ) @ ( product_case_prod @ A @ A @ $o @ ( ord_less @ A ) ) ) ) ) ) ) ) ).

% lexordp_conv_lexord
thf(fact_5974_revg_Opelims,axiom,
    ! [A: $tType,X: list @ A,Xa: list @ A,Y: list @ A] :
      ( ( ( revg @ A @ X @ Xa )
        = Y )
     => ( ( accp @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( revg_rel @ A ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ X @ Xa ) )
       => ( ( ( X
              = ( nil @ A ) )
           => ( ( Y = Xa )
             => ~ ( accp @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( revg_rel @ A ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( nil @ A ) @ Xa ) ) ) )
         => ~ ! [A5: A,As2: list @ A] :
                ( ( X
                  = ( cons @ A @ A5 @ As2 ) )
               => ( ( Y
                    = ( revg @ A @ As2 @ ( cons @ A @ A5 @ Xa ) ) )
                 => ~ ( accp @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( revg_rel @ A ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( cons @ A @ A5 @ As2 ) @ Xa ) ) ) ) ) ) ) ).

% revg.pelims
thf(fact_5975_ord_Olexordp__def,axiom,
    ! [A: $tType] :
      ( ( lexordp2 @ A )
      = ( ^ [Less2: A > A > $o] :
            ( complete_lattice_lfp @ ( ( list @ A ) > ( list @ A ) > $o )
            @ ^ [P7: ( list @ A ) > ( list @ A ) > $o,X12: list @ A,X23: list @ A] :
                ( ? [Y4: A,Ys2: list @ A] :
                    ( ( X12
                      = ( nil @ A ) )
                    & ( X23
                      = ( cons @ A @ Y4 @ Ys2 ) ) )
                | ? [X4: A,Y4: A,Xs3: list @ A,Ys2: list @ A] :
                    ( ( X12
                      = ( cons @ A @ X4 @ Xs3 ) )
                    & ( X23
                      = ( cons @ A @ Y4 @ Ys2 ) )
                    & ( Less2 @ X4 @ Y4 ) )
                | ? [X4: A,Y4: A,Xs3: list @ A,Ys2: list @ A] :
                    ( ( X12
                      = ( cons @ A @ X4 @ Xs3 ) )
                    & ( X23
                      = ( cons @ A @ Y4 @ Ys2 ) )
                    & ~ ( Less2 @ X4 @ Y4 )
                    & ~ ( Less2 @ Y4 @ X4 )
                    & ( P7 @ Xs3 @ Ys2 ) ) ) ) ) ) ).

% ord.lexordp_def
thf(fact_5976_INF__principal__finite,axiom,
    ! [B: $tType,A: $tType,X7: set @ A,F3: A > ( set @ B )] :
      ( ( finite_finite2 @ A @ X7 )
     => ( ( complete_Inf_Inf @ ( filter @ B )
          @ ( image2 @ A @ ( filter @ B )
            @ ^ [X4: A] : ( principal @ B @ ( F3 @ X4 ) )
            @ X7 ) )
        = ( principal @ B @ ( complete_Inf_Inf @ ( set @ B ) @ ( image2 @ A @ ( set @ B ) @ F3 @ X7 ) ) ) ) ) ).

% INF_principal_finite
thf(fact_5977_dual__min,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ( ( min @ A
          @ ^ [X4: A,Y4: A] : ( ord_less_eq @ A @ Y4 @ X4 ) )
        = ( ord_max @ A ) ) ) ).

% dual_min
thf(fact_5978_subset__mset_Omin__arg__le_I2_J,axiom,
    ! [A: $tType,M: multiset @ A,N: multiset @ A] :
      ( ( subseteq_mset @ A @ M @ ( min @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ M @ N ) )
      = ( ( min @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ M @ N )
        = M ) ) ).

% subset_mset.min_arg_le(2)
thf(fact_5979_subset__mset_Omin__arg__le_I1_J,axiom,
    ! [A: $tType,N: multiset @ A,M: multiset @ A] :
      ( ( subseteq_mset @ A @ N @ ( min @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ M @ N ) )
      = ( ( min @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ M @ N )
        = N ) ) ).

% subset_mset.min_arg_le(1)
thf(fact_5980_sup__principal,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( sup_sup @ ( filter @ A ) @ ( principal @ A @ A6 ) @ ( principal @ A @ B6 ) )
      = ( principal @ A @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) ) ) ).

% sup_principal
thf(fact_5981_principal__le__iff,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( ord_less_eq @ ( filter @ A ) @ ( principal @ A @ A6 ) @ ( principal @ A @ B6 ) )
      = ( ord_less_eq @ ( set @ A ) @ A6 @ B6 ) ) ).

% principal_le_iff
thf(fact_5982_SUP__principal,axiom,
    ! [A: $tType,B: $tType,A6: B > ( set @ A ),I5: set @ B] :
      ( ( complete_Sup_Sup @ ( filter @ A )
        @ ( image2 @ B @ ( filter @ A )
          @ ^ [I: B] : ( principal @ A @ ( A6 @ I ) )
          @ I5 ) )
      = ( principal @ A @ ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ A6 @ I5 ) ) ) ) ).

% SUP_principal
thf(fact_5983_ord_Omin__def,axiom,
    ! [A: $tType] :
      ( ( min @ A )
      = ( ^ [Less_eq2: A > A > $o,A7: A,B5: A] : ( if @ A @ ( Less_eq2 @ A7 @ B5 ) @ A7 @ B5 ) ) ) ).

% ord.min_def
thf(fact_5984_ord_Omin_Ocong,axiom,
    ! [A: $tType] :
      ( ( min @ A )
      = ( min @ A ) ) ).

% ord.min.cong
thf(fact_5985_subset__mset_Omin__add__distrib__left,axiom,
    ! [A: $tType,X: multiset @ A,Y: multiset @ A,Z4: multiset @ A] :
      ( ( plus_plus @ ( multiset @ A ) @ ( min @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ X @ Y ) @ Z4 )
      = ( min @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ ( plus_plus @ ( multiset @ A ) @ X @ Z4 ) @ ( plus_plus @ ( multiset @ A ) @ Y @ Z4 ) ) ) ).

% subset_mset.min_add_distrib_left
thf(fact_5986_subset__mset_Omin__add__distrib__right,axiom,
    ! [A: $tType,X: multiset @ A,Y: multiset @ A,Z4: multiset @ A] :
      ( ( plus_plus @ ( multiset @ A ) @ X @ ( min @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ Y @ Z4 ) )
      = ( min @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ ( plus_plus @ ( multiset @ A ) @ X @ Y ) @ ( plus_plus @ ( multiset @ A ) @ X @ Z4 ) ) ) ).

% subset_mset.min_add_distrib_right
thf(fact_5987_at__bot__def,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ( ( at_bot @ A )
        = ( complete_Inf_Inf @ ( filter @ A )
          @ ( image2 @ A @ ( filter @ A )
            @ ^ [K3: A] : ( principal @ A @ ( set_ord_atMost @ A @ K3 ) )
            @ ( top_top @ ( set @ A ) ) ) ) ) ) ).

% at_bot_def
thf(fact_5988_at__bot__sub,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [C3: A] :
          ( ( at_bot @ A )
          = ( complete_Inf_Inf @ ( filter @ A )
            @ ( image2 @ A @ ( filter @ A )
              @ ^ [K3: A] : ( principal @ A @ ( set_ord_atMost @ A @ K3 ) )
              @ ( set_ord_atMost @ A @ C3 ) ) ) ) ) ).

% at_bot_sub
thf(fact_5989_dual__max,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ( ( max @ A
          @ ^ [X4: A,Y4: A] : ( ord_less_eq @ A @ Y4 @ X4 ) )
        = ( ord_min @ A ) ) ) ).

% dual_max
thf(fact_5990_pick__same,axiom,
    ! [A: $tType,L: nat,Xs: list @ A] :
      ( ( ord_less @ nat @ L @ ( size_size @ ( list @ A ) @ Xs ) )
     => ( ( pick @ A @ ( map @ A @ ( product_prod @ code_natural @ A ) @ ( product_Pair @ code_natural @ A @ ( one_one @ code_natural ) ) @ Xs ) @ ( code_natural_of_nat @ L ) )
        = ( nth @ A @ Xs @ L ) ) ) ).

% pick_same
thf(fact_5991_ord_Omax__def,axiom,
    ! [A: $tType] :
      ( ( max @ A )
      = ( ^ [Less_eq2: A > A > $o,A7: A,B5: A] : ( if @ A @ ( Less_eq2 @ A7 @ B5 ) @ B5 @ A7 ) ) ) ).

% ord.max_def
thf(fact_5992_ord_Omax_Ocong,axiom,
    ! [A: $tType] :
      ( ( max @ A )
      = ( max @ A ) ) ).

% ord.max.cong
thf(fact_5993_less__natural_Oabs__eq,axiom,
    ! [Xa: nat,X: nat] :
      ( ( ord_less @ code_natural @ ( code_natural_of_nat @ Xa ) @ ( code_natural_of_nat @ X ) )
      = ( ord_less @ nat @ Xa @ X ) ) ).

% less_natural.abs_eq
thf(fact_5994_plus__natural_Oabs__eq,axiom,
    ! [Xa: nat,X: nat] :
      ( ( plus_plus @ code_natural @ ( code_natural_of_nat @ Xa ) @ ( code_natural_of_nat @ X ) )
      = ( code_natural_of_nat @ ( plus_plus @ nat @ Xa @ X ) ) ) ).

% plus_natural.abs_eq
thf(fact_5995_less__eq__natural_Oabs__eq,axiom,
    ! [Xa: nat,X: nat] :
      ( ( ord_less_eq @ code_natural @ ( code_natural_of_nat @ Xa ) @ ( code_natural_of_nat @ X ) )
      = ( ord_less_eq @ nat @ Xa @ X ) ) ).

% less_eq_natural.abs_eq
thf(fact_5996_subset__mset_Omax__add__distrib__left,axiom,
    ! [A: $tType,X: multiset @ A,Y: multiset @ A,Z4: multiset @ A] :
      ( ( plus_plus @ ( multiset @ A ) @ ( max @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ X @ Y ) @ Z4 )
      = ( max @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ ( plus_plus @ ( multiset @ A ) @ X @ Z4 ) @ ( plus_plus @ ( multiset @ A ) @ Y @ Z4 ) ) ) ).

% subset_mset.max_add_distrib_left
thf(fact_5997_subset__mset_Omax__add__distrib__right,axiom,
    ! [A: $tType,X: multiset @ A,Y: multiset @ A,Z4: multiset @ A] :
      ( ( plus_plus @ ( multiset @ A ) @ X @ ( max @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ Y @ Z4 ) )
      = ( max @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ ( plus_plus @ ( multiset @ A ) @ X @ Y ) @ ( plus_plus @ ( multiset @ A ) @ X @ Z4 ) ) ) ).

% subset_mset.max_add_distrib_right
thf(fact_5998_Predicate_Oiterate__upto_Opinduct,axiom,
    ! [A: $tType,A0: code_natural > A,A1: code_natural,A22: code_natural,P2: ( code_natural > A ) > code_natural > code_natural > $o] :
      ( ( accp @ ( product_prod @ ( code_natural > A ) @ ( product_prod @ code_natural @ code_natural ) ) @ ( iterate_upto_rel @ A ) @ ( product_Pair @ ( code_natural > A ) @ ( product_prod @ code_natural @ code_natural ) @ A0 @ ( product_Pair @ code_natural @ code_natural @ A1 @ A22 ) ) )
     => ( ! [F: code_natural > A,N4: code_natural,M5: code_natural] :
            ( ( accp @ ( product_prod @ ( code_natural > A ) @ ( product_prod @ code_natural @ code_natural ) ) @ ( iterate_upto_rel @ A ) @ ( product_Pair @ ( code_natural > A ) @ ( product_prod @ code_natural @ code_natural ) @ F @ ( product_Pair @ code_natural @ code_natural @ N4 @ M5 ) ) )
           => ( ! [X6: product_unit] :
                  ( ~ ( ord_less @ code_natural @ M5 @ N4 )
                 => ( P2 @ F @ ( plus_plus @ code_natural @ N4 @ ( one_one @ code_natural ) ) @ M5 ) )
             => ( P2 @ F @ N4 @ M5 ) ) )
       => ( P2 @ A0 @ A1 @ A22 ) ) ) ).

% Predicate.iterate_upto.pinduct
thf(fact_5999_size__multiset__add__mset,axiom,
    ! [A: $tType,F3: A > nat,A3: A,M6: multiset @ A] :
      ( ( size_multiset @ A @ F3 @ ( add_mset @ A @ A3 @ M6 ) )
      = ( plus_plus @ nat @ ( suc @ ( F3 @ A3 ) ) @ ( size_multiset @ A @ F3 @ M6 ) ) ) ).

% size_multiset_add_mset
thf(fact_6000_size__multiset__union,axiom,
    ! [A: $tType,F3: A > nat,M6: multiset @ A,N7: multiset @ A] :
      ( ( size_multiset @ A @ F3 @ ( plus_plus @ ( multiset @ A ) @ M6 @ N7 ) )
      = ( plus_plus @ nat @ ( size_multiset @ A @ F3 @ M6 ) @ ( size_multiset @ A @ F3 @ N7 ) ) ) ).

% size_multiset_union
thf(fact_6001_size__multiset__overloaded__def,axiom,
    ! [B: $tType] :
      ( ( size_size @ ( multiset @ B ) )
      = ( size_multiset @ B
        @ ^ [Uu2: B] : ( zero_zero @ nat ) ) ) ).

% size_multiset_overloaded_def
thf(fact_6002_image__o__collect,axiom,
    ! [B: $tType,C: $tType,A: $tType,G3: C > B,F5: set @ ( A > ( set @ C ) )] :
      ( ( bNF_collect @ A @ B @ ( image2 @ ( A > ( set @ C ) ) @ ( A > ( set @ B ) ) @ ( comp @ ( set @ C ) @ ( set @ B ) @ A @ ( image2 @ C @ B @ G3 ) ) @ F5 ) )
      = ( comp @ ( set @ C ) @ ( set @ B ) @ A @ ( image2 @ C @ B @ G3 ) @ ( bNF_collect @ A @ C @ F5 ) ) ) ).

% image_o_collect
thf(fact_6003_Sup__fin_Oeq__fold_H,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ( ( lattic5882676163264333800up_fin @ A )
        = ( ^ [A8: set @ A] :
              ( the2 @ A
              @ ( finite_fold @ A @ ( option @ A )
                @ ^ [X4: A,Y4: option @ A] : ( some @ A @ ( case_option @ A @ A @ X4 @ ( sup_sup @ A @ X4 ) @ Y4 ) )
                @ ( none @ A )
                @ A8 ) ) ) ) ) ).

% Sup_fin.eq_fold'
thf(fact_6004_Sup__fin_Osingleton,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [X: A] :
          ( ( lattic5882676163264333800up_fin @ A @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) )
          = X ) ) ).

% Sup_fin.singleton
thf(fact_6005_inf__Sup__absorb,axiom,
    ! [A: $tType] :
      ( ( lattice @ A )
     => ! [A6: set @ A,A3: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( member @ A @ A3 @ A6 )
           => ( ( inf_inf @ A @ A3 @ ( lattic5882676163264333800up_fin @ A @ A6 ) )
              = A3 ) ) ) ) ).

% inf_Sup_absorb
thf(fact_6006_Sup__fin_Oinsert,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( lattic5882676163264333800up_fin @ A @ ( insert @ A @ X @ A6 ) )
              = ( sup_sup @ A @ X @ ( lattic5882676163264333800up_fin @ A @ A6 ) ) ) ) ) ) ).

% Sup_fin.insert
thf(fact_6007_Sup__fin_OcoboundedI,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [A6: set @ A,A3: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( member @ A @ A3 @ A6 )
           => ( ord_less_eq @ A @ A3 @ ( lattic5882676163264333800up_fin @ A @ A6 ) ) ) ) ) ).

% Sup_fin.coboundedI
thf(fact_6008_Sup__fin_Oin__idem,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( member @ A @ X @ A6 )
           => ( ( sup_sup @ A @ X @ ( lattic5882676163264333800up_fin @ A @ A6 ) )
              = ( lattic5882676163264333800up_fin @ A @ A6 ) ) ) ) ) ).

% Sup_fin.in_idem
thf(fact_6009_Sup__fin_Obounded__iff,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( ord_less_eq @ A @ ( lattic5882676163264333800up_fin @ A @ A6 ) @ X )
              = ( ! [X4: A] :
                    ( ( member @ A @ X4 @ A6 )
                   => ( ord_less_eq @ A @ X4 @ X ) ) ) ) ) ) ) ).

% Sup_fin.bounded_iff
thf(fact_6010_Sup__fin_OboundedI,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ! [A5: A] :
                  ( ( member @ A @ A5 @ A6 )
                 => ( ord_less_eq @ A @ A5 @ X ) )
             => ( ord_less_eq @ A @ ( lattic5882676163264333800up_fin @ A @ A6 ) @ X ) ) ) ) ) ).

% Sup_fin.boundedI
thf(fact_6011_Sup__fin_OboundedE,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( ord_less_eq @ A @ ( lattic5882676163264333800up_fin @ A @ A6 ) @ X )
             => ! [A17: A] :
                  ( ( member @ A @ A17 @ A6 )
                 => ( ord_less_eq @ A @ A17 @ X ) ) ) ) ) ) ).

% Sup_fin.boundedE
thf(fact_6012_Sup__fin__Sup,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A6: set @ A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( lattic5882676163264333800up_fin @ A @ A6 )
              = ( complete_Sup_Sup @ A @ A6 ) ) ) ) ) ).

% Sup_fin_Sup
thf(fact_6013_cSup__eq__Sup__fin,axiom,
    ! [A: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [X7: set @ A] :
          ( ( finite_finite2 @ A @ X7 )
         => ( ( X7
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( complete_Sup_Sup @ A @ X7 )
              = ( lattic5882676163264333800up_fin @ A @ X7 ) ) ) ) ) ).

% cSup_eq_Sup_fin
thf(fact_6014_Sup__fin_Oinfinite,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [A6: set @ A] :
          ( ~ ( finite_finite2 @ A @ A6 )
         => ( ( lattic5882676163264333800up_fin @ A @ A6 )
            = ( the2 @ A @ ( none @ A ) ) ) ) ) ).

% Sup_fin.infinite
thf(fact_6015_collect__def,axiom,
    ! [A: $tType,B: $tType] :
      ( ( bNF_collect @ B @ A )
      = ( ^ [F10: set @ ( B > ( set @ A ) ),X4: B] :
            ( complete_Sup_Sup @ ( set @ A )
            @ ( image2 @ ( B > ( set @ A ) ) @ ( set @ A )
              @ ^ [F4: B > ( set @ A )] : ( F4 @ X4 )
              @ F10 ) ) ) ) ).

% collect_def
thf(fact_6016_collect__comp,axiom,
    ! [A: $tType,B: $tType,C: $tType,F5: set @ ( C > ( set @ B ) ),G3: A > C] :
      ( ( comp @ C @ ( set @ B ) @ A @ ( bNF_collect @ C @ B @ F5 ) @ G3 )
      = ( bNF_collect @ A @ B
        @ ( image2 @ ( C > ( set @ B ) ) @ ( A > ( set @ B ) )
          @ ^ [F4: C > ( set @ B )] : ( comp @ C @ ( set @ B ) @ A @ F4 @ G3 )
          @ F5 ) ) ) ).

% collect_comp
thf(fact_6017_Sup__fin_Osubset__imp,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [A6: set @ A,B6: set @ A] :
          ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( finite_finite2 @ A @ B6 )
             => ( ord_less_eq @ A @ ( lattic5882676163264333800up_fin @ A @ A6 ) @ ( lattic5882676163264333800up_fin @ A @ B6 ) ) ) ) ) ) ).

% Sup_fin.subset_imp
thf(fact_6018_Sup__fin_Ohom__commute,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [H: A > A,N7: set @ A] :
          ( ! [X3: A,Y3: A] :
              ( ( H @ ( sup_sup @ A @ X3 @ Y3 ) )
              = ( sup_sup @ A @ ( H @ X3 ) @ ( H @ Y3 ) ) )
         => ( ( finite_finite2 @ A @ N7 )
           => ( ( N7
               != ( bot_bot @ ( set @ A ) ) )
             => ( ( H @ ( lattic5882676163264333800up_fin @ A @ N7 ) )
                = ( lattic5882676163264333800up_fin @ A @ ( image2 @ A @ A @ H @ N7 ) ) ) ) ) ) ) ).

% Sup_fin.hom_commute
thf(fact_6019_Sup__fin_Osubset,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [A6: set @ A,B6: set @ A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( B6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( ord_less_eq @ ( set @ A ) @ B6 @ A6 )
             => ( ( sup_sup @ A @ ( lattic5882676163264333800up_fin @ A @ B6 ) @ ( lattic5882676163264333800up_fin @ A @ A6 ) )
                = ( lattic5882676163264333800up_fin @ A @ A6 ) ) ) ) ) ) ).

% Sup_fin.subset
thf(fact_6020_Sup__fin_Oinsert__not__elem,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ~ ( member @ A @ X @ A6 )
           => ( ( A6
               != ( bot_bot @ ( set @ A ) ) )
             => ( ( lattic5882676163264333800up_fin @ A @ ( insert @ A @ X @ A6 ) )
                = ( sup_sup @ A @ X @ ( lattic5882676163264333800up_fin @ A @ A6 ) ) ) ) ) ) ) ).

% Sup_fin.insert_not_elem
thf(fact_6021_Sup__fin_Oclosed,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [A6: set @ A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ! [X3: A,Y3: A] : ( member @ A @ ( sup_sup @ A @ X3 @ Y3 ) @ ( insert @ A @ X3 @ ( insert @ A @ Y3 @ ( bot_bot @ ( set @ A ) ) ) ) )
             => ( member @ A @ ( lattic5882676163264333800up_fin @ A @ A6 ) @ A6 ) ) ) ) ) ).

% Sup_fin.closed
thf(fact_6022_Sup__fin_Ounion,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [A6: set @ A,B6: set @ A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( finite_finite2 @ A @ B6 )
             => ( ( B6
                 != ( bot_bot @ ( set @ A ) ) )
               => ( ( lattic5882676163264333800up_fin @ A @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) )
                  = ( sup_sup @ A @ ( lattic5882676163264333800up_fin @ A @ A6 ) @ ( lattic5882676163264333800up_fin @ A @ B6 ) ) ) ) ) ) ) ) ).

% Sup_fin.union
thf(fact_6023_Sup__fin_Oeq__fold,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( lattic5882676163264333800up_fin @ A @ ( insert @ A @ X @ A6 ) )
            = ( finite_fold @ A @ A @ ( sup_sup @ A ) @ X @ A6 ) ) ) ) ).

% Sup_fin.eq_fold
thf(fact_6024_inf__Sup1__distrib,axiom,
    ! [A: $tType] :
      ( ( distrib_lattice @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( inf_inf @ A @ X @ ( lattic5882676163264333800up_fin @ A @ A6 ) )
              = ( lattic5882676163264333800up_fin @ A
                @ ( collect @ A
                  @ ^ [Uu2: A] :
                    ? [A7: A] :
                      ( ( Uu2
                        = ( inf_inf @ A @ X @ A7 ) )
                      & ( member @ A @ A7 @ A6 ) ) ) ) ) ) ) ) ).

% inf_Sup1_distrib
thf(fact_6025_inf__Sup2__distrib,axiom,
    ! [A: $tType] :
      ( ( distrib_lattice @ A )
     => ! [A6: set @ A,B6: set @ A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( finite_finite2 @ A @ B6 )
             => ( ( B6
                 != ( bot_bot @ ( set @ A ) ) )
               => ( ( inf_inf @ A @ ( lattic5882676163264333800up_fin @ A @ A6 ) @ ( lattic5882676163264333800up_fin @ A @ B6 ) )
                  = ( lattic5882676163264333800up_fin @ A
                    @ ( collect @ A
                      @ ^ [Uu2: A] :
                        ? [A7: A,B5: A] :
                          ( ( Uu2
                            = ( inf_inf @ A @ A7 @ B5 ) )
                          & ( member @ A @ A7 @ A6 )
                          & ( member @ A @ B5 @ B6 ) ) ) ) ) ) ) ) ) ) ).

% inf_Sup2_distrib
thf(fact_6026_Sup__fin_Oremove,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( member @ A @ X @ A6 )
           => ( ( ( ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) )
                  = ( bot_bot @ ( set @ A ) ) )
               => ( ( lattic5882676163264333800up_fin @ A @ A6 )
                  = X ) )
              & ( ( ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) )
                 != ( bot_bot @ ( set @ A ) ) )
               => ( ( lattic5882676163264333800up_fin @ A @ A6 )
                  = ( sup_sup @ A @ X @ ( lattic5882676163264333800up_fin @ A @ ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ) ) ) ) ) ) ).

% Sup_fin.remove
thf(fact_6027_Sup__fin_Oinsert__remove,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( ( ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) )
                = ( bot_bot @ ( set @ A ) ) )
             => ( ( lattic5882676163264333800up_fin @ A @ ( insert @ A @ X @ A6 ) )
                = X ) )
            & ( ( ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) )
               != ( bot_bot @ ( set @ A ) ) )
             => ( ( lattic5882676163264333800up_fin @ A @ ( insert @ A @ X @ A6 ) )
                = ( sup_sup @ A @ X @ ( lattic5882676163264333800up_fin @ A @ ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ) ) ) ) ) ).

% Sup_fin.insert_remove
thf(fact_6028_Inf__fin_Oeq__fold_H,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ( ( lattic7752659483105999362nf_fin @ A )
        = ( ^ [A8: set @ A] :
              ( the2 @ A
              @ ( finite_fold @ A @ ( option @ A )
                @ ^ [X4: A,Y4: option @ A] : ( some @ A @ ( case_option @ A @ A @ X4 @ ( inf_inf @ A @ X4 ) @ Y4 ) )
                @ ( none @ A )
                @ A8 ) ) ) ) ) ).

% Inf_fin.eq_fold'
thf(fact_6029_Max_Oeq__fold_H,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ( ( lattic643756798349783984er_Max @ A )
        = ( ^ [A8: set @ A] :
              ( the2 @ A
              @ ( finite_fold @ A @ ( option @ A )
                @ ^ [X4: A,Y4: option @ A] : ( some @ A @ ( case_option @ A @ A @ X4 @ ( ord_max @ A @ X4 ) @ Y4 ) )
                @ ( none @ A )
                @ A8 ) ) ) ) ) ).

% Max.eq_fold'
thf(fact_6030_Max__divisors__self__nat,axiom,
    ! [N: nat] :
      ( ( N
       != ( zero_zero @ nat ) )
     => ( ( lattic643756798349783984er_Max @ nat
          @ ( collect @ nat
            @ ^ [D6: nat] : ( dvd_dvd @ nat @ D6 @ N ) ) )
        = N ) ) ).

% Max_divisors_self_nat
thf(fact_6031_Max__singleton,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [X: A] :
          ( ( lattic643756798349783984er_Max @ A @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) )
          = X ) ) ).

% Max_singleton
thf(fact_6032_Inf__fin_Osingleton,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [X: A] :
          ( ( lattic7752659483105999362nf_fin @ A @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) )
          = X ) ) ).

% Inf_fin.singleton
thf(fact_6033_sup__Inf__absorb,axiom,
    ! [A: $tType] :
      ( ( lattice @ A )
     => ! [A6: set @ A,A3: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( member @ A @ A3 @ A6 )
           => ( ( sup_sup @ A @ ( lattic7752659483105999362nf_fin @ A @ A6 ) @ A3 )
              = A3 ) ) ) ) ).

% sup_Inf_absorb
thf(fact_6034_Max__divisors__self__int,axiom,
    ! [N: int] :
      ( ( N
       != ( zero_zero @ int ) )
     => ( ( lattic643756798349783984er_Max @ int
          @ ( collect @ int
            @ ^ [D6: int] : ( dvd_dvd @ int @ D6 @ N ) ) )
        = ( abs_abs @ int @ N ) ) ) ).

% Max_divisors_self_int
thf(fact_6035_Max_Obounded__iff,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( ord_less_eq @ A @ ( lattic643756798349783984er_Max @ A @ A6 ) @ X )
              = ( ! [X4: A] :
                    ( ( member @ A @ X4 @ A6 )
                   => ( ord_less_eq @ A @ X4 @ X ) ) ) ) ) ) ) ).

% Max.bounded_iff
thf(fact_6036_Max__less__iff,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( ord_less @ A @ ( lattic643756798349783984er_Max @ A @ A6 ) @ X )
              = ( ! [X4: A] :
                    ( ( member @ A @ X4 @ A6 )
                   => ( ord_less @ A @ X4 @ X ) ) ) ) ) ) ) ).

% Max_less_iff
thf(fact_6037_Max__const,axiom,
    ! [B: $tType,A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ B,C3: A] :
          ( ( finite_finite2 @ B @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ B ) ) )
           => ( ( lattic643756798349783984er_Max @ A
                @ ( image2 @ B @ A
                  @ ^ [Uu2: B] : C3
                  @ A6 ) )
              = C3 ) ) ) ) ).

% Max_const
thf(fact_6038_Inf__fin_Oinsert,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( lattic7752659483105999362nf_fin @ A @ ( insert @ A @ X @ A6 ) )
              = ( inf_inf @ A @ X @ ( lattic7752659483105999362nf_fin @ A @ A6 ) ) ) ) ) ) ).

% Inf_fin.insert
thf(fact_6039_Max__insert,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( lattic643756798349783984er_Max @ A @ ( insert @ A @ X @ A6 ) )
              = ( ord_max @ A @ X @ ( lattic643756798349783984er_Max @ A @ A6 ) ) ) ) ) ) ).

% Max_insert
thf(fact_6040_Sup__fin__Max,axiom,
    ! [A: $tType] :
      ( ( ( semilattice_sup @ A )
        & ( linorder @ A ) )
     => ( ( lattic5882676163264333800up_fin @ A )
        = ( lattic643756798349783984er_Max @ A ) ) ) ).

% Sup_fin_Max
thf(fact_6041_Max__in,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( member @ A @ ( lattic643756798349783984er_Max @ A @ A6 ) @ A6 ) ) ) ) ).

% Max_in
thf(fact_6042_Max_Oin__idem,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( member @ A @ X @ A6 )
           => ( ( ord_max @ A @ X @ ( lattic643756798349783984er_Max @ A @ A6 ) )
              = ( lattic643756798349783984er_Max @ A @ A6 ) ) ) ) ) ).

% Max.in_idem
thf(fact_6043_Max_OcoboundedI,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,A3: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( member @ A @ A3 @ A6 )
           => ( ord_less_eq @ A @ A3 @ ( lattic643756798349783984er_Max @ A @ A6 ) ) ) ) ) ).

% Max.coboundedI
thf(fact_6044_Max__eq__if,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,B6: set @ A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( finite_finite2 @ A @ B6 )
           => ( ! [X3: A] :
                  ( ( member @ A @ X3 @ A6 )
                 => ? [Xa3: A] :
                      ( ( member @ A @ Xa3 @ B6 )
                      & ( ord_less_eq @ A @ X3 @ Xa3 ) ) )
             => ( ! [X3: A] :
                    ( ( member @ A @ X3 @ B6 )
                   => ? [Xa3: A] :
                        ( ( member @ A @ Xa3 @ A6 )
                        & ( ord_less_eq @ A @ X3 @ Xa3 ) ) )
               => ( ( lattic643756798349783984er_Max @ A @ A6 )
                  = ( lattic643756798349783984er_Max @ A @ B6 ) ) ) ) ) ) ) ).

% Max_eq_if
thf(fact_6045_Max__eqI,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ! [Y3: A] :
                ( ( member @ A @ Y3 @ A6 )
               => ( ord_less_eq @ A @ Y3 @ X ) )
           => ( ( member @ A @ X @ A6 )
             => ( ( lattic643756798349783984er_Max @ A @ A6 )
                = X ) ) ) ) ) ).

% Max_eqI
thf(fact_6046_Max__ge,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( member @ A @ X @ A6 )
           => ( ord_less_eq @ A @ X @ ( lattic643756798349783984er_Max @ A @ A6 ) ) ) ) ) ).

% Max_ge
thf(fact_6047_Inf__fin_OcoboundedI,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [A6: set @ A,A3: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( member @ A @ A3 @ A6 )
           => ( ord_less_eq @ A @ ( lattic7752659483105999362nf_fin @ A @ A6 ) @ A3 ) ) ) ) ).

% Inf_fin.coboundedI
thf(fact_6048_Inf__fin_Oin__idem,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( member @ A @ X @ A6 )
           => ( ( inf_inf @ A @ X @ ( lattic7752659483105999362nf_fin @ A @ A6 ) )
              = ( lattic7752659483105999362nf_fin @ A @ A6 ) ) ) ) ) ).

% Inf_fin.in_idem
thf(fact_6049_Max__eq__iff,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,M: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( ( lattic643756798349783984er_Max @ A @ A6 )
                = M )
              = ( ( member @ A @ M @ A6 )
                & ! [X4: A] :
                    ( ( member @ A @ X4 @ A6 )
                   => ( ord_less_eq @ A @ X4 @ M ) ) ) ) ) ) ) ).

% Max_eq_iff
thf(fact_6050_Max__ge__iff,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( ord_less_eq @ A @ X @ ( lattic643756798349783984er_Max @ A @ A6 ) )
              = ( ? [X4: A] :
                    ( ( member @ A @ X4 @ A6 )
                    & ( ord_less_eq @ A @ X @ X4 ) ) ) ) ) ) ) ).

% Max_ge_iff
thf(fact_6051_eq__Max__iff,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,M: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( M
                = ( lattic643756798349783984er_Max @ A @ A6 ) )
              = ( ( member @ A @ M @ A6 )
                & ! [X4: A] :
                    ( ( member @ A @ X4 @ A6 )
                   => ( ord_less_eq @ A @ X4 @ M ) ) ) ) ) ) ) ).

% eq_Max_iff
thf(fact_6052_Max_OboundedE,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( ord_less_eq @ A @ ( lattic643756798349783984er_Max @ A @ A6 ) @ X )
             => ! [A17: A] :
                  ( ( member @ A @ A17 @ A6 )
                 => ( ord_less_eq @ A @ A17 @ X ) ) ) ) ) ) ).

% Max.boundedE
thf(fact_6053_Max_OboundedI,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ! [A5: A] :
                  ( ( member @ A @ A5 @ A6 )
                 => ( ord_less_eq @ A @ A5 @ X ) )
             => ( ord_less_eq @ A @ ( lattic643756798349783984er_Max @ A @ A6 ) @ X ) ) ) ) ) ).

% Max.boundedI
thf(fact_6054_Max__gr__iff,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( ord_less @ A @ X @ ( lattic643756798349783984er_Max @ A @ A6 ) )
              = ( ? [X4: A] :
                    ( ( member @ A @ X4 @ A6 )
                    & ( ord_less @ A @ X @ X4 ) ) ) ) ) ) ) ).

% Max_gr_iff
thf(fact_6055_Max__insert2,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,A3: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ! [B4: A] :
                ( ( member @ A @ B4 @ A6 )
               => ( ord_less_eq @ A @ B4 @ A3 ) )
           => ( ( lattic643756798349783984er_Max @ A @ ( insert @ A @ A3 @ A6 ) )
              = A3 ) ) ) ) ).

% Max_insert2
thf(fact_6056_cSup__eq__Max,axiom,
    ! [A: $tType] :
      ( ( condit6923001295902523014norder @ A )
     => ! [X7: set @ A] :
          ( ( finite_finite2 @ A @ X7 )
         => ( ( X7
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( complete_Sup_Sup @ A @ X7 )
              = ( lattic643756798349783984er_Max @ A @ X7 ) ) ) ) ) ).

% cSup_eq_Max
thf(fact_6057_Max__Sup,axiom,
    ! [A: $tType] :
      ( ( comple5582772986160207858norder @ A )
     => ! [A6: set @ A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( lattic643756798349783984er_Max @ A @ A6 )
              = ( complete_Sup_Sup @ A @ A6 ) ) ) ) ) ).

% Max_Sup
thf(fact_6058_Max_Oinfinite,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A] :
          ( ~ ( finite_finite2 @ A @ A6 )
         => ( ( lattic643756798349783984er_Max @ A @ A6 )
            = ( the2 @ A @ ( none @ A ) ) ) ) ) ).

% Max.infinite
thf(fact_6059_Inf__fin_OboundedE,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( ord_less_eq @ A @ X @ ( lattic7752659483105999362nf_fin @ A @ A6 ) )
             => ! [A17: A] :
                  ( ( member @ A @ A17 @ A6 )
                 => ( ord_less_eq @ A @ X @ A17 ) ) ) ) ) ) ).

% Inf_fin.boundedE
thf(fact_6060_Inf__fin_OboundedI,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ! [A5: A] :
                  ( ( member @ A @ A5 @ A6 )
                 => ( ord_less_eq @ A @ X @ A5 ) )
             => ( ord_less_eq @ A @ X @ ( lattic7752659483105999362nf_fin @ A @ A6 ) ) ) ) ) ) ).

% Inf_fin.boundedI
thf(fact_6061_Inf__fin_Obounded__iff,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( ord_less_eq @ A @ X @ ( lattic7752659483105999362nf_fin @ A @ A6 ) )
              = ( ! [X4: A] :
                    ( ( member @ A @ X4 @ A6 )
                   => ( ord_less_eq @ A @ X @ X4 ) ) ) ) ) ) ) ).

% Inf_fin.bounded_iff
thf(fact_6062_cInf__eq__Inf__fin,axiom,
    ! [A: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [X7: set @ A] :
          ( ( finite_finite2 @ A @ X7 )
         => ( ( X7
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( complete_Inf_Inf @ A @ X7 )
              = ( lattic7752659483105999362nf_fin @ A @ X7 ) ) ) ) ) ).

% cInf_eq_Inf_fin
thf(fact_6063_Inf__fin__Inf,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A6: set @ A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( lattic7752659483105999362nf_fin @ A @ A6 )
              = ( complete_Inf_Inf @ A @ A6 ) ) ) ) ) ).

% Inf_fin_Inf
thf(fact_6064_Inf__fin_Oinfinite,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [A6: set @ A] :
          ( ~ ( finite_finite2 @ A @ A6 )
         => ( ( lattic7752659483105999362nf_fin @ A @ A6 )
            = ( the2 @ A @ ( none @ A ) ) ) ) ) ).

% Inf_fin.infinite
thf(fact_6065_gcd__is__Max__divisors__int,axiom,
    ! [N: int,M: int] :
      ( ( N
       != ( zero_zero @ int ) )
     => ( ( gcd_gcd @ int @ M @ N )
        = ( lattic643756798349783984er_Max @ int
          @ ( collect @ int
            @ ^ [D6: int] :
                ( ( dvd_dvd @ int @ D6 @ M )
                & ( dvd_dvd @ int @ D6 @ N ) ) ) ) ) ) ).

% gcd_is_Max_divisors_int
thf(fact_6066_Sup__nat__def,axiom,
    ( ( complete_Sup_Sup @ nat )
    = ( ^ [X11: set @ nat] :
          ( if @ nat
          @ ( X11
            = ( bot_bot @ ( set @ nat ) ) )
          @ ( zero_zero @ nat )
          @ ( lattic643756798349783984er_Max @ nat @ X11 ) ) ) ) ).

% Sup_nat_def
thf(fact_6067_Max__mono,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [M6: set @ A,N7: set @ A] :
          ( ( ord_less_eq @ ( set @ A ) @ M6 @ N7 )
         => ( ( M6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( finite_finite2 @ A @ N7 )
             => ( ord_less_eq @ A @ ( lattic643756798349783984er_Max @ A @ M6 ) @ ( lattic643756798349783984er_Max @ A @ N7 ) ) ) ) ) ) ).

% Max_mono
thf(fact_6068_Max_Osubset__imp,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,B6: set @ A] :
          ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( finite_finite2 @ A @ B6 )
             => ( ord_less_eq @ A @ ( lattic643756798349783984er_Max @ A @ A6 ) @ ( lattic643756798349783984er_Max @ A @ B6 ) ) ) ) ) ) ).

% Max.subset_imp
thf(fact_6069_hom__Max__commute,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [H: A > A,N7: set @ A] :
          ( ! [X3: A,Y3: A] :
              ( ( H @ ( ord_max @ A @ X3 @ Y3 ) )
              = ( ord_max @ A @ ( H @ X3 ) @ ( H @ Y3 ) ) )
         => ( ( finite_finite2 @ A @ N7 )
           => ( ( N7
               != ( bot_bot @ ( set @ A ) ) )
             => ( ( H @ ( lattic643756798349783984er_Max @ A @ N7 ) )
                = ( lattic643756798349783984er_Max @ A @ ( image2 @ A @ A @ H @ N7 ) ) ) ) ) ) ) ).

% hom_Max_commute
thf(fact_6070_Max_Osubset,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,B6: set @ A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( B6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( ord_less_eq @ ( set @ A ) @ B6 @ A6 )
             => ( ( ord_max @ A @ ( lattic643756798349783984er_Max @ A @ B6 ) @ ( lattic643756798349783984er_Max @ A @ A6 ) )
                = ( lattic643756798349783984er_Max @ A @ A6 ) ) ) ) ) ) ).

% Max.subset
thf(fact_6071_Max_Oclosed,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ! [X3: A,Y3: A] : ( member @ A @ ( ord_max @ A @ X3 @ Y3 ) @ ( insert @ A @ X3 @ ( insert @ A @ Y3 @ ( bot_bot @ ( set @ A ) ) ) ) )
             => ( member @ A @ ( lattic643756798349783984er_Max @ A @ A6 ) @ A6 ) ) ) ) ) ).

% Max.closed
thf(fact_6072_Max_Oinsert__not__elem,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ~ ( member @ A @ X @ A6 )
           => ( ( A6
               != ( bot_bot @ ( set @ A ) ) )
             => ( ( lattic643756798349783984er_Max @ A @ ( insert @ A @ X @ A6 ) )
                = ( ord_max @ A @ X @ ( lattic643756798349783984er_Max @ A @ A6 ) ) ) ) ) ) ) ).

% Max.insert_not_elem
thf(fact_6073_mono__Max__commute,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ( linorder @ A )
        & ( linorder @ B ) )
     => ! [F3: A > B,A6: set @ A] :
          ( ( order_mono @ A @ B @ F3 )
         => ( ( finite_finite2 @ A @ A6 )
           => ( ( A6
               != ( bot_bot @ ( set @ A ) ) )
             => ( ( F3 @ ( lattic643756798349783984er_Max @ A @ A6 ) )
                = ( lattic643756798349783984er_Max @ B @ ( image2 @ A @ B @ F3 @ A6 ) ) ) ) ) ) ) ).

% mono_Max_commute
thf(fact_6074_Max_Ounion,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,B6: set @ A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( finite_finite2 @ A @ B6 )
             => ( ( B6
                 != ( bot_bot @ ( set @ A ) ) )
               => ( ( lattic643756798349783984er_Max @ A @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) )
                  = ( ord_max @ A @ ( lattic643756798349783984er_Max @ A @ A6 ) @ ( lattic643756798349783984er_Max @ A @ B6 ) ) ) ) ) ) ) ) ).

% Max.union
thf(fact_6075_Max_Oeq__fold,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( lattic643756798349783984er_Max @ A @ ( insert @ A @ X @ A6 ) )
            = ( finite_fold @ A @ A @ ( ord_max @ A ) @ X @ A6 ) ) ) ) ).

% Max.eq_fold
thf(fact_6076_card__le__Suc__Max,axiom,
    ! [S: set @ nat] :
      ( ( finite_finite2 @ nat @ S )
     => ( ord_less_eq @ nat @ ( finite_card @ nat @ S ) @ ( suc @ ( lattic643756798349783984er_Max @ nat @ S ) ) ) ) ).

% card_le_Suc_Max
thf(fact_6077_Inf__fin_Osubset__imp,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [A6: set @ A,B6: set @ A] :
          ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( finite_finite2 @ A @ B6 )
             => ( ord_less_eq @ A @ ( lattic7752659483105999362nf_fin @ A @ B6 ) @ ( lattic7752659483105999362nf_fin @ A @ A6 ) ) ) ) ) ) ).

% Inf_fin.subset_imp
thf(fact_6078_Inf__fin_Ohom__commute,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [H: A > A,N7: set @ A] :
          ( ! [X3: A,Y3: A] :
              ( ( H @ ( inf_inf @ A @ X3 @ Y3 ) )
              = ( inf_inf @ A @ ( H @ X3 ) @ ( H @ Y3 ) ) )
         => ( ( finite_finite2 @ A @ N7 )
           => ( ( N7
               != ( bot_bot @ ( set @ A ) ) )
             => ( ( H @ ( lattic7752659483105999362nf_fin @ A @ N7 ) )
                = ( lattic7752659483105999362nf_fin @ A @ ( image2 @ A @ A @ H @ N7 ) ) ) ) ) ) ) ).

% Inf_fin.hom_commute
thf(fact_6079_Max__add__commute,axiom,
    ! [B: $tType,A: $tType] :
      ( ( linord4140545234300271783up_add @ A )
     => ! [S: set @ B,F3: B > A,K2: A] :
          ( ( finite_finite2 @ B @ S )
         => ( ( S
             != ( bot_bot @ ( set @ B ) ) )
           => ( ( lattic643756798349783984er_Max @ A
                @ ( image2 @ B @ A
                  @ ^ [X4: B] : ( plus_plus @ A @ ( F3 @ X4 ) @ K2 )
                  @ S ) )
              = ( plus_plus @ A @ ( lattic643756798349783984er_Max @ A @ ( image2 @ B @ A @ F3 @ S ) ) @ K2 ) ) ) ) ) ).

% Max_add_commute
thf(fact_6080_Inf__fin_Osubset,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [A6: set @ A,B6: set @ A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( B6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( ord_less_eq @ ( set @ A ) @ B6 @ A6 )
             => ( ( inf_inf @ A @ ( lattic7752659483105999362nf_fin @ A @ B6 ) @ ( lattic7752659483105999362nf_fin @ A @ A6 ) )
                = ( lattic7752659483105999362nf_fin @ A @ A6 ) ) ) ) ) ) ).

% Inf_fin.subset
thf(fact_6081_Inf__fin_Oinsert__not__elem,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ~ ( member @ A @ X @ A6 )
           => ( ( A6
               != ( bot_bot @ ( set @ A ) ) )
             => ( ( lattic7752659483105999362nf_fin @ A @ ( insert @ A @ X @ A6 ) )
                = ( inf_inf @ A @ X @ ( lattic7752659483105999362nf_fin @ A @ A6 ) ) ) ) ) ) ) ).

% Inf_fin.insert_not_elem
thf(fact_6082_Inf__fin_Oclosed,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [A6: set @ A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ! [X3: A,Y3: A] : ( member @ A @ ( inf_inf @ A @ X3 @ Y3 ) @ ( insert @ A @ X3 @ ( insert @ A @ Y3 @ ( bot_bot @ ( set @ A ) ) ) ) )
             => ( member @ A @ ( lattic7752659483105999362nf_fin @ A @ A6 ) @ A6 ) ) ) ) ) ).

% Inf_fin.closed
thf(fact_6083_divide__nat__def,axiom,
    ( ( divide_divide @ nat )
    = ( ^ [M3: nat,N3: nat] :
          ( if @ nat
          @ ( N3
            = ( zero_zero @ nat ) )
          @ ( zero_zero @ nat )
          @ ( lattic643756798349783984er_Max @ nat
            @ ( collect @ nat
              @ ^ [K3: nat] : ( ord_less_eq @ nat @ ( times_times @ nat @ K3 @ N3 ) @ M3 ) ) ) ) ) ) ).

% divide_nat_def
thf(fact_6084_Inf__fin_Ounion,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [A6: set @ A,B6: set @ A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( finite_finite2 @ A @ B6 )
             => ( ( B6
                 != ( bot_bot @ ( set @ A ) ) )
               => ( ( lattic7752659483105999362nf_fin @ A @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) )
                  = ( inf_inf @ A @ ( lattic7752659483105999362nf_fin @ A @ A6 ) @ ( lattic7752659483105999362nf_fin @ A @ B6 ) ) ) ) ) ) ) ) ).

% Inf_fin.union
thf(fact_6085_gcd__is__Max__divisors__nat,axiom,
    ! [N: nat,M: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
     => ( ( gcd_gcd @ nat @ M @ N )
        = ( lattic643756798349783984er_Max @ nat
          @ ( collect @ nat
            @ ^ [D6: nat] :
                ( ( dvd_dvd @ nat @ D6 @ M )
                & ( dvd_dvd @ nat @ D6 @ N ) ) ) ) ) ) ).

% gcd_is_Max_divisors_nat
thf(fact_6086_Inf__fin_Oeq__fold,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( lattic7752659483105999362nf_fin @ A @ ( insert @ A @ X @ A6 ) )
            = ( finite_fold @ A @ A @ ( inf_inf @ A ) @ X @ A6 ) ) ) ) ).

% Inf_fin.eq_fold
thf(fact_6087_Inf__fin__le__Sup__fin,axiom,
    ! [A: $tType] :
      ( ( lattice @ A )
     => ! [A6: set @ A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ord_less_eq @ A @ ( lattic7752659483105999362nf_fin @ A @ A6 ) @ ( lattic5882676163264333800up_fin @ A @ A6 ) ) ) ) ) ).

% Inf_fin_le_Sup_fin
thf(fact_6088_sup__Inf2__distrib,axiom,
    ! [A: $tType] :
      ( ( distrib_lattice @ A )
     => ! [A6: set @ A,B6: set @ A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( finite_finite2 @ A @ B6 )
             => ( ( B6
                 != ( bot_bot @ ( set @ A ) ) )
               => ( ( sup_sup @ A @ ( lattic7752659483105999362nf_fin @ A @ A6 ) @ ( lattic7752659483105999362nf_fin @ A @ B6 ) )
                  = ( lattic7752659483105999362nf_fin @ A
                    @ ( collect @ A
                      @ ^ [Uu2: A] :
                        ? [A7: A,B5: A] :
                          ( ( Uu2
                            = ( sup_sup @ A @ A7 @ B5 ) )
                          & ( member @ A @ A7 @ A6 )
                          & ( member @ A @ B5 @ B6 ) ) ) ) ) ) ) ) ) ) ).

% sup_Inf2_distrib
thf(fact_6089_sup__Inf1__distrib,axiom,
    ! [A: $tType] :
      ( ( distrib_lattice @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( sup_sup @ A @ X @ ( lattic7752659483105999362nf_fin @ A @ A6 ) )
              = ( lattic7752659483105999362nf_fin @ A
                @ ( collect @ A
                  @ ^ [Uu2: A] :
                    ? [A7: A] :
                      ( ( Uu2
                        = ( sup_sup @ A @ X @ A7 ) )
                      & ( member @ A @ A7 @ A6 ) ) ) ) ) ) ) ) ).

% sup_Inf1_distrib
thf(fact_6090_Max_Oinsert__remove,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( ( ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) )
                = ( bot_bot @ ( set @ A ) ) )
             => ( ( lattic643756798349783984er_Max @ A @ ( insert @ A @ X @ A6 ) )
                = X ) )
            & ( ( ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) )
               != ( bot_bot @ ( set @ A ) ) )
             => ( ( lattic643756798349783984er_Max @ A @ ( insert @ A @ X @ A6 ) )
                = ( ord_max @ A @ X @ ( lattic643756798349783984er_Max @ A @ ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ) ) ) ) ) ).

% Max.insert_remove
thf(fact_6091_Max_Oremove,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( member @ A @ X @ A6 )
           => ( ( ( ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) )
                  = ( bot_bot @ ( set @ A ) ) )
               => ( ( lattic643756798349783984er_Max @ A @ A6 )
                  = X ) )
              & ( ( ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) )
                 != ( bot_bot @ ( set @ A ) ) )
               => ( ( lattic643756798349783984er_Max @ A @ A6 )
                  = ( ord_max @ A @ X @ ( lattic643756798349783984er_Max @ A @ ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ) ) ) ) ) ) ).

% Max.remove
thf(fact_6092_Inf__fin_Oinsert__remove,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( ( ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) )
                = ( bot_bot @ ( set @ A ) ) )
             => ( ( lattic7752659483105999362nf_fin @ A @ ( insert @ A @ X @ A6 ) )
                = X ) )
            & ( ( ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) )
               != ( bot_bot @ ( set @ A ) ) )
             => ( ( lattic7752659483105999362nf_fin @ A @ ( insert @ A @ X @ A6 ) )
                = ( inf_inf @ A @ X @ ( lattic7752659483105999362nf_fin @ A @ ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ) ) ) ) ) ).

% Inf_fin.insert_remove
thf(fact_6093_Inf__fin_Oremove,axiom,
    ! [A: $tType] :
      ( ( semilattice_inf @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( member @ A @ X @ A6 )
           => ( ( ( ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) )
                  = ( bot_bot @ ( set @ A ) ) )
               => ( ( lattic7752659483105999362nf_fin @ A @ A6 )
                  = X ) )
              & ( ( ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) )
                 != ( bot_bot @ ( set @ A ) ) )
               => ( ( lattic7752659483105999362nf_fin @ A @ A6 )
                  = ( inf_inf @ A @ X @ ( lattic7752659483105999362nf_fin @ A @ ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ) ) ) ) ) ) ).

% Inf_fin.remove
thf(fact_6094_sum__le__card__Max,axiom,
    ! [A: $tType,A6: set @ A,F3: A > nat] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ord_less_eq @ nat @ ( groups7311177749621191930dd_sum @ A @ nat @ F3 @ A6 ) @ ( times_times @ nat @ ( finite_card @ A @ A6 ) @ ( lattic643756798349783984er_Max @ nat @ ( image2 @ A @ nat @ F3 @ A6 ) ) ) ) ) ).

% sum_le_card_Max
thf(fact_6095_dual__Min,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ( ( lattices_Min @ A
          @ ^ [X4: A,Y4: A] : ( ord_less_eq @ A @ Y4 @ X4 ) )
        = ( lattic643756798349783984er_Max @ A ) ) ) ).

% dual_Min
thf(fact_6096_Min_Oeq__fold_H,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ( ( lattic643756798350308766er_Min @ A )
        = ( ^ [A8: set @ A] :
              ( the2 @ A
              @ ( finite_fold @ A @ ( option @ A )
                @ ^ [X4: A,Y4: option @ A] : ( some @ A @ ( case_option @ A @ A @ X4 @ ( ord_min @ A @ X4 ) @ Y4 ) )
                @ ( none @ A )
                @ A8 ) ) ) ) ) ).

% Min.eq_fold'
thf(fact_6097_Min__singleton,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [X: A] :
          ( ( lattic643756798350308766er_Min @ A @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) )
          = X ) ) ).

% Min_singleton
thf(fact_6098_Min_Obounded__iff,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( ord_less_eq @ A @ X @ ( lattic643756798350308766er_Min @ A @ A6 ) )
              = ( ! [X4: A] :
                    ( ( member @ A @ X4 @ A6 )
                   => ( ord_less_eq @ A @ X @ X4 ) ) ) ) ) ) ) ).

% Min.bounded_iff
thf(fact_6099_Min__gr__iff,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( ord_less @ A @ X @ ( lattic643756798350308766er_Min @ A @ A6 ) )
              = ( ! [X4: A] :
                    ( ( member @ A @ X4 @ A6 )
                   => ( ord_less @ A @ X @ X4 ) ) ) ) ) ) ) ).

% Min_gr_iff
thf(fact_6100_Min__const,axiom,
    ! [B: $tType,A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ B,C3: A] :
          ( ( finite_finite2 @ B @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ B ) ) )
           => ( ( lattic643756798350308766er_Min @ A
                @ ( image2 @ B @ A
                  @ ^ [Uu2: B] : C3
                  @ A6 ) )
              = C3 ) ) ) ) ).

% Min_const
thf(fact_6101_Min__insert,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( lattic643756798350308766er_Min @ A @ ( insert @ A @ X @ A6 ) )
              = ( ord_min @ A @ X @ ( lattic643756798350308766er_Min @ A @ A6 ) ) ) ) ) ) ).

% Min_insert
thf(fact_6102_minus__Max__eq__Min,axiom,
    ! [A: $tType] :
      ( ( linord5086331880401160121up_add @ A )
     => ! [S: set @ A] :
          ( ( finite_finite2 @ A @ S )
         => ( ( S
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( uminus_uminus @ A @ ( lattic643756798349783984er_Max @ A @ S ) )
              = ( lattic643756798350308766er_Min @ A @ ( image2 @ A @ A @ ( uminus_uminus @ A ) @ S ) ) ) ) ) ) ).

% minus_Max_eq_Min
thf(fact_6103_minus__Min__eq__Max,axiom,
    ! [A: $tType] :
      ( ( linord5086331880401160121up_add @ A )
     => ! [S: set @ A] :
          ( ( finite_finite2 @ A @ S )
         => ( ( S
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( uminus_uminus @ A @ ( lattic643756798350308766er_Min @ A @ S ) )
              = ( lattic643756798349783984er_Max @ A @ ( image2 @ A @ A @ ( uminus_uminus @ A ) @ S ) ) ) ) ) ) ).

% minus_Min_eq_Max
thf(fact_6104_Inf__fin__Min,axiom,
    ! [A: $tType] :
      ( ( ( semilattice_inf @ A )
        & ( linorder @ A ) )
     => ( ( lattic7752659483105999362nf_fin @ A )
        = ( lattic643756798350308766er_Min @ A ) ) ) ).

% Inf_fin_Min
thf(fact_6105_Min__le,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( member @ A @ X @ A6 )
           => ( ord_less_eq @ A @ ( lattic643756798350308766er_Min @ A @ A6 ) @ X ) ) ) ) ).

% Min_le
thf(fact_6106_Min__eqI,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ! [Y3: A] :
                ( ( member @ A @ Y3 @ A6 )
               => ( ord_less_eq @ A @ X @ Y3 ) )
           => ( ( member @ A @ X @ A6 )
             => ( ( lattic643756798350308766er_Min @ A @ A6 )
                = X ) ) ) ) ) ).

% Min_eqI
thf(fact_6107_Min_OcoboundedI,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,A3: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( member @ A @ A3 @ A6 )
           => ( ord_less_eq @ A @ ( lattic643756798350308766er_Min @ A @ A6 ) @ A3 ) ) ) ) ).

% Min.coboundedI
thf(fact_6108_Min__in,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( member @ A @ ( lattic643756798350308766er_Min @ A @ A6 ) @ A6 ) ) ) ) ).

% Min_in
thf(fact_6109_linorder_OMin_Ocong,axiom,
    ! [A: $tType] :
      ( ( lattices_Min @ A )
      = ( lattices_Min @ A ) ) ).

% linorder.Min.cong
thf(fact_6110_Min_Oin__idem,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( member @ A @ X @ A6 )
           => ( ( ord_min @ A @ X @ ( lattic643756798350308766er_Min @ A @ A6 ) )
              = ( lattic643756798350308766er_Min @ A @ A6 ) ) ) ) ) ).

% Min.in_idem
thf(fact_6111_Min_OboundedI,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ! [A5: A] :
                  ( ( member @ A @ A5 @ A6 )
                 => ( ord_less_eq @ A @ X @ A5 ) )
             => ( ord_less_eq @ A @ X @ ( lattic643756798350308766er_Min @ A @ A6 ) ) ) ) ) ) ).

% Min.boundedI
thf(fact_6112_Min_OboundedE,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( ord_less_eq @ A @ X @ ( lattic643756798350308766er_Min @ A @ A6 ) )
             => ! [A17: A] :
                  ( ( member @ A @ A17 @ A6 )
                 => ( ord_less_eq @ A @ X @ A17 ) ) ) ) ) ) ).

% Min.boundedE
thf(fact_6113_eq__Min__iff,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,M: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( M
                = ( lattic643756798350308766er_Min @ A @ A6 ) )
              = ( ( member @ A @ M @ A6 )
                & ! [X4: A] :
                    ( ( member @ A @ X4 @ A6 )
                   => ( ord_less_eq @ A @ M @ X4 ) ) ) ) ) ) ) ).

% eq_Min_iff
thf(fact_6114_Min__le__iff,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( ord_less_eq @ A @ ( lattic643756798350308766er_Min @ A @ A6 ) @ X )
              = ( ? [X4: A] :
                    ( ( member @ A @ X4 @ A6 )
                    & ( ord_less_eq @ A @ X4 @ X ) ) ) ) ) ) ) ).

% Min_le_iff
thf(fact_6115_Min__eq__iff,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,M: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( ( lattic643756798350308766er_Min @ A @ A6 )
                = M )
              = ( ( member @ A @ M @ A6 )
                & ! [X4: A] :
                    ( ( member @ A @ X4 @ A6 )
                   => ( ord_less_eq @ A @ M @ X4 ) ) ) ) ) ) ) ).

% Min_eq_iff
thf(fact_6116_Min__less__iff,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( ord_less @ A @ ( lattic643756798350308766er_Min @ A @ A6 ) @ X )
              = ( ? [X4: A] :
                    ( ( member @ A @ X4 @ A6 )
                    & ( ord_less @ A @ X4 @ X ) ) ) ) ) ) ) ).

% Min_less_iff
thf(fact_6117_Min__insert2,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,A3: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ! [B4: A] :
                ( ( member @ A @ B4 @ A6 )
               => ( ord_less_eq @ A @ A3 @ B4 ) )
           => ( ( lattic643756798350308766er_Min @ A @ ( insert @ A @ A3 @ A6 ) )
              = A3 ) ) ) ) ).

% Min_insert2
thf(fact_6118_Min__Inf,axiom,
    ! [A: $tType] :
      ( ( comple5582772986160207858norder @ A )
     => ! [A6: set @ A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( lattic643756798350308766er_Min @ A @ A6 )
              = ( complete_Inf_Inf @ A @ A6 ) ) ) ) ) ).

% Min_Inf
thf(fact_6119_cInf__eq__Min,axiom,
    ! [A: $tType] :
      ( ( condit6923001295902523014norder @ A )
     => ! [X7: set @ A] :
          ( ( finite_finite2 @ A @ X7 )
         => ( ( X7
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( complete_Inf_Inf @ A @ X7 )
              = ( lattic643756798350308766er_Min @ A @ X7 ) ) ) ) ) ).

% cInf_eq_Min
thf(fact_6120_Min_Oinfinite,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A] :
          ( ~ ( finite_finite2 @ A @ A6 )
         => ( ( lattic643756798350308766er_Min @ A @ A6 )
            = ( the2 @ A @ ( none @ A ) ) ) ) ) ).

% Min.infinite
thf(fact_6121_Min_Osubset__imp,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,B6: set @ A] :
          ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( finite_finite2 @ A @ B6 )
             => ( ord_less_eq @ A @ ( lattic643756798350308766er_Min @ A @ B6 ) @ ( lattic643756798350308766er_Min @ A @ A6 ) ) ) ) ) ) ).

% Min.subset_imp
thf(fact_6122_Min__antimono,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [M6: set @ A,N7: set @ A] :
          ( ( ord_less_eq @ ( set @ A ) @ M6 @ N7 )
         => ( ( M6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( finite_finite2 @ A @ N7 )
             => ( ord_less_eq @ A @ ( lattic643756798350308766er_Min @ A @ N7 ) @ ( lattic643756798350308766er_Min @ A @ M6 ) ) ) ) ) ) ).

% Min_antimono
thf(fact_6123_hom__Min__commute,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [H: A > A,N7: set @ A] :
          ( ! [X3: A,Y3: A] :
              ( ( H @ ( ord_min @ A @ X3 @ Y3 ) )
              = ( ord_min @ A @ ( H @ X3 ) @ ( H @ Y3 ) ) )
         => ( ( finite_finite2 @ A @ N7 )
           => ( ( N7
               != ( bot_bot @ ( set @ A ) ) )
             => ( ( H @ ( lattic643756798350308766er_Min @ A @ N7 ) )
                = ( lattic643756798350308766er_Min @ A @ ( image2 @ A @ A @ H @ N7 ) ) ) ) ) ) ) ).

% hom_Min_commute
thf(fact_6124_Min_Osubset,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,B6: set @ A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( B6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( ord_less_eq @ ( set @ A ) @ B6 @ A6 )
             => ( ( ord_min @ A @ ( lattic643756798350308766er_Min @ A @ B6 ) @ ( lattic643756798350308766er_Min @ A @ A6 ) )
                = ( lattic643756798350308766er_Min @ A @ A6 ) ) ) ) ) ) ).

% Min.subset
thf(fact_6125_Min_Oclosed,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ! [X3: A,Y3: A] : ( member @ A @ ( ord_min @ A @ X3 @ Y3 ) @ ( insert @ A @ X3 @ ( insert @ A @ Y3 @ ( bot_bot @ ( set @ A ) ) ) ) )
             => ( member @ A @ ( lattic643756798350308766er_Min @ A @ A6 ) @ A6 ) ) ) ) ) ).

% Min.closed
thf(fact_6126_Min_Oinsert__not__elem,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ~ ( member @ A @ X @ A6 )
           => ( ( A6
               != ( bot_bot @ ( set @ A ) ) )
             => ( ( lattic643756798350308766er_Min @ A @ ( insert @ A @ X @ A6 ) )
                = ( ord_min @ A @ X @ ( lattic643756798350308766er_Min @ A @ A6 ) ) ) ) ) ) ) ).

% Min.insert_not_elem
thf(fact_6127_mono__Min__commute,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ( linorder @ A )
        & ( linorder @ B ) )
     => ! [F3: A > B,A6: set @ A] :
          ( ( order_mono @ A @ B @ F3 )
         => ( ( finite_finite2 @ A @ A6 )
           => ( ( A6
               != ( bot_bot @ ( set @ A ) ) )
             => ( ( F3 @ ( lattic643756798350308766er_Min @ A @ A6 ) )
                = ( lattic643756798350308766er_Min @ B @ ( image2 @ A @ B @ F3 @ A6 ) ) ) ) ) ) ) ).

% mono_Min_commute
thf(fact_6128_Min_Ounion,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,B6: set @ A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( A6
             != ( bot_bot @ ( set @ A ) ) )
           => ( ( finite_finite2 @ A @ B6 )
             => ( ( B6
                 != ( bot_bot @ ( set @ A ) ) )
               => ( ( lattic643756798350308766er_Min @ A @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) )
                  = ( ord_min @ A @ ( lattic643756798350308766er_Min @ A @ A6 ) @ ( lattic643756798350308766er_Min @ A @ B6 ) ) ) ) ) ) ) ) ).

% Min.union
thf(fact_6129_Min_Oeq__fold,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( lattic643756798350308766er_Min @ A @ ( insert @ A @ X @ A6 ) )
            = ( finite_fold @ A @ A @ ( ord_min @ A ) @ X @ A6 ) ) ) ) ).

% Min.eq_fold
thf(fact_6130_Min__add__commute,axiom,
    ! [B: $tType,A: $tType] :
      ( ( linord4140545234300271783up_add @ A )
     => ! [S: set @ B,F3: B > A,K2: A] :
          ( ( finite_finite2 @ B @ S )
         => ( ( S
             != ( bot_bot @ ( set @ B ) ) )
           => ( ( lattic643756798350308766er_Min @ A
                @ ( image2 @ B @ A
                  @ ^ [X4: B] : ( plus_plus @ A @ ( F3 @ X4 ) @ K2 )
                  @ S ) )
              = ( plus_plus @ A @ ( lattic643756798350308766er_Min @ A @ ( image2 @ B @ A @ F3 @ S ) ) @ K2 ) ) ) ) ) ).

% Min_add_commute
thf(fact_6131_Min_Oinsert__remove,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( ( ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) )
                = ( bot_bot @ ( set @ A ) ) )
             => ( ( lattic643756798350308766er_Min @ A @ ( insert @ A @ X @ A6 ) )
                = X ) )
            & ( ( ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) )
               != ( bot_bot @ ( set @ A ) ) )
             => ( ( lattic643756798350308766er_Min @ A @ ( insert @ A @ X @ A6 ) )
                = ( ord_min @ A @ X @ ( lattic643756798350308766er_Min @ A @ ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ) ) ) ) ) ).

% Min.insert_remove
thf(fact_6132_Min_Oremove,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A,X: A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( ( member @ A @ X @ A6 )
           => ( ( ( ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) )
                  = ( bot_bot @ ( set @ A ) ) )
               => ( ( lattic643756798350308766er_Min @ A @ A6 )
                  = X ) )
              & ( ( ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) )
                 != ( bot_bot @ ( set @ A ) ) )
               => ( ( lattic643756798350308766er_Min @ A @ A6 )
                  = ( ord_min @ A @ X @ ( lattic643756798350308766er_Min @ A @ ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ) ) ) ) ) ) ).

% Min.remove
thf(fact_6133_sorted__find__Min,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Xs: list @ A,P2: A > $o] :
          ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ Xs )
         => ( ? [X6: A] :
                ( ( member @ A @ X6 @ ( set2 @ A @ Xs ) )
                & ( P2 @ X6 ) )
           => ( ( find @ A @ P2 @ Xs )
              = ( some @ A
                @ ( lattic643756798350308766er_Min @ A
                  @ ( collect @ A
                    @ ^ [X4: A] :
                        ( ( member @ A @ X4 @ ( set2 @ A @ Xs ) )
                        & ( P2 @ X4 ) ) ) ) ) ) ) ) ) ).

% sorted_find_Min
thf(fact_6134_card__Min__le__sum,axiom,
    ! [A: $tType,A6: set @ A,F3: A > nat] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ord_less_eq @ nat @ ( times_times @ nat @ ( finite_card @ A @ A6 ) @ ( lattic643756798350308766er_Min @ nat @ ( image2 @ A @ nat @ F3 @ A6 ) ) ) @ ( groups7311177749621191930dd_sum @ A @ nat @ F3 @ A6 ) ) ) ).

% card_Min_le_sum
thf(fact_6135_Gcd__eq__Max,axiom,
    ! [M6: set @ nat] :
      ( ( finite_finite2 @ nat @ M6 )
     => ( ( M6
         != ( bot_bot @ ( set @ nat ) ) )
       => ( ~ ( member @ nat @ ( zero_zero @ nat ) @ M6 )
         => ( ( gcd_Gcd @ nat @ M6 )
            = ( lattic643756798349783984er_Max @ nat
              @ ( complete_Inf_Inf @ ( set @ nat )
                @ ( image2 @ nat @ ( set @ nat )
                  @ ^ [M3: nat] :
                      ( collect @ nat
                      @ ^ [D6: nat] : ( dvd_dvd @ nat @ D6 @ M3 ) )
                  @ M6 ) ) ) ) ) ) ) ).

% Gcd_eq_Max
thf(fact_6136_dual__Max,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ( ( lattices_Max @ A
          @ ^ [X4: A,Y4: A] : ( ord_less_eq @ A @ Y4 @ X4 ) )
        = ( lattic643756798350308766er_Min @ A ) ) ) ).

% dual_Max
thf(fact_6137_Gcd__0__iff,axiom,
    ! [A: $tType] :
      ( ( semiring_Gcd @ A )
     => ! [A6: set @ A] :
          ( ( ( gcd_Gcd @ A @ A6 )
            = ( zero_zero @ A ) )
          = ( ord_less_eq @ ( set @ A ) @ A6 @ ( insert @ A @ ( zero_zero @ A ) @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ).

% Gcd_0_iff
thf(fact_6138_linorder_OMax_Ocong,axiom,
    ! [A: $tType] :
      ( ( lattices_Max @ A )
      = ( lattices_Max @ A ) ) ).

% linorder.Max.cong
thf(fact_6139_Gcd__mono,axiom,
    ! [A: $tType,B: $tType] :
      ( ( semiring_Gcd @ A )
     => ! [A6: set @ B,F3: B > A,G3: B > A] :
          ( ! [X3: B] :
              ( ( member @ B @ X3 @ A6 )
             => ( dvd_dvd @ A @ ( F3 @ X3 ) @ ( G3 @ X3 ) ) )
         => ( dvd_dvd @ A @ ( gcd_Gcd @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) @ ( gcd_Gcd @ A @ ( image2 @ B @ A @ G3 @ A6 ) ) ) ) ) ).

% Gcd_mono
thf(fact_6140_INT__greaterThan__UNIV,axiom,
    ( ( complete_Inf_Inf @ ( set @ nat ) @ ( image2 @ nat @ ( set @ nat ) @ ( set_ord_greaterThan @ nat ) @ ( top_top @ ( set @ nat ) ) ) )
    = ( bot_bot @ ( set @ nat ) ) ) ).

% INT_greaterThan_UNIV
thf(fact_6141_semiring__char__def,axiom,
    ! [A: $tType] :
      ( ( semiring_1 @ A )
     => ( ( semiri4206861660011772517g_char @ A )
        = ( ^ [Uu3: itself @ A] :
              ( gcd_Gcd @ nat
              @ ( collect @ nat
                @ ^ [N3: nat] :
                    ( ( semiring_1_of_nat @ A @ N3 )
                    = ( zero_zero @ A ) ) ) ) ) ) ) ).

% semiring_char_def
thf(fact_6142_greaterThan__iff,axiom,
    ! [A: $tType] :
      ( ( ord @ A )
     => ! [I2: A,K2: A] :
          ( ( member @ A @ I2 @ ( set_ord_greaterThan @ A @ K2 ) )
          = ( ord_less @ A @ K2 @ I2 ) ) ) ).

% greaterThan_iff
thf(fact_6143_cInf__greaterThan,axiom,
    ! [A: $tType] :
      ( ( ( condit6923001295902523014norder @ A )
        & ( dense_linorder @ A )
        & ( no_top @ A ) )
     => ! [X: A] :
          ( ( complete_Inf_Inf @ A @ ( set_ord_greaterThan @ A @ X ) )
          = X ) ) ).

% cInf_greaterThan
thf(fact_6144_Gcd__abs__eq,axiom,
    ! [K5: set @ int] :
      ( ( gcd_Gcd @ int @ ( image2 @ int @ int @ ( abs_abs @ int ) @ K5 ) )
      = ( gcd_Gcd @ int @ K5 ) ) ).

% Gcd_abs_eq
thf(fact_6145_greaterThan__subset__iff,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less_eq @ ( set @ A ) @ ( set_ord_greaterThan @ A @ X ) @ ( set_ord_greaterThan @ A @ Y ) )
          = ( ord_less_eq @ A @ Y @ X ) ) ) ).

% greaterThan_subset_iff
thf(fact_6146_Gcd__nat__abs__eq,axiom,
    ! [K5: set @ int] :
      ( ( gcd_Gcd @ nat
        @ ( image2 @ int @ nat
          @ ^ [K3: int] : ( nat2 @ ( abs_abs @ int @ K3 ) )
          @ K5 ) )
      = ( nat2 @ ( gcd_Gcd @ int @ K5 ) ) ) ).

% Gcd_nat_abs_eq
thf(fact_6147_Sup__greaterThanAtLeast,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [X: A] :
          ( ( ord_less @ A @ X @ ( top_top @ A ) )
         => ( ( complete_Sup_Sup @ A @ ( set_ord_greaterThan @ A @ X ) )
            = ( top_top @ A ) ) ) ) ).

% Sup_greaterThanAtLeast
thf(fact_6148_Gcd__int__eq,axiom,
    ! [N7: set @ nat] :
      ( ( gcd_Gcd @ int @ ( image2 @ nat @ int @ ( semiring_1_of_nat @ int ) @ N7 ) )
      = ( semiring_1_of_nat @ int @ ( gcd_Gcd @ nat @ N7 ) ) ) ).

% Gcd_int_eq
thf(fact_6149_greaterThan__def,axiom,
    ! [A: $tType] :
      ( ( ord @ A )
     => ( ( set_ord_greaterThan @ A )
        = ( ^ [L2: A] : ( collect @ A @ ( ord_less @ A @ L2 ) ) ) ) ) ).

% greaterThan_def
thf(fact_6150_Gcd__int__greater__eq__0,axiom,
    ! [K5: set @ int] : ( ord_less_eq @ int @ ( zero_zero @ int ) @ ( gcd_Gcd @ int @ K5 ) ) ).

% Gcd_int_greater_eq_0
thf(fact_6151_ivl__disj__un__one_I5_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [L: A,U: A] :
          ( ( ord_less_eq @ A @ L @ U )
         => ( ( sup_sup @ ( set @ A ) @ ( set_or3652927894154168847AtMost @ A @ L @ U ) @ ( set_ord_greaterThan @ A @ U ) )
            = ( set_ord_greaterThan @ A @ L ) ) ) ) ).

% ivl_disj_un_one(5)
thf(fact_6152_Gcd__int__def,axiom,
    ( ( gcd_Gcd @ int )
    = ( ^ [K7: set @ int] : ( semiring_1_of_nat @ int @ ( gcd_Gcd @ nat @ ( image2 @ int @ nat @ ( comp @ int @ nat @ int @ nat2 @ ( abs_abs @ int ) ) @ K7 ) ) ) ) ) ).

% Gcd_int_def
thf(fact_6153_interval__cases,axiom,
    ! [A: $tType] :
      ( ( condit6923001295902523014norder @ A )
     => ! [S: set @ A] :
          ( ! [A5: A,B4: A,X3: A] :
              ( ( member @ A @ A5 @ S )
             => ( ( member @ A @ B4 @ S )
               => ( ( ord_less_eq @ A @ A5 @ X3 )
                 => ( ( ord_less_eq @ A @ X3 @ B4 )
                   => ( member @ A @ X3 @ S ) ) ) ) )
         => ? [A5: A,B4: A] :
              ( ( S
                = ( bot_bot @ ( set @ A ) ) )
              | ( S
                = ( top_top @ ( set @ A ) ) )
              | ( S
                = ( set_ord_lessThan @ A @ B4 ) )
              | ( S
                = ( set_ord_atMost @ A @ B4 ) )
              | ( S
                = ( set_ord_greaterThan @ A @ A5 ) )
              | ( S
                = ( set_ord_atLeast @ A @ A5 ) )
              | ( S
                = ( set_or5935395276787703475ssThan @ A @ A5 @ B4 ) )
              | ( S
                = ( set_or3652927894154168847AtMost @ A @ A5 @ B4 ) )
              | ( S
                = ( set_or7035219750837199246ssThan @ A @ A5 @ B4 ) )
              | ( S
                = ( set_or1337092689740270186AtMost @ A @ A5 @ B4 ) ) ) ) ) ).

% interval_cases
thf(fact_6154_map__of__mapk__SomeI,axiom,
    ! [A: $tType,B: $tType,C: $tType,F3: A > B,T5: list @ ( product_prod @ A @ C ),K2: A,X: C] :
      ( ( inj_on @ A @ B @ F3 @ ( top_top @ ( set @ A ) ) )
     => ( ( ( map_of @ A @ C @ T5 @ K2 )
          = ( some @ C @ X ) )
       => ( ( map_of @ B @ C
            @ ( map @ ( product_prod @ A @ C ) @ ( product_prod @ B @ C )
              @ ( product_case_prod @ A @ C @ ( product_prod @ B @ C )
                @ ^ [K3: A] : ( product_Pair @ B @ C @ ( F3 @ K3 ) ) )
              @ T5 )
            @ ( F3 @ K2 ) )
          = ( some @ C @ X ) ) ) ) ).

% map_of_mapk_SomeI
thf(fact_6155_atLeast__iff,axiom,
    ! [A: $tType] :
      ( ( ord @ A )
     => ! [I2: A,K2: A] :
          ( ( member @ A @ I2 @ ( set_ord_atLeast @ A @ K2 ) )
          = ( ord_less_eq @ A @ K2 @ I2 ) ) ) ).

% atLeast_iff
thf(fact_6156_cInf__atLeast,axiom,
    ! [A: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [X: A] :
          ( ( complete_Inf_Inf @ A @ ( set_ord_atLeast @ A @ X ) )
          = X ) ) ).

% cInf_atLeast
thf(fact_6157_atLeast__subset__iff,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [X: A,Y: A] :
          ( ( ord_less_eq @ ( set @ A ) @ ( set_ord_atLeast @ A @ X ) @ ( set_ord_atLeast @ A @ Y ) )
          = ( ord_less_eq @ A @ Y @ X ) ) ) ).

% atLeast_subset_iff
thf(fact_6158_image__add__atLeast,axiom,
    ! [A: $tType] :
      ( ( linordered_semidom @ A )
     => ! [K2: A,I2: A] :
          ( ( image2 @ A @ A @ ( plus_plus @ A @ K2 ) @ ( set_ord_atLeast @ A @ I2 ) )
          = ( set_ord_atLeast @ A @ ( plus_plus @ A @ K2 @ I2 ) ) ) ) ).

% image_add_atLeast
thf(fact_6159_Icc__subset__Ici__iff,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [L: A,H: A,L4: A] :
          ( ( ord_less_eq @ ( set @ A ) @ ( set_or1337092689740270186AtMost @ A @ L @ H ) @ ( set_ord_atLeast @ A @ L4 ) )
          = ( ~ ( ord_less_eq @ A @ L @ H )
            | ( ord_less_eq @ A @ L4 @ L ) ) ) ) ).

% Icc_subset_Ici_iff
thf(fact_6160_inj__divide__right,axiom,
    ! [A: $tType] :
      ( ( field @ A )
     => ! [A3: A] :
          ( ( inj_on @ A @ A
            @ ^ [B5: A] : ( divide_divide @ A @ B5 @ A3 )
            @ ( top_top @ ( set @ A ) ) )
          = ( A3
           != ( zero_zero @ A ) ) ) ) ).

% inj_divide_right
thf(fact_6161_inj__apfst,axiom,
    ! [B: $tType,C: $tType,A: $tType,F3: A > C] :
      ( ( inj_on @ ( product_prod @ A @ B ) @ ( product_prod @ C @ B ) @ ( product_apfst @ A @ C @ B @ F3 ) @ ( top_top @ ( set @ ( product_prod @ A @ B ) ) ) )
      = ( inj_on @ A @ C @ F3 @ ( top_top @ ( set @ A ) ) ) ) ).

% inj_apfst
thf(fact_6162_inj__apsnd,axiom,
    ! [A: $tType,C: $tType,B: $tType,F3: B > C] :
      ( ( inj_on @ ( product_prod @ A @ B ) @ ( product_prod @ A @ C ) @ ( product_apsnd @ B @ C @ A @ F3 ) @ ( top_top @ ( set @ ( product_prod @ A @ B ) ) ) )
      = ( inj_on @ B @ C @ F3 @ ( top_top @ ( set @ B ) ) ) ) ).

% inj_apsnd
thf(fact_6163_inj__on__apfst,axiom,
    ! [B: $tType,C: $tType,A: $tType,F3: A > C,A6: set @ A] :
      ( ( inj_on @ ( product_prod @ A @ B ) @ ( product_prod @ C @ B ) @ ( product_apfst @ A @ C @ B @ F3 )
        @ ( product_Sigma @ A @ B @ A6
          @ ^ [Uu2: A] : ( top_top @ ( set @ B ) ) ) )
      = ( inj_on @ A @ C @ F3 @ A6 ) ) ).

% inj_on_apfst
thf(fact_6164_inj__on__apsnd,axiom,
    ! [A: $tType,C: $tType,B: $tType,F3: B > C,A6: set @ B] :
      ( ( inj_on @ ( product_prod @ A @ B ) @ ( product_prod @ A @ C ) @ ( product_apsnd @ B @ C @ A @ F3 )
        @ ( product_Sigma @ A @ B @ ( top_top @ ( set @ A ) )
          @ ^ [Uu2: A] : A6 ) )
      = ( inj_on @ B @ C @ F3 @ A6 ) ) ).

% inj_on_apsnd
thf(fact_6165_inj__on__Un__image__eq__iff,axiom,
    ! [B: $tType,A: $tType,F3: A > B,A6: set @ A,B6: set @ A] :
      ( ( inj_on @ A @ B @ F3 @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) )
     => ( ( ( image2 @ A @ B @ F3 @ A6 )
          = ( image2 @ A @ B @ F3 @ B6 ) )
        = ( A6 = B6 ) ) ) ).

% inj_on_Un_image_eq_iff
thf(fact_6166_prod_Oimage__eq,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [G3: B > A,A6: set @ B] :
          ( ( inj_on @ B @ A @ G3 @ A6 )
         => ( ( groups7121269368397514597t_prod @ A @ A
              @ ^ [X4: A] : X4
              @ ( image2 @ B @ A @ G3 @ A6 ) )
            = ( groups7121269368397514597t_prod @ B @ A @ G3 @ A6 ) ) ) ) ).

% prod.image_eq
thf(fact_6167_subset__image__inj,axiom,
    ! [A: $tType,B: $tType,S: set @ A,F3: B > A,T8: set @ B] :
      ( ( ord_less_eq @ ( set @ A ) @ S @ ( image2 @ B @ A @ F3 @ T8 ) )
      = ( ? [U7: set @ B] :
            ( ( ord_less_eq @ ( set @ B ) @ U7 @ T8 )
            & ( inj_on @ B @ A @ F3 @ U7 )
            & ( S
              = ( image2 @ B @ A @ F3 @ U7 ) ) ) ) ) ).

% subset_image_inj
thf(fact_6168_inj__on__image__eq__iff,axiom,
    ! [B: $tType,A: $tType,F3: A > B,C5: set @ A,A6: set @ A,B6: set @ A] :
      ( ( inj_on @ A @ B @ F3 @ C5 )
     => ( ( ord_less_eq @ ( set @ A ) @ A6 @ C5 )
       => ( ( ord_less_eq @ ( set @ A ) @ B6 @ C5 )
         => ( ( ( image2 @ A @ B @ F3 @ A6 )
              = ( image2 @ A @ B @ F3 @ B6 ) )
            = ( A6 = B6 ) ) ) ) ) ).

% inj_on_image_eq_iff
thf(fact_6169_inj__on__image__mem__iff,axiom,
    ! [B: $tType,A: $tType,F3: A > B,B6: set @ A,A3: A,A6: set @ A] :
      ( ( inj_on @ A @ B @ F3 @ B6 )
     => ( ( member @ A @ A3 @ B6 )
       => ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
         => ( ( member @ B @ ( F3 @ A3 ) @ ( image2 @ A @ B @ F3 @ A6 ) )
            = ( member @ A @ A3 @ A6 ) ) ) ) ) ).

% inj_on_image_mem_iff
thf(fact_6170_inj__on__strict__subset,axiom,
    ! [B: $tType,A: $tType,F3: A > B,B6: set @ A,A6: set @ A] :
      ( ( inj_on @ A @ B @ F3 @ B6 )
     => ( ( ord_less @ ( set @ A ) @ A6 @ B6 )
       => ( ord_less @ ( set @ B ) @ ( image2 @ A @ B @ F3 @ A6 ) @ ( image2 @ A @ B @ F3 @ B6 ) ) ) ) ).

% inj_on_strict_subset
thf(fact_6171_sum_Oimage__eq,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [G3: B > A,A6: set @ B] :
          ( ( inj_on @ B @ A @ G3 @ A6 )
         => ( ( groups7311177749621191930dd_sum @ A @ A
              @ ^ [X4: A] : X4
              @ ( image2 @ B @ A @ G3 @ A6 ) )
            = ( groups7311177749621191930dd_sum @ B @ A @ G3 @ A6 ) ) ) ) ).

% sum.image_eq
thf(fact_6172_not__Ici__le__Icc,axiom,
    ! [A: $tType] :
      ( ( no_top @ A )
     => ! [L: A,L4: A,H5: A] :
          ~ ( ord_less_eq @ ( set @ A ) @ ( set_ord_atLeast @ A @ L ) @ ( set_or1337092689740270186AtMost @ A @ L4 @ H5 ) ) ) ).

% not_Ici_le_Icc
thf(fact_6173_inj__on__diff__nat,axiom,
    ! [N7: set @ nat,K2: nat] :
      ( ! [N4: nat] :
          ( ( member @ nat @ N4 @ N7 )
         => ( ord_less_eq @ nat @ K2 @ N4 ) )
     => ( inj_on @ nat @ nat
        @ ^ [N3: nat] : ( minus_minus @ nat @ N3 @ K2 )
        @ N7 ) ) ).

% inj_on_diff_nat
thf(fact_6174_finite__Collect,axiom,
    ! [A: $tType,B: $tType,S: set @ A,F3: B > A] :
      ( ( finite_finite2 @ A @ S )
     => ( ( inj_on @ B @ A @ F3 @ ( top_top @ ( set @ B ) ) )
       => ( finite_finite2 @ B
          @ ( collect @ B
            @ ^ [A7: B] : ( member @ A @ ( F3 @ A7 ) @ S ) ) ) ) ) ).

% finite_Collect
thf(fact_6175_finite__inverse__image,axiom,
    ! [A: $tType,B: $tType,A6: set @ A,F3: B > A] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( inj_on @ B @ A @ F3 @ ( top_top @ ( set @ B ) ) )
       => ( finite_finite2 @ B
          @ ( collect @ B
            @ ^ [J: B] : ( member @ A @ ( F3 @ J ) @ A6 ) ) ) ) ) ).

% finite_inverse_image
thf(fact_6176_map__prod__inj__on,axiom,
    ! [D: $tType,B: $tType,C: $tType,A: $tType,F3: A > B,A6: set @ A,G3: C > D,B6: set @ C] :
      ( ( inj_on @ A @ B @ F3 @ A6 )
     => ( ( inj_on @ C @ D @ G3 @ B6 )
       => ( inj_on @ ( product_prod @ A @ C ) @ ( product_prod @ B @ D ) @ ( product_map_prod @ A @ B @ C @ D @ F3 @ G3 )
          @ ( product_Sigma @ A @ C @ A6
            @ ^ [Uu2: A] : B6 ) ) ) ) ).

% map_prod_inj_on
thf(fact_6177_inj__fn,axiom,
    ! [A: $tType,F3: A > A,N: nat] :
      ( ( inj_on @ A @ A @ F3 @ ( top_top @ ( set @ A ) ) )
     => ( inj_on @ A @ A @ ( compow @ ( A > A ) @ N @ F3 ) @ ( top_top @ ( set @ A ) ) ) ) ).

% inj_fn
thf(fact_6178_inj__of__nat,axiom,
    ! [A: $tType] :
      ( ( semiring_char_0 @ A )
     => ( inj_on @ nat @ A @ ( semiring_1_of_nat @ A ) @ ( top_top @ ( set @ nat ) ) ) ) ).

% inj_of_nat
thf(fact_6179_linorder__injI,axiom,
    ! [B: $tType,A: $tType] :
      ( ( linorder @ A )
     => ! [F3: A > B] :
          ( ! [X3: A,Y3: A] :
              ( ( ord_less @ A @ X3 @ Y3 )
             => ( ( F3 @ X3 )
               != ( F3 @ Y3 ) ) )
         => ( inj_on @ A @ B @ F3 @ ( top_top @ ( set @ A ) ) ) ) ) ).

% linorder_injI
thf(fact_6180_inj__Some,axiom,
    ! [A: $tType,A6: set @ A] : ( inj_on @ A @ ( option @ A ) @ ( some @ A ) @ A6 ) ).

% inj_Some
thf(fact_6181_inj__on__add_H,axiom,
    ! [A: $tType] :
      ( ( cancel_semigroup_add @ A )
     => ! [A3: A,A6: set @ A] :
          ( inj_on @ A @ A
          @ ^ [B5: A] : ( plus_plus @ A @ B5 @ A3 )
          @ A6 ) ) ).

% inj_on_add'
thf(fact_6182_inj__on__add,axiom,
    ! [A: $tType] :
      ( ( cancel_semigroup_add @ A )
     => ! [A3: A,A6: set @ A] : ( inj_on @ A @ A @ ( plus_plus @ A @ A3 ) @ A6 ) ) ).

% inj_on_add
thf(fact_6183_inj__on__id2,axiom,
    ! [A: $tType,A6: set @ A] :
      ( inj_on @ A @ A
      @ ^ [X4: A] : X4
      @ A6 ) ).

% inj_on_id2
thf(fact_6184_inj__Suc,axiom,
    ! [N7: set @ nat] : ( inj_on @ nat @ nat @ suc @ N7 ) ).

% inj_Suc
thf(fact_6185_inj__add__left,axiom,
    ! [A: $tType] :
      ( ( cancel_semigroup_add @ A )
     => ! [A3: A] : ( inj_on @ A @ A @ ( plus_plus @ A @ A3 ) @ ( top_top @ ( set @ A ) ) ) ) ).

% inj_add_left
thf(fact_6186_finite__inverse__image__gen,axiom,
    ! [A: $tType,B: $tType,A6: set @ A,F3: B > A,D5: set @ B] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( inj_on @ B @ A @ F3 @ D5 )
       => ( finite_finite2 @ B
          @ ( collect @ B
            @ ^ [J: B] :
                ( ( member @ B @ J @ D5 )
                & ( member @ A @ ( F3 @ J ) @ A6 ) ) ) ) ) ) ).

% finite_inverse_image_gen
thf(fact_6187_sorted__list__of__set_Oinj__on,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ( inj_on @ A @ A
        @ ^ [X4: A] : X4
        @ ( top_top @ ( set @ A ) ) ) ) ).

% sorted_list_of_set.inj_on
thf(fact_6188_option_Oinj__map,axiom,
    ! [B: $tType,A: $tType,F3: A > B] :
      ( ( inj_on @ A @ B @ F3 @ ( top_top @ ( set @ A ) ) )
     => ( inj_on @ ( option @ A ) @ ( option @ B ) @ ( map_option @ A @ B @ F3 ) @ ( top_top @ ( set @ ( option @ A ) ) ) ) ) ).

% option.inj_map
thf(fact_6189_inj__fun,axiom,
    ! [B: $tType,C: $tType,A: $tType,F3: A > B] :
      ( ( inj_on @ A @ B @ F3 @ ( top_top @ ( set @ A ) ) )
     => ( inj_on @ A @ ( C > B )
        @ ^ [X4: A,Y4: C] : ( F3 @ X4 )
        @ ( top_top @ ( set @ A ) ) ) ) ).

% inj_fun
thf(fact_6190_inj__singleton,axiom,
    ! [A: $tType,A6: set @ A] :
      ( inj_on @ A @ ( set @ A )
      @ ^ [X4: A] : ( insert @ A @ X4 @ ( bot_bot @ ( set @ A ) ) )
      @ A6 ) ).

% inj_singleton
thf(fact_6191_inj__diff__right,axiom,
    ! [A: $tType] :
      ( ( ab_group_add @ A )
     => ! [A3: A] :
          ( inj_on @ A @ A
          @ ^ [B5: A] : ( minus_minus @ A @ B5 @ A3 )
          @ ( top_top @ ( set @ A ) ) ) ) ).

% inj_diff_right
thf(fact_6192_inj__on__fst__map__to__set,axiom,
    ! [B: $tType,A: $tType,M: A > ( option @ B )] : ( inj_on @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) @ ( map_to_set @ A @ B @ M ) ) ).

% inj_on_fst_map_to_set
thf(fact_6193_linorder__inj__onI,axiom,
    ! [B: $tType,A: $tType] :
      ( ( order @ A )
     => ! [A6: set @ A,F3: A > B] :
          ( ! [X3: A,Y3: A] :
              ( ( ord_less @ A @ X3 @ Y3 )
             => ( ( member @ A @ X3 @ A6 )
               => ( ( member @ A @ Y3 @ A6 )
                 => ( ( F3 @ X3 )
                   != ( F3 @ Y3 ) ) ) ) )
         => ( ! [X3: A,Y3: A] :
                ( ( member @ A @ X3 @ A6 )
               => ( ( member @ A @ Y3 @ A6 )
                 => ( ( ord_less_eq @ A @ X3 @ Y3 )
                    | ( ord_less_eq @ A @ Y3 @ X3 ) ) ) )
           => ( inj_on @ A @ B @ F3 @ A6 ) ) ) ) ).

% linorder_inj_onI
thf(fact_6194_atLeast__def,axiom,
    ! [A: $tType] :
      ( ( ord @ A )
     => ( ( set_ord_atLeast @ A )
        = ( ^ [L2: A] : ( collect @ A @ ( ord_less_eq @ A @ L2 ) ) ) ) ) ).

% atLeast_def
thf(fact_6195_subset__inj__on,axiom,
    ! [B: $tType,A: $tType,F3: A > B,B6: set @ A,A6: set @ A] :
      ( ( inj_on @ A @ B @ F3 @ B6 )
     => ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
       => ( inj_on @ A @ B @ F3 @ A6 ) ) ) ).

% subset_inj_on
thf(fact_6196_inj__on__subset,axiom,
    ! [B: $tType,A: $tType,F3: A > B,A6: set @ A,B6: set @ A] :
      ( ( inj_on @ A @ B @ F3 @ A6 )
     => ( ( ord_less_eq @ ( set @ A ) @ B6 @ A6 )
       => ( inj_on @ A @ B @ F3 @ B6 ) ) ) ).

% inj_on_subset
thf(fact_6197_inj__swap,axiom,
    ! [B: $tType,A: $tType,A6: set @ ( product_prod @ A @ B )] : ( inj_on @ ( product_prod @ A @ B ) @ ( product_prod @ B @ A ) @ ( product_swap @ A @ B ) @ A6 ) ).

% inj_swap
thf(fact_6198_inj__on__convol__ident,axiom,
    ! [B: $tType,A: $tType,F3: A > B,X7: set @ A] :
      ( inj_on @ A @ ( product_prod @ A @ B )
      @ ^ [X4: A] : ( product_Pair @ A @ B @ X4 @ ( F3 @ X4 ) )
      @ X7 ) ).

% inj_on_convol_ident
thf(fact_6199_inj__Pair_I1_J,axiom,
    ! [B: $tType,A: $tType,C3: A > B,S: set @ A] :
      ( inj_on @ A @ ( product_prod @ A @ B )
      @ ^ [X4: A] : ( product_Pair @ A @ B @ X4 @ ( C3 @ X4 ) )
      @ S ) ).

% inj_Pair(1)
thf(fact_6200_inj__Pair_I2_J,axiom,
    ! [B: $tType,A: $tType,C3: A > B,S: set @ A] :
      ( inj_on @ A @ ( product_prod @ B @ A )
      @ ^ [X4: A] : ( product_Pair @ B @ A @ ( C3 @ X4 ) @ X4 )
      @ S ) ).

% inj_Pair(2)
thf(fact_6201_not__UNIV__le__Ici,axiom,
    ! [A: $tType] :
      ( ( no_bot @ A )
     => ! [L: A] :
          ~ ( ord_less_eq @ ( set @ A ) @ ( top_top @ ( set @ A ) ) @ ( set_ord_atLeast @ A @ L ) ) ) ).

% not_UNIV_le_Ici
thf(fact_6202_swap__inj__on,axiom,
    ! [B: $tType,A: $tType,A6: set @ ( product_prod @ A @ B )] :
      ( inj_on @ ( product_prod @ A @ B ) @ ( product_prod @ B @ A )
      @ ( product_case_prod @ A @ B @ ( product_prod @ B @ A )
        @ ^ [I: A,J: B] : ( product_Pair @ B @ A @ J @ I ) )
      @ A6 ) ).

% swap_inj_on
thf(fact_6203_not__Ici__le__Iic,axiom,
    ! [A: $tType] :
      ( ( no_top @ A )
     => ! [L: A,H5: A] :
          ~ ( ord_less_eq @ ( set @ A ) @ ( set_ord_atLeast @ A @ L ) @ ( set_ord_atMost @ A @ H5 ) ) ) ).

% not_Ici_le_Iic
thf(fact_6204_not__Iic__le__Ici,axiom,
    ! [A: $tType] :
      ( ( no_bot @ A )
     => ! [H: A,L4: A] :
          ~ ( ord_less_eq @ ( set @ A ) @ ( set_ord_atMost @ A @ H ) @ ( set_ord_atLeast @ A @ L4 ) ) ) ).

% not_Iic_le_Ici
thf(fact_6205_Ioi__le__Ico,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [A3: A] : ( ord_less_eq @ ( set @ A ) @ ( set_ord_greaterThan @ A @ A3 ) @ ( set_ord_atLeast @ A @ A3 ) ) ) ).

% Ioi_le_Ico
thf(fact_6206_inj__split__Cons,axiom,
    ! [A: $tType,X7: set @ ( product_prod @ ( list @ A ) @ A )] :
      ( inj_on @ ( product_prod @ ( list @ A ) @ A ) @ ( list @ A )
      @ ( product_case_prod @ ( list @ A ) @ A @ ( list @ A )
        @ ^ [Xs3: list @ A,N3: A] : ( cons @ A @ N3 @ Xs3 ) )
      @ X7 ) ).

% inj_split_Cons
thf(fact_6207_inj__on__iff__surj,axiom,
    ! [A: $tType,B: $tType,A6: set @ A,A16: set @ B] :
      ( ( A6
       != ( bot_bot @ ( set @ A ) ) )
     => ( ( ? [F4: A > B] :
              ( ( inj_on @ A @ B @ F4 @ A6 )
              & ( ord_less_eq @ ( set @ B ) @ ( image2 @ A @ B @ F4 @ A6 ) @ A16 ) ) )
        = ( ? [G4: B > A] :
              ( ( image2 @ B @ A @ G4 @ A16 )
              = A6 ) ) ) ) ).

% inj_on_iff_surj
thf(fact_6208_endo__inj__surj,axiom,
    ! [A: $tType,A6: set @ A,F3: A > A] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( ord_less_eq @ ( set @ A ) @ ( image2 @ A @ A @ F3 @ A6 ) @ A6 )
       => ( ( inj_on @ A @ A @ F3 @ A6 )
         => ( ( image2 @ A @ A @ F3 @ A6 )
            = A6 ) ) ) ) ).

% endo_inj_surj
thf(fact_6209_inj__on__finite,axiom,
    ! [B: $tType,A: $tType,F3: A > B,A6: set @ A,B6: set @ B] :
      ( ( inj_on @ A @ B @ F3 @ A6 )
     => ( ( ord_less_eq @ ( set @ B ) @ ( image2 @ A @ B @ F3 @ A6 ) @ B6 )
       => ( ( finite_finite2 @ B @ B6 )
         => ( finite_finite2 @ A @ A6 ) ) ) ) ).

% inj_on_finite
thf(fact_6210_finite__surj__inj,axiom,
    ! [A: $tType,A6: set @ A,F3: A > A] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( ord_less_eq @ ( set @ A ) @ A6 @ ( image2 @ A @ A @ F3 @ A6 ) )
       => ( inj_on @ A @ A @ F3 @ A6 ) ) ) ).

% finite_surj_inj
thf(fact_6211_inj__image__subset__iff,axiom,
    ! [B: $tType,A: $tType,F3: A > B,A6: set @ A,B6: set @ A] :
      ( ( inj_on @ A @ B @ F3 @ ( top_top @ ( set @ A ) ) )
     => ( ( ord_less_eq @ ( set @ B ) @ ( image2 @ A @ B @ F3 @ A6 ) @ ( image2 @ A @ B @ F3 @ B6 ) )
        = ( ord_less_eq @ ( set @ A ) @ A6 @ B6 ) ) ) ).

% inj_image_subset_iff
thf(fact_6212_inj__on__image__Int,axiom,
    ! [B: $tType,A: $tType,F3: A > B,C5: set @ A,A6: set @ A,B6: set @ A] :
      ( ( inj_on @ A @ B @ F3 @ C5 )
     => ( ( ord_less_eq @ ( set @ A ) @ A6 @ C5 )
       => ( ( ord_less_eq @ ( set @ A ) @ B6 @ C5 )
         => ( ( image2 @ A @ B @ F3 @ ( inf_inf @ ( set @ A ) @ A6 @ B6 ) )
            = ( inf_inf @ ( set @ B ) @ ( image2 @ A @ B @ F3 @ A6 ) @ ( image2 @ A @ B @ F3 @ B6 ) ) ) ) ) ) ).

% inj_on_image_Int
thf(fact_6213_inj__on__image__set__diff,axiom,
    ! [B: $tType,A: $tType,F3: A > B,C5: set @ A,A6: set @ A,B6: set @ A] :
      ( ( inj_on @ A @ B @ F3 @ C5 )
     => ( ( ord_less_eq @ ( set @ A ) @ ( minus_minus @ ( set @ A ) @ A6 @ B6 ) @ C5 )
       => ( ( ord_less_eq @ ( set @ A ) @ B6 @ C5 )
         => ( ( image2 @ A @ B @ F3 @ ( minus_minus @ ( set @ A ) @ A6 @ B6 ) )
            = ( minus_minus @ ( set @ B ) @ ( image2 @ A @ B @ F3 @ A6 ) @ ( image2 @ A @ B @ F3 @ B6 ) ) ) ) ) ) ).

% inj_on_image_set_diff
thf(fact_6214_pigeonhole,axiom,
    ! [A: $tType,B: $tType,F3: B > A,A6: set @ B] :
      ( ( ord_less @ nat @ ( finite_card @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) @ ( finite_card @ B @ A6 ) )
     => ~ ( inj_on @ B @ A @ F3 @ A6 ) ) ).

% pigeonhole
thf(fact_6215_inj__on__map__eq__map,axiom,
    ! [B: $tType,A: $tType,F3: A > B,Xs: list @ A,Ys3: list @ A] :
      ( ( inj_on @ A @ B @ F3 @ ( sup_sup @ ( set @ A ) @ ( set2 @ A @ Xs ) @ ( set2 @ A @ Ys3 ) ) )
     => ( ( ( map @ A @ B @ F3 @ Xs )
          = ( map @ A @ B @ F3 @ Ys3 ) )
        = ( Xs = Ys3 ) ) ) ).

% inj_on_map_eq_map
thf(fact_6216_map__inj__on,axiom,
    ! [A: $tType,B: $tType,F3: B > A,Xs: list @ B,Ys3: list @ B] :
      ( ( ( map @ B @ A @ F3 @ Xs )
        = ( map @ B @ A @ F3 @ Ys3 ) )
     => ( ( inj_on @ B @ A @ F3 @ ( sup_sup @ ( set @ B ) @ ( set2 @ B @ Xs ) @ ( set2 @ B @ Ys3 ) ) )
       => ( Xs = Ys3 ) ) ) ).

% map_inj_on
thf(fact_6217_inj__graph,axiom,
    ! [B: $tType,A: $tType] :
      ( inj_on @ ( A > B ) @ ( set @ ( product_prod @ A @ B ) )
      @ ^ [F4: A > B] :
          ( collect @ ( product_prod @ A @ B )
          @ ( product_case_prod @ A @ B @ $o
            @ ^ [X4: A,Y4: B] :
                ( Y4
                = ( F4 @ X4 ) ) ) )
      @ ( top_top @ ( set @ ( A > B ) ) ) ) ).

% inj_graph
thf(fact_6218_inj__on__UNION__chain,axiom,
    ! [C: $tType,B: $tType,A: $tType,I5: set @ A,A6: A > ( set @ B ),F3: B > C] :
      ( ! [I3: A,J3: A] :
          ( ( member @ A @ I3 @ I5 )
         => ( ( member @ A @ J3 @ I5 )
           => ( ( ord_less_eq @ ( set @ B ) @ ( A6 @ I3 ) @ ( A6 @ J3 ) )
              | ( ord_less_eq @ ( set @ B ) @ ( A6 @ J3 ) @ ( A6 @ I3 ) ) ) ) )
     => ( ! [I3: A] :
            ( ( member @ A @ I3 @ I5 )
           => ( inj_on @ B @ C @ F3 @ ( A6 @ I3 ) ) )
       => ( inj_on @ B @ C @ F3 @ ( complete_Sup_Sup @ ( set @ B ) @ ( image2 @ A @ ( set @ B ) @ A6 @ I5 ) ) ) ) ) ).

% inj_on_UNION_chain
thf(fact_6219_inj__on__filter__key__eq,axiom,
    ! [B: $tType,A: $tType,F3: A > B,Y: A,Xs: list @ A] :
      ( ( inj_on @ A @ B @ F3 @ ( insert @ A @ Y @ ( set2 @ A @ Xs ) ) )
     => ( ( filter2 @ A
          @ ^ [X4: A] :
              ( ( F3 @ Y )
              = ( F3 @ X4 ) )
          @ Xs )
        = ( filter2 @ A
          @ ( ^ [Y6: A,Z5: A] : Y6 = Z5
            @ Y )
          @ Xs ) ) ) ).

% inj_on_filter_key_eq
thf(fact_6220_inj__on__INTER,axiom,
    ! [C: $tType,B: $tType,A: $tType,I5: set @ A,F3: B > C,A6: A > ( set @ B )] :
      ( ( I5
       != ( bot_bot @ ( set @ A ) ) )
     => ( ! [I3: A] :
            ( ( member @ A @ I3 @ I5 )
           => ( inj_on @ B @ C @ F3 @ ( A6 @ I3 ) ) )
       => ( inj_on @ B @ C @ F3 @ ( complete_Inf_Inf @ ( set @ B ) @ ( image2 @ A @ ( set @ B ) @ A6 @ I5 ) ) ) ) ) ).

% inj_on_INTER
thf(fact_6221_finite__imp__nat__seg__image__inj__on,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ( finite_finite2 @ A @ A6 )
     => ? [N4: nat,F: nat > A] :
          ( ( A6
            = ( image2 @ nat @ A @ F
              @ ( collect @ nat
                @ ^ [I: nat] : ( ord_less @ nat @ I @ N4 ) ) ) )
          & ( inj_on @ nat @ A @ F
            @ ( collect @ nat
              @ ^ [I: nat] : ( ord_less @ nat @ I @ N4 ) ) ) ) ) ).

% finite_imp_nat_seg_image_inj_on
thf(fact_6222_finite__imp__inj__to__nat__seg_H,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ( finite_finite2 @ A @ A6 )
     => ~ ! [F: A > nat] :
            ( ? [N4: nat] :
                ( ( image2 @ A @ nat @ F @ A6 )
                = ( collect @ nat
                  @ ^ [I: nat] : ( ord_less @ nat @ I @ N4 ) ) )
           => ~ ( inj_on @ A @ nat @ F @ A6 ) ) ) ).

% finite_imp_inj_to_nat_seg'
thf(fact_6223_finite__imp__inj__to__nat__seg,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ( finite_finite2 @ A @ A6 )
     => ? [F: A > nat,N4: nat] :
          ( ( ( image2 @ A @ nat @ F @ A6 )
            = ( collect @ nat
              @ ^ [I: nat] : ( ord_less @ nat @ I @ N4 ) ) )
          & ( inj_on @ A @ nat @ F @ A6 ) ) ) ).

% finite_imp_inj_to_nat_seg
thf(fact_6224_ivl__disj__un__one_I8_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [L: A,U: A] :
          ( ( ord_less_eq @ A @ L @ U )
         => ( ( sup_sup @ ( set @ A ) @ ( set_or7035219750837199246ssThan @ A @ L @ U ) @ ( set_ord_atLeast @ A @ U ) )
            = ( set_ord_atLeast @ A @ L ) ) ) ) ).

% ivl_disj_un_one(8)
thf(fact_6225_set__to__map__inverse,axiom,
    ! [B: $tType,A: $tType,S: set @ ( product_prod @ A @ B )] :
      ( ( inj_on @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) @ S )
     => ( ( map_to_set @ A @ B @ ( set_to_map @ A @ B @ S ) )
        = S ) ) ).

% set_to_map_inverse
thf(fact_6226_Ici__subset__Ioi__iff,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A3: A,B2: A] :
          ( ( ord_less_eq @ ( set @ A ) @ ( set_ord_atLeast @ A @ A3 ) @ ( set_ord_greaterThan @ A @ B2 ) )
          = ( ord_less @ A @ B2 @ A3 ) ) ) ).

% Ici_subset_Ioi_iff
thf(fact_6227_card__bij__eq,axiom,
    ! [A: $tType,B: $tType,F3: A > B,A6: set @ A,B6: set @ B,G3: B > A] :
      ( ( inj_on @ A @ B @ F3 @ A6 )
     => ( ( ord_less_eq @ ( set @ B ) @ ( image2 @ A @ B @ F3 @ A6 ) @ B6 )
       => ( ( inj_on @ B @ A @ G3 @ B6 )
         => ( ( ord_less_eq @ ( set @ A ) @ ( image2 @ B @ A @ G3 @ B6 ) @ A6 )
           => ( ( finite_finite2 @ A @ A6 )
             => ( ( finite_finite2 @ B @ B6 )
               => ( ( finite_card @ A @ A6 )
                  = ( finite_card @ B @ B6 ) ) ) ) ) ) ) ) ).

% card_bij_eq
thf(fact_6228_surjective__iff__injective__gen,axiom,
    ! [B: $tType,A: $tType,S: set @ A,T8: set @ B,F3: A > B] :
      ( ( finite_finite2 @ A @ S )
     => ( ( finite_finite2 @ B @ T8 )
       => ( ( ( finite_card @ A @ S )
            = ( finite_card @ B @ T8 ) )
         => ( ( ord_less_eq @ ( set @ B ) @ ( image2 @ A @ B @ F3 @ S ) @ T8 )
           => ( ( ! [X4: B] :
                    ( ( member @ B @ X4 @ T8 )
                   => ? [Y4: A] :
                        ( ( member @ A @ Y4 @ S )
                        & ( ( F3 @ Y4 )
                          = X4 ) ) ) )
              = ( inj_on @ A @ B @ F3 @ S ) ) ) ) ) ) ).

% surjective_iff_injective_gen
thf(fact_6229_vimage__subsetI,axiom,
    ! [B: $tType,A: $tType,F3: A > B,B6: set @ B,A6: set @ A] :
      ( ( inj_on @ A @ B @ F3 @ ( top_top @ ( set @ A ) ) )
     => ( ( ord_less_eq @ ( set @ B ) @ B6 @ ( image2 @ A @ B @ F3 @ A6 ) )
       => ( ord_less_eq @ ( set @ A ) @ ( vimage @ A @ B @ F3 @ B6 ) @ A6 ) ) ) ).

% vimage_subsetI
thf(fact_6230_inj__image__Compl__subset,axiom,
    ! [B: $tType,A: $tType,F3: A > B,A6: set @ A] :
      ( ( inj_on @ A @ B @ F3 @ ( top_top @ ( set @ A ) ) )
     => ( ord_less_eq @ ( set @ B ) @ ( image2 @ A @ B @ F3 @ ( uminus_uminus @ ( set @ A ) @ A6 ) ) @ ( uminus_uminus @ ( set @ B ) @ ( image2 @ A @ B @ F3 @ A6 ) ) ) ) ).

% inj_image_Compl_subset
thf(fact_6231_inj__on__nth,axiom,
    ! [A: $tType,Xs: list @ A,I5: set @ nat] :
      ( ( distinct @ A @ Xs )
     => ( ! [X3: nat] :
            ( ( member @ nat @ X3 @ I5 )
           => ( ord_less @ nat @ X3 @ ( size_size @ ( list @ A ) @ Xs ) ) )
       => ( inj_on @ nat @ A @ ( nth @ A @ Xs ) @ I5 ) ) ) ).

% inj_on_nth
thf(fact_6232_infinite__iff__countable__subset,axiom,
    ! [A: $tType,S: set @ A] :
      ( ( ~ ( finite_finite2 @ A @ S ) )
      = ( ? [F4: nat > A] :
            ( ( inj_on @ nat @ A @ F4 @ ( top_top @ ( set @ nat ) ) )
            & ( ord_less_eq @ ( set @ A ) @ ( image2 @ nat @ A @ F4 @ ( top_top @ ( set @ nat ) ) ) @ S ) ) ) ) ).

% infinite_iff_countable_subset
thf(fact_6233_infinite__countable__subset,axiom,
    ! [A: $tType,S: set @ A] :
      ( ~ ( finite_finite2 @ A @ S )
     => ? [F: nat > A] :
          ( ( inj_on @ nat @ A @ F @ ( top_top @ ( set @ nat ) ) )
          & ( ord_less_eq @ ( set @ A ) @ ( image2 @ nat @ A @ F @ ( top_top @ ( set @ nat ) ) ) @ S ) ) ) ).

% infinite_countable_subset
thf(fact_6234_inj__on__disjoint__Un,axiom,
    ! [B: $tType,A: $tType,F3: A > B,A6: set @ A,G3: A > B,B6: set @ A] :
      ( ( inj_on @ A @ B @ F3 @ A6 )
     => ( ( inj_on @ A @ B @ G3 @ B6 )
       => ( ( ( inf_inf @ ( set @ B ) @ ( image2 @ A @ B @ F3 @ A6 ) @ ( image2 @ A @ B @ G3 @ B6 ) )
            = ( bot_bot @ ( set @ B ) ) )
         => ( inj_on @ A @ B
            @ ^ [X4: A] : ( if @ B @ ( member @ A @ X4 @ A6 ) @ ( F3 @ X4 ) @ ( G3 @ X4 ) )
            @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) ) ) ) ) ).

% inj_on_disjoint_Un
thf(fact_6235_set__to__map__simp,axiom,
    ! [B: $tType,A: $tType,S: set @ ( product_prod @ A @ B ),K2: A,V2: B] :
      ( ( inj_on @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) @ S )
     => ( ( ( set_to_map @ A @ B @ S @ K2 )
          = ( some @ B @ V2 ) )
        = ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ K2 @ V2 ) @ S ) ) ) ).

% set_to_map_simp
thf(fact_6236_image__INT,axiom,
    ! [B: $tType,A: $tType,C: $tType,F3: A > B,C5: set @ A,A6: set @ C,B6: C > ( set @ A ),J2: C] :
      ( ( inj_on @ A @ B @ F3 @ C5 )
     => ( ! [X3: C] :
            ( ( member @ C @ X3 @ A6 )
           => ( ord_less_eq @ ( set @ A ) @ ( B6 @ X3 ) @ C5 ) )
       => ( ( member @ C @ J2 @ A6 )
         => ( ( image2 @ A @ B @ F3 @ ( complete_Inf_Inf @ ( set @ A ) @ ( image2 @ C @ ( set @ A ) @ B6 @ A6 ) ) )
            = ( complete_Inf_Inf @ ( set @ B )
              @ ( image2 @ C @ ( set @ B )
                @ ^ [X4: C] : ( image2 @ A @ B @ F3 @ ( B6 @ X4 ) )
                @ A6 ) ) ) ) ) ) ).

% image_INT
thf(fact_6237_inj__on__funpow__least,axiom,
    ! [A: $tType,N: nat,F3: A > A,S2: A] :
      ( ( ( compow @ ( A > A ) @ N @ F3 @ S2 )
        = S2 )
     => ( ! [M5: nat] :
            ( ( ord_less @ nat @ ( zero_zero @ nat ) @ M5 )
           => ( ( ord_less @ nat @ M5 @ N )
             => ( ( compow @ ( A > A ) @ M5 @ F3 @ S2 )
               != S2 ) ) )
       => ( inj_on @ nat @ A
          @ ^ [K3: nat] : ( compow @ ( A > A ) @ K3 @ F3 @ S2 )
          @ ( set_or7035219750837199246ssThan @ nat @ ( zero_zero @ nat ) @ N ) ) ) ) ).

% inj_on_funpow_least
thf(fact_6238_inj__on__iff__card__le,axiom,
    ! [A: $tType,B: $tType,A6: set @ A,B6: set @ B] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( finite_finite2 @ B @ B6 )
       => ( ( ? [F4: A > B] :
                ( ( inj_on @ A @ B @ F4 @ A6 )
                & ( ord_less_eq @ ( set @ B ) @ ( image2 @ A @ B @ F4 @ A6 ) @ B6 ) ) )
          = ( ord_less_eq @ nat @ ( finite_card @ A @ A6 ) @ ( finite_card @ B @ B6 ) ) ) ) ) ).

% inj_on_iff_card_le
thf(fact_6239_card__inj__on__le,axiom,
    ! [A: $tType,B: $tType,F3: A > B,A6: set @ A,B6: set @ B] :
      ( ( inj_on @ A @ B @ F3 @ A6 )
     => ( ( ord_less_eq @ ( set @ B ) @ ( image2 @ A @ B @ F3 @ A6 ) @ B6 )
       => ( ( finite_finite2 @ B @ B6 )
         => ( ord_less_eq @ nat @ ( finite_card @ A @ A6 ) @ ( finite_card @ B @ B6 ) ) ) ) ) ).

% card_inj_on_le
thf(fact_6240_card__le__inj,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,B6: set @ B] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( finite_finite2 @ B @ B6 )
       => ( ( ord_less_eq @ nat @ ( finite_card @ A @ A6 ) @ ( finite_card @ B @ B6 ) )
         => ? [F: A > B] :
              ( ( ord_less_eq @ ( set @ B ) @ ( image2 @ A @ B @ F @ A6 ) @ B6 )
              & ( inj_on @ A @ B @ F @ A6 ) ) ) ) ) ).

% card_le_inj
thf(fact_6241_inj__on__Un,axiom,
    ! [A: $tType,B: $tType,F3: A > B,A6: set @ A,B6: set @ A] :
      ( ( inj_on @ A @ B @ F3 @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) )
      = ( ( inj_on @ A @ B @ F3 @ A6 )
        & ( inj_on @ A @ B @ F3 @ B6 )
        & ( ( inf_inf @ ( set @ B ) @ ( image2 @ A @ B @ F3 @ ( minus_minus @ ( set @ A ) @ A6 @ B6 ) ) @ ( image2 @ A @ B @ F3 @ ( minus_minus @ ( set @ A ) @ B6 @ A6 ) ) )
          = ( bot_bot @ ( set @ B ) ) ) ) ) ).

% inj_on_Un
thf(fact_6242_ivl__disj__un__singleton_I1_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [L: A] :
          ( ( sup_sup @ ( set @ A ) @ ( insert @ A @ L @ ( bot_bot @ ( set @ A ) ) ) @ ( set_ord_greaterThan @ A @ L ) )
          = ( set_ord_atLeast @ A @ L ) ) ) ).

% ivl_disj_un_singleton(1)
thf(fact_6243_ivl__disj__un__one_I7_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [L: A,U: A] :
          ( ( ord_less_eq @ A @ L @ U )
         => ( ( sup_sup @ ( set @ A ) @ ( set_or1337092689740270186AtMost @ A @ L @ U ) @ ( set_ord_greaterThan @ A @ U ) )
            = ( set_ord_atLeast @ A @ L ) ) ) ) ).

% ivl_disj_un_one(7)
thf(fact_6244_card__vimage__inj,axiom,
    ! [A: $tType,B: $tType,F3: A > B,A6: set @ B] :
      ( ( inj_on @ A @ B @ F3 @ ( top_top @ ( set @ A ) ) )
     => ( ( ord_less_eq @ ( set @ B ) @ A6 @ ( image2 @ A @ B @ F3 @ ( top_top @ ( set @ A ) ) ) )
       => ( ( finite_card @ A @ ( vimage @ A @ B @ F3 @ A6 ) )
          = ( finite_card @ B @ A6 ) ) ) ) ).

% card_vimage_inj
thf(fact_6245_card__vimage__inj__on__le,axiom,
    ! [A: $tType,B: $tType,F3: A > B,D5: set @ A,A6: set @ B] :
      ( ( inj_on @ A @ B @ F3 @ D5 )
     => ( ( finite_finite2 @ B @ A6 )
       => ( ord_less_eq @ nat @ ( finite_card @ A @ ( inf_inf @ ( set @ A ) @ ( vimage @ A @ B @ F3 @ A6 ) @ D5 ) ) @ ( finite_card @ B @ A6 ) ) ) ) ).

% card_vimage_inj_on_le
thf(fact_6246_ivl__disj__un__one_I6_J,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [L: A,U: A] :
          ( ( ord_less @ A @ L @ U )
         => ( ( sup_sup @ ( set @ A ) @ ( set_or5935395276787703475ssThan @ A @ L @ U ) @ ( set_ord_atLeast @ A @ U ) )
            = ( set_ord_greaterThan @ A @ L ) ) ) ) ).

% ivl_disj_un_one(6)
thf(fact_6247_Ex__inj__on__UNION__Sigma,axiom,
    ! [A: $tType,B: $tType,A6: B > ( set @ A ),I5: set @ B] :
    ? [F: A > ( product_prod @ B @ A )] :
      ( ( inj_on @ A @ ( product_prod @ B @ A ) @ F @ ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ A6 @ I5 ) ) )
      & ( ord_less_eq @ ( set @ ( product_prod @ B @ A ) ) @ ( image2 @ A @ ( product_prod @ B @ A ) @ F @ ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ A6 @ I5 ) ) ) @ ( product_Sigma @ B @ A @ I5 @ A6 ) ) ) ).

% Ex_inj_on_UNION_Sigma
thf(fact_6248_UN__atLeast__UNIV,axiom,
    ( ( complete_Sup_Sup @ ( set @ nat ) @ ( image2 @ nat @ ( set @ nat ) @ ( set_ord_atLeast @ nat ) @ ( top_top @ ( set @ nat ) ) ) )
    = ( top_top @ ( set @ nat ) ) ) ).

% UN_atLeast_UNIV
thf(fact_6249_map__sorted__distinct__set__unique,axiom,
    ! [A: $tType,B: $tType] :
      ( ( linorder @ A )
     => ! [F3: B > A,Xs: list @ B,Ys3: list @ B] :
          ( ( inj_on @ B @ A @ F3 @ ( sup_sup @ ( set @ B ) @ ( set2 @ B @ Xs ) @ ( set2 @ B @ Ys3 ) ) )
         => ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( map @ B @ A @ F3 @ Xs ) )
           => ( ( distinct @ A @ ( map @ B @ A @ F3 @ Xs ) )
             => ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( map @ B @ A @ F3 @ Ys3 ) )
               => ( ( distinct @ A @ ( map @ B @ A @ F3 @ Ys3 ) )
                 => ( ( ( set2 @ B @ Xs )
                      = ( set2 @ B @ Ys3 ) )
                   => ( Xs = Ys3 ) ) ) ) ) ) ) ) ).

% map_sorted_distinct_set_unique
thf(fact_6250_sort__key__inj__key__eq,axiom,
    ! [A: $tType,B: $tType] :
      ( ( linorder @ A )
     => ! [Xs: list @ B,Ys3: list @ B,F3: B > A] :
          ( ( ( mset @ B @ Xs )
            = ( mset @ B @ Ys3 ) )
         => ( ( inj_on @ B @ A @ F3 @ ( set2 @ B @ Xs ) )
           => ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( map @ B @ A @ F3 @ Ys3 ) )
             => ( ( linorder_sort_key @ B @ A @ F3 @ Xs )
                = Ys3 ) ) ) ) ) ).

% sort_key_inj_key_eq
thf(fact_6251_sum__mult__sum__if__inj,axiom,
    ! [A: $tType,C: $tType,B: $tType] :
      ( ( semiring_0 @ B )
     => ! [F3: A > B,G3: C > B,A6: set @ A,B6: set @ C] :
          ( ( inj_on @ ( product_prod @ A @ C ) @ B
            @ ( product_case_prod @ A @ C @ B
              @ ^ [A7: A,B5: C] : ( times_times @ B @ ( F3 @ A7 ) @ ( G3 @ B5 ) ) )
            @ ( product_Sigma @ A @ C @ A6
              @ ^ [Uu2: A] : B6 ) )
         => ( ( times_times @ B @ ( groups7311177749621191930dd_sum @ A @ B @ F3 @ A6 ) @ ( groups7311177749621191930dd_sum @ C @ B @ G3 @ B6 ) )
            = ( groups7311177749621191930dd_sum @ B @ B @ ( id @ B )
              @ ( collect @ B
                @ ^ [Uu2: B] :
                  ? [A7: A,B5: C] :
                    ( ( Uu2
                      = ( times_times @ B @ ( F3 @ A7 ) @ ( G3 @ B5 ) ) )
                    & ( member @ A @ A7 @ A6 )
                    & ( member @ C @ B5 @ B6 ) ) ) ) ) ) ) ).

% sum_mult_sum_if_inj
thf(fact_6252_funpow__inj__finite,axiom,
    ! [A: $tType,P3: A > A,X: A] :
      ( ( inj_on @ A @ A @ P3 @ ( top_top @ ( set @ A ) ) )
     => ( ( finite_finite2 @ A
          @ ( collect @ A
            @ ^ [Y4: A] :
              ? [N3: nat] :
                ( Y4
                = ( compow @ ( A > A ) @ N3 @ P3 @ X ) ) ) )
       => ~ ! [N4: nat] :
              ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N4 )
             => ( ( compow @ ( A > A ) @ N4 @ P3 @ X )
               != X ) ) ) ) ).

% funpow_inj_finite
thf(fact_6253_inj__vimage__singleton,axiom,
    ! [B: $tType,A: $tType,F3: A > B,A3: B] :
      ( ( inj_on @ A @ B @ F3 @ ( top_top @ ( set @ A ) ) )
     => ( ord_less_eq @ ( set @ A ) @ ( vimage @ A @ B @ F3 @ ( insert @ B @ A3 @ ( bot_bot @ ( set @ B ) ) ) )
        @ ( insert @ A
          @ ( the @ A
            @ ^ [X4: A] :
                ( ( F3 @ X4 )
                = A3 ) )
          @ ( bot_bot @ ( set @ A ) ) ) ) ) ).

% inj_vimage_singleton
thf(fact_6254_inj__on__vimage__singleton,axiom,
    ! [B: $tType,A: $tType,F3: A > B,A6: set @ A,A3: B] :
      ( ( inj_on @ A @ B @ F3 @ A6 )
     => ( ord_less_eq @ ( set @ A ) @ ( inf_inf @ ( set @ A ) @ ( vimage @ A @ B @ F3 @ ( insert @ B @ A3 @ ( bot_bot @ ( set @ B ) ) ) ) @ A6 )
        @ ( insert @ A
          @ ( the @ A
            @ ^ [X4: A] :
                ( ( member @ A @ X4 @ A6 )
                & ( ( F3 @ X4 )
                  = A3 ) ) )
          @ ( bot_bot @ ( set @ A ) ) ) ) ) ).

% inj_on_vimage_singleton
thf(fact_6255_inj__on__map__inv__f,axiom,
    ! [B: $tType,A: $tType,L: list @ A,A6: set @ A,F3: A > B] :
      ( ( ord_less_eq @ ( set @ A ) @ ( set2 @ A @ L ) @ A6 )
     => ( ( inj_on @ A @ B @ F3 @ A6 )
       => ( ( map @ B @ A @ ( inv_on @ A @ B @ F3 @ A6 ) @ ( map @ A @ B @ F3 @ L ) )
          = L ) ) ) ).

% inj_on_map_inv_f
thf(fact_6256_at__top__def,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ( ( at_top @ A )
        = ( complete_Inf_Inf @ ( filter @ A )
          @ ( image2 @ A @ ( filter @ A )
            @ ^ [K3: A] : ( principal @ A @ ( set_ord_atLeast @ A @ K3 ) )
            @ ( top_top @ ( set @ A ) ) ) ) ) ) ).

% at_top_def
thf(fact_6257_inv__on__f__f,axiom,
    ! [B: $tType,A: $tType,F3: A > B,A6: set @ A,X: A] :
      ( ( inj_on @ A @ B @ F3 @ A6 )
     => ( ( member @ A @ X @ A6 )
       => ( ( inv_on @ A @ B @ F3 @ A6 @ ( F3 @ X ) )
          = X ) ) ) ).

% inv_on_f_f
thf(fact_6258_f__inv__on__f,axiom,
    ! [B: $tType,A: $tType,Y: A,F3: B > A,A6: set @ B] :
      ( ( member @ A @ Y @ ( image2 @ B @ A @ F3 @ A6 ) )
     => ( ( F3 @ ( inv_on @ B @ A @ F3 @ A6 @ Y ) )
        = Y ) ) ).

% f_inv_on_f
thf(fact_6259_inv__on__f__range,axiom,
    ! [A: $tType,B: $tType,Y: A,F3: B > A,A6: set @ B] :
      ( ( member @ A @ Y @ ( image2 @ B @ A @ F3 @ A6 ) )
     => ( member @ B @ ( inv_on @ B @ A @ F3 @ A6 @ Y ) @ A6 ) ) ).

% inv_on_f_range
thf(fact_6260_at__top__sub,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [C3: A] :
          ( ( at_top @ A )
          = ( complete_Inf_Inf @ ( filter @ A )
            @ ( image2 @ A @ ( filter @ A )
              @ ^ [K3: A] : ( principal @ A @ ( set_ord_atLeast @ A @ K3 ) )
              @ ( set_ord_atLeast @ A @ C3 ) ) ) ) ) ).

% at_top_sub
thf(fact_6261_ran__map__upd__Some,axiom,
    ! [B: $tType,A: $tType,M: B > ( option @ A ),X: B,Y: A,Z4: A] :
      ( ( ( M @ X )
        = ( some @ A @ Y ) )
     => ( ( inj_on @ B @ ( option @ A ) @ M @ ( dom @ B @ A @ M ) )
       => ( ~ ( member @ A @ Z4 @ ( ran @ B @ A @ M ) )
         => ( ( ran @ B @ A @ ( fun_upd @ B @ ( option @ A ) @ M @ X @ ( some @ A @ Z4 ) ) )
            = ( sup_sup @ ( set @ A ) @ ( minus_minus @ ( set @ A ) @ ( ran @ B @ A @ M ) @ ( insert @ A @ Y @ ( bot_bot @ ( set @ A ) ) ) ) @ ( insert @ A @ Z4 @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ) ) ).

% ran_map_upd_Some
thf(fact_6262_If__the__inv__into__f__f,axiom,
    ! [B: $tType,A: $tType,I2: A,C5: set @ A,G3: A > B,X: A] :
      ( ( member @ A @ I2 @ C5 )
     => ( ( inj_on @ A @ B @ G3 @ C5 )
       => ( ( comp @ B @ A @ A
            @ ^ [I: B] : ( if @ A @ ( member @ B @ I @ ( image2 @ A @ B @ G3 @ C5 ) ) @ ( the_inv_into @ A @ B @ C5 @ G3 @ I ) @ X )
            @ G3
            @ I2 )
          = ( id @ A @ I2 ) ) ) ) ).

% If_the_inv_into_f_f
thf(fact_6263_restrict__map__self,axiom,
    ! [B: $tType,A: $tType,M: A > ( option @ B )] :
      ( ( restrict_map @ A @ B @ M @ ( dom @ A @ B @ M ) )
      = M ) ).

% restrict_map_self
thf(fact_6264_dom__map__add,axiom,
    ! [B: $tType,A: $tType,M: A > ( option @ B ),N: A > ( option @ B )] :
      ( ( dom @ A @ B @ ( map_add @ A @ B @ M @ N ) )
      = ( sup_sup @ ( set @ A ) @ ( dom @ A @ B @ N ) @ ( dom @ A @ B @ M ) ) ) ).

% dom_map_add
thf(fact_6265_dom__empty,axiom,
    ! [B: $tType,A: $tType] :
      ( ( dom @ A @ B
        @ ^ [X4: A] : ( none @ B ) )
      = ( bot_bot @ ( set @ A ) ) ) ).

% dom_empty
thf(fact_6266_map__update__eta__repair_I1_J,axiom,
    ! [B: $tType,A: $tType,K2: A,V2: B,M: A > ( option @ B )] :
      ( ( dom @ A @ B
        @ ^ [X4: A] : ( if @ ( option @ B ) @ ( X4 = K2 ) @ ( some @ B @ V2 ) @ ( M @ X4 ) ) )
      = ( insert @ A @ K2 @ ( dom @ A @ B @ M ) ) ) ).

% map_update_eta_repair(1)
thf(fact_6267_dom__const_H,axiom,
    ! [B: $tType,A: $tType,F3: A > B] :
      ( ( dom @ A @ B
        @ ^ [X4: A] : ( some @ B @ ( F3 @ X4 ) ) )
      = ( top_top @ ( set @ A ) ) ) ).

% dom_const'
thf(fact_6268_restrict__map__inv,axiom,
    ! [B: $tType,A: $tType,F3: A > ( option @ B )] :
      ( ( restrict_map @ A @ B @ F3 @ ( uminus_uminus @ ( set @ A ) @ ( dom @ A @ B @ F3 ) ) )
      = ( ^ [X4: A] : ( none @ B ) ) ) ).

% restrict_map_inv
thf(fact_6269_map__add__upd__left,axiom,
    ! [A: $tType,B: $tType,M: A,E23: A > ( option @ B ),E12: A > ( option @ B ),U1: B] :
      ( ~ ( member @ A @ M @ ( dom @ A @ B @ E23 ) )
     => ( ( map_add @ A @ B @ ( fun_upd @ A @ ( option @ B ) @ E12 @ M @ ( some @ B @ U1 ) ) @ E23 )
        = ( fun_upd @ A @ ( option @ B ) @ ( map_add @ A @ B @ E12 @ E23 ) @ M @ ( some @ B @ U1 ) ) ) ) ).

% map_add_upd_left
thf(fact_6270_dom__map__upds,axiom,
    ! [B: $tType,A: $tType,M: A > ( option @ B ),Xs: list @ A,Ys3: list @ B] :
      ( ( dom @ A @ B @ ( map_upds @ A @ B @ M @ Xs @ Ys3 ) )
      = ( sup_sup @ ( set @ A ) @ ( set2 @ A @ ( take @ A @ ( size_size @ ( list @ B ) @ Ys3 ) @ Xs ) ) @ ( dom @ A @ B @ M ) ) ) ).

% dom_map_upds
thf(fact_6271_ran__map__add,axiom,
    ! [B: $tType,A: $tType,M14: A > ( option @ B ),M24: A > ( option @ B )] :
      ( ( ( inf_inf @ ( set @ A ) @ ( dom @ A @ B @ M14 ) @ ( dom @ A @ B @ M24 ) )
        = ( bot_bot @ ( set @ A ) ) )
     => ( ( ran @ A @ B @ ( map_add @ A @ B @ M14 @ M24 ) )
        = ( sup_sup @ ( set @ B ) @ ( ran @ A @ B @ M14 ) @ ( ran @ A @ B @ M24 ) ) ) ) ).

% ran_map_add
thf(fact_6272_ran__add,axiom,
    ! [B: $tType,A: $tType,F3: A > ( option @ B ),G3: A > ( option @ B )] :
      ( ( ( inf_inf @ ( set @ A ) @ ( dom @ A @ B @ F3 ) @ ( dom @ A @ B @ G3 ) )
        = ( bot_bot @ ( set @ A ) ) )
     => ( ( ran @ A @ B @ ( map_add @ A @ B @ F3 @ G3 ) )
        = ( sup_sup @ ( set @ B ) @ ( ran @ A @ B @ F3 ) @ ( ran @ A @ B @ G3 ) ) ) ) ).

% ran_add
thf(fact_6273_insert__dom,axiom,
    ! [A: $tType,B: $tType,F3: B > ( option @ A ),X: B,Y: A] :
      ( ( ( F3 @ X )
        = ( some @ A @ Y ) )
     => ( ( insert @ B @ X @ ( dom @ B @ A @ F3 ) )
        = ( dom @ B @ A @ F3 ) ) ) ).

% insert_dom
thf(fact_6274_dom__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( dom @ A @ B )
      = ( ^ [M3: A > ( option @ B )] :
            ( collect @ A
            @ ^ [A7: A] :
                ( ( M3 @ A7 )
               != ( none @ B ) ) ) ) ) ).

% dom_def
thf(fact_6275_domI,axiom,
    ! [A: $tType,B: $tType,M: B > ( option @ A ),A3: B,B2: A] :
      ( ( ( M @ A3 )
        = ( some @ A @ B2 ) )
     => ( member @ B @ A3 @ ( dom @ B @ A @ M ) ) ) ).

% domI
thf(fact_6276_domD,axiom,
    ! [A: $tType,B: $tType,A3: A,M: A > ( option @ B )] :
      ( ( member @ A @ A3 @ ( dom @ A @ B @ M ) )
     => ? [B4: B] :
          ( ( M @ A3 )
          = ( some @ B @ B4 ) ) ) ).

% domD
thf(fact_6277_nempty__dom,axiom,
    ! [B: $tType,A: $tType,E3: A > ( option @ B )] :
      ( ( E3
       != ( ^ [X4: A] : ( none @ B ) ) )
     => ~ ! [M5: A] :
            ~ ( member @ A @ M5 @ ( dom @ A @ B @ E3 ) ) ) ).

% nempty_dom
thf(fact_6278_dom__map__option,axiom,
    ! [B: $tType,C: $tType,A: $tType,F3: A > C > B,M: A > ( option @ C )] :
      ( ( dom @ A @ B
        @ ^ [K3: A] : ( map_option @ C @ B @ ( F3 @ K3 ) @ ( M @ K3 ) ) )
      = ( dom @ A @ C @ M ) ) ).

% dom_map_option
thf(fact_6279_map__dom__ran__finite,axiom,
    ! [B: $tType,A: $tType,M6: A > ( option @ B )] :
      ( ( finite_finite2 @ A @ ( dom @ A @ B @ M6 ) )
     => ( finite_finite2 @ B @ ( ran @ A @ B @ M6 ) ) ) ).

% map_dom_ran_finite
thf(fact_6280_le__map__dom__mono,axiom,
    ! [B: $tType,A: $tType] :
      ( ( preorder @ B )
     => ! [M: A > ( option @ B ),M8: A > ( option @ B )] :
          ( ( ord_less_eq @ ( A > ( option @ B ) ) @ M @ M8 )
         => ( ord_less_eq @ ( set @ A ) @ ( dom @ A @ B @ M ) @ ( dom @ A @ B @ M8 ) ) ) ) ).

% le_map_dom_mono
thf(fact_6281_dom__if,axiom,
    ! [B: $tType,A: $tType,P2: A > $o,F3: A > ( option @ B ),G3: A > ( option @ B )] :
      ( ( dom @ A @ B
        @ ^ [X4: A] : ( if @ ( option @ B ) @ ( P2 @ X4 ) @ ( F3 @ X4 ) @ ( G3 @ X4 ) ) )
      = ( sup_sup @ ( set @ A ) @ ( inf_inf @ ( set @ A ) @ ( dom @ A @ B @ F3 ) @ ( collect @ A @ P2 ) )
        @ ( inf_inf @ ( set @ A ) @ ( dom @ A @ B @ G3 )
          @ ( collect @ A
            @ ^ [X4: A] :
                ~ ( P2 @ X4 ) ) ) ) ) ).

% dom_if
thf(fact_6282_the__inv__into__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( the_inv_into @ A @ B )
      = ( ^ [A8: set @ A,F4: A > B,X4: B] :
            ( the @ A
            @ ^ [Y4: A] :
                ( ( member @ A @ Y4 @ A8 )
                & ( ( F4 @ Y4 )
                  = X4 ) ) ) ) ) ).

% the_inv_into_def
thf(fact_6283_map__add__left__comm,axiom,
    ! [B: $tType,A: $tType,A6: A > ( option @ B ),B6: A > ( option @ B ),C5: A > ( option @ B )] :
      ( ( ( inf_inf @ ( set @ A ) @ ( dom @ A @ B @ A6 ) @ ( dom @ A @ B @ B6 ) )
        = ( bot_bot @ ( set @ A ) ) )
     => ( ( map_add @ A @ B @ A6 @ ( map_add @ A @ B @ B6 @ C5 ) )
        = ( map_add @ A @ B @ B6 @ ( map_add @ A @ B @ A6 @ C5 ) ) ) ) ).

% map_add_left_comm
thf(fact_6284_restrict__map__eq_I1_J,axiom,
    ! [A: $tType,B: $tType,M: B > ( option @ A ),A6: set @ B,K2: B] :
      ( ( ( restrict_map @ B @ A @ M @ A6 @ K2 )
        = ( none @ A ) )
      = ( ~ ( member @ B @ K2 @ ( inf_inf @ ( set @ B ) @ ( dom @ B @ A @ M ) @ A6 ) ) ) ) ).

% restrict_map_eq(1)
thf(fact_6285_map__card__eq__iff,axiom,
    ! [B: $tType,A: $tType,M6: A > ( option @ B ),X: A,Y: A] :
      ( ( finite_finite2 @ A @ ( dom @ A @ B @ M6 ) )
     => ( ( ( finite_card @ A @ ( dom @ A @ B @ M6 ) )
          = ( finite_card @ B @ ( ran @ A @ B @ M6 ) ) )
       => ( ( member @ A @ X @ ( dom @ A @ B @ M6 ) )
         => ( ( ( M6 @ X )
              = ( M6 @ Y ) )
            = ( X = Y ) ) ) ) ) ).

% map_card_eq_iff
thf(fact_6286_finite__map__to__set,axiom,
    ! [B: $tType,A: $tType,M: A > ( option @ B )] :
      ( ( finite_finite2 @ ( product_prod @ A @ B ) @ ( map_to_set @ A @ B @ M ) )
      = ( finite_finite2 @ A @ ( dom @ A @ B @ M ) ) ) ).

% finite_map_to_set
thf(fact_6287_map__to__set__dom,axiom,
    ! [B: $tType,A: $tType] :
      ( ( dom @ A @ B )
      = ( ^ [M3: A > ( option @ B )] : ( image2 @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) @ ( map_to_set @ A @ B @ M3 ) ) ) ) ).

% map_to_set_dom
thf(fact_6288_set__to__map__dom,axiom,
    ! [B: $tType,A: $tType,S: set @ ( product_prod @ A @ B )] :
      ( ( dom @ A @ B @ ( set_to_map @ A @ B @ S ) )
      = ( image2 @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) @ S ) ) ).

% set_to_map_dom
thf(fact_6289_finite__set__of__finite__maps,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,B6: set @ B] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( finite_finite2 @ B @ B6 )
       => ( finite_finite2 @ ( A > ( option @ B ) )
          @ ( collect @ ( A > ( option @ B ) )
            @ ^ [M3: A > ( option @ B )] :
                ( ( ( dom @ A @ B @ M3 )
                  = A6 )
                & ( ord_less_eq @ ( set @ B ) @ ( ran @ A @ B @ M3 ) @ B6 ) ) ) ) ) ) ).

% finite_set_of_finite_maps
thf(fact_6290_card__map__to__set,axiom,
    ! [B: $tType,A: $tType,M: A > ( option @ B )] :
      ( ( finite_card @ ( product_prod @ A @ B ) @ ( map_to_set @ A @ B @ M ) )
      = ( finite_card @ A @ ( dom @ A @ B @ M ) ) ) ).

% card_map_to_set
thf(fact_6291_finite__Map__induct,axiom,
    ! [B: $tType,A: $tType,M: A > ( option @ B ),P2: ( A > ( option @ B ) ) > $o] :
      ( ( finite_finite2 @ A @ ( dom @ A @ B @ M ) )
     => ( ( P2
          @ ^ [X4: A] : ( none @ B ) )
       => ( ! [K: A,V5: B,M5: A > ( option @ B )] :
              ( ( finite_finite2 @ A @ ( dom @ A @ B @ M5 ) )
             => ( ~ ( member @ A @ K @ ( dom @ A @ B @ M5 ) )
               => ( ( P2 @ M5 )
                 => ( P2 @ ( fun_upd @ A @ ( option @ B ) @ M5 @ K @ ( some @ B @ V5 ) ) ) ) ) )
         => ( P2 @ M ) ) ) ) ).

% finite_Map_induct
thf(fact_6292_ran__is__image,axiom,
    ! [A: $tType,B: $tType] :
      ( ( ran @ B @ A )
      = ( ^ [M9: B > ( option @ A )] : ( image2 @ B @ A @ ( comp @ ( option @ A ) @ A @ B @ ( the2 @ A ) @ M9 ) @ ( dom @ B @ A @ M9 ) ) ) ) ).

% ran_is_image
thf(fact_6293_map__add__distinct__le,axiom,
    ! [B: $tType,A: $tType] :
      ( ( preorder @ B )
     => ! [M: A > ( option @ B ),M8: A > ( option @ B ),N: A > ( option @ B ),N2: A > ( option @ B )] :
          ( ( ord_less_eq @ ( A > ( option @ B ) ) @ M @ M8 )
         => ( ( ord_less_eq @ ( A > ( option @ B ) ) @ N @ N2 )
           => ( ( ( inf_inf @ ( set @ A ) @ ( dom @ A @ B @ M8 ) @ ( dom @ A @ B @ N2 ) )
                = ( bot_bot @ ( set @ A ) ) )
             => ( ord_less_eq @ ( A > ( option @ B ) ) @ ( map_add @ A @ B @ M @ N ) @ ( map_add @ A @ B @ M8 @ N2 ) ) ) ) ) ) ).

% map_add_distinct_le
thf(fact_6294_graph__eq__to__snd__dom,axiom,
    ! [B: $tType,A: $tType] :
      ( ( graph @ A @ B )
      = ( ^ [M3: A > ( option @ B )] :
            ( image2 @ A @ ( product_prod @ A @ B )
            @ ^ [X4: A] : ( product_Pair @ A @ B @ X4 @ ( the2 @ B @ ( M3 @ X4 ) ) )
            @ ( dom @ A @ B @ M3 ) ) ) ) ).

% graph_eq_to_snd_dom
thf(fact_6295_the__inv__into__into,axiom,
    ! [B: $tType,A: $tType,F3: A > B,A6: set @ A,X: B,B6: set @ A] :
      ( ( inj_on @ A @ B @ F3 @ A6 )
     => ( ( member @ B @ X @ ( image2 @ A @ B @ F3 @ A6 ) )
       => ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
         => ( member @ A @ ( the_inv_into @ A @ B @ A6 @ F3 @ X ) @ B6 ) ) ) ) ).

% the_inv_into_into
thf(fact_6296_graph__map__add,axiom,
    ! [B: $tType,A: $tType,M14: A > ( option @ B ),M24: A > ( option @ B )] :
      ( ( ( inf_inf @ ( set @ A ) @ ( dom @ A @ B @ M14 ) @ ( dom @ A @ B @ M24 ) )
        = ( bot_bot @ ( set @ A ) ) )
     => ( ( graph @ A @ B @ ( map_add @ A @ B @ M14 @ M24 ) )
        = ( sup_sup @ ( set @ ( product_prod @ A @ B ) ) @ ( graph @ A @ B @ M14 ) @ ( graph @ A @ B @ M24 ) ) ) ) ).

% graph_map_add
thf(fact_6297_dom__eq__singleton__conv,axiom,
    ! [A: $tType,B: $tType,F3: A > ( option @ B ),X: A] :
      ( ( ( dom @ A @ B @ F3 )
        = ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) )
      = ( ? [V3: B] :
            ( F3
            = ( fun_upd @ A @ ( option @ B )
              @ ^ [X4: A] : ( none @ B )
              @ X
              @ ( some @ B @ V3 ) ) ) ) ) ).

% dom_eq_singleton_conv
thf(fact_6298_map__of__map__keys,axiom,
    ! [B: $tType,A: $tType,Xs: list @ A,M: A > ( option @ B )] :
      ( ( ( set2 @ A @ Xs )
        = ( dom @ A @ B @ M ) )
     => ( ( map_of @ A @ B
          @ ( map @ A @ ( product_prod @ A @ B )
            @ ^ [K3: A] : ( product_Pair @ A @ B @ K3 @ ( the2 @ B @ ( M @ K3 ) ) )
            @ Xs ) )
        = M ) ) ).

% map_of_map_keys
thf(fact_6299_inj__on__map__the,axiom,
    ! [B: $tType,A: $tType,D5: set @ A,M: A > ( option @ B )] :
      ( ( ord_less_eq @ ( set @ A ) @ D5 @ ( dom @ A @ B @ M ) )
     => ( ( inj_on @ A @ ( option @ B ) @ M @ D5 )
       => ( inj_on @ A @ B @ ( comp @ ( option @ B ) @ B @ A @ ( the2 @ B ) @ M ) @ D5 ) ) ) ).

% inj_on_map_the
thf(fact_6300_If__the__inv__into__in__Func,axiom,
    ! [B: $tType,A: $tType,G3: A > B,C5: set @ A,B6: set @ A,X: A] :
      ( ( inj_on @ A @ B @ G3 @ C5 )
     => ( ( ord_less_eq @ ( set @ A ) @ C5 @ ( sup_sup @ ( set @ A ) @ B6 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) ) )
       => ( member @ ( B > A )
          @ ^ [I: B] : ( if @ A @ ( member @ B @ I @ ( image2 @ A @ B @ G3 @ C5 ) ) @ ( the_inv_into @ A @ B @ C5 @ G3 @ I ) @ X )
          @ ( bNF_Wellorder_Func @ B @ A @ ( top_top @ ( set @ B ) ) @ ( sup_sup @ ( set @ A ) @ B6 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ) ) ).

% If_the_inv_into_in_Func
thf(fact_6301_dom__override__on,axiom,
    ! [B: $tType,A: $tType,F3: A > ( option @ B ),G3: A > ( option @ B ),A6: set @ A] :
      ( ( dom @ A @ B @ ( override_on @ A @ ( option @ B ) @ F3 @ G3 @ A6 ) )
      = ( sup_sup @ ( set @ A )
        @ ( minus_minus @ ( set @ A ) @ ( dom @ A @ B @ F3 )
          @ ( collect @ A
            @ ^ [A7: A] : ( member @ A @ A7 @ ( minus_minus @ ( set @ A ) @ A6 @ ( dom @ A @ B @ G3 ) ) ) ) )
        @ ( collect @ A
          @ ^ [A7: A] : ( member @ A @ A7 @ ( inf_inf @ ( set @ A ) @ A6 @ ( dom @ A @ B @ G3 ) ) ) ) ) ) ).

% dom_override_on
thf(fact_6302_Func__empty,axiom,
    ! [B: $tType,A: $tType,B6: set @ B] :
      ( ( bNF_Wellorder_Func @ A @ B @ ( bot_bot @ ( set @ A ) ) @ B6 )
      = ( insert @ ( A > B )
        @ ^ [X4: A] : ( undefined @ B )
        @ ( bot_bot @ ( set @ ( A > B ) ) ) ) ) ).

% Func_empty
thf(fact_6303_Func__map__surj,axiom,
    ! [C: $tType,A: $tType,D: $tType,B: $tType,F1: B > A,A18: set @ B,B15: set @ A,F22: C > D,B23: set @ C,A25: set @ D] :
      ( ( ( image2 @ B @ A @ F1 @ A18 )
        = B15 )
     => ( ( inj_on @ C @ D @ F22 @ B23 )
       => ( ( ord_less_eq @ ( set @ D ) @ ( image2 @ C @ D @ F22 @ B23 ) @ A25 )
         => ( ( ( B23
                = ( bot_bot @ ( set @ C ) ) )
             => ( A25
                = ( bot_bot @ ( set @ D ) ) ) )
           => ( ( bNF_Wellorder_Func @ C @ A @ B23 @ B15 )
              = ( image2 @ ( D > B ) @ ( C > A ) @ ( bNF_We4925052301507509544nc_map @ C @ B @ A @ D @ B23 @ F1 @ F22 ) @ ( bNF_Wellorder_Func @ D @ B @ A25 @ A18 ) ) ) ) ) ) ) ).

% Func_map_surj
thf(fact_6304_Func__map,axiom,
    ! [A: $tType,B: $tType,D: $tType,C: $tType,G3: A > B,A25: set @ A,A18: set @ B,F1: B > C,B15: set @ C,F22: D > A,B23: set @ D] :
      ( ( member @ ( A > B ) @ G3 @ ( bNF_Wellorder_Func @ A @ B @ A25 @ A18 ) )
     => ( ( ord_less_eq @ ( set @ C ) @ ( image2 @ B @ C @ F1 @ A18 ) @ B15 )
       => ( ( ord_less_eq @ ( set @ A ) @ ( image2 @ D @ A @ F22 @ B23 ) @ A25 )
         => ( member @ ( D > C ) @ ( bNF_We4925052301507509544nc_map @ D @ B @ C @ A @ B23 @ F1 @ F22 @ G3 ) @ ( bNF_Wellorder_Func @ D @ C @ B23 @ B15 ) ) ) ) ) ).

% Func_map
thf(fact_6305_total__on__singleton,axiom,
    ! [A: $tType,X: A] : ( total_on @ A @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) @ ( insert @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ X ) @ ( bot_bot @ ( set @ ( product_prod @ A @ A ) ) ) ) ) ).

% total_on_singleton
thf(fact_6306_quotient__of__def,axiom,
    ( quotient_of
    = ( ^ [X4: rat] :
          ( the @ ( product_prod @ int @ int )
          @ ^ [Pair: product_prod @ int @ int] :
              ( ( X4
                = ( fract @ ( product_fst @ int @ int @ Pair ) @ ( product_snd @ int @ int @ Pair ) ) )
              & ( ord_less @ int @ ( zero_zero @ int ) @ ( product_snd @ int @ int @ Pair ) )
              & ( algebr8660921524188924756oprime @ int @ ( product_fst @ int @ int @ Pair ) @ ( product_snd @ int @ int @ Pair ) ) ) ) ) ) ).

% quotient_of_def
thf(fact_6307_normalize__stable,axiom,
    ! [Q6: int,P3: int] :
      ( ( ord_less @ int @ ( zero_zero @ int ) @ Q6 )
     => ( ( algebr8660921524188924756oprime @ int @ P3 @ Q6 )
       => ( ( normalize @ ( product_Pair @ int @ int @ P3 @ Q6 ) )
          = ( product_Pair @ int @ int @ P3 @ Q6 ) ) ) ) ).

% normalize_stable
thf(fact_6308_total__on__def,axiom,
    ! [A: $tType] :
      ( ( total_on @ A )
      = ( ^ [A8: set @ A,R5: set @ ( product_prod @ A @ A )] :
          ! [X4: A] :
            ( ( member @ A @ X4 @ A8 )
           => ! [Y4: A] :
                ( ( member @ A @ Y4 @ A8 )
               => ( ( X4 != Y4 )
                 => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X4 @ Y4 ) @ R5 )
                    | ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y4 @ X4 ) @ R5 ) ) ) ) ) ) ) ).

% total_on_def
thf(fact_6309_total__onI,axiom,
    ! [A: $tType,A6: set @ A,R3: set @ ( product_prod @ A @ A )] :
      ( ! [X3: A,Y3: A] :
          ( ( member @ A @ X3 @ A6 )
         => ( ( member @ A @ Y3 @ A6 )
           => ( ( X3 != Y3 )
             => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X3 @ Y3 ) @ R3 )
                | ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y3 @ X3 ) @ R3 ) ) ) ) )
     => ( total_on @ A @ A6 @ R3 ) ) ).

% total_onI
thf(fact_6310_prod__coprime__right,axiom,
    ! [A: $tType,B: $tType] :
      ( ( semiring_gcd @ A )
     => ! [A6: set @ B,A3: A,F3: B > A] :
          ( ! [I3: B] :
              ( ( member @ B @ I3 @ A6 )
             => ( algebr8660921524188924756oprime @ A @ A3 @ ( F3 @ I3 ) ) )
         => ( algebr8660921524188924756oprime @ A @ A3 @ ( groups7121269368397514597t_prod @ B @ A @ F3 @ A6 ) ) ) ) ).

% prod_coprime_right
thf(fact_6311_prod__coprime__left,axiom,
    ! [B: $tType,A: $tType] :
      ( ( semiring_gcd @ A )
     => ! [A6: set @ B,F3: B > A,A3: A] :
          ( ! [I3: B] :
              ( ( member @ B @ I3 @ A6 )
             => ( algebr8660921524188924756oprime @ A @ ( F3 @ I3 ) @ A3 ) )
         => ( algebr8660921524188924756oprime @ A @ ( groups7121269368397514597t_prod @ B @ A @ F3 @ A6 ) @ A3 ) ) ) ).

% prod_coprime_left
thf(fact_6312_total__on__lex__prod,axiom,
    ! [A: $tType,B: $tType,A6: set @ A,R3: set @ ( product_prod @ A @ A ),B6: set @ B,S2: set @ ( product_prod @ B @ B )] :
      ( ( total_on @ A @ A6 @ R3 )
     => ( ( total_on @ B @ B6 @ S2 )
       => ( total_on @ ( product_prod @ A @ B )
          @ ( product_Sigma @ A @ B @ A6
            @ ^ [Uu2: A] : B6 )
          @ ( lex_prod @ A @ B @ R3 @ S2 ) ) ) ) ).

% total_on_lex_prod
thf(fact_6313_coprime__add__one__left,axiom,
    ! [A: $tType] :
      ( ( semiring_gcd @ A )
     => ! [A3: A] : ( algebr8660921524188924756oprime @ A @ ( plus_plus @ A @ A3 @ ( one_one @ A ) ) @ A3 ) ) ).

% coprime_add_one_left
thf(fact_6314_coprime__add__one__right,axiom,
    ! [A: $tType] :
      ( ( semiring_gcd @ A )
     => ! [A3: A] : ( algebr8660921524188924756oprime @ A @ A3 @ ( plus_plus @ A @ A3 @ ( one_one @ A ) ) ) ) ).

% coprime_add_one_right
thf(fact_6315_Rat__cases,axiom,
    ! [Q6: rat] :
      ~ ! [A5: int,B4: int] :
          ( ( Q6
            = ( fract @ A5 @ B4 ) )
         => ( ( ord_less @ int @ ( zero_zero @ int ) @ B4 )
           => ~ ( algebr8660921524188924756oprime @ int @ A5 @ B4 ) ) ) ).

% Rat_cases
thf(fact_6316_Rat__induct,axiom,
    ! [P2: rat > $o,Q6: rat] :
      ( ! [A5: int,B4: int] :
          ( ( ord_less @ int @ ( zero_zero @ int ) @ B4 )
         => ( ( algebr8660921524188924756oprime @ int @ A5 @ B4 )
           => ( P2 @ ( fract @ A5 @ B4 ) ) ) )
     => ( P2 @ Q6 ) ) ).

% Rat_induct
thf(fact_6317_Rat__cases__nonzero,axiom,
    ! [Q6: rat] :
      ( ! [A5: int,B4: int] :
          ( ( Q6
            = ( fract @ A5 @ B4 ) )
         => ( ( ord_less @ int @ ( zero_zero @ int ) @ B4 )
           => ( ( A5
               != ( zero_zero @ int ) )
             => ~ ( algebr8660921524188924756oprime @ int @ A5 @ B4 ) ) ) )
     => ( Q6
        = ( zero_zero @ rat ) ) ) ).

% Rat_cases_nonzero
thf(fact_6318_quotient__of__unique,axiom,
    ! [R3: rat] :
    ? [X3: product_prod @ int @ int] :
      ( ( R3
        = ( fract @ ( product_fst @ int @ int @ X3 ) @ ( product_snd @ int @ int @ X3 ) ) )
      & ( ord_less @ int @ ( zero_zero @ int ) @ ( product_snd @ int @ int @ X3 ) )
      & ( algebr8660921524188924756oprime @ int @ ( product_fst @ int @ int @ X3 ) @ ( product_snd @ int @ int @ X3 ) )
      & ! [Y5: product_prod @ int @ int] :
          ( ( ( R3
              = ( fract @ ( product_fst @ int @ int @ Y5 ) @ ( product_snd @ int @ int @ Y5 ) ) )
            & ( ord_less @ int @ ( zero_zero @ int ) @ ( product_snd @ int @ int @ Y5 ) )
            & ( algebr8660921524188924756oprime @ int @ ( product_fst @ int @ int @ Y5 ) @ ( product_snd @ int @ int @ Y5 ) ) )
         => ( Y5 = X3 ) ) ) ).

% quotient_of_unique
thf(fact_6319_Rats__cases_H,axiom,
    ! [A: $tType] :
      ( ( field_char_0 @ A )
     => ! [X: A] :
          ( ( member @ A @ X @ ( field_char_0_Rats @ A ) )
         => ~ ! [A5: int,B4: int] :
                ( ( ord_less @ int @ ( zero_zero @ int ) @ B4 )
               => ( ( algebr8660921524188924756oprime @ int @ A5 @ B4 )
                 => ( X
                   != ( divide_divide @ A @ ( ring_1_of_int @ A @ A5 ) @ ( ring_1_of_int @ A @ B4 ) ) ) ) ) ) ) ).

% Rats_cases'
thf(fact_6320_card__quotient__disjoint,axiom,
    ! [A: $tType,A6: set @ A,R3: set @ ( product_prod @ A @ A )] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( inj_on @ A @ ( set @ ( set @ A ) )
          @ ^ [X4: A] : ( equiv_quotient @ A @ ( insert @ A @ X4 @ ( bot_bot @ ( set @ A ) ) ) @ R3 )
          @ A6 )
       => ( ( finite_card @ ( set @ A ) @ ( equiv_quotient @ A @ A6 @ R3 ) )
          = ( finite_card @ A @ A6 ) ) ) ) ).

% card_quotient_disjoint
thf(fact_6321_Rats__add,axiom,
    ! [A: $tType] :
      ( ( field_char_0 @ A )
     => ! [A3: A,B2: A] :
          ( ( member @ A @ A3 @ ( field_char_0_Rats @ A ) )
         => ( ( member @ A @ B2 @ ( field_char_0_Rats @ A ) )
           => ( member @ A @ ( plus_plus @ A @ A3 @ B2 ) @ ( field_char_0_Rats @ A ) ) ) ) ) ).

% Rats_add
thf(fact_6322_Ints__subset__Rats,axiom,
    ! [A: $tType] :
      ( ( field_char_0 @ A )
     => ( ord_less_eq @ ( set @ A ) @ ( ring_1_Ints @ A ) @ ( field_char_0_Rats @ A ) ) ) ).

% Ints_subset_Rats
thf(fact_6323_quotient__diff1,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ A,A3: A] :
      ( ( inj_on @ A @ ( set @ ( set @ A ) )
        @ ^ [A7: A] : ( equiv_quotient @ A @ ( insert @ A @ A7 @ ( bot_bot @ ( set @ A ) ) ) @ R3 )
        @ A6 )
     => ( ( member @ A @ A3 @ A6 )
       => ( ( equiv_quotient @ A @ ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ A3 @ ( bot_bot @ ( set @ A ) ) ) ) @ R3 )
          = ( minus_minus @ ( set @ ( set @ A ) ) @ ( equiv_quotient @ A @ A6 @ R3 ) @ ( equiv_quotient @ A @ ( insert @ A @ A3 @ ( bot_bot @ ( set @ A ) ) ) @ R3 ) ) ) ) ) ).

% quotient_diff1
thf(fact_6324_coprime__diff__one__right__nat,axiom,
    ! [N: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
     => ( algebr8660921524188924756oprime @ nat @ N @ ( minus_minus @ nat @ N @ ( one_one @ nat ) ) ) ) ).

% coprime_diff_one_right_nat
thf(fact_6325_coprime__diff__one__left__nat,axiom,
    ! [N: nat] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
     => ( algebr8660921524188924756oprime @ nat @ ( minus_minus @ nat @ N @ ( one_one @ nat ) ) @ N ) ) ).

% coprime_diff_one_left_nat
thf(fact_6326_finite__equiv__class,axiom,
    ! [A: $tType,A6: set @ A,R3: set @ ( product_prod @ A @ A ),X7: set @ A] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ R3
          @ ( product_Sigma @ A @ A @ A6
            @ ^ [Uu2: A] : A6 ) )
       => ( ( member @ ( set @ A ) @ X7 @ ( equiv_quotient @ A @ A6 @ R3 ) )
         => ( finite_finite2 @ A @ X7 ) ) ) ) ).

% finite_equiv_class
thf(fact_6327_mult__inj__if__coprime__nat,axiom,
    ! [B: $tType,A: $tType,F3: A > nat,A6: set @ A,G3: B > nat,B6: set @ B] :
      ( ( inj_on @ A @ nat @ F3 @ A6 )
     => ( ( inj_on @ B @ nat @ G3 @ B6 )
       => ( ! [A5: A,B4: B] :
              ( ( member @ A @ A5 @ A6 )
             => ( ( member @ B @ B4 @ B6 )
               => ( algebr8660921524188924756oprime @ nat @ ( F3 @ A5 ) @ ( G3 @ B4 ) ) ) )
         => ( inj_on @ ( product_prod @ A @ B ) @ nat
            @ ( product_case_prod @ A @ B @ nat
              @ ^ [A7: A,B5: B] : ( times_times @ nat @ ( F3 @ A7 ) @ ( G3 @ B5 ) ) )
            @ ( product_Sigma @ A @ B @ A6
              @ ^ [Uu2: A] : B6 ) ) ) ) ) ).

% mult_inj_if_coprime_nat
thf(fact_6328_finite__quotient,axiom,
    ! [A: $tType,A6: set @ A,R3: set @ ( product_prod @ A @ A )] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ R3
          @ ( product_Sigma @ A @ A @ A6
            @ ^ [Uu2: A] : A6 ) )
       => ( finite_finite2 @ ( set @ A ) @ ( equiv_quotient @ A @ A6 @ R3 ) ) ) ) ).

% finite_quotient
thf(fact_6329_quotient__def,axiom,
    ! [A: $tType] :
      ( ( equiv_quotient @ A )
      = ( ^ [A8: set @ A,R5: set @ ( product_prod @ A @ A )] :
            ( complete_Sup_Sup @ ( set @ ( set @ A ) )
            @ ( image2 @ A @ ( set @ ( set @ A ) )
              @ ^ [X4: A] : ( insert @ ( set @ A ) @ ( image @ A @ A @ R5 @ ( insert @ A @ X4 @ ( bot_bot @ ( set @ A ) ) ) ) @ ( bot_bot @ ( set @ ( set @ A ) ) ) )
              @ A8 ) ) ) ) ).

% quotient_def
thf(fact_6330_eq__f__restr__ss__eq,axiom,
    ! [B: $tType,A: $tType,S2: set @ A,F3: ( A > ( option @ B ) ) > A > ( option @ B ),A6: A > ( option @ B )] :
      ( ( ord_less_eq @ ( set @ A ) @ S2 @ ( dom @ A @ B @ ( F3 @ A6 ) ) )
     => ( ( A6
          = ( restrict_map @ A @ B @ ( F3 @ A6 ) @ ( uminus_uminus @ ( set @ A ) @ S2 ) ) )
        = ( ( map_le @ A @ B @ A6 @ ( F3 @ A6 ) )
          & ( S2
            = ( minus_minus @ ( set @ A ) @ ( dom @ A @ B @ ( F3 @ A6 ) ) @ ( dom @ A @ B @ A6 ) ) ) ) ) ) ).

% eq_f_restr_ss_eq
thf(fact_6331_ImageI,axiom,
    ! [B: $tType,A: $tType,A3: A,B2: B,R3: set @ ( product_prod @ A @ B ),A6: set @ A] :
      ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ A3 @ B2 ) @ R3 )
     => ( ( member @ A @ A3 @ A6 )
       => ( member @ B @ B2 @ ( image @ A @ B @ R3 @ A6 ) ) ) ) ).

% ImageI
thf(fact_6332_Image__singleton__iff,axiom,
    ! [A: $tType,B: $tType,B2: A,R3: set @ ( product_prod @ B @ A ),A3: B] :
      ( ( member @ A @ B2 @ ( image @ B @ A @ R3 @ ( insert @ B @ A3 @ ( bot_bot @ ( set @ B ) ) ) ) )
      = ( member @ ( product_prod @ B @ A ) @ ( product_Pair @ B @ A @ A3 @ B2 ) @ R3 ) ) ).

% Image_singleton_iff
thf(fact_6333_pair__vimage__is__Image,axiom,
    ! [A: $tType,B: $tType,U: B,E6: set @ ( product_prod @ B @ A )] :
      ( ( vimage @ A @ ( product_prod @ B @ A ) @ ( product_Pair @ B @ A @ U ) @ E6 )
      = ( image @ B @ A @ E6 @ ( insert @ B @ U @ ( bot_bot @ ( set @ B ) ) ) ) ) ).

% pair_vimage_is_Image
thf(fact_6334_Image__UN,axiom,
    ! [A: $tType,B: $tType,C: $tType,R3: set @ ( product_prod @ B @ A ),B6: C > ( set @ B ),A6: set @ C] :
      ( ( image @ B @ A @ R3 @ ( complete_Sup_Sup @ ( set @ B ) @ ( image2 @ C @ ( set @ B ) @ B6 @ A6 ) ) )
      = ( complete_Sup_Sup @ ( set @ A )
        @ ( image2 @ C @ ( set @ A )
          @ ^ [X4: C] : ( image @ B @ A @ R3 @ ( B6 @ X4 ) )
          @ A6 ) ) ) ).

% Image_UN
thf(fact_6335_rtrancl__image__advance__rtrancl,axiom,
    ! [A: $tType,Q6: A,R4: set @ ( product_prod @ A @ A ),Q0: set @ A,X: A] :
      ( ( member @ A @ Q6 @ ( image @ A @ A @ ( transitive_rtrancl @ A @ R4 ) @ Q0 ) )
     => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Q6 @ X ) @ ( transitive_rtrancl @ A @ R4 ) )
       => ( member @ A @ X @ ( image @ A @ A @ ( transitive_rtrancl @ A @ R4 ) @ Q0 ) ) ) ) ).

% rtrancl_image_advance_rtrancl
thf(fact_6336_rtrancl__image__advance,axiom,
    ! [A: $tType,Q6: A,R4: set @ ( product_prod @ A @ A ),Q0: set @ A,X: A] :
      ( ( member @ A @ Q6 @ ( image @ A @ A @ ( transitive_rtrancl @ A @ R4 ) @ Q0 ) )
     => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Q6 @ X ) @ R4 )
       => ( member @ A @ X @ ( image @ A @ A @ ( transitive_rtrancl @ A @ R4 ) @ Q0 ) ) ) ) ).

% rtrancl_image_advance
thf(fact_6337_ImageE,axiom,
    ! [A: $tType,B: $tType,B2: A,R3: set @ ( product_prod @ B @ A ),A6: set @ B] :
      ( ( member @ A @ B2 @ ( image @ B @ A @ R3 @ A6 ) )
     => ~ ! [X3: B] :
            ( ( member @ ( product_prod @ B @ A ) @ ( product_Pair @ B @ A @ X3 @ B2 ) @ R3 )
           => ~ ( member @ B @ X3 @ A6 ) ) ) ).

% ImageE
thf(fact_6338_Image__iff,axiom,
    ! [A: $tType,B: $tType,B2: A,R3: set @ ( product_prod @ B @ A ),A6: set @ B] :
      ( ( member @ A @ B2 @ ( image @ B @ A @ R3 @ A6 ) )
      = ( ? [X4: B] :
            ( ( member @ B @ X4 @ A6 )
            & ( member @ ( product_prod @ B @ A ) @ ( product_Pair @ B @ A @ X4 @ B2 ) @ R3 ) ) ) ) ).

% Image_iff
thf(fact_6339_rev__ImageI,axiom,
    ! [B: $tType,A: $tType,A3: A,A6: set @ A,B2: B,R3: set @ ( product_prod @ A @ B )] :
      ( ( member @ A @ A3 @ A6 )
     => ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ A3 @ B2 ) @ R3 )
       => ( member @ B @ B2 @ ( image @ A @ B @ R3 @ A6 ) ) ) ) ).

% rev_ImageI
thf(fact_6340_Image__Un,axiom,
    ! [A: $tType,B: $tType,R4: set @ ( product_prod @ B @ A ),A6: set @ B,B6: set @ B] :
      ( ( image @ B @ A @ R4 @ ( sup_sup @ ( set @ B ) @ A6 @ B6 ) )
      = ( sup_sup @ ( set @ A ) @ ( image @ B @ A @ R4 @ A6 ) @ ( image @ B @ A @ R4 @ B6 ) ) ) ).

% Image_Un
thf(fact_6341_Un__Image,axiom,
    ! [A: $tType,B: $tType,R4: set @ ( product_prod @ B @ A ),S: set @ ( product_prod @ B @ A ),A6: set @ B] :
      ( ( image @ B @ A @ ( sup_sup @ ( set @ ( product_prod @ B @ A ) ) @ R4 @ S ) @ A6 )
      = ( sup_sup @ ( set @ A ) @ ( image @ B @ A @ R4 @ A6 ) @ ( image @ B @ A @ S @ A6 ) ) ) ).

% Un_Image
thf(fact_6342_Image__Int__subset,axiom,
    ! [A: $tType,B: $tType,R4: set @ ( product_prod @ B @ A ),A6: set @ B,B6: set @ B] : ( ord_less_eq @ ( set @ A ) @ ( image @ B @ A @ R4 @ ( inf_inf @ ( set @ B ) @ A6 @ B6 ) ) @ ( inf_inf @ ( set @ A ) @ ( image @ B @ A @ R4 @ A6 ) @ ( image @ B @ A @ R4 @ B6 ) ) ) ).

% Image_Int_subset
thf(fact_6343_Image__closed__trancl,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),X7: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ ( image @ A @ A @ R3 @ X7 ) @ X7 )
     => ( ( image @ A @ A @ ( transitive_rtrancl @ A @ R3 ) @ X7 )
        = X7 ) ) ).

% Image_closed_trancl
thf(fact_6344_rtrancl__reachable__induct,axiom,
    ! [A: $tType,I5: set @ A,INV: set @ A,E6: set @ ( product_prod @ A @ A )] :
      ( ( ord_less_eq @ ( set @ A ) @ I5 @ INV )
     => ( ( ord_less_eq @ ( set @ A ) @ ( image @ A @ A @ E6 @ INV ) @ INV )
       => ( ord_less_eq @ ( set @ A ) @ ( image @ A @ A @ ( transitive_rtrancl @ A @ E6 ) @ I5 ) @ INV ) ) ) ).

% rtrancl_reachable_induct
thf(fact_6345_rtrancl__image__unfold__right,axiom,
    ! [A: $tType,E6: set @ ( product_prod @ A @ A ),V: set @ A] : ( ord_less_eq @ ( set @ A ) @ ( image @ A @ A @ E6 @ ( image @ A @ A @ ( transitive_rtrancl @ A @ E6 ) @ V ) ) @ ( image @ A @ A @ ( transitive_rtrancl @ A @ E6 ) @ V ) ) ).

% rtrancl_image_unfold_right
thf(fact_6346_Image__mono,axiom,
    ! [B: $tType,A: $tType,R7: set @ ( product_prod @ A @ B ),R3: set @ ( product_prod @ A @ B ),A16: set @ A,A6: set @ A] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ B ) ) @ R7 @ R3 )
     => ( ( ord_less_eq @ ( set @ A ) @ A16 @ A6 )
       => ( ord_less_eq @ ( set @ B ) @ ( image @ A @ B @ R7 @ A16 ) @ ( image @ A @ B @ R3 @ A6 ) ) ) ) ).

% Image_mono
thf(fact_6347_map__leI,axiom,
    ! [B: $tType,A: $tType,M14: A > ( option @ B ),M24: A > ( option @ B )] :
      ( ! [X3: A,V5: B] :
          ( ( ( M14 @ X3 )
            = ( some @ B @ V5 ) )
         => ( ( M24 @ X3 )
            = ( some @ B @ V5 ) ) )
     => ( map_le @ A @ B @ M14 @ M24 ) ) ).

% map_leI
thf(fact_6348_map__leD,axiom,
    ! [A: $tType,B: $tType,M14: A > ( option @ B ),M24: A > ( option @ B ),K2: A,V2: B] :
      ( ( map_le @ A @ B @ M14 @ M24 )
     => ( ( ( M14 @ K2 )
          = ( some @ B @ V2 ) )
       => ( ( M24 @ K2 )
          = ( some @ B @ V2 ) ) ) ) ).

% map_leD
thf(fact_6349_map__le__empty,axiom,
    ! [B: $tType,A: $tType,G3: A > ( option @ B )] :
      ( map_le @ A @ B
      @ ^ [X4: A] : ( none @ B )
      @ G3 ) ).

% map_le_empty
thf(fact_6350_trancl__Image__unfold__left,axiom,
    ! [A: $tType,E6: set @ ( product_prod @ A @ A ),S: set @ A] :
      ( ( image @ A @ A @ ( transitive_trancl @ A @ E6 ) @ S )
      = ( image @ A @ A @ ( transitive_rtrancl @ A @ E6 ) @ ( image @ A @ A @ E6 @ S ) ) ) ).

% trancl_Image_unfold_left
thf(fact_6351_trancl__Image__unfold__right,axiom,
    ! [A: $tType,E6: set @ ( product_prod @ A @ A ),S: set @ A] :
      ( ( image @ A @ A @ ( transitive_trancl @ A @ E6 ) @ S )
      = ( image @ A @ A @ E6 @ ( image @ A @ A @ ( transitive_rtrancl @ A @ E6 ) @ S ) ) ) ).

% trancl_Image_unfold_right
thf(fact_6352_finite__Image__subset,axiom,
    ! [A: $tType,B: $tType,A6: set @ ( product_prod @ B @ A ),B6: set @ B,C5: set @ ( product_prod @ B @ A )] :
      ( ( finite_finite2 @ A @ ( image @ B @ A @ A6 @ B6 ) )
     => ( ( ord_less_eq @ ( set @ ( product_prod @ B @ A ) ) @ C5 @ A6 )
       => ( finite_finite2 @ A @ ( image @ B @ A @ C5 @ B6 ) ) ) ) ).

% finite_Image_subset
thf(fact_6353_map__le__implies__dom__le,axiom,
    ! [B: $tType,A: $tType,F3: A > ( option @ B ),G3: A > ( option @ B )] :
      ( ( map_le @ A @ B @ F3 @ G3 )
     => ( ord_less_eq @ ( set @ A ) @ ( dom @ A @ B @ F3 ) @ ( dom @ A @ B @ G3 ) ) ) ).

% map_le_implies_dom_le
thf(fact_6354_Image__empty__rtrancl__Image__id,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A ),V2: A] :
      ( ( ( image @ A @ A @ R4 @ ( insert @ A @ V2 @ ( bot_bot @ ( set @ A ) ) ) )
        = ( bot_bot @ ( set @ A ) ) )
     => ( ( image @ A @ A @ ( transitive_rtrancl @ A @ R4 ) @ ( insert @ A @ V2 @ ( bot_bot @ ( set @ A ) ) ) )
        = ( insert @ A @ V2 @ ( bot_bot @ ( set @ A ) ) ) ) ) ).

% Image_empty_rtrancl_Image_id
thf(fact_6355_Image__empty__trancl__Image__empty,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A ),V2: A] :
      ( ( ( image @ A @ A @ R4 @ ( insert @ A @ V2 @ ( bot_bot @ ( set @ A ) ) ) )
        = ( bot_bot @ ( set @ A ) ) )
     => ( ( image @ A @ A @ ( transitive_trancl @ A @ R4 ) @ ( insert @ A @ V2 @ ( bot_bot @ ( set @ A ) ) ) )
        = ( bot_bot @ ( set @ A ) ) ) ) ).

% Image_empty_trancl_Image_empty
thf(fact_6356_reachable__mono,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A ),R9: set @ ( product_prod @ A @ A ),X7: set @ A,X16: set @ A] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ R4 @ R9 )
     => ( ( ord_less_eq @ ( set @ A ) @ X7 @ X16 )
       => ( ord_less_eq @ ( set @ A ) @ ( image @ A @ A @ ( transitive_rtrancl @ A @ R4 ) @ X7 ) @ ( image @ A @ A @ ( transitive_rtrancl @ A @ R9 ) @ X16 ) ) ) ) ).

% reachable_mono
thf(fact_6357_Image__subset__snd__image,axiom,
    ! [A: $tType,B: $tType,A6: set @ ( product_prod @ B @ A ),B6: set @ B] : ( ord_less_eq @ ( set @ A ) @ ( image @ B @ A @ A6 @ B6 ) @ ( image2 @ ( product_prod @ B @ A ) @ A @ ( product_snd @ B @ A ) @ A6 ) ) ).

% Image_subset_snd_image
thf(fact_6358_trancl__image__by__rtrancl,axiom,
    ! [A: $tType,E6: set @ ( product_prod @ A @ A ),Vi: set @ A] :
      ( ( sup_sup @ ( set @ A ) @ ( image @ A @ A @ ( transitive_trancl @ A @ E6 ) @ Vi ) @ Vi )
      = ( image @ A @ A @ ( transitive_rtrancl @ A @ E6 ) @ Vi ) ) ).

% trancl_image_by_rtrancl
thf(fact_6359_Image__singleton,axiom,
    ! [B: $tType,A: $tType,R3: set @ ( product_prod @ B @ A ),A3: B] :
      ( ( image @ B @ A @ R3 @ ( insert @ B @ A3 @ ( bot_bot @ ( set @ B ) ) ) )
      = ( collect @ A
        @ ^ [B5: A] : ( member @ ( product_prod @ B @ A ) @ ( product_Pair @ B @ A @ A3 @ B5 ) @ R3 ) ) ) ).

% Image_singleton
thf(fact_6360_Image__subset,axiom,
    ! [A: $tType,B: $tType,R3: set @ ( product_prod @ A @ B ),A6: set @ A,B6: set @ B,C5: set @ A] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ B ) ) @ R3
        @ ( product_Sigma @ A @ B @ A6
          @ ^ [Uu2: A] : B6 ) )
     => ( ord_less_eq @ ( set @ B ) @ ( image @ A @ B @ R3 @ C5 ) @ B6 ) ) ).

% Image_subset
thf(fact_6361_Image__INT__subset,axiom,
    ! [A: $tType,B: $tType,C: $tType,R3: set @ ( product_prod @ B @ A ),B6: C > ( set @ B ),A6: set @ C] :
      ( ord_less_eq @ ( set @ A ) @ ( image @ B @ A @ R3 @ ( complete_Inf_Inf @ ( set @ B ) @ ( image2 @ C @ ( set @ B ) @ B6 @ A6 ) ) )
      @ ( complete_Inf_Inf @ ( set @ A )
        @ ( image2 @ C @ ( set @ A )
          @ ^ [X4: C] : ( image @ B @ A @ R3 @ ( B6 @ X4 ) )
          @ A6 ) ) ) ).

% Image_INT_subset
thf(fact_6362_rtrancl__apply__insert,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A ),X: A,S: set @ A] :
      ( ( image @ A @ A @ ( transitive_rtrancl @ A @ R4 ) @ ( insert @ A @ X @ S ) )
      = ( insert @ A @ X @ ( image @ A @ A @ ( transitive_rtrancl @ A @ R4 ) @ ( sup_sup @ ( set @ A ) @ S @ ( image @ A @ A @ R4 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ) ) ).

% rtrancl_apply_insert
thf(fact_6363_map__le__imp__upd__le,axiom,
    ! [A: $tType,B: $tType,M14: A > ( option @ B ),M24: A > ( option @ B ),X: A,Y: B] :
      ( ( map_le @ A @ B @ M14 @ M24 )
     => ( map_le @ A @ B @ ( fun_upd @ A @ ( option @ B ) @ M14 @ X @ ( none @ B ) ) @ ( fun_upd @ A @ ( option @ B ) @ M24 @ X @ ( some @ B @ Y ) ) ) ) ).

% map_le_imp_upd_le
thf(fact_6364_E__closed__restr__reach__cases,axiom,
    ! [A: $tType,U: A,V2: A,E6: set @ ( product_prod @ A @ A ),R4: set @ A] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ U @ V2 ) @ ( transitive_rtrancl @ A @ E6 ) )
     => ( ( ord_less_eq @ ( set @ A ) @ ( image @ A @ A @ E6 @ R4 ) @ R4 )
       => ( ~ ( member @ A @ V2 @ R4 )
         => ~ ( ~ ( member @ A @ U @ R4 )
             => ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ U @ V2 ) @ ( transitive_rtrancl @ A @ ( rel_restrict @ A @ E6 @ R4 ) ) ) ) ) ) ) ).

% E_closed_restr_reach_cases
thf(fact_6365_rel__restrict__tranclI,axiom,
    ! [A: $tType,X: A,Y: A,E6: set @ ( product_prod @ A @ A ),R4: set @ A] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ ( transitive_trancl @ A @ E6 ) )
     => ( ~ ( member @ A @ X @ R4 )
       => ( ~ ( member @ A @ Y @ R4 )
         => ( ( ord_less_eq @ ( set @ A ) @ ( image @ A @ A @ E6 @ R4 ) @ R4 )
           => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ ( transitive_trancl @ A @ ( rel_restrict @ A @ E6 @ R4 ) ) ) ) ) ) ) ).

% rel_restrict_tranclI
thf(fact_6366_Image__eq__UN,axiom,
    ! [A: $tType,B: $tType] :
      ( ( image @ B @ A )
      = ( ^ [R5: set @ ( product_prod @ B @ A ),B7: set @ B] :
            ( complete_Sup_Sup @ ( set @ A )
            @ ( image2 @ B @ ( set @ A )
              @ ^ [Y4: B] : ( image @ B @ A @ R5 @ ( insert @ B @ Y4 @ ( bot_bot @ ( set @ B ) ) ) )
              @ B7 ) ) ) ) ).

% Image_eq_UN
thf(fact_6367_Sigma__Image,axiom,
    ! [A: $tType,B: $tType,A6: set @ B,B6: B > ( set @ A ),X7: set @ B] :
      ( ( image @ B @ A @ ( product_Sigma @ B @ A @ A6 @ B6 ) @ X7 )
      = ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ B6 @ ( inf_inf @ ( set @ B ) @ X7 @ A6 ) ) ) ) ).

% Sigma_Image
thf(fact_6368_UN__Image,axiom,
    ! [A: $tType,B: $tType,C: $tType,X7: C > ( set @ ( product_prod @ B @ A ) ),I5: set @ C,S: set @ B] :
      ( ( image @ B @ A @ ( complete_Sup_Sup @ ( set @ ( product_prod @ B @ A ) ) @ ( image2 @ C @ ( set @ ( product_prod @ B @ A ) ) @ X7 @ I5 ) ) @ S )
      = ( complete_Sup_Sup @ ( set @ A )
        @ ( image2 @ C @ ( set @ A )
          @ ^ [I: C] : ( image @ B @ A @ ( X7 @ I ) @ S )
          @ I5 ) ) ) ).

% UN_Image
thf(fact_6369_finite__reachable__advance,axiom,
    ! [A: $tType,E6: set @ ( product_prod @ A @ A ),V0: A,V2: A] :
      ( ( finite_finite2 @ A @ ( image @ A @ A @ ( transitive_rtrancl @ A @ E6 ) @ ( insert @ A @ V0 @ ( bot_bot @ ( set @ A ) ) ) ) )
     => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ V0 @ V2 ) @ ( transitive_rtrancl @ A @ E6 ) )
       => ( finite_finite2 @ A @ ( image @ A @ A @ ( transitive_rtrancl @ A @ E6 ) @ ( insert @ A @ V2 @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ) ).

% finite_reachable_advance
thf(fact_6370_rtrancl__Image__advance__ss,axiom,
    ! [A: $tType,U: A,V2: A,E6: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ U @ V2 ) @ E6 )
     => ( ord_less_eq @ ( set @ A ) @ ( image @ A @ A @ ( transitive_rtrancl @ A @ E6 ) @ ( insert @ A @ V2 @ ( bot_bot @ ( set @ A ) ) ) ) @ ( image @ A @ A @ ( transitive_rtrancl @ A @ E6 ) @ ( insert @ A @ U @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ).

% rtrancl_Image_advance_ss
thf(fact_6371_trancl__Image__advance__ss,axiom,
    ! [A: $tType,U: A,V2: A,E6: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ U @ V2 ) @ E6 )
     => ( ord_less_eq @ ( set @ A ) @ ( image @ A @ A @ ( transitive_trancl @ A @ E6 ) @ ( insert @ A @ V2 @ ( bot_bot @ ( set @ A ) ) ) ) @ ( image @ A @ A @ ( transitive_trancl @ A @ E6 ) @ ( insert @ A @ U @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ).

% trancl_Image_advance_ss
thf(fact_6372_trancl__restrict__reachable,axiom,
    ! [A: $tType,U: A,V2: A,E6: set @ ( product_prod @ A @ A ),S: set @ A] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ U @ V2 ) @ ( transitive_trancl @ A @ E6 ) )
     => ( ( ord_less_eq @ ( set @ A ) @ ( image @ A @ A @ E6 @ S ) @ S )
       => ( ( member @ A @ U @ S )
         => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ U @ V2 )
            @ ( transitive_trancl @ A
              @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ E6
                @ ( product_Sigma @ A @ A @ S
                  @ ^ [Uu2: A] : S ) ) ) ) ) ) ) ).

% trancl_restrict_reachable
thf(fact_6373_Image__fold,axiom,
    ! [B: $tType,A: $tType,R4: set @ ( product_prod @ A @ B ),S: set @ A] :
      ( ( finite_finite2 @ ( product_prod @ A @ B ) @ R4 )
     => ( ( image @ A @ B @ R4 @ S )
        = ( finite_fold @ ( product_prod @ A @ B ) @ ( set @ B )
          @ ( product_case_prod @ A @ B @ ( ( set @ B ) > ( set @ B ) )
            @ ^ [X4: A,Y4: B,A8: set @ B] : ( if @ ( set @ B ) @ ( member @ A @ X4 @ S ) @ ( insert @ B @ Y4 @ A8 ) @ A8 ) )
          @ ( bot_bot @ ( set @ B ) )
          @ R4 ) ) ) ).

% Image_fold
thf(fact_6374_eq__f__restr__conv,axiom,
    ! [B: $tType,A: $tType,S2: set @ A,F3: ( A > ( option @ B ) ) > A > ( option @ B ),A6: A > ( option @ B )] :
      ( ( ( ord_less_eq @ ( set @ A ) @ S2 @ ( dom @ A @ B @ ( F3 @ A6 ) ) )
        & ( A6
          = ( restrict_map @ A @ B @ ( F3 @ A6 ) @ ( uminus_uminus @ ( set @ A ) @ S2 ) ) ) )
      = ( ( map_le @ A @ B @ A6 @ ( F3 @ A6 ) )
        & ( S2
          = ( minus_minus @ ( set @ A ) @ ( dom @ A @ B @ ( F3 @ A6 ) ) @ ( dom @ A @ B @ A6 ) ) ) ) ) ).

% eq_f_restr_conv
thf(fact_6375_le__map__mmupd__not__dom,axiom,
    ! [A: $tType,B: $tType,M: A > ( option @ B ),K5: set @ A,V2: B] : ( map_le @ A @ B @ M @ ( map_mmupd @ A @ B @ M @ ( minus_minus @ ( set @ A ) @ K5 @ ( dom @ A @ B @ M ) ) @ V2 ) ) ).

% le_map_mmupd_not_dom
thf(fact_6376_map__mmupd__update__less,axiom,
    ! [A: $tType,B: $tType,K5: set @ A,K8: set @ A,M: A > ( option @ B ),V2: B] :
      ( ( ord_less_eq @ ( set @ A ) @ K5 @ K8 )
     => ( map_le @ A @ B @ ( map_mmupd @ A @ B @ M @ ( minus_minus @ ( set @ A ) @ K5 @ ( dom @ A @ B @ M ) ) @ V2 ) @ ( map_mmupd @ A @ B @ M @ ( minus_minus @ ( set @ A ) @ K8 @ ( dom @ A @ B @ M ) ) @ V2 ) ) ) ).

% map_mmupd_update_less
thf(fact_6377_mmupd__notin__upd,axiom,
    ! [B: $tType,A: $tType,K2: A,K5: set @ A,M: A > ( option @ B ),V2: B] :
      ( ~ ( member @ A @ K2 @ K5 )
     => ( ( map_mmupd @ A @ B @ M @ K5 @ V2 @ K2 )
        = ( M @ K2 ) ) ) ).

% mmupd_notin_upd
thf(fact_6378_map__mmupd__empty,axiom,
    ! [B: $tType,A: $tType,M: A > ( option @ B ),V2: B] :
      ( ( map_mmupd @ A @ B @ M @ ( bot_bot @ ( set @ A ) ) @ V2 )
      = M ) ).

% map_mmupd_empty
thf(fact_6379_mmupd__in__upd,axiom,
    ! [A: $tType,B: $tType,K2: A,K5: set @ A,M: A > ( option @ B ),V2: B] :
      ( ( member @ A @ K2 @ K5 )
     => ( ( map_mmupd @ A @ B @ M @ K5 @ V2 @ K2 )
        = ( some @ B @ V2 ) ) ) ).

% mmupd_in_upd
thf(fact_6380_dom__mmupd,axiom,
    ! [B: $tType,A: $tType,M: A > ( option @ B ),K5: set @ A,V2: B] :
      ( ( dom @ A @ B @ ( map_mmupd @ A @ B @ M @ K5 @ V2 ) )
      = ( sup_sup @ ( set @ A ) @ ( dom @ A @ B @ M ) @ K5 ) ) ).

% dom_mmupd
thf(fact_6381_map__mmupdE,axiom,
    ! [B: $tType,A: $tType,M: B > ( option @ A ),K5: set @ B,V2: A,K2: B,X: A] :
      ( ( ( map_mmupd @ B @ A @ M @ K5 @ V2 @ K2 )
        = ( some @ A @ X ) )
     => ( ( ~ ( member @ B @ K2 @ K5 )
         => ( ( M @ K2 )
           != ( some @ A @ X ) ) )
       => ~ ( ( member @ B @ K2 @ K5 )
           => ( X != V2 ) ) ) ) ).

% map_mmupdE
thf(fact_6382_map__mmupd__def,axiom,
    ! [A: $tType,B: $tType] :
      ( ( map_mmupd @ B @ A )
      = ( ^ [M3: B > ( option @ A ),K7: set @ B,V3: A,K3: B] : ( if @ ( option @ A ) @ ( member @ B @ K3 @ K7 ) @ ( some @ A @ V3 ) @ ( M3 @ K3 ) ) ) ) ).

% map_mmupd_def
thf(fact_6383_antimono__funpow,axiom,
    ! [A: $tType] :
      ( ( ( lattice @ A )
        & ( order_top @ A ) )
     => ! [Q2: A > A] :
          ( ( order_mono @ A @ A @ Q2 )
         => ( order_antimono @ nat @ A
            @ ^ [I: nat] : ( compow @ ( A > A ) @ I @ Q2 @ ( top_top @ A ) ) ) ) ) ).

% antimono_funpow
thf(fact_6384_sum__mset__constant,axiom,
    ! [A: $tType,B: $tType] :
      ( ( semiring_1 @ B )
     => ! [Y: B,A6: multiset @ A] :
          ( ( comm_m7189776963980413722m_mset @ B
            @ ( image_mset @ A @ B
              @ ^ [X4: A] : Y
              @ A6 ) )
          = ( times_times @ B @ ( semiring_1_of_nat @ B @ ( size_size @ ( multiset @ A ) @ A6 ) ) @ Y ) ) ) ).

% sum_mset_constant
thf(fact_6385_Union__image__single__mset,axiom,
    ! [A: $tType,M: multiset @ A] :
      ( ( comm_m7189776963980413722m_mset @ ( multiset @ A )
        @ ( image_mset @ A @ ( multiset @ A )
          @ ^ [X4: A] : ( add_mset @ A @ X4 @ ( zero_zero @ ( multiset @ A ) ) )
          @ M ) )
      = M ) ).

% Union_image_single_mset
thf(fact_6386_sum__mset_Oadd__mset,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [X: A,N7: multiset @ A] :
          ( ( comm_m7189776963980413722m_mset @ A @ ( add_mset @ A @ X @ N7 ) )
          = ( plus_plus @ A @ X @ ( comm_m7189776963980413722m_mset @ A @ N7 ) ) ) ) ).

% sum_mset.add_mset
thf(fact_6387_sum__mset_Ounion,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [M6: multiset @ A,N7: multiset @ A] :
          ( ( comm_m7189776963980413722m_mset @ A @ ( plus_plus @ ( multiset @ A ) @ M6 @ N7 ) )
          = ( plus_plus @ A @ ( comm_m7189776963980413722m_mset @ A @ M6 ) @ ( comm_m7189776963980413722m_mset @ A @ N7 ) ) ) ) ).

% sum_mset.union
thf(fact_6388_sum__mset_Oneutral__const,axiom,
    ! [B: $tType,A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [A6: multiset @ B] :
          ( ( comm_m7189776963980413722m_mset @ A
            @ ( image_mset @ B @ A
              @ ^ [Uu2: B] : ( zero_zero @ A )
              @ A6 ) )
          = ( zero_zero @ A ) ) ) ).

% sum_mset.neutral_const
thf(fact_6389_sum__mset_Oinsert,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [G3: B > A,X: B,A6: multiset @ B] :
          ( ( comm_m7189776963980413722m_mset @ A @ ( image_mset @ B @ A @ G3 @ ( add_mset @ B @ X @ A6 ) ) )
          = ( plus_plus @ A @ ( G3 @ X ) @ ( comm_m7189776963980413722m_mset @ A @ ( image_mset @ B @ A @ G3 @ A6 ) ) ) ) ) ).

% sum_mset.insert
thf(fact_6390_antimono__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ( order @ A )
        & ( order @ B ) )
     => ( ( order_antimono @ A @ B )
        = ( ^ [F4: A > B] :
            ! [X4: A,Y4: A] :
              ( ( ord_less_eq @ A @ X4 @ Y4 )
             => ( ord_less_eq @ B @ ( F4 @ Y4 ) @ ( F4 @ X4 ) ) ) ) ) ) ).

% antimono_def
thf(fact_6391_antimonoI,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ( order @ A )
        & ( order @ B ) )
     => ! [F3: A > B] :
          ( ! [X3: A,Y3: A] :
              ( ( ord_less_eq @ A @ X3 @ Y3 )
             => ( ord_less_eq @ B @ ( F3 @ Y3 ) @ ( F3 @ X3 ) ) )
         => ( order_antimono @ A @ B @ F3 ) ) ) ).

% antimonoI
thf(fact_6392_antimonoE,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ( order @ A )
        & ( order @ B ) )
     => ! [F3: A > B,X: A,Y: A] :
          ( ( order_antimono @ A @ B @ F3 )
         => ( ( ord_less_eq @ A @ X @ Y )
           => ( ord_less_eq @ B @ ( F3 @ Y ) @ ( F3 @ X ) ) ) ) ) ).

% antimonoE
thf(fact_6393_antimonoD,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ( order @ A )
        & ( order @ B ) )
     => ! [F3: A > B,X: A,Y: A] :
          ( ( order_antimono @ A @ B @ F3 )
         => ( ( ord_less_eq @ A @ X @ Y )
           => ( ord_less_eq @ B @ ( F3 @ Y ) @ ( F3 @ X ) ) ) ) ) ).

% antimonoD
thf(fact_6394_sum__mset_Oswap,axiom,
    ! [A: $tType,B: $tType,C: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [G3: B > C > A,B6: multiset @ C,A6: multiset @ B] :
          ( ( comm_m7189776963980413722m_mset @ A
            @ ( image_mset @ B @ A
              @ ^ [I: B] : ( comm_m7189776963980413722m_mset @ A @ ( image_mset @ C @ A @ ( G3 @ I ) @ B6 ) )
              @ A6 ) )
          = ( comm_m7189776963980413722m_mset @ A
            @ ( image_mset @ C @ A
              @ ^ [J: C] :
                  ( comm_m7189776963980413722m_mset @ A
                  @ ( image_mset @ B @ A
                    @ ^ [I: B] : ( G3 @ I @ J )
                    @ A6 ) )
              @ B6 ) ) ) ) ).

% sum_mset.swap
thf(fact_6395_sum__mset_Odistrib,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [G3: B > A,H: B > A,A6: multiset @ B] :
          ( ( comm_m7189776963980413722m_mset @ A
            @ ( image_mset @ B @ A
              @ ^ [X4: B] : ( plus_plus @ A @ ( G3 @ X4 ) @ ( H @ X4 ) )
              @ A6 ) )
          = ( plus_plus @ A @ ( comm_m7189776963980413722m_mset @ A @ ( image_mset @ B @ A @ G3 @ A6 ) ) @ ( comm_m7189776963980413722m_mset @ A @ ( image_mset @ B @ A @ H @ A6 ) ) ) ) ) ).

% sum_mset.distrib
thf(fact_6396_sum__mset__distrib__left,axiom,
    ! [A: $tType,B: $tType] :
      ( ( semiring_0 @ A )
     => ! [C3: A,F3: B > A,M6: multiset @ B] :
          ( ( times_times @ A @ C3 @ ( comm_m7189776963980413722m_mset @ A @ ( image_mset @ B @ A @ F3 @ M6 ) ) )
          = ( comm_m7189776963980413722m_mset @ A
            @ ( image_mset @ B @ A
              @ ^ [X4: B] : ( times_times @ A @ C3 @ ( F3 @ X4 ) )
              @ M6 ) ) ) ) ).

% sum_mset_distrib_left
thf(fact_6397_sum__mset__distrib__right,axiom,
    ! [A: $tType,B: $tType] :
      ( ( semiring_0 @ A )
     => ! [F3: B > A,M6: multiset @ B,C3: A] :
          ( ( times_times @ A @ ( comm_m7189776963980413722m_mset @ A @ ( image_mset @ B @ A @ F3 @ M6 ) ) @ C3 )
          = ( comm_m7189776963980413722m_mset @ A
            @ ( image_mset @ B @ A
              @ ^ [X4: B] : ( times_times @ A @ ( F3 @ X4 ) @ C3 )
              @ M6 ) ) ) ) ).

% sum_mset_distrib_right
thf(fact_6398_sum__mset__product,axiom,
    ! [B: $tType,C: $tType,A: $tType] :
      ( ( ( comm_monoid_add @ A )
        & ( times @ A )
        & ( semiring_0 @ B ) )
     => ! [F3: A > B,A6: multiset @ A,G3: C > B,B6: multiset @ C] :
          ( ( times_times @ B @ ( comm_m7189776963980413722m_mset @ B @ ( image_mset @ A @ B @ F3 @ A6 ) ) @ ( comm_m7189776963980413722m_mset @ B @ ( image_mset @ C @ B @ G3 @ B6 ) ) )
          = ( comm_m7189776963980413722m_mset @ B
            @ ( image_mset @ A @ B
              @ ^ [I: A] :
                  ( comm_m7189776963980413722m_mset @ B
                  @ ( image_mset @ C @ B
                    @ ^ [J: C] : ( times_times @ B @ ( F3 @ I ) @ ( G3 @ J ) )
                    @ B6 ) )
              @ A6 ) ) ) ) ).

% sum_mset_product
thf(fact_6399_size__eq__sum__mset,axiom,
    ! [A: $tType] :
      ( ( size_size @ ( multiset @ A ) )
      = ( ^ [M9: multiset @ A] :
            ( comm_m7189776963980413722m_mset @ nat
            @ ( image_mset @ A @ nat
              @ ^ [A7: A] : ( one_one @ nat )
              @ M9 ) ) ) ) ).

% size_eq_sum_mset
thf(fact_6400_antimono__iff__le__Suc,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ( ( order_antimono @ nat @ A )
        = ( ^ [F4: nat > A] :
            ! [N3: nat] : ( ord_less_eq @ A @ ( F4 @ ( suc @ N3 ) ) @ ( F4 @ N3 ) ) ) ) ) ).

% antimono_iff_le_Suc
thf(fact_6401_comp__fun__commute__on_Ofold__graph__insertE__aux,axiom,
    ! [A: $tType,B: $tType,S: set @ A,F3: A > B > B,A6: set @ A,Z4: B,Y: B,A3: A] :
      ( ( finite4664212375090638736ute_on @ A @ B @ S @ F3 )
     => ( ( ord_less_eq @ ( set @ A ) @ A6 @ S )
       => ( ( finite_fold_graph @ A @ B @ F3 @ Z4 @ A6 @ Y )
         => ( ( member @ A @ A3 @ A6 )
           => ? [Y11: B] :
                ( ( Y
                  = ( F3 @ A3 @ Y11 ) )
                & ( finite_fold_graph @ A @ B @ F3 @ Z4 @ ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ A3 @ ( bot_bot @ ( set @ A ) ) ) ) @ Y11 ) ) ) ) ) ) ).

% comp_fun_commute_on.fold_graph_insertE_aux
thf(fact_6402_Field__insert,axiom,
    ! [A: $tType,A3: A,B2: A,R3: set @ ( product_prod @ A @ A )] :
      ( ( field2 @ A @ ( insert @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ R3 ) )
      = ( sup_sup @ ( set @ A ) @ ( insert @ A @ A3 @ ( insert @ A @ B2 @ ( bot_bot @ ( set @ A ) ) ) ) @ ( field2 @ A @ R3 ) ) ) ).

% Field_insert
thf(fact_6403_Field__square,axiom,
    ! [A: $tType,X: set @ A] :
      ( ( field2 @ A
        @ ( product_Sigma @ A @ A @ X
          @ ^ [Uu2: A] : X ) )
      = X ) ).

% Field_square
thf(fact_6404_finite__Field__eq__finite,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A )] :
      ( ( finite_finite2 @ A @ ( field2 @ A @ R4 ) )
      = ( finite_finite2 @ ( product_prod @ A @ A ) @ R4 ) ) ).

% finite_Field_eq_finite
thf(fact_6405_Field__Un,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),S2: set @ ( product_prod @ A @ A )] :
      ( ( field2 @ A @ ( sup_sup @ ( set @ ( product_prod @ A @ A ) ) @ R3 @ S2 ) )
      = ( sup_sup @ ( set @ A ) @ ( field2 @ A @ R3 ) @ ( field2 @ A @ S2 ) ) ) ).

% Field_Un
thf(fact_6406_mono__Field,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),S2: set @ ( product_prod @ A @ A )] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ R3 @ S2 )
     => ( ord_less_eq @ ( set @ A ) @ ( field2 @ A @ R3 ) @ ( field2 @ A @ S2 ) ) ) ).

% mono_Field
thf(fact_6407_FieldI1,axiom,
    ! [A: $tType,I2: A,J2: A,R4: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ I2 @ J2 ) @ R4 )
     => ( member @ A @ I2 @ ( field2 @ A @ R4 ) ) ) ).

% FieldI1
thf(fact_6408_FieldI2,axiom,
    ! [A: $tType,I2: A,J2: A,R4: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ I2 @ J2 ) @ R4 )
     => ( member @ A @ J2 @ ( field2 @ A @ R4 ) ) ) ).

% FieldI2
thf(fact_6409_R__subset__Field,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A )] :
      ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ R4
      @ ( product_Sigma @ A @ A @ ( field2 @ A @ R4 )
        @ ^ [Uu2: A] : ( field2 @ A @ R4 ) ) ) ).

% R_subset_Field
thf(fact_6410_Restr__Field,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] :
      ( ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
        @ ( product_Sigma @ A @ A @ ( field2 @ A @ R3 )
          @ ^ [Uu2: A] : ( field2 @ A @ R3 ) ) )
      = R3 ) ).

% Restr_Field
thf(fact_6411_comp__fun__commute__on_Ofold__graph__determ,axiom,
    ! [A: $tType,B: $tType,S: set @ A,F3: A > B > B,A6: set @ A,Z4: B,X: B,Y: B] :
      ( ( finite4664212375090638736ute_on @ A @ B @ S @ F3 )
     => ( ( ord_less_eq @ ( set @ A ) @ A6 @ S )
       => ( ( finite_fold_graph @ A @ B @ F3 @ Z4 @ A6 @ X )
         => ( ( finite_fold_graph @ A @ B @ F3 @ Z4 @ A6 @ Y )
           => ( Y = X ) ) ) ) ) ).

% comp_fun_commute_on.fold_graph_determ
thf(fact_6412_fst__in__Field,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A )] : ( ord_less_eq @ ( set @ A ) @ ( image2 @ ( product_prod @ A @ A ) @ A @ ( product_fst @ A @ A ) @ R4 ) @ ( field2 @ A @ R4 ) ) ).

% fst_in_Field
thf(fact_6413_snd__in__Field,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A )] : ( ord_less_eq @ ( set @ A ) @ ( image2 @ ( product_prod @ A @ A ) @ A @ ( product_snd @ A @ A ) @ R4 ) @ ( field2 @ A @ R4 ) ) ).

% snd_in_Field
thf(fact_6414_rel__restrict__Int__empty,axiom,
    ! [A: $tType,A6: set @ A,R4: set @ ( product_prod @ A @ A )] :
      ( ( ( inf_inf @ ( set @ A ) @ A6 @ ( field2 @ A @ R4 ) )
        = ( bot_bot @ ( set @ A ) ) )
     => ( ( rel_restrict @ A @ R4 @ A6 )
        = R4 ) ) ).

% rel_restrict_Int_empty
thf(fact_6415_Field__rel__restrict,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A ),A6: set @ A] : ( ord_less_eq @ ( set @ A ) @ ( field2 @ A @ ( rel_restrict @ A @ R4 @ A6 ) ) @ ( minus_minus @ ( set @ A ) @ ( field2 @ A @ R4 ) @ A6 ) ) ).

% Field_rel_restrict
thf(fact_6416_Field__Restr__subset,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ A] :
      ( ord_less_eq @ ( set @ A )
      @ ( field2 @ A
        @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
          @ ( product_Sigma @ A @ A @ A6
            @ ^ [Uu2: A] : A6 ) ) )
      @ A6 ) ).

% Field_Restr_subset
thf(fact_6417_trancl__subset__Field2,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] :
      ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ ( transitive_trancl @ A @ R3 )
      @ ( product_Sigma @ A @ A @ ( field2 @ A @ R3 )
        @ ^ [Uu2: A] : ( field2 @ A @ R3 ) ) ) ).

% trancl_subset_Field2
thf(fact_6418_Field__natLeq__on,axiom,
    ! [N: nat] :
      ( ( field2 @ nat
        @ ( collect @ ( product_prod @ nat @ nat )
          @ ( product_case_prod @ nat @ nat @ $o
            @ ^ [X4: nat,Y4: nat] :
                ( ( ord_less @ nat @ X4 @ N )
                & ( ord_less @ nat @ Y4 @ N )
                & ( ord_less_eq @ nat @ X4 @ Y4 ) ) ) ) )
      = ( collect @ nat
        @ ^ [X4: nat] : ( ord_less @ nat @ X4 @ N ) ) ) ).

% Field_natLeq_on
thf(fact_6419_Total__Restr,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ A] :
      ( ( total_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( total_on @ A
        @ ( field2 @ A
          @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
            @ ( product_Sigma @ A @ A @ A6
              @ ^ [Uu2: A] : A6 ) ) )
        @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
          @ ( product_Sigma @ A @ A @ A6
            @ ^ [Uu2: A] : A6 ) ) ) ) ).

% Total_Restr
thf(fact_6420_total__on__imp__Total__Restr,axiom,
    ! [A: $tType,A6: set @ A,R3: set @ ( product_prod @ A @ A )] :
      ( ( total_on @ A @ A6 @ R3 )
     => ( total_on @ A
        @ ( field2 @ A
          @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
            @ ( product_Sigma @ A @ A @ A6
              @ ^ [Uu2: A] : A6 ) ) )
        @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
          @ ( product_Sigma @ A @ A @ A6
            @ ^ [Uu2: A] : A6 ) ) ) ) ).

% total_on_imp_Total_Restr
thf(fact_6421_comp__fun__commute__on_Ofold__graph__insertE,axiom,
    ! [A: $tType,B: $tType,S: set @ A,F3: A > B > B,X: A,A6: set @ A,Z4: B,V2: B] :
      ( ( finite4664212375090638736ute_on @ A @ B @ S @ F3 )
     => ( ( ord_less_eq @ ( set @ A ) @ ( insert @ A @ X @ A6 ) @ S )
       => ( ( finite_fold_graph @ A @ B @ F3 @ Z4 @ ( insert @ A @ X @ A6 ) @ V2 )
         => ( ~ ( member @ A @ X @ A6 )
           => ~ ! [Y3: B] :
                  ( ( V2
                    = ( F3 @ X @ Y3 ) )
                 => ~ ( finite_fold_graph @ A @ B @ F3 @ Z4 @ A6 @ Y3 ) ) ) ) ) ) ).

% comp_fun_commute_on.fold_graph_insertE
thf(fact_6422_comp__fun__commute__on_Ofold__equality,axiom,
    ! [A: $tType,B: $tType,S: set @ A,F3: A > B > B,A6: set @ A,Z4: B,Y: B] :
      ( ( finite4664212375090638736ute_on @ A @ B @ S @ F3 )
     => ( ( ord_less_eq @ ( set @ A ) @ A6 @ S )
       => ( ( finite_fold_graph @ A @ B @ F3 @ Z4 @ A6 @ Y )
         => ( ( finite_fold @ A @ B @ F3 @ Z4 @ A6 )
            = Y ) ) ) ) ).

% comp_fun_commute_on.fold_equality
thf(fact_6423_rtrancl__Image__in__Field,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A ),V: set @ A] : ( ord_less_eq @ ( set @ A ) @ ( image @ A @ A @ ( transitive_rtrancl @ A @ R4 ) @ V ) @ ( sup_sup @ ( set @ A ) @ ( field2 @ A @ R4 ) @ V ) ) ).

% rtrancl_Image_in_Field
thf(fact_6424_Finite__Set_Ofold__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( finite_fold @ A @ B )
      = ( ^ [F4: A > B > B,Z2: B,A8: set @ A] : ( if @ B @ ( finite_finite2 @ A @ A8 ) @ ( the @ B @ ( finite_fold_graph @ A @ B @ F4 @ Z2 @ A8 ) ) @ Z2 ) ) ) ).

% Finite_Set.fold_def
thf(fact_6425_comp__fun__commute__on_Ofold__graph__fold,axiom,
    ! [B: $tType,A: $tType,S: set @ A,F3: A > B > B,A6: set @ A,Z4: B] :
      ( ( finite4664212375090638736ute_on @ A @ B @ S @ F3 )
     => ( ( ord_less_eq @ ( set @ A ) @ A6 @ S )
       => ( ( finite_finite2 @ A @ A6 )
         => ( finite_fold_graph @ A @ B @ F3 @ Z4 @ A6 @ ( finite_fold @ A @ B @ F3 @ Z4 @ A6 ) ) ) ) ) ).

% comp_fun_commute_on.fold_graph_fold
thf(fact_6426_Total__subset__Id,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] :
      ( ( total_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ R3 @ ( id2 @ A ) )
       => ( ( R3
            = ( bot_bot @ ( set @ ( product_prod @ A @ A ) ) ) )
          | ? [A5: A] :
              ( R3
              = ( insert @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A5 @ A5 ) @ ( bot_bot @ ( set @ ( product_prod @ A @ A ) ) ) ) ) ) ) ) ).

% Total_subset_Id
thf(fact_6427_Total__Id__Field,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] :
      ( ( total_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ~ ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ R3 @ ( id2 @ A ) )
       => ( ( field2 @ A @ R3 )
          = ( field2 @ A @ ( minus_minus @ ( set @ ( product_prod @ A @ A ) ) @ R3 @ ( id2 @ A ) ) ) ) ) ) ).

% Total_Id_Field
thf(fact_6428_subset__Image1__Image1__iff,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A3: A,B2: A] :
      ( ( order_preorder_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( member @ A @ A3 @ ( field2 @ A @ R3 ) )
       => ( ( member @ A @ B2 @ ( field2 @ A @ R3 ) )
         => ( ( ord_less_eq @ ( set @ A ) @ ( image @ A @ A @ R3 @ ( insert @ A @ A3 @ ( bot_bot @ ( set @ A ) ) ) ) @ ( image @ A @ A @ R3 @ ( insert @ A @ B2 @ ( bot_bot @ ( set @ A ) ) ) ) )
            = ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ B2 @ A3 ) @ R3 ) ) ) ) ) ).

% subset_Image1_Image1_iff
thf(fact_6429_bsqr__def,axiom,
    ! [A: $tType] :
      ( ( bNF_Wellorder_bsqr @ A )
      = ( ^ [R5: set @ ( product_prod @ A @ A )] :
            ( collect @ ( product_prod @ ( product_prod @ A @ A ) @ ( product_prod @ A @ A ) )
            @ ( product_case_prod @ ( product_prod @ A @ A ) @ ( product_prod @ A @ A ) @ $o
              @ ( product_case_prod @ A @ A @ ( ( product_prod @ A @ A ) > $o )
                @ ^ [A12: A,A23: A] :
                    ( product_case_prod @ A @ A @ $o
                    @ ^ [B16: A,B24: A] :
                        ( ( ord_less_eq @ ( set @ A ) @ ( insert @ A @ A12 @ ( insert @ A @ A23 @ ( insert @ A @ B16 @ ( insert @ A @ B24 @ ( bot_bot @ ( set @ A ) ) ) ) ) ) @ ( field2 @ A @ R5 ) )
                        & ( ( ( A12 = B16 )
                            & ( A23 = B24 ) )
                          | ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ ( bNF_We1388413361240627857o_max2 @ A @ R5 @ A12 @ A23 ) @ ( bNF_We1388413361240627857o_max2 @ A @ R5 @ B16 @ B24 ) ) @ ( minus_minus @ ( set @ ( product_prod @ A @ A ) ) @ R5 @ ( id2 @ A ) ) )
                          | ( ( ( bNF_We1388413361240627857o_max2 @ A @ R5 @ A12 @ A23 )
                              = ( bNF_We1388413361240627857o_max2 @ A @ R5 @ B16 @ B24 ) )
                            & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A12 @ B16 ) @ ( minus_minus @ ( set @ ( product_prod @ A @ A ) ) @ R5 @ ( id2 @ A ) ) ) )
                          | ( ( ( bNF_We1388413361240627857o_max2 @ A @ R5 @ A12 @ A23 )
                              = ( bNF_We1388413361240627857o_max2 @ A @ R5 @ B16 @ B24 ) )
                            & ( A12 = B16 )
                            & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A23 @ B24 ) @ ( minus_minus @ ( set @ ( product_prod @ A @ A ) ) @ R5 @ ( id2 @ A ) ) ) ) ) ) ) ) ) ) ) ) ).

% bsqr_def
thf(fact_6430_Field__bsqr,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] :
      ( ( field2 @ ( product_prod @ A @ A ) @ ( bNF_Wellorder_bsqr @ A @ R3 ) )
      = ( product_Sigma @ A @ A @ ( field2 @ A @ R3 )
        @ ^ [Uu2: A] : ( field2 @ A @ R3 ) ) ) ).

% Field_bsqr
thf(fact_6431_Preorder__Restr,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ A] :
      ( ( order_preorder_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( order_preorder_on @ A
        @ ( field2 @ A
          @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
            @ ( product_Sigma @ A @ A @ A6
              @ ^ [Uu2: A] : A6 ) ) )
        @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
          @ ( product_Sigma @ A @ A @ A6
            @ ^ [Uu2: A] : A6 ) ) ) ) ).

% Preorder_Restr
thf(fact_6432_subset__Image__Image__iff,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ A,B6: set @ A] :
      ( ( order_preorder_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( ord_less_eq @ ( set @ A ) @ A6 @ ( field2 @ A @ R3 ) )
       => ( ( ord_less_eq @ ( set @ A ) @ B6 @ ( field2 @ A @ R3 ) )
         => ( ( ord_less_eq @ ( set @ A ) @ ( image @ A @ A @ R3 @ A6 ) @ ( image @ A @ A @ R3 @ B6 ) )
            = ( ! [X4: A] :
                  ( ( member @ A @ X4 @ A6 )
                 => ? [Y4: A] :
                      ( ( member @ A @ Y4 @ B6 )
                      & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y4 @ X4 ) @ R3 ) ) ) ) ) ) ) ) ).

% subset_Image_Image_iff
thf(fact_6433_cofinal__def,axiom,
    ! [A: $tType] :
      ( ( bNF_Ca7293521722713021262ofinal @ A )
      = ( ^ [A8: set @ A,R5: set @ ( product_prod @ A @ A )] :
          ! [X4: A] :
            ( ( member @ A @ X4 @ ( field2 @ A @ R5 ) )
           => ? [Y4: A] :
                ( ( member @ A @ Y4 @ A8 )
                & ( X4 != Y4 )
                & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X4 @ Y4 ) @ R5 ) ) ) ) ) ).

% cofinal_def
thf(fact_6434_linear__order__on__singleton,axiom,
    ! [A: $tType,X: A] : ( order_679001287576687338der_on @ A @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) @ ( insert @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ X ) @ ( bot_bot @ ( set @ ( product_prod @ A @ A ) ) ) ) ) ).

% linear_order_on_singleton
thf(fact_6435_Linear__order__Restr,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ A] :
      ( ( order_679001287576687338der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( order_679001287576687338der_on @ A
        @ ( field2 @ A
          @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
            @ ( product_Sigma @ A @ A @ A6
              @ ^ [Uu2: A] : A6 ) ) )
        @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
          @ ( product_Sigma @ A @ A @ A6
            @ ^ [Uu2: A] : A6 ) ) ) ) ).

% Linear_order_Restr
thf(fact_6436_Linear__order__in__diff__Id,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A3: A,B2: A] :
      ( ( order_679001287576687338der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( member @ A @ A3 @ ( field2 @ A @ R3 ) )
       => ( ( member @ A @ B2 @ ( field2 @ A @ R3 ) )
         => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ R3 )
            = ( ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ B2 @ A3 ) @ ( minus_minus @ ( set @ ( product_prod @ A @ A ) ) @ R3 @ ( id2 @ A ) ) ) ) ) ) ) ) ).

% Linear_order_in_diff_Id
thf(fact_6437_linear__order__on__Restr,axiom,
    ! [A: $tType,A6: set @ A,R3: set @ ( product_prod @ A @ A ),X: A] :
      ( ( order_679001287576687338der_on @ A @ A6 @ R3 )
     => ( order_679001287576687338der_on @ A @ ( inf_inf @ ( set @ A ) @ A6 @ ( order_above @ A @ R3 @ X ) )
        @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
          @ ( product_Sigma @ A @ A @ ( order_above @ A @ R3 @ X )
            @ ^ [Uu2: A] : ( order_above @ A @ R3 @ X ) ) ) ) ) ).

% linear_order_on_Restr
thf(fact_6438_Linear__order__wf__diff__Id,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] :
      ( ( order_679001287576687338der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( wf @ A @ ( minus_minus @ ( set @ ( product_prod @ A @ A ) ) @ R3 @ ( id2 @ A ) ) )
        = ( ! [A8: set @ A] :
              ( ( ord_less_eq @ ( set @ A ) @ A8 @ ( field2 @ A @ R3 ) )
             => ( ( A8
                 != ( bot_bot @ ( set @ A ) ) )
               => ? [X4: A] :
                    ( ( member @ A @ X4 @ A8 )
                    & ! [Y4: A] :
                        ( ( member @ A @ Y4 @ A8 )
                       => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X4 @ Y4 ) @ R3 ) ) ) ) ) ) ) ) ).

% Linear_order_wf_diff_Id
thf(fact_6439_brk__rel__wf,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A )] :
      ( ( wf @ A @ R4 )
     => ( wf @ ( product_prod @ $o @ A ) @ ( brk_rel @ A @ A @ R4 ) ) ) ).

% brk_rel_wf
thf(fact_6440_wf__insert,axiom,
    ! [A: $tType,Y: A,X: A,R3: set @ ( product_prod @ A @ A )] :
      ( ( wf @ A @ ( insert @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y @ X ) @ R3 ) )
      = ( ( wf @ A @ R3 )
        & ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ ( transitive_rtrancl @ A @ R3 ) ) ) ) ).

% wf_insert
thf(fact_6441_wf,axiom,
    ! [A: $tType] :
      ( ( wellorder @ A )
     => ( wf @ A @ ( collect @ ( product_prod @ A @ A ) @ ( product_case_prod @ A @ A @ $o @ ( ord_less @ A ) ) ) ) ) ).

% wf
thf(fact_6442_wf__if__measure,axiom,
    ! [A: $tType,P2: A > $o,F3: A > nat,G3: A > A] :
      ( ! [X3: A] :
          ( ( P2 @ X3 )
         => ( ord_less @ nat @ ( F3 @ ( G3 @ X3 ) ) @ ( F3 @ X3 ) ) )
     => ( wf @ A
        @ ( collect @ ( product_prod @ A @ A )
          @ ( product_case_prod @ A @ A @ $o
            @ ^ [Y4: A,X4: A] :
                ( ( P2 @ X4 )
                & ( Y4
                  = ( G3 @ X4 ) ) ) ) ) ) ) ).

% wf_if_measure
thf(fact_6443_wf__subset,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),P3: set @ ( product_prod @ A @ A )] :
      ( ( wf @ A @ R3 )
     => ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ P3 @ R3 )
       => ( wf @ A @ P3 ) ) ) ).

% wf_subset
thf(fact_6444_wf__relcomp__compatible,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A ),S: set @ ( product_prod @ A @ A )] :
      ( ( wf @ A @ R4 )
     => ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ ( relcomp @ A @ A @ A @ R4 @ S ) @ ( relcomp @ A @ A @ A @ S @ R4 ) )
       => ( wf @ A @ ( relcomp @ A @ A @ A @ S @ R4 ) ) ) ) ).

% wf_relcomp_compatible
thf(fact_6445_wf__union__merge,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A ),S: set @ ( product_prod @ A @ A )] :
      ( ( wf @ A @ ( sup_sup @ ( set @ ( product_prod @ A @ A ) ) @ R4 @ S ) )
      = ( wf @ A @ ( sup_sup @ ( set @ ( product_prod @ A @ A ) ) @ ( sup_sup @ ( set @ ( product_prod @ A @ A ) ) @ ( relcomp @ A @ A @ A @ R4 @ R4 ) @ ( relcomp @ A @ A @ A @ S @ R4 ) ) @ S ) ) ) ).

% wf_union_merge
thf(fact_6446_wf__iff__no__infinite__down__chain,axiom,
    ! [A: $tType] :
      ( ( wf @ A )
      = ( ^ [R5: set @ ( product_prod @ A @ A )] :
            ~ ? [F4: nat > A] :
              ! [I: nat] : ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ ( F4 @ ( suc @ I ) ) @ ( F4 @ I ) ) @ R5 ) ) ) ).

% wf_iff_no_infinite_down_chain
thf(fact_6447_wf__no__infinite__down__chainE,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),F3: nat > A] :
      ( ( wf @ A @ R3 )
     => ~ ! [K: nat] : ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ ( F3 @ ( suc @ K ) ) @ ( F3 @ K ) ) @ R3 ) ) ).

% wf_no_infinite_down_chainE
thf(fact_6448_wf__def,axiom,
    ! [A: $tType] :
      ( ( wf @ A )
      = ( ^ [R5: set @ ( product_prod @ A @ A )] :
          ! [P5: A > $o] :
            ( ! [X4: A] :
                ( ! [Y4: A] :
                    ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y4 @ X4 ) @ R5 )
                   => ( P5 @ Y4 ) )
               => ( P5 @ X4 ) )
           => ! [X11: A] : ( P5 @ X11 ) ) ) ) ).

% wf_def
thf(fact_6449_wfE__min,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A ),X: A,Q2: set @ A] :
      ( ( wf @ A @ R4 )
     => ( ( member @ A @ X @ Q2 )
       => ~ ! [Z3: A] :
              ( ( member @ A @ Z3 @ Q2 )
             => ~ ! [Y5: A] :
                    ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y5 @ Z3 ) @ R4 )
                   => ~ ( member @ A @ Y5 @ Q2 ) ) ) ) ) ).

% wfE_min
thf(fact_6450_wfI__min,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A )] :
      ( ! [X3: A,Q: set @ A] :
          ( ( member @ A @ X3 @ Q )
         => ? [Xa3: A] :
              ( ( member @ A @ Xa3 @ Q )
              & ! [Y3: A] :
                  ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y3 @ Xa3 ) @ R4 )
                 => ~ ( member @ A @ Y3 @ Q ) ) ) )
     => ( wf @ A @ R4 ) ) ).

% wfI_min
thf(fact_6451_wfUNIVI,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] :
      ( ! [P: A > $o,X3: A] :
          ( ! [Xa3: A] :
              ( ! [Y3: A] :
                  ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y3 @ Xa3 ) @ R3 )
                 => ( P @ Y3 ) )
             => ( P @ Xa3 ) )
         => ( P @ X3 ) )
     => ( wf @ A @ R3 ) ) ).

% wfUNIVI
thf(fact_6452_wf__asym,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A3: A,X: A] :
      ( ( wf @ A @ R3 )
     => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ X ) @ R3 )
       => ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ A3 ) @ R3 ) ) ) ).

% wf_asym
thf(fact_6453_wf__induct,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),P2: A > $o,A3: A] :
      ( ( wf @ A @ R3 )
     => ( ! [X3: A] :
            ( ! [Y5: A] :
                ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y5 @ X3 ) @ R3 )
               => ( P2 @ Y5 ) )
           => ( P2 @ X3 ) )
       => ( P2 @ A3 ) ) ) ).

% wf_induct
thf(fact_6454_wf__irrefl,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A3: A] :
      ( ( wf @ A @ R3 )
     => ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ A3 ) @ R3 ) ) ).

% wf_irrefl
thf(fact_6455_wf__not__sym,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A3: A,X: A] :
      ( ( wf @ A @ R3 )
     => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ X ) @ R3 )
       => ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ A3 ) @ R3 ) ) ) ).

% wf_not_sym
thf(fact_6456_wf__not__refl,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A3: A] :
      ( ( wf @ A @ R3 )
     => ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ A3 ) @ R3 ) ) ).

% wf_not_refl
thf(fact_6457_wf__eq__minimal,axiom,
    ! [A: $tType] :
      ( ( wf @ A )
      = ( ^ [R5: set @ ( product_prod @ A @ A )] :
          ! [Q3: set @ A] :
            ( ? [X4: A] : ( member @ A @ X4 @ Q3 )
           => ? [X4: A] :
                ( ( member @ A @ X4 @ Q3 )
                & ! [Y4: A] :
                    ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y4 @ X4 ) @ R5 )
                   => ~ ( member @ A @ Y4 @ Q3 ) ) ) ) ) ) ).

% wf_eq_minimal
thf(fact_6458_wf__induct__rule,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),P2: A > $o,A3: A] :
      ( ( wf @ A @ R3 )
     => ( ! [X3: A] :
            ( ! [Y5: A] :
                ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y5 @ X3 ) @ R3 )
               => ( P2 @ Y5 ) )
           => ( P2 @ X3 ) )
       => ( P2 @ A3 ) ) ) ).

% wf_induct_rule
thf(fact_6459_wfE__min_H,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A ),Q2: set @ A] :
      ( ( wf @ A @ R4 )
     => ( ( Q2
         != ( bot_bot @ ( set @ A ) ) )
       => ~ ! [Z3: A] :
              ( ( member @ A @ Z3 @ Q2 )
             => ~ ! [Y5: A] :
                    ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y5 @ Z3 ) @ R4 )
                   => ~ ( member @ A @ Y5 @ Q2 ) ) ) ) ) ).

% wfE_min'
thf(fact_6460_wf__no__loop,axiom,
    ! [B: $tType,R4: set @ ( product_prod @ B @ B )] :
      ( ( ( relcomp @ B @ B @ B @ R4 @ R4 )
        = ( bot_bot @ ( set @ ( product_prod @ B @ B ) ) ) )
     => ( wf @ B @ R4 ) ) ).

% wf_no_loop
thf(fact_6461_wf__less,axiom,
    wf @ nat @ ( collect @ ( product_prod @ nat @ nat ) @ ( product_case_prod @ nat @ nat @ $o @ ( ord_less @ nat ) ) ) ).

% wf_less
thf(fact_6462_wf__bounded__measure,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),Ub: A > nat,F3: A > nat] :
      ( ! [A5: A,B4: A] :
          ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ B4 @ A5 ) @ R3 )
         => ( ( ord_less_eq @ nat @ ( Ub @ B4 ) @ ( Ub @ A5 ) )
            & ( ord_less_eq @ nat @ ( F3 @ B4 ) @ ( Ub @ A5 ) )
            & ( ord_less @ nat @ ( F3 @ A5 ) @ ( F3 @ B4 ) ) ) )
     => ( wf @ A @ R3 ) ) ).

% wf_bounded_measure
thf(fact_6463_wfI__pf,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A )] :
      ( ! [A13: set @ A] :
          ( ( ord_less_eq @ ( set @ A ) @ A13 @ ( image @ A @ A @ R4 @ A13 ) )
         => ( A13
            = ( bot_bot @ ( set @ A ) ) ) )
     => ( wf @ A @ R4 ) ) ).

% wfI_pf
thf(fact_6464_wfE__pf,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A ),A6: set @ A] :
      ( ( wf @ A @ R4 )
     => ( ( ord_less_eq @ ( set @ A ) @ A6 @ ( image @ A @ A @ R4 @ A6 ) )
       => ( A6
          = ( bot_bot @ ( set @ A ) ) ) ) ) ).

% wfE_pf
thf(fact_6465_wf__linord__ex__has__least,axiom,
    ! [B: $tType,A: $tType,R3: set @ ( product_prod @ A @ A ),P2: B > $o,K2: B,M: B > A] :
      ( ( wf @ A @ R3 )
     => ( ! [X3: A,Y3: A] :
            ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X3 @ Y3 ) @ ( transitive_trancl @ A @ R3 ) )
            = ( ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y3 @ X3 ) @ ( transitive_rtrancl @ A @ R3 ) ) ) )
       => ( ( P2 @ K2 )
         => ? [X3: B] :
              ( ( P2 @ X3 )
              & ! [Y5: B] :
                  ( ( P2 @ Y5 )
                 => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ ( M @ X3 ) @ ( M @ Y5 ) ) @ ( transitive_rtrancl @ A @ R3 ) ) ) ) ) ) ) ).

% wf_linord_ex_has_least
thf(fact_6466_wf__union__compatible,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A ),S: set @ ( product_prod @ A @ A )] :
      ( ( wf @ A @ R4 )
     => ( ( wf @ A @ S )
       => ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ ( relcomp @ A @ A @ A @ R4 @ S ) @ R4 )
         => ( wf @ A @ ( sup_sup @ ( set @ ( product_prod @ A @ A ) ) @ R4 @ S ) ) ) ) ) ).

% wf_union_compatible
thf(fact_6467_wfI,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ A,B6: set @ A] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ R3
        @ ( product_Sigma @ A @ A @ A6
          @ ^ [Uu2: A] : B6 ) )
     => ( ! [X3: A,P: A > $o] :
            ( ! [Xa3: A] :
                ( ! [Y3: A] :
                    ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y3 @ Xa3 ) @ R3 )
                   => ( P @ Y3 ) )
               => ( P @ Xa3 ) )
           => ( ( member @ A @ X3 @ A6 )
             => ( ( member @ A @ X3 @ B6 )
               => ( P @ X3 ) ) ) )
       => ( wf @ A @ R3 ) ) ) ).

% wfI
thf(fact_6468_wf__eq__minimal2,axiom,
    ! [A: $tType] :
      ( ( wf @ A )
      = ( ^ [R5: set @ ( product_prod @ A @ A )] :
          ! [A8: set @ A] :
            ( ( ( ord_less_eq @ ( set @ A ) @ A8 @ ( field2 @ A @ R5 ) )
              & ( A8
               != ( bot_bot @ ( set @ A ) ) ) )
           => ? [X4: A] :
                ( ( member @ A @ X4 @ A8 )
                & ! [Y4: A] :
                    ( ( member @ A @ Y4 @ A8 )
                   => ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y4 @ X4 ) @ R5 ) ) ) ) ) ) ).

% wf_eq_minimal2
thf(fact_6469_wf__bounded__set,axiom,
    ! [B: $tType,A: $tType,R3: set @ ( product_prod @ A @ A ),Ub: A > ( set @ B ),F3: A > ( set @ B )] :
      ( ! [A5: A,B4: A] :
          ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ B4 @ A5 ) @ R3 )
         => ( ( finite_finite2 @ B @ ( Ub @ A5 ) )
            & ( ord_less_eq @ ( set @ B ) @ ( Ub @ B4 ) @ ( Ub @ A5 ) )
            & ( ord_less_eq @ ( set @ B ) @ ( F3 @ B4 ) @ ( Ub @ A5 ) )
            & ( ord_less @ ( set @ B ) @ ( F3 @ A5 ) @ ( F3 @ B4 ) ) ) )
     => ( wf @ A @ R3 ) ) ).

% wf_bounded_set
thf(fact_6470_qc__wf__relto__iff,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A ),S: set @ ( product_prod @ A @ A )] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ ( relcomp @ A @ A @ A @ R4 @ S ) @ ( relcomp @ A @ A @ A @ ( transitive_rtrancl @ A @ ( sup_sup @ ( set @ ( product_prod @ A @ A ) ) @ R4 @ S ) ) @ R4 ) )
     => ( ( wf @ A @ ( relcomp @ A @ A @ A @ ( transitive_rtrancl @ A @ S ) @ ( relcomp @ A @ A @ A @ R4 @ ( transitive_rtrancl @ A @ S ) ) ) )
        = ( wf @ A @ R4 ) ) ) ).

% qc_wf_relto_iff
thf(fact_6471_above__def,axiom,
    ! [A: $tType] :
      ( ( order_above @ A )
      = ( ^ [R5: set @ ( product_prod @ A @ A ),A7: A] :
            ( collect @ A
            @ ^ [B5: A] : ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A7 @ B5 ) @ R5 ) ) ) ) ).

% above_def
thf(fact_6472_wf__bounded__supset,axiom,
    ! [A: $tType,S: set @ A] :
      ( ( finite_finite2 @ A @ S )
     => ( wf @ ( set @ A )
        @ ( collect @ ( product_prod @ ( set @ A ) @ ( set @ A ) )
          @ ( product_case_prod @ ( set @ A ) @ ( set @ A ) @ $o
            @ ^ [Q10: set @ A,Q3: set @ A] :
                ( ( ord_less @ ( set @ A ) @ Q3 @ Q10 )
                & ( ord_less_eq @ ( set @ A ) @ Q10 @ S ) ) ) ) ) ) ).

% wf_bounded_supset
thf(fact_6473_finite__subset__wf,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ( finite_finite2 @ A @ A6 )
     => ( wf @ ( set @ A )
        @ ( collect @ ( product_prod @ ( set @ A ) @ ( set @ A ) )
          @ ( product_case_prod @ ( set @ A ) @ ( set @ A ) @ $o
            @ ^ [X11: set @ A,Y10: set @ A] :
                ( ( ord_less @ ( set @ A ) @ X11 @ Y10 )
                & ( ord_less_eq @ ( set @ A ) @ Y10 @ A6 ) ) ) ) ) ) ).

% finite_subset_wf
thf(fact_6474_reduction__pairI,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A ),S: set @ ( product_prod @ A @ A )] :
      ( ( wf @ A @ R4 )
     => ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ ( relcomp @ A @ A @ A @ R4 @ S ) @ R4 )
       => ( fun_reduction_pair @ A @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) @ R4 @ S ) ) ) ) ).

% reduction_pairI
thf(fact_6475_reduction__pair__lemma,axiom,
    ! [A: $tType,P2: product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ),R4: set @ ( product_prod @ A @ A ),S: set @ ( product_prod @ A @ A )] :
      ( ( fun_reduction_pair @ A @ P2 )
     => ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ R4 @ ( product_fst @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) @ P2 ) )
       => ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ S @ ( product_snd @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) @ P2 ) )
         => ( ( wf @ A @ S )
           => ( wf @ A @ ( sup_sup @ ( set @ ( product_prod @ A @ A ) ) @ R4 @ S ) ) ) ) ) ) ).

% reduction_pair_lemma
thf(fact_6476_reduction__pair__def,axiom,
    ! [A: $tType] :
      ( ( fun_reduction_pair @ A )
      = ( ^ [P5: product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) )] :
            ( ( wf @ A @ ( product_fst @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) @ P5 ) )
            & ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ ( relcomp @ A @ A @ A @ ( product_fst @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) @ P5 ) @ ( product_snd @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) @ P5 ) ) @ ( product_fst @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) @ P5 ) ) ) ) ) ).

% reduction_pair_def
thf(fact_6477_dependent__wf__choice,axiom,
    ! [B: $tType,A: $tType,R4: set @ ( product_prod @ A @ A ),P2: ( A > B ) > A > B > $o] :
      ( ( wf @ A @ R4 )
     => ( ! [F: A > B,G2: A > B,X3: A,R: B] :
            ( ! [Z7: A] :
                ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Z7 @ X3 ) @ R4 )
               => ( ( F @ Z7 )
                  = ( G2 @ Z7 ) ) )
           => ( ( P2 @ F @ X3 @ R )
              = ( P2 @ G2 @ X3 @ R ) ) )
       => ( ! [X3: A,F: A > B] :
              ( ! [Y5: A] :
                  ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y5 @ X3 ) @ R4 )
                 => ( P2 @ F @ Y5 @ ( F @ Y5 ) ) )
             => ? [X_12: B] : ( P2 @ F @ X3 @ X_12 ) )
         => ? [F: A > B] :
            ! [X6: A] : ( P2 @ F @ X6 @ ( F @ X6 ) ) ) ) ) ).

% dependent_wf_choice
thf(fact_6478_rp__inv__image__rp,axiom,
    ! [A: $tType,B: $tType,P2: product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ),F3: B > A] :
      ( ( fun_reduction_pair @ A @ P2 )
     => ( fun_reduction_pair @ B @ ( fun_rp_inv_image @ A @ B @ P2 @ F3 ) ) ) ).

% rp_inv_image_rp
thf(fact_6479_dependent__wellorder__choice,axiom,
    ! [B: $tType,A: $tType] :
      ( ( wellorder @ A )
     => ! [P2: ( A > B ) > A > B > $o] :
          ( ! [R: B,F: A > B,G2: A > B,X3: A] :
              ( ! [Y5: A] :
                  ( ( ord_less @ A @ Y5 @ X3 )
                 => ( ( F @ Y5 )
                    = ( G2 @ Y5 ) ) )
             => ( ( P2 @ F @ X3 @ R )
                = ( P2 @ G2 @ X3 @ R ) ) )
         => ( ! [X3: A,F: A > B] :
                ( ! [Y5: A] :
                    ( ( ord_less @ A @ Y5 @ X3 )
                   => ( P2 @ F @ Y5 @ ( F @ Y5 ) ) )
               => ? [X_12: B] : ( P2 @ F @ X3 @ X_12 ) )
           => ? [F: A > B] :
              ! [X6: A] : ( P2 @ F @ X6 @ ( F @ X6 ) ) ) ) ) ).

% dependent_wellorder_choice
thf(fact_6480_chains__extend,axiom,
    ! [A: $tType,C3: set @ ( set @ A ),S: set @ ( set @ A ),Z4: set @ A] :
      ( ( member @ ( set @ ( set @ A ) ) @ C3 @ ( chains2 @ A @ S ) )
     => ( ( member @ ( set @ A ) @ Z4 @ S )
       => ( ! [X3: set @ A] :
              ( ( member @ ( set @ A ) @ X3 @ C3 )
             => ( ord_less_eq @ ( set @ A ) @ X3 @ Z4 ) )
         => ( member @ ( set @ ( set @ A ) ) @ ( sup_sup @ ( set @ ( set @ A ) ) @ ( insert @ ( set @ A ) @ Z4 @ ( bot_bot @ ( set @ ( set @ A ) ) ) ) @ C3 ) @ ( chains2 @ A @ S ) ) ) ) ) ).

% chains_extend
thf(fact_6481_rp__inv__image__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( fun_rp_inv_image @ A @ B )
      = ( product_case_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( ( B > A ) > ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ B @ B ) ) ) )
        @ ^ [R2: set @ ( product_prod @ A @ A ),S4: set @ ( product_prod @ A @ A ),F4: B > A] : ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( inv_image @ A @ B @ R2 @ F4 ) @ ( inv_image @ A @ B @ S4 @ F4 ) ) ) ) ).

% rp_inv_image_def
thf(fact_6482_in__inv__image,axiom,
    ! [A: $tType,B: $tType,X: A,Y: A,R3: set @ ( product_prod @ B @ B ),F3: A > B] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ ( inv_image @ B @ A @ R3 @ F3 ) )
      = ( member @ ( product_prod @ B @ B ) @ ( product_Pair @ B @ B @ ( F3 @ X ) @ ( F3 @ Y ) ) @ R3 ) ) ).

% in_inv_image
thf(fact_6483_chainsD,axiom,
    ! [A: $tType,C3: set @ ( set @ A ),S: set @ ( set @ A ),X: set @ A,Y: set @ A] :
      ( ( member @ ( set @ ( set @ A ) ) @ C3 @ ( chains2 @ A @ S ) )
     => ( ( member @ ( set @ A ) @ X @ C3 )
       => ( ( member @ ( set @ A ) @ Y @ C3 )
         => ( ( ord_less_eq @ ( set @ A ) @ X @ Y )
            | ( ord_less_eq @ ( set @ A ) @ Y @ X ) ) ) ) ) ).

% chainsD
thf(fact_6484_Zorn__Lemma2,axiom,
    ! [A: $tType,A6: set @ ( set @ A )] :
      ( ! [X3: set @ ( set @ A )] :
          ( ( member @ ( set @ ( set @ A ) ) @ X3 @ ( chains2 @ A @ A6 ) )
         => ? [Xa3: set @ A] :
              ( ( member @ ( set @ A ) @ Xa3 @ A6 )
              & ! [Xb3: set @ A] :
                  ( ( member @ ( set @ A ) @ Xb3 @ X3 )
                 => ( ord_less_eq @ ( set @ A ) @ Xb3 @ Xa3 ) ) ) )
     => ? [X3: set @ A] :
          ( ( member @ ( set @ A ) @ X3 @ A6 )
          & ! [Xa3: set @ A] :
              ( ( member @ ( set @ A ) @ Xa3 @ A6 )
             => ( ( ord_less_eq @ ( set @ A ) @ X3 @ Xa3 )
               => ( Xa3 = X3 ) ) ) ) ) ).

% Zorn_Lemma2
thf(fact_6485_chainsD2,axiom,
    ! [A: $tType,C3: set @ ( set @ A ),S: set @ ( set @ A )] :
      ( ( member @ ( set @ ( set @ A ) ) @ C3 @ ( chains2 @ A @ S ) )
     => ( ord_less_eq @ ( set @ ( set @ A ) ) @ C3 @ S ) ) ).

% chainsD2
thf(fact_6486_inv__image__def,axiom,
    ! [A: $tType,B: $tType] :
      ( ( inv_image @ B @ A )
      = ( ^ [R5: set @ ( product_prod @ B @ B ),F4: A > B] :
            ( collect @ ( product_prod @ A @ A )
            @ ( product_case_prod @ A @ A @ $o
              @ ^ [X4: A,Y4: A] : ( member @ ( product_prod @ B @ B ) @ ( product_Pair @ B @ B @ ( F4 @ X4 ) @ ( F4 @ Y4 ) ) @ R5 ) ) ) ) ) ).

% inv_image_def
thf(fact_6487_Zorn__Lemma,axiom,
    ! [A: $tType,A6: set @ ( set @ A )] :
      ( ! [X3: set @ ( set @ A )] :
          ( ( member @ ( set @ ( set @ A ) ) @ X3 @ ( chains2 @ A @ A6 ) )
         => ( member @ ( set @ A ) @ ( complete_Sup_Sup @ ( set @ A ) @ X3 ) @ A6 ) )
     => ? [X3: set @ A] :
          ( ( member @ ( set @ A ) @ X3 @ A6 )
          & ! [Xa3: set @ A] :
              ( ( member @ ( set @ A ) @ Xa3 @ A6 )
             => ( ( ord_less_eq @ ( set @ A ) @ X3 @ Xa3 )
               => ( Xa3 = X3 ) ) ) ) ) ).

% Zorn_Lemma
thf(fact_6488_chains__def,axiom,
    ! [A: $tType] :
      ( ( chains2 @ A )
      = ( ^ [A8: set @ ( set @ A )] :
            ( collect @ ( set @ ( set @ A ) )
            @ ^ [C6: set @ ( set @ A )] :
                ( ( ord_less_eq @ ( set @ ( set @ A ) ) @ C6 @ A8 )
                & ( chain_subset @ A @ C6 ) ) ) ) ) ).

% chains_def
thf(fact_6489_lenlex__def,axiom,
    ! [A: $tType] :
      ( ( lenlex @ A )
      = ( ^ [R5: set @ ( product_prod @ A @ A )] :
            ( inv_image @ ( product_prod @ nat @ ( list @ A ) ) @ ( list @ A ) @ ( lex_prod @ nat @ ( list @ A ) @ less_than @ ( lex @ A @ R5 ) )
            @ ^ [Xs3: list @ A] : ( product_Pair @ nat @ ( list @ A ) @ ( size_size @ ( list @ A ) @ Xs3 ) @ Xs3 ) ) ) ) ).

% lenlex_def
thf(fact_6490_less__than__iff,axiom,
    ! [X: nat,Y: nat] :
      ( ( member @ ( product_prod @ nat @ nat ) @ ( product_Pair @ nat @ nat @ X @ Y ) @ less_than )
      = ( ord_less @ nat @ X @ Y ) ) ).

% less_than_iff
thf(fact_6491_chain__subset__def,axiom,
    ! [A: $tType] :
      ( ( chain_subset @ A )
      = ( ^ [C6: set @ ( set @ A )] :
          ! [X4: set @ A] :
            ( ( member @ ( set @ A ) @ X4 @ C6 )
           => ! [Y4: set @ A] :
                ( ( member @ ( set @ A ) @ Y4 @ C6 )
               => ( ( ord_less_eq @ ( set @ A ) @ X4 @ Y4 )
                  | ( ord_less_eq @ ( set @ A ) @ Y4 @ X4 ) ) ) ) ) ) ).

% chain_subset_def
thf(fact_6492_mlex__prod__def,axiom,
    ! [A: $tType] :
      ( ( mlex_prod @ A )
      = ( ^ [F4: A > nat,R2: set @ ( product_prod @ A @ A )] :
            ( inv_image @ ( product_prod @ nat @ A ) @ A @ ( lex_prod @ nat @ A @ less_than @ R2 )
            @ ^ [X4: A] : ( product_Pair @ nat @ A @ ( F4 @ X4 ) @ X4 ) ) ) ) ).

% mlex_prod_def
thf(fact_6493_finite__enumerate__initial__segment,axiom,
    ! [A: $tType] :
      ( ( wellorder @ A )
     => ! [S: set @ A,N: nat,S2: A] :
          ( ( finite_finite2 @ A @ S )
         => ( ( ord_less @ nat @ N @ ( finite_card @ A @ ( inf_inf @ ( set @ A ) @ S @ ( set_ord_lessThan @ A @ S2 ) ) ) )
           => ( ( infini527867602293511546merate @ A @ ( inf_inf @ ( set @ A ) @ S @ ( set_ord_lessThan @ A @ S2 ) ) @ N )
              = ( infini527867602293511546merate @ A @ S @ N ) ) ) ) ) ).

% finite_enumerate_initial_segment
thf(fact_6494_list_Oin__rel,axiom,
    ! [B: $tType,A: $tType] :
      ( ( list_all2 @ A @ B )
      = ( ^ [R2: A > B > $o,A7: list @ A,B5: list @ B] :
          ? [Z2: list @ ( product_prod @ A @ B )] :
            ( ( member @ ( list @ ( product_prod @ A @ B ) ) @ Z2
              @ ( collect @ ( list @ ( product_prod @ A @ B ) )
                @ ^ [X4: list @ ( product_prod @ A @ B )] : ( ord_less_eq @ ( set @ ( product_prod @ A @ B ) ) @ ( set2 @ ( product_prod @ A @ B ) @ X4 ) @ ( collect @ ( product_prod @ A @ B ) @ ( product_case_prod @ A @ B @ $o @ R2 ) ) ) ) )
            & ( ( map @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) @ Z2 )
              = A7 )
            & ( ( map @ ( product_prod @ A @ B ) @ B @ ( product_snd @ A @ B ) @ Z2 )
              = B5 ) ) ) ) ).

% list.in_rel
thf(fact_6495_enumerate__mono__iff,axiom,
    ! [A: $tType] :
      ( ( wellorder @ A )
     => ! [S: set @ A,M: nat,N: nat] :
          ( ~ ( finite_finite2 @ A @ S )
         => ( ( ord_less @ A @ ( infini527867602293511546merate @ A @ S @ M ) @ ( infini527867602293511546merate @ A @ S @ N ) )
            = ( ord_less @ nat @ M @ N ) ) ) ) ).

% enumerate_mono_iff
thf(fact_6496_finite__enumerate__mono__iff,axiom,
    ! [A: $tType] :
      ( ( wellorder @ A )
     => ! [S: set @ A,M: nat,N: nat] :
          ( ( finite_finite2 @ A @ S )
         => ( ( ord_less @ nat @ M @ ( finite_card @ A @ S ) )
           => ( ( ord_less @ nat @ N @ ( finite_card @ A @ S ) )
             => ( ( ord_less @ A @ ( infini527867602293511546merate @ A @ S @ M ) @ ( infini527867602293511546merate @ A @ S @ N ) )
                = ( ord_less @ nat @ M @ N ) ) ) ) ) ) ).

% finite_enumerate_mono_iff
thf(fact_6497_list_Odisc__transfer_I2_J,axiom,
    ! [A: $tType,B: $tType,R4: A > B > $o] :
      ( bNF_rel_fun @ ( list @ A ) @ ( list @ B ) @ $o @ $o @ ( list_all2 @ A @ B @ R4 )
      @ ^ [Y6: $o,Z5: $o] : Y6 = Z5
      @ ^ [List: list @ A] :
          ( List
         != ( nil @ A ) )
      @ ^ [List: list @ B] :
          ( List
         != ( nil @ B ) ) ) ).

% list.disc_transfer(2)
thf(fact_6498_list_Odisc__transfer_I1_J,axiom,
    ! [A: $tType,B: $tType,R4: A > B > $o] :
      ( bNF_rel_fun @ ( list @ A ) @ ( list @ B ) @ $o @ $o @ ( list_all2 @ A @ B @ R4 )
      @ ^ [Y6: $o,Z5: $o] : Y6 = Z5
      @ ^ [List: list @ A] :
          ( List
          = ( nil @ A ) )
      @ ^ [List: list @ B] :
          ( List
          = ( nil @ B ) ) ) ).

% list.disc_transfer(1)
thf(fact_6499_list_Orel__mono,axiom,
    ! [B: $tType,A: $tType,R4: A > B > $o,Ra2: A > B > $o] :
      ( ( ord_less_eq @ ( A > B > $o ) @ R4 @ Ra2 )
     => ( ord_less_eq @ ( ( list @ A ) > ( list @ B ) > $o ) @ ( list_all2 @ A @ B @ R4 ) @ ( list_all2 @ A @ B @ Ra2 ) ) ) ).

% list.rel_mono
thf(fact_6500_Misc_Olist__all2__induct,axiom,
    ! [A: $tType,B: $tType,P2: A > B > $o,L: list @ A,L4: list @ B,Q2: ( list @ A ) > ( list @ B ) > $o] :
      ( ( list_all2 @ A @ B @ P2 @ L @ L4 )
     => ( ( Q2 @ ( nil @ A ) @ ( nil @ B ) )
       => ( ! [X3: A,X9: B,Ls: list @ A,Ls3: list @ B] :
              ( ( P2 @ X3 @ X9 )
             => ( ( list_all2 @ A @ B @ P2 @ Ls @ Ls3 )
               => ( ( Q2 @ Ls @ Ls3 )
                 => ( Q2 @ ( cons @ A @ X3 @ Ls ) @ ( cons @ B @ X9 @ Ls3 ) ) ) ) )
         => ( Q2 @ L @ L4 ) ) ) ) ).

% Misc.list_all2_induct
thf(fact_6501_list__all2__map2,axiom,
    ! [A: $tType,B: $tType,C: $tType,P2: A > B > $o,As: list @ A,F3: C > B,Bs: list @ C] :
      ( ( list_all2 @ A @ B @ P2 @ As @ ( map @ C @ B @ F3 @ Bs ) )
      = ( list_all2 @ A @ C
        @ ^ [X4: A,Y4: C] : ( P2 @ X4 @ ( F3 @ Y4 ) )
        @ As
        @ Bs ) ) ).

% list_all2_map2
thf(fact_6502_list__all2__map1,axiom,
    ! [C: $tType,A: $tType,B: $tType,P2: A > B > $o,F3: C > A,As: list @ C,Bs: list @ B] :
      ( ( list_all2 @ A @ B @ P2 @ ( map @ C @ A @ F3 @ As ) @ Bs )
      = ( list_all2 @ C @ B
        @ ^ [X4: C] : ( P2 @ ( F3 @ X4 ) )
        @ As
        @ Bs ) ) ).

% list_all2_map1
thf(fact_6503_list_Orel__map_I1_J,axiom,
    ! [A: $tType,C: $tType,B: $tType,Sb: C > B > $o,I2: A > C,X: list @ A,Y: list @ B] :
      ( ( list_all2 @ C @ B @ Sb @ ( map @ A @ C @ I2 @ X ) @ Y )
      = ( list_all2 @ A @ B
        @ ^ [X4: A] : ( Sb @ ( I2 @ X4 ) )
        @ X
        @ Y ) ) ).

% list.rel_map(1)
thf(fact_6504_list_Orel__map_I2_J,axiom,
    ! [A: $tType,C: $tType,B: $tType,Sa: A > C > $o,X: list @ A,G3: B > C,Y: list @ B] :
      ( ( list_all2 @ A @ C @ Sa @ X @ ( map @ B @ C @ G3 @ Y ) )
      = ( list_all2 @ A @ B
        @ ^ [X4: A,Y4: B] : ( Sa @ X4 @ ( G3 @ Y4 ) )
        @ X
        @ Y ) ) ).

% list.rel_map(2)
thf(fact_6505_le__enumerate,axiom,
    ! [S: set @ nat,N: nat] :
      ( ~ ( finite_finite2 @ nat @ S )
     => ( ord_less_eq @ nat @ N @ ( infini527867602293511546merate @ nat @ S @ N ) ) ) ).

% le_enumerate
thf(fact_6506_list__all2__conv__all__nth,axiom,
    ! [B: $tType,A: $tType] :
      ( ( list_all2 @ A @ B )
      = ( ^ [P5: A > B > $o,Xs3: list @ A,Ys2: list @ B] :
            ( ( ( size_size @ ( list @ A ) @ Xs3 )
              = ( size_size @ ( list @ B ) @ Ys2 ) )
            & ! [I: nat] :
                ( ( ord_less @ nat @ I @ ( size_size @ ( list @ A ) @ Xs3 ) )
               => ( P5 @ ( nth @ A @ Xs3 @ I ) @ ( nth @ B @ Ys2 @ I ) ) ) ) ) ) ).

% list_all2_conv_all_nth
thf(fact_6507_list__all2__all__nthI,axiom,
    ! [A: $tType,B: $tType,A3: list @ A,B2: list @ B,P2: A > B > $o] :
      ( ( ( size_size @ ( list @ A ) @ A3 )
        = ( size_size @ ( list @ B ) @ B2 ) )
     => ( ! [N4: nat] :
            ( ( ord_less @ nat @ N4 @ ( size_size @ ( list @ A ) @ A3 ) )
           => ( P2 @ ( nth @ A @ A3 @ N4 ) @ ( nth @ B @ B2 @ N4 ) ) )
       => ( list_all2 @ A @ B @ P2 @ A3 @ B2 ) ) ) ).

% list_all2_all_nthI
thf(fact_6508_list__all2__nthD2,axiom,
    ! [A: $tType,B: $tType,P2: A > B > $o,Xs: list @ A,Ys3: list @ B,P3: nat] :
      ( ( list_all2 @ A @ B @ P2 @ Xs @ Ys3 )
     => ( ( ord_less @ nat @ P3 @ ( size_size @ ( list @ B ) @ Ys3 ) )
       => ( P2 @ ( nth @ A @ Xs @ P3 ) @ ( nth @ B @ Ys3 @ P3 ) ) ) ) ).

% list_all2_nthD2
thf(fact_6509_list__all2__nthD,axiom,
    ! [A: $tType,B: $tType,P2: A > B > $o,Xs: list @ A,Ys3: list @ B,P3: nat] :
      ( ( list_all2 @ A @ B @ P2 @ Xs @ Ys3 )
     => ( ( ord_less @ nat @ P3 @ ( size_size @ ( list @ A ) @ Xs ) )
       => ( P2 @ ( nth @ A @ Xs @ P3 ) @ ( nth @ B @ Ys3 @ P3 ) ) ) ) ).

% list_all2_nthD
thf(fact_6510_enumerate__step,axiom,
    ! [A: $tType] :
      ( ( wellorder @ A )
     => ! [S: set @ A,N: nat] :
          ( ~ ( finite_finite2 @ A @ S )
         => ( ord_less @ A @ ( infini527867602293511546merate @ A @ S @ N ) @ ( infini527867602293511546merate @ A @ S @ ( suc @ N ) ) ) ) ) ).

% enumerate_step
thf(fact_6511_enumerate__mono,axiom,
    ! [A: $tType] :
      ( ( wellorder @ A )
     => ! [M: nat,N: nat,S: set @ A] :
          ( ( ord_less @ nat @ M @ N )
         => ( ~ ( finite_finite2 @ A @ S )
           => ( ord_less @ A @ ( infini527867602293511546merate @ A @ S @ M ) @ ( infini527867602293511546merate @ A @ S @ N ) ) ) ) ) ).

% enumerate_mono
thf(fact_6512_product__lists__set,axiom,
    ! [A: $tType,Xss: list @ ( list @ A )] :
      ( ( set2 @ ( list @ A ) @ ( product_lists @ A @ Xss ) )
      = ( collect @ ( list @ A )
        @ ^ [Xs3: list @ A] :
            ( list_all2 @ A @ ( list @ A )
            @ ^ [X4: A,Ys2: list @ A] : ( member @ A @ X4 @ ( set2 @ A @ Ys2 ) )
            @ Xs3
            @ Xss ) ) ) ).

% product_lists_set
thf(fact_6513_finite__enum__ext,axiom,
    ! [A: $tType] :
      ( ( wellorder @ A )
     => ! [X7: set @ A,Y7: set @ A] :
          ( ! [I3: nat] :
              ( ( ord_less @ nat @ I3 @ ( finite_card @ A @ X7 ) )
             => ( ( infini527867602293511546merate @ A @ X7 @ I3 )
                = ( infini527867602293511546merate @ A @ Y7 @ I3 ) ) )
         => ( ( finite_finite2 @ A @ X7 )
           => ( ( finite_finite2 @ A @ Y7 )
             => ( ( ( finite_card @ A @ X7 )
                  = ( finite_card @ A @ Y7 ) )
               => ( X7 = Y7 ) ) ) ) ) ) ).

% finite_enum_ext
thf(fact_6514_finite__enumerate__Ex,axiom,
    ! [A: $tType] :
      ( ( wellorder @ A )
     => ! [S: set @ A,S2: A] :
          ( ( finite_finite2 @ A @ S )
         => ( ( member @ A @ S2 @ S )
           => ? [N4: nat] :
                ( ( ord_less @ nat @ N4 @ ( finite_card @ A @ S ) )
                & ( ( infini527867602293511546merate @ A @ S @ N4 )
                  = S2 ) ) ) ) ) ).

% finite_enumerate_Ex
thf(fact_6515_finite__enumerate__in__set,axiom,
    ! [A: $tType] :
      ( ( wellorder @ A )
     => ! [S: set @ A,N: nat] :
          ( ( finite_finite2 @ A @ S )
         => ( ( ord_less @ nat @ N @ ( finite_card @ A @ S ) )
           => ( member @ A @ ( infini527867602293511546merate @ A @ S @ N ) @ S ) ) ) ) ).

% finite_enumerate_in_set
thf(fact_6516_sum__list__transfer,axiom,
    ! [A: $tType,B: $tType] :
      ( ( ( monoid_add @ B )
        & ( monoid_add @ A ) )
     => ! [A6: A > B > $o] :
          ( ( A6 @ ( zero_zero @ A ) @ ( zero_zero @ B ) )
         => ( ( bNF_rel_fun @ A @ B @ ( A > A ) @ ( B > B ) @ A6 @ ( bNF_rel_fun @ A @ B @ A @ B @ A6 @ A6 ) @ ( plus_plus @ A ) @ ( plus_plus @ B ) )
           => ( bNF_rel_fun @ ( list @ A ) @ ( list @ B ) @ A @ B @ ( list_all2 @ A @ B @ A6 ) @ A6 @ ( groups8242544230860333062m_list @ A ) @ ( groups8242544230860333062m_list @ B ) ) ) ) ) ).

% sum_list_transfer
thf(fact_6517_finite__enumerate__mono,axiom,
    ! [A: $tType] :
      ( ( wellorder @ A )
     => ! [M: nat,N: nat,S: set @ A] :
          ( ( ord_less @ nat @ M @ N )
         => ( ( finite_finite2 @ A @ S )
           => ( ( ord_less @ nat @ N @ ( finite_card @ A @ S ) )
             => ( ord_less @ A @ ( infini527867602293511546merate @ A @ S @ M ) @ ( infini527867602293511546merate @ A @ S @ N ) ) ) ) ) ) ).

% finite_enumerate_mono
thf(fact_6518_finite__le__enumerate,axiom,
    ! [S: set @ nat,N: nat] :
      ( ( finite_finite2 @ nat @ S )
     => ( ( ord_less @ nat @ N @ ( finite_card @ nat @ S ) )
       => ( ord_less_eq @ nat @ N @ ( infini527867602293511546merate @ nat @ S @ N ) ) ) ) ).

% finite_le_enumerate
thf(fact_6519_horner__sum__transfer,axiom,
    ! [C: $tType,A: $tType,B: $tType,D: $tType] :
      ( ( ( comm_semiring_0 @ B )
        & ( comm_semiring_0 @ A ) )
     => ! [A6: A > B > $o,B6: C > D > $o] :
          ( ( A6 @ ( zero_zero @ A ) @ ( zero_zero @ B ) )
         => ( ( bNF_rel_fun @ A @ B @ ( A > A ) @ ( B > B ) @ A6 @ ( bNF_rel_fun @ A @ B @ A @ B @ A6 @ A6 ) @ ( plus_plus @ A ) @ ( plus_plus @ B ) )
           => ( ( bNF_rel_fun @ A @ B @ ( A > A ) @ ( B > B ) @ A6 @ ( bNF_rel_fun @ A @ B @ A @ B @ A6 @ A6 ) @ ( times_times @ A ) @ ( times_times @ B ) )
             => ( bNF_rel_fun @ ( C > A ) @ ( D > B ) @ ( A > ( list @ C ) > A ) @ ( B > ( list @ D ) > B ) @ ( bNF_rel_fun @ C @ D @ A @ B @ B6 @ A6 ) @ ( bNF_rel_fun @ A @ B @ ( ( list @ C ) > A ) @ ( ( list @ D ) > B ) @ A6 @ ( bNF_rel_fun @ ( list @ C ) @ ( list @ D ) @ A @ B @ ( list_all2 @ C @ D @ B6 ) @ A6 ) ) @ ( groups4207007520872428315er_sum @ C @ A ) @ ( groups4207007520872428315er_sum @ D @ B ) ) ) ) ) ) ).

% horner_sum_transfer
thf(fact_6520_finite__enumerate__step,axiom,
    ! [A: $tType] :
      ( ( wellorder @ A )
     => ! [S: set @ A,N: nat] :
          ( ( finite_finite2 @ A @ S )
         => ( ( ord_less @ nat @ ( suc @ N ) @ ( finite_card @ A @ S ) )
           => ( ord_less @ A @ ( infini527867602293511546merate @ A @ S @ N ) @ ( infini527867602293511546merate @ A @ S @ ( suc @ N ) ) ) ) ) ) ).

% finite_enumerate_step
thf(fact_6521_finite__enum__subset,axiom,
    ! [A: $tType] :
      ( ( wellorder @ A )
     => ! [X7: set @ A,Y7: set @ A] :
          ( ! [I3: nat] :
              ( ( ord_less @ nat @ I3 @ ( finite_card @ A @ X7 ) )
             => ( ( infini527867602293511546merate @ A @ X7 @ I3 )
                = ( infini527867602293511546merate @ A @ Y7 @ I3 ) ) )
         => ( ( finite_finite2 @ A @ X7 )
           => ( ( finite_finite2 @ A @ Y7 )
             => ( ( ord_less_eq @ nat @ ( finite_card @ A @ X7 ) @ ( finite_card @ A @ Y7 ) )
               => ( ord_less_eq @ ( set @ A ) @ X7 @ Y7 ) ) ) ) ) ) ).

% finite_enum_subset
thf(fact_6522_finite__enumerate__Suc_H_H,axiom,
    ! [A: $tType] :
      ( ( wellorder @ A )
     => ! [S: set @ A,N: nat] :
          ( ( finite_finite2 @ A @ S )
         => ( ( ord_less @ nat @ ( suc @ N ) @ ( finite_card @ A @ S ) )
           => ( ( infini527867602293511546merate @ A @ S @ ( suc @ N ) )
              = ( ord_Least @ A
                @ ^ [S5: A] :
                    ( ( member @ A @ S5 @ S )
                    & ( ord_less @ A @ ( infini527867602293511546merate @ A @ S @ N ) @ S5 ) ) ) ) ) ) ) ).

% finite_enumerate_Suc''
thf(fact_6523_enumerate__Suc,axiom,
    ! [A: $tType] :
      ( ( wellorder @ A )
     => ! [S: set @ A,N: nat] :
          ( ( infini527867602293511546merate @ A @ S @ ( suc @ N ) )
          = ( infini527867602293511546merate @ A
            @ ( minus_minus @ ( set @ A ) @ S
              @ ( insert @ A
                @ ( ord_Least @ A
                  @ ^ [N3: A] : ( member @ A @ N3 @ S ) )
                @ ( bot_bot @ ( set @ A ) ) ) )
            @ N ) ) ) ).

% enumerate_Suc
thf(fact_6524_Least__eq__0,axiom,
    ! [P2: nat > $o] :
      ( ( P2 @ ( zero_zero @ nat ) )
     => ( ( ord_Least @ nat @ P2 )
        = ( zero_zero @ nat ) ) ) ).

% Least_eq_0
thf(fact_6525_not__less__Least,axiom,
    ! [A: $tType] :
      ( ( wellorder @ A )
     => ! [K2: A,P2: A > $o] :
          ( ( ord_less @ A @ K2 @ ( ord_Least @ A @ P2 ) )
         => ~ ( P2 @ K2 ) ) ) ).

% not_less_Least
thf(fact_6526_LeastI2__ex,axiom,
    ! [A: $tType] :
      ( ( wellorder @ A )
     => ! [P2: A > $o,Q2: A > $o] :
          ( ? [X_12: A] : ( P2 @ X_12 )
         => ( ! [X3: A] :
                ( ( P2 @ X3 )
               => ( Q2 @ X3 ) )
           => ( Q2 @ ( ord_Least @ A @ P2 ) ) ) ) ) ).

% LeastI2_ex
thf(fact_6527_LeastI__ex,axiom,
    ! [A: $tType] :
      ( ( wellorder @ A )
     => ! [P2: A > $o] :
          ( ? [X_12: A] : ( P2 @ X_12 )
         => ( P2 @ ( ord_Least @ A @ P2 ) ) ) ) ).

% LeastI_ex
thf(fact_6528_LeastI2,axiom,
    ! [A: $tType] :
      ( ( wellorder @ A )
     => ! [P2: A > $o,A3: A,Q2: A > $o] :
          ( ( P2 @ A3 )
         => ( ! [X3: A] :
                ( ( P2 @ X3 )
               => ( Q2 @ X3 ) )
           => ( Q2 @ ( ord_Least @ A @ P2 ) ) ) ) ) ).

% LeastI2
thf(fact_6529_LeastI,axiom,
    ! [A: $tType] :
      ( ( wellorder @ A )
     => ! [P2: A > $o,K2: A] :
          ( ( P2 @ K2 )
         => ( P2 @ ( ord_Least @ A @ P2 ) ) ) ) ).

% LeastI
thf(fact_6530_Least__le,axiom,
    ! [A: $tType] :
      ( ( wellorder @ A )
     => ! [P2: A > $o,K2: A] :
          ( ( P2 @ K2 )
         => ( ord_less_eq @ A @ ( ord_Least @ A @ P2 ) @ K2 ) ) ) ).

% Least_le
thf(fact_6531_LeastI2__wellorder__ex,axiom,
    ! [A: $tType] :
      ( ( wellorder @ A )
     => ! [P2: A > $o,Q2: A > $o] :
          ( ? [X_12: A] : ( P2 @ X_12 )
         => ( ! [A5: A] :
                ( ( P2 @ A5 )
               => ( ! [B12: A] :
                      ( ( P2 @ B12 )
                     => ( ord_less_eq @ A @ A5 @ B12 ) )
                 => ( Q2 @ A5 ) ) )
           => ( Q2 @ ( ord_Least @ A @ P2 ) ) ) ) ) ).

% LeastI2_wellorder_ex
thf(fact_6532_LeastI2__wellorder,axiom,
    ! [A: $tType] :
      ( ( wellorder @ A )
     => ! [P2: A > $o,A3: A,Q2: A > $o] :
          ( ( P2 @ A3 )
         => ( ! [A5: A] :
                ( ( P2 @ A5 )
               => ( ! [B12: A] :
                      ( ( P2 @ B12 )
                     => ( ord_less_eq @ A @ A5 @ B12 ) )
                 => ( Q2 @ A5 ) ) )
           => ( Q2 @ ( ord_Least @ A @ P2 ) ) ) ) ) ).

% LeastI2_wellorder
thf(fact_6533_Least__equality,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [P2: A > $o,X: A] :
          ( ( P2 @ X )
         => ( ! [Y3: A] :
                ( ( P2 @ Y3 )
               => ( ord_less_eq @ A @ X @ Y3 ) )
           => ( ( ord_Least @ A @ P2 )
              = X ) ) ) ) ).

% Least_equality
thf(fact_6534_LeastI2__order,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [P2: A > $o,X: A,Q2: A > $o] :
          ( ( P2 @ X )
         => ( ! [Y3: A] :
                ( ( P2 @ Y3 )
               => ( ord_less_eq @ A @ X @ Y3 ) )
           => ( ! [X3: A] :
                  ( ( P2 @ X3 )
                 => ( ! [Y5: A] :
                        ( ( P2 @ Y5 )
                       => ( ord_less_eq @ A @ X3 @ Y5 ) )
                   => ( Q2 @ X3 ) ) )
             => ( Q2 @ ( ord_Least @ A @ P2 ) ) ) ) ) ) ).

% LeastI2_order
thf(fact_6535_Least1__le,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [P2: A > $o,Z4: A] :
          ( ? [X6: A] :
              ( ( P2 @ X6 )
              & ! [Y3: A] :
                  ( ( P2 @ Y3 )
                 => ( ord_less_eq @ A @ X6 @ Y3 ) )
              & ! [Y3: A] :
                  ( ( ( P2 @ Y3 )
                    & ! [Ya2: A] :
                        ( ( P2 @ Ya2 )
                       => ( ord_less_eq @ A @ Y3 @ Ya2 ) ) )
                 => ( Y3 = X6 ) ) )
         => ( ( P2 @ Z4 )
           => ( ord_less_eq @ A @ ( ord_Least @ A @ P2 ) @ Z4 ) ) ) ) ).

% Least1_le
thf(fact_6536_Least1I,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [P2: A > $o] :
          ( ? [X6: A] :
              ( ( P2 @ X6 )
              & ! [Y3: A] :
                  ( ( P2 @ Y3 )
                 => ( ord_less_eq @ A @ X6 @ Y3 ) )
              & ! [Y3: A] :
                  ( ( ( P2 @ Y3 )
                    & ! [Ya2: A] :
                        ( ( P2 @ Ya2 )
                       => ( ord_less_eq @ A @ Y3 @ Ya2 ) ) )
                 => ( Y3 = X6 ) ) )
         => ( P2 @ ( ord_Least @ A @ P2 ) ) ) ) ).

% Least1I
thf(fact_6537_Inf__nat__def,axiom,
    ( ( complete_Inf_Inf @ nat )
    = ( ^ [X11: set @ nat] :
          ( ord_Least @ nat
          @ ^ [N3: nat] : ( member @ nat @ N3 @ X11 ) ) ) ) ).

% Inf_nat_def
thf(fact_6538_Least__Suc2,axiom,
    ! [P2: nat > $o,N: nat,Q2: nat > $o,M: nat] :
      ( ( P2 @ N )
     => ( ( Q2 @ M )
       => ( ~ ( P2 @ ( zero_zero @ nat ) )
         => ( ! [K: nat] :
                ( ( P2 @ ( suc @ K ) )
                = ( Q2 @ K ) )
           => ( ( ord_Least @ nat @ P2 )
              = ( suc @ ( ord_Least @ nat @ Q2 ) ) ) ) ) ) ) ).

% Least_Suc2
thf(fact_6539_Least__Suc,axiom,
    ! [P2: nat > $o,N: nat] :
      ( ( P2 @ N )
     => ( ~ ( P2 @ ( zero_zero @ nat ) )
       => ( ( ord_Least @ nat @ P2 )
          = ( suc
            @ ( ord_Least @ nat
              @ ^ [M3: nat] : ( P2 @ ( suc @ M3 ) ) ) ) ) ) ) ).

% Least_Suc
thf(fact_6540_Least__Min,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [P2: A > $o] :
          ( ( finite_finite2 @ A @ ( collect @ A @ P2 ) )
         => ( ? [X_12: A] : ( P2 @ X_12 )
           => ( ( ord_Least @ A @ P2 )
              = ( lattic643756798350308766er_Min @ A @ ( collect @ A @ P2 ) ) ) ) ) ) ).

% Least_Min
thf(fact_6541_abort__Bleast__def,axiom,
    ! [A: $tType] :
      ( ( ord @ A )
     => ( ( abort_Bleast @ A )
        = ( ^ [S4: set @ A,P5: A > $o] :
              ( ord_Least @ A
              @ ^ [X4: A] :
                  ( ( member @ A @ X4 @ S4 )
                  & ( P5 @ X4 ) ) ) ) ) ) ).

% abort_Bleast_def
thf(fact_6542_Bleast__def,axiom,
    ! [A: $tType] :
      ( ( ord @ A )
     => ( ( bleast @ A )
        = ( ^ [S4: set @ A,P5: A > $o] :
              ( ord_Least @ A
              @ ^ [X4: A] :
                  ( ( member @ A @ X4 @ S4 )
                  & ( P5 @ X4 ) ) ) ) ) ) ).

% Bleast_def
thf(fact_6543_enumerate__0,axiom,
    ! [A: $tType] :
      ( ( wellorder @ A )
     => ! [S: set @ A] :
          ( ( infini527867602293511546merate @ A @ S @ ( zero_zero @ nat ) )
          = ( ord_Least @ A
            @ ^ [N3: A] : ( member @ A @ N3 @ S ) ) ) ) ).

% enumerate_0
thf(fact_6544_Least__mono,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ( order @ A )
        & ( order @ B ) )
     => ! [F3: A > B,S: set @ A] :
          ( ( order_mono @ A @ B @ F3 )
         => ( ? [X6: A] :
                ( ( member @ A @ X6 @ S )
                & ! [Xa4: A] :
                    ( ( member @ A @ Xa4 @ S )
                   => ( ord_less_eq @ A @ X6 @ Xa4 ) ) )
           => ( ( ord_Least @ B
                @ ^ [Y4: B] : ( member @ B @ Y4 @ ( image2 @ A @ B @ F3 @ S ) ) )
              = ( F3
                @ ( ord_Least @ A
                  @ ^ [X4: A] : ( member @ A @ X4 @ S ) ) ) ) ) ) ) ).

% Least_mono
thf(fact_6545_enumerate__Suc_H_H,axiom,
    ! [A: $tType] :
      ( ( wellorder @ A )
     => ! [S: set @ A,N: nat] :
          ( ~ ( finite_finite2 @ A @ S )
         => ( ( infini527867602293511546merate @ A @ S @ ( suc @ N ) )
            = ( ord_Least @ A
              @ ^ [S5: A] :
                  ( ( member @ A @ S5 @ S )
                  & ( ord_less @ A @ ( infini527867602293511546merate @ A @ S @ N ) @ S5 ) ) ) ) ) ) ).

% enumerate_Suc''
thf(fact_6546_finite__refines__card__le,axiom,
    ! [A: $tType,A6: set @ A,R4: set @ ( product_prod @ A @ A ),S: set @ ( product_prod @ A @ A )] :
      ( ( finite_finite2 @ ( set @ A ) @ ( equiv_quotient @ A @ A6 @ R4 ) )
     => ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ R4 @ S )
       => ( ( equiv_equiv @ A @ A6 @ R4 )
         => ( ( equiv_equiv @ A @ A6 @ S )
           => ( ord_less_eq @ nat @ ( finite_card @ ( set @ A ) @ ( equiv_quotient @ A @ A6 @ S ) ) @ ( finite_card @ ( set @ A ) @ ( equiv_quotient @ A @ A6 @ R4 ) ) ) ) ) ) ) ).

% finite_refines_card_le
thf(fact_6547_SUP__set__fold,axiom,
    ! [B: $tType,A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [F3: B > A,Xs: list @ B] :
          ( ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ F3 @ ( set2 @ B @ Xs ) ) )
          = ( fold @ B @ A @ ( comp @ A @ ( A > A ) @ B @ ( sup_sup @ A ) @ F3 ) @ Xs @ ( bot_bot @ A ) ) ) ) ).

% SUP_set_fold
thf(fact_6548_in__quotient__imp__subset,axiom,
    ! [A: $tType,A6: set @ A,R3: set @ ( product_prod @ A @ A ),X7: set @ A] :
      ( ( equiv_equiv @ A @ A6 @ R3 )
     => ( ( member @ ( set @ A ) @ X7 @ ( equiv_quotient @ A @ A6 @ R3 ) )
       => ( ord_less_eq @ ( set @ A ) @ X7 @ A6 ) ) ) ).

% in_quotient_imp_subset
thf(fact_6549_quotient__eqI,axiom,
    ! [A: $tType,A6: set @ A,R3: set @ ( product_prod @ A @ A ),X7: set @ A,Y7: set @ A,X: A,Y: A] :
      ( ( equiv_equiv @ A @ A6 @ R3 )
     => ( ( member @ ( set @ A ) @ X7 @ ( equiv_quotient @ A @ A6 @ R3 ) )
       => ( ( member @ ( set @ A ) @ Y7 @ ( equiv_quotient @ A @ A6 @ R3 ) )
         => ( ( member @ A @ X @ X7 )
           => ( ( member @ A @ Y @ Y7 )
             => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ R3 )
               => ( X7 = Y7 ) ) ) ) ) ) ) ).

% quotient_eqI
thf(fact_6550_quotient__eq__iff,axiom,
    ! [A: $tType,A6: set @ A,R3: set @ ( product_prod @ A @ A ),X7: set @ A,Y7: set @ A,X: A,Y: A] :
      ( ( equiv_equiv @ A @ A6 @ R3 )
     => ( ( member @ ( set @ A ) @ X7 @ ( equiv_quotient @ A @ A6 @ R3 ) )
       => ( ( member @ ( set @ A ) @ Y7 @ ( equiv_quotient @ A @ A6 @ R3 ) )
         => ( ( member @ A @ X @ X7 )
           => ( ( member @ A @ Y @ Y7 )
             => ( ( X7 = Y7 )
                = ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ R3 ) ) ) ) ) ) ) ).

% quotient_eq_iff
thf(fact_6551_in__quotient__imp__closed,axiom,
    ! [A: $tType,A6: set @ A,R3: set @ ( product_prod @ A @ A ),X7: set @ A,X: A,Y: A] :
      ( ( equiv_equiv @ A @ A6 @ R3 )
     => ( ( member @ ( set @ A ) @ X7 @ ( equiv_quotient @ A @ A6 @ R3 ) )
       => ( ( member @ A @ X @ X7 )
         => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ R3 )
           => ( member @ A @ Y @ X7 ) ) ) ) ) ).

% in_quotient_imp_closed
thf(fact_6552_foldl__conv__fold,axiom,
    ! [B: $tType,A: $tType] :
      ( ( foldl @ A @ B )
      = ( ^ [F4: A > B > A,S5: A,Xs3: list @ B] :
            ( fold @ B @ A
            @ ^ [X4: B,T6: A] : ( F4 @ T6 @ X4 )
            @ Xs3
            @ S5 ) ) ) ).

% foldl_conv_fold
thf(fact_6553_fold__filter,axiom,
    ! [A: $tType,B: $tType,F3: B > A > A,P2: B > $o,Xs: list @ B] :
      ( ( fold @ B @ A @ F3 @ ( filter2 @ B @ P2 @ Xs ) )
      = ( fold @ B @ A
        @ ^ [X4: B] : ( if @ ( A > A ) @ ( P2 @ X4 ) @ ( F3 @ X4 ) @ ( id @ A ) )
        @ Xs ) ) ).

% fold_filter
thf(fact_6554_equiv__type,axiom,
    ! [A: $tType,A6: set @ A,R3: set @ ( product_prod @ A @ A )] :
      ( ( equiv_equiv @ A @ A6 @ R3 )
     => ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ R3
        @ ( product_Sigma @ A @ A @ A6
          @ ^ [Uu2: A] : A6 ) ) ) ).

% equiv_type
thf(fact_6555_union__set__fold,axiom,
    ! [A: $tType,Xs: list @ A,A6: set @ A] :
      ( ( sup_sup @ ( set @ A ) @ ( set2 @ A @ Xs ) @ A6 )
      = ( fold @ A @ ( set @ A ) @ ( insert @ A ) @ Xs @ A6 ) ) ).

% union_set_fold
thf(fact_6556_fold__plus__sum__list__rev,axiom,
    ! [A: $tType] :
      ( ( monoid_add @ A )
     => ! [Xs: list @ A] :
          ( ( fold @ A @ A @ ( plus_plus @ A ) @ Xs )
          = ( plus_plus @ A @ ( groups8242544230860333062m_list @ A @ ( rev @ A @ Xs ) ) ) ) ) ).

% fold_plus_sum_list_rev
thf(fact_6557_finite__refines__finite,axiom,
    ! [A: $tType,A6: set @ A,R4: set @ ( product_prod @ A @ A ),S: set @ ( product_prod @ A @ A )] :
      ( ( finite_finite2 @ ( set @ A ) @ ( equiv_quotient @ A @ A6 @ R4 ) )
     => ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ R4 @ S )
       => ( ( equiv_equiv @ A @ A6 @ R4 )
         => ( ( equiv_equiv @ A @ A6 @ S )
           => ( finite_finite2 @ ( set @ A ) @ ( equiv_quotient @ A @ A6 @ S ) ) ) ) ) ) ).

% finite_refines_finite
thf(fact_6558_sort__conv__fold,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Xs: list @ A] :
          ( ( linorder_sort_key @ A @ A
            @ ^ [X4: A] : X4
            @ Xs )
          = ( fold @ A @ ( list @ A )
            @ ( linorder_insort_key @ A @ A
              @ ^ [X4: A] : X4 )
            @ Xs
            @ ( nil @ A ) ) ) ) ).

% sort_conv_fold
thf(fact_6559_Sup__set__fold,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [Xs: list @ A] :
          ( ( complete_Sup_Sup @ A @ ( set2 @ A @ Xs ) )
          = ( fold @ A @ A @ ( sup_sup @ A ) @ Xs @ ( bot_bot @ A ) ) ) ) ).

% Sup_set_fold
thf(fact_6560_equiv__class__eq__iff,axiom,
    ! [A: $tType,A6: set @ A,R3: set @ ( product_prod @ A @ A ),X: A,Y: A] :
      ( ( equiv_equiv @ A @ A6 @ R3 )
     => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ R3 )
        = ( ( ( image @ A @ A @ R3 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) )
            = ( image @ A @ A @ R3 @ ( insert @ A @ Y @ ( bot_bot @ ( set @ A ) ) ) ) )
          & ( member @ A @ X @ A6 )
          & ( member @ A @ Y @ A6 ) ) ) ) ).

% equiv_class_eq_iff
thf(fact_6561_eq__equiv__class__iff,axiom,
    ! [A: $tType,A6: set @ A,R3: set @ ( product_prod @ A @ A ),X: A,Y: A] :
      ( ( equiv_equiv @ A @ A6 @ R3 )
     => ( ( member @ A @ X @ A6 )
       => ( ( member @ A @ Y @ A6 )
         => ( ( ( image @ A @ A @ R3 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) )
              = ( image @ A @ A @ R3 @ ( insert @ A @ Y @ ( bot_bot @ ( set @ A ) ) ) ) )
            = ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ R3 ) ) ) ) ) ).

% eq_equiv_class_iff
thf(fact_6562_equiv__class__eq,axiom,
    ! [A: $tType,A6: set @ A,R3: set @ ( product_prod @ A @ A ),A3: A,B2: A] :
      ( ( equiv_equiv @ A @ A6 @ R3 )
     => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ R3 )
       => ( ( image @ A @ A @ R3 @ ( insert @ A @ A3 @ ( bot_bot @ ( set @ A ) ) ) )
          = ( image @ A @ A @ R3 @ ( insert @ A @ B2 @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ) ).

% equiv_class_eq
thf(fact_6563_eq__equiv__class,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A3: A,B2: A,A6: set @ A] :
      ( ( ( image @ A @ A @ R3 @ ( insert @ A @ A3 @ ( bot_bot @ ( set @ A ) ) ) )
        = ( image @ A @ A @ R3 @ ( insert @ A @ B2 @ ( bot_bot @ ( set @ A ) ) ) ) )
     => ( ( equiv_equiv @ A @ A6 @ R3 )
       => ( ( member @ A @ B2 @ A6 )
         => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ R3 ) ) ) ) ).

% eq_equiv_class
thf(fact_6564_Sup__fin_Oset__eq__fold,axiom,
    ! [A: $tType] :
      ( ( semilattice_sup @ A )
     => ! [X: A,Xs: list @ A] :
          ( ( lattic5882676163264333800up_fin @ A @ ( set2 @ A @ ( cons @ A @ X @ Xs ) ) )
          = ( fold @ A @ A @ ( sup_sup @ A ) @ Xs @ X ) ) ) ).

% Sup_fin.set_eq_fold
thf(fact_6565_eq__equiv__class__iff2,axiom,
    ! [A: $tType,A6: set @ A,R3: set @ ( product_prod @ A @ A ),X: A,Y: A] :
      ( ( equiv_equiv @ A @ A6 @ R3 )
     => ( ( member @ A @ X @ A6 )
       => ( ( member @ A @ Y @ A6 )
         => ( ( ( equiv_quotient @ A @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) @ R3 )
              = ( equiv_quotient @ A @ ( insert @ A @ Y @ ( bot_bot @ ( set @ A ) ) ) @ R3 ) )
            = ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ R3 ) ) ) ) ) ).

% eq_equiv_class_iff2
thf(fact_6566_refines__equiv__class__eq,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A ),S: set @ ( product_prod @ A @ A ),A6: set @ A,A3: A] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ R4 @ S )
     => ( ( equiv_equiv @ A @ A6 @ R4 )
       => ( ( equiv_equiv @ A @ A6 @ S )
         => ( ( image @ A @ A @ R4 @ ( image @ A @ A @ S @ ( insert @ A @ A3 @ ( bot_bot @ ( set @ A ) ) ) ) )
            = ( image @ A @ A @ S @ ( insert @ A @ A3 @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ) ) ).

% refines_equiv_class_eq
thf(fact_6567_refines__equiv__class__eq2,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A ),S: set @ ( product_prod @ A @ A ),A6: set @ A,A3: A] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ R4 @ S )
     => ( ( equiv_equiv @ A @ A6 @ R4 )
       => ( ( equiv_equiv @ A @ A6 @ S )
         => ( ( image @ A @ A @ S @ ( image @ A @ A @ R4 @ ( insert @ A @ A3 @ ( bot_bot @ ( set @ A ) ) ) ) )
            = ( image @ A @ A @ S @ ( insert @ A @ A3 @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ) ) ).

% refines_equiv_class_eq2
thf(fact_6568_comp__fun__idem__on_Ofold__set__fold,axiom,
    ! [A: $tType,B: $tType,S: set @ A,F3: A > B > B,Xs: list @ A,Y: B] :
      ( ( finite673082921795544331dem_on @ A @ B @ S @ F3 )
     => ( ( ord_less_eq @ ( set @ A ) @ ( set2 @ A @ Xs ) @ S )
       => ( ( finite_fold @ A @ B @ F3 @ Y @ ( set2 @ A @ Xs ) )
          = ( fold @ A @ B @ F3 @ Xs @ Y ) ) ) ) ).

% comp_fun_idem_on.fold_set_fold
thf(fact_6569_refines__equiv__image__eq,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A ),S: set @ ( product_prod @ A @ A ),A6: set @ A] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ R4 @ S )
     => ( ( equiv_equiv @ A @ A6 @ R4 )
       => ( ( equiv_equiv @ A @ A6 @ S )
         => ( ( image2 @ ( set @ A ) @ ( set @ A ) @ ( image @ A @ A @ S ) @ ( equiv_quotient @ A @ A6 @ R4 ) )
            = ( equiv_quotient @ A @ A6 @ S ) ) ) ) ) ).

% refines_equiv_image_eq
thf(fact_6570_equiv__class__subset,axiom,
    ! [A: $tType,A6: set @ A,R3: set @ ( product_prod @ A @ A ),A3: A,B2: A] :
      ( ( equiv_equiv @ A @ A6 @ R3 )
     => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ R3 )
       => ( ord_less_eq @ ( set @ A ) @ ( image @ A @ A @ R3 @ ( insert @ A @ A3 @ ( bot_bot @ ( set @ A ) ) ) ) @ ( image @ A @ A @ R3 @ ( insert @ A @ B2 @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ) ).

% equiv_class_subset
thf(fact_6571_subset__equiv__class,axiom,
    ! [A: $tType,A6: set @ A,R3: set @ ( product_prod @ A @ A ),B2: A,A3: A] :
      ( ( equiv_equiv @ A @ A6 @ R3 )
     => ( ( ord_less_eq @ ( set @ A ) @ ( image @ A @ A @ R3 @ ( insert @ A @ B2 @ ( bot_bot @ ( set @ A ) ) ) ) @ ( image @ A @ A @ R3 @ ( insert @ A @ A3 @ ( bot_bot @ ( set @ A ) ) ) ) )
       => ( ( member @ A @ B2 @ A6 )
         => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ R3 ) ) ) ) ).

% subset_equiv_class
thf(fact_6572_equiv__class__nondisjoint,axiom,
    ! [A: $tType,A6: set @ A,R3: set @ ( product_prod @ A @ A ),X: A,A3: A,B2: A] :
      ( ( equiv_equiv @ A @ A6 @ R3 )
     => ( ( member @ A @ X @ ( inf_inf @ ( set @ A ) @ ( image @ A @ A @ R3 @ ( insert @ A @ A3 @ ( bot_bot @ ( set @ A ) ) ) ) @ ( image @ A @ A @ R3 @ ( insert @ A @ B2 @ ( bot_bot @ ( set @ A ) ) ) ) ) )
       => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ R3 ) ) ) ).

% equiv_class_nondisjoint
thf(fact_6573_in__quotient__imp__in__rel,axiom,
    ! [A: $tType,A6: set @ A,R3: set @ ( product_prod @ A @ A ),X7: set @ A,X: A,Y: A] :
      ( ( equiv_equiv @ A @ A6 @ R3 )
     => ( ( member @ ( set @ A ) @ X7 @ ( equiv_quotient @ A @ A6 @ R3 ) )
       => ( ( ord_less_eq @ ( set @ A ) @ ( insert @ A @ X @ ( insert @ A @ Y @ ( bot_bot @ ( set @ A ) ) ) ) @ X7 )
         => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ R3 ) ) ) ) ).

% in_quotient_imp_in_rel
thf(fact_6574_comp__fun__commute__on_Ofold__set__fold__remdups,axiom,
    ! [A: $tType,B: $tType,S: set @ A,F3: A > B > B,Xs: list @ A,Y: B] :
      ( ( finite4664212375090638736ute_on @ A @ B @ S @ F3 )
     => ( ( ord_less_eq @ ( set @ A ) @ ( set2 @ A @ Xs ) @ S )
       => ( ( finite_fold @ A @ B @ F3 @ Y @ ( set2 @ A @ Xs ) )
          = ( fold @ A @ B @ F3 @ ( remdups @ A @ Xs ) @ Y ) ) ) ) ).

% comp_fun_commute_on.fold_set_fold_remdups
thf(fact_6575_UN__equiv__class2,axiom,
    ! [A: $tType,C: $tType,B: $tType,A18: set @ A,R12: set @ ( product_prod @ A @ A ),A25: set @ B,R23: set @ ( product_prod @ B @ B ),F3: A > B > ( set @ C ),A1: A,A22: B] :
      ( ( equiv_equiv @ A @ A18 @ R12 )
     => ( ( equiv_equiv @ B @ A25 @ R23 )
       => ( ( equiv_congruent2 @ A @ B @ ( set @ C ) @ R12 @ R23 @ F3 )
         => ( ( member @ A @ A1 @ A18 )
           => ( ( member @ B @ A22 @ A25 )
             => ( ( complete_Sup_Sup @ ( set @ C )
                  @ ( image2 @ A @ ( set @ C )
                    @ ^ [X12: A] : ( complete_Sup_Sup @ ( set @ C ) @ ( image2 @ B @ ( set @ C ) @ ( F3 @ X12 ) @ ( image @ B @ B @ R23 @ ( insert @ B @ A22 @ ( bot_bot @ ( set @ B ) ) ) ) ) )
                    @ ( image @ A @ A @ R12 @ ( insert @ A @ A1 @ ( bot_bot @ ( set @ A ) ) ) ) ) )
                = ( F3 @ A1 @ A22 ) ) ) ) ) ) ) ).

% UN_equiv_class2
thf(fact_6576_UN__equiv__class,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,R3: set @ ( product_prod @ A @ A ),F3: A > ( set @ B ),A3: A] :
      ( ( equiv_equiv @ A @ A6 @ R3 )
     => ( ( equiv_congruent @ A @ ( set @ B ) @ R3 @ F3 )
       => ( ( member @ A @ A3 @ A6 )
         => ( ( complete_Sup_Sup @ ( set @ B ) @ ( image2 @ A @ ( set @ B ) @ F3 @ ( image @ A @ A @ R3 @ ( insert @ A @ A3 @ ( bot_bot @ ( set @ A ) ) ) ) ) )
            = ( F3 @ A3 ) ) ) ) ) ).

% UN_equiv_class
thf(fact_6577_congruentD,axiom,
    ! [B: $tType,A: $tType,R3: set @ ( product_prod @ A @ A ),F3: A > B,Y: A,Z4: A] :
      ( ( equiv_congruent @ A @ B @ R3 @ F3 )
     => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y @ Z4 ) @ R3 )
       => ( ( F3 @ Y )
          = ( F3 @ Z4 ) ) ) ) ).

% congruentD
thf(fact_6578_congruentI,axiom,
    ! [B: $tType,A: $tType,R3: set @ ( product_prod @ A @ A ),F3: A > B] :
      ( ! [Y3: A,Z3: A] :
          ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y3 @ Z3 ) @ R3 )
         => ( ( F3 @ Y3 )
            = ( F3 @ Z3 ) ) )
     => ( equiv_congruent @ A @ B @ R3 @ F3 ) ) ).

% congruentI
thf(fact_6579_congruent2D,axiom,
    ! [A: $tType,C: $tType,B: $tType,R12: set @ ( product_prod @ A @ A ),R23: set @ ( product_prod @ B @ B ),F3: A > B > C,Y1: A,Z1: A,Y2: B,Z22: B] :
      ( ( equiv_congruent2 @ A @ B @ C @ R12 @ R23 @ F3 )
     => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y1 @ Z1 ) @ R12 )
       => ( ( member @ ( product_prod @ B @ B ) @ ( product_Pair @ B @ B @ Y2 @ Z22 ) @ R23 )
         => ( ( F3 @ Y1 @ Y2 )
            = ( F3 @ Z1 @ Z22 ) ) ) ) ) ).

% congruent2D
thf(fact_6580_congruent2I_H,axiom,
    ! [C: $tType,B: $tType,A: $tType,R12: set @ ( product_prod @ A @ A ),R23: set @ ( product_prod @ B @ B ),F3: A > B > C] :
      ( ! [Y12: A,Z12: A,Y22: B,Z23: B] :
          ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y12 @ Z12 ) @ R12 )
         => ( ( member @ ( product_prod @ B @ B ) @ ( product_Pair @ B @ B @ Y22 @ Z23 ) @ R23 )
           => ( ( F3 @ Y12 @ Y22 )
              = ( F3 @ Z12 @ Z23 ) ) ) )
     => ( equiv_congruent2 @ A @ B @ C @ R12 @ R23 @ F3 ) ) ).

% congruent2I'
thf(fact_6581_congruent2I,axiom,
    ! [C: $tType,B: $tType,A: $tType,A18: set @ A,R12: set @ ( product_prod @ A @ A ),A25: set @ B,R23: set @ ( product_prod @ B @ B ),F3: A > B > C] :
      ( ( equiv_equiv @ A @ A18 @ R12 )
     => ( ( equiv_equiv @ B @ A25 @ R23 )
       => ( ! [Y3: A,Z3: A,W: B] :
              ( ( member @ B @ W @ A25 )
             => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y3 @ Z3 ) @ R12 )
               => ( ( F3 @ Y3 @ W )
                  = ( F3 @ Z3 @ W ) ) ) )
         => ( ! [Y3: B,Z3: B,W: A] :
                ( ( member @ A @ W @ A18 )
               => ( ( member @ ( product_prod @ B @ B ) @ ( product_Pair @ B @ B @ Y3 @ Z3 ) @ R23 )
                 => ( ( F3 @ W @ Y3 )
                    = ( F3 @ W @ Z3 ) ) ) )
           => ( equiv_congruent2 @ A @ B @ C @ R12 @ R23 @ F3 ) ) ) ) ) ).

% congruent2I
thf(fact_6582_congruent2__commuteI,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,R3: set @ ( product_prod @ A @ A ),F3: A > A > B] :
      ( ( equiv_equiv @ A @ A6 @ R3 )
     => ( ! [Y3: A,Z3: A] :
            ( ( member @ A @ Y3 @ A6 )
           => ( ( member @ A @ Z3 @ A6 )
             => ( ( F3 @ Y3 @ Z3 )
                = ( F3 @ Z3 @ Y3 ) ) ) )
       => ( ! [Y3: A,Z3: A,W: A] :
              ( ( member @ A @ W @ A6 )
             => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y3 @ Z3 ) @ R3 )
               => ( ( F3 @ W @ Y3 )
                  = ( F3 @ W @ Z3 ) ) ) )
         => ( equiv_congruent2 @ A @ A @ B @ R3 @ R3 @ F3 ) ) ) ) ).

% congruent2_commuteI
thf(fact_6583_congruent2__implies__congruent__UN,axiom,
    ! [B: $tType,C: $tType,A: $tType,A18: set @ A,R12: set @ ( product_prod @ A @ A ),A25: set @ B,R23: set @ ( product_prod @ B @ B ),F3: A > B > ( set @ C ),A3: B] :
      ( ( equiv_equiv @ A @ A18 @ R12 )
     => ( ( equiv_equiv @ B @ A25 @ R23 )
       => ( ( equiv_congruent2 @ A @ B @ ( set @ C ) @ R12 @ R23 @ F3 )
         => ( ( member @ B @ A3 @ A25 )
           => ( equiv_congruent @ A @ ( set @ C ) @ R12
              @ ^ [X12: A] : ( complete_Sup_Sup @ ( set @ C ) @ ( image2 @ B @ ( set @ C ) @ ( F3 @ X12 ) @ ( image @ B @ B @ R23 @ ( insert @ B @ A3 @ ( bot_bot @ ( set @ B ) ) ) ) ) ) ) ) ) ) ) ).

% congruent2_implies_congruent_UN
thf(fact_6584_UN__equiv__class__type,axiom,
    ! [A: $tType,B: $tType,A6: set @ A,R3: set @ ( product_prod @ A @ A ),F3: A > ( set @ B ),X7: set @ A,B6: set @ ( set @ B )] :
      ( ( equiv_equiv @ A @ A6 @ R3 )
     => ( ( equiv_congruent @ A @ ( set @ B ) @ R3 @ F3 )
       => ( ( member @ ( set @ A ) @ X7 @ ( equiv_quotient @ A @ A6 @ R3 ) )
         => ( ! [X3: A] :
                ( ( member @ A @ X3 @ A6 )
               => ( member @ ( set @ B ) @ ( F3 @ X3 ) @ B6 ) )
           => ( member @ ( set @ B ) @ ( complete_Sup_Sup @ ( set @ B ) @ ( image2 @ A @ ( set @ B ) @ F3 @ X7 ) ) @ B6 ) ) ) ) ) ).

% UN_equiv_class_type
thf(fact_6585_UN__equiv__class__type2,axiom,
    ! [A: $tType,B: $tType,C: $tType,A18: set @ A,R12: set @ ( product_prod @ A @ A ),A25: set @ B,R23: set @ ( product_prod @ B @ B ),F3: A > B > ( set @ C ),X17: set @ A,X24: set @ B,B6: set @ ( set @ C )] :
      ( ( equiv_equiv @ A @ A18 @ R12 )
     => ( ( equiv_equiv @ B @ A25 @ R23 )
       => ( ( equiv_congruent2 @ A @ B @ ( set @ C ) @ R12 @ R23 @ F3 )
         => ( ( member @ ( set @ A ) @ X17 @ ( equiv_quotient @ A @ A18 @ R12 ) )
           => ( ( member @ ( set @ B ) @ X24 @ ( equiv_quotient @ B @ A25 @ R23 ) )
             => ( ! [X13: A,X22: B] :
                    ( ( member @ A @ X13 @ A18 )
                   => ( ( member @ B @ X22 @ A25 )
                     => ( member @ ( set @ C ) @ ( F3 @ X13 @ X22 ) @ B6 ) ) )
               => ( member @ ( set @ C )
                  @ ( complete_Sup_Sup @ ( set @ C )
                    @ ( image2 @ A @ ( set @ C )
                      @ ^ [X12: A] : ( complete_Sup_Sup @ ( set @ C ) @ ( image2 @ B @ ( set @ C ) @ ( F3 @ X12 ) @ X24 ) )
                      @ X17 ) )
                  @ B6 ) ) ) ) ) ) ) ).

% UN_equiv_class_type2
thf(fact_6586_UN__equiv__class__inject,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,R3: set @ ( product_prod @ A @ A ),F3: A > ( set @ B ),X7: set @ A,Y7: set @ A] :
      ( ( equiv_equiv @ A @ A6 @ R3 )
     => ( ( equiv_congruent @ A @ ( set @ B ) @ R3 @ F3 )
       => ( ( ( complete_Sup_Sup @ ( set @ B ) @ ( image2 @ A @ ( set @ B ) @ F3 @ X7 ) )
            = ( complete_Sup_Sup @ ( set @ B ) @ ( image2 @ A @ ( set @ B ) @ F3 @ Y7 ) ) )
         => ( ( member @ ( set @ A ) @ X7 @ ( equiv_quotient @ A @ A6 @ R3 ) )
           => ( ( member @ ( set @ A ) @ Y7 @ ( equiv_quotient @ A @ A6 @ R3 ) )
             => ( ! [X3: A,Y3: A] :
                    ( ( member @ A @ X3 @ A6 )
                   => ( ( member @ A @ Y3 @ A6 )
                     => ( ( ( F3 @ X3 )
                          = ( F3 @ Y3 ) )
                       => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X3 @ Y3 ) @ R3 ) ) ) )
               => ( X7 = Y7 ) ) ) ) ) ) ) ).

% UN_equiv_class_inject
thf(fact_6587_univ__preserves,axiom,
    ! [A: $tType,B: $tType,A6: set @ A,R3: set @ ( product_prod @ A @ A ),F3: A > B,B6: set @ B] :
      ( ( equiv_equiv @ A @ A6 @ R3 )
     => ( ( equiv_congruent @ A @ B @ R3 @ F3 )
       => ( ! [X3: A] :
              ( ( member @ A @ X3 @ A6 )
             => ( member @ B @ ( F3 @ X3 ) @ B6 ) )
         => ! [X6: set @ A] :
              ( ( member @ ( set @ A ) @ X6 @ ( equiv_quotient @ A @ A6 @ R3 ) )
             => ( member @ B @ ( bNF_Greatest_univ @ A @ B @ F3 @ X6 ) @ B6 ) ) ) ) ) ).

% univ_preserves
thf(fact_6588_proj__iff,axiom,
    ! [A: $tType,A6: set @ A,R3: set @ ( product_prod @ A @ A ),X: A,Y: A] :
      ( ( equiv_equiv @ A @ A6 @ R3 )
     => ( ( ord_less_eq @ ( set @ A ) @ ( insert @ A @ X @ ( insert @ A @ Y @ ( bot_bot @ ( set @ A ) ) ) ) @ A6 )
       => ( ( ( equiv_proj @ A @ A @ R3 @ X )
            = ( equiv_proj @ A @ A @ R3 @ Y ) )
          = ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ R3 ) ) ) ) ).

% proj_iff
thf(fact_6589_univ__commute,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,R3: set @ ( product_prod @ A @ A ),F3: A > B,X: A] :
      ( ( equiv_equiv @ A @ A6 @ R3 )
     => ( ( equiv_congruent @ A @ B @ R3 @ F3 )
       => ( ( member @ A @ X @ A6 )
         => ( ( bNF_Greatest_univ @ A @ B @ F3 @ ( equiv_proj @ A @ A @ R3 @ X ) )
            = ( F3 @ X ) ) ) ) ) ).

% univ_commute
thf(fact_6590_equiv__proj,axiom,
    ! [A: $tType,A6: set @ A,R4: set @ ( product_prod @ A @ A ),Z4: product_prod @ A @ A] :
      ( ( equiv_equiv @ A @ A6 @ R4 )
     => ( ( member @ ( product_prod @ A @ A ) @ Z4 @ R4 )
       => ( ( comp @ A @ ( set @ A ) @ ( product_prod @ A @ A ) @ ( equiv_proj @ A @ A @ R4 ) @ ( product_fst @ A @ A ) @ Z4 )
          = ( comp @ A @ ( set @ A ) @ ( product_prod @ A @ A ) @ ( equiv_proj @ A @ A @ R4 ) @ ( product_snd @ A @ A ) @ Z4 ) ) ) ) ).

% equiv_proj
thf(fact_6591_relImage__proj,axiom,
    ! [A: $tType,A6: set @ A,R4: set @ ( product_prod @ A @ A )] :
      ( ( equiv_equiv @ A @ A6 @ R4 )
     => ( ord_less_eq @ ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) @ ( bNF_Gr4221423524335903396lImage @ A @ ( set @ A ) @ R4 @ ( equiv_proj @ A @ A @ R4 ) ) @ ( id_on @ ( set @ A ) @ ( equiv_quotient @ A @ A6 @ R4 ) ) ) ) ).

% relImage_proj
thf(fact_6592_remove__def,axiom,
    ! [A: $tType] :
      ( ( remove @ A )
      = ( ^ [X4: A,A8: set @ A] : ( minus_minus @ ( set @ A ) @ A8 @ ( insert @ A @ X4 @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ).

% remove_def
thf(fact_6593_relInvImage__Gr,axiom,
    ! [A: $tType,B: $tType,R4: set @ ( product_prod @ A @ A ),B6: set @ A,A6: set @ B,F3: B > A] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ R4
        @ ( product_Sigma @ A @ A @ B6
          @ ^ [Uu2: A] : B6 ) )
     => ( ( bNF_Gr7122648621184425601vImage @ B @ A @ A6 @ R4 @ F3 )
        = ( relcomp @ B @ A @ B @ ( bNF_Gr @ B @ A @ A6 @ F3 ) @ ( relcomp @ A @ A @ B @ R4 @ ( converse @ B @ A @ ( bNF_Gr @ B @ A @ A6 @ F3 ) ) ) ) ) ) ).

% relInvImage_Gr
thf(fact_6594_member__remove,axiom,
    ! [A: $tType,X: A,Y: A,A6: set @ A] :
      ( ( member @ A @ X @ ( remove @ A @ Y @ A6 ) )
      = ( ( member @ A @ X @ A6 )
        & ( X != Y ) ) ) ).

% member_remove
thf(fact_6595_converse__iff,axiom,
    ! [A: $tType,B: $tType,A3: A,B2: B,R3: set @ ( product_prod @ B @ A )] :
      ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ A3 @ B2 ) @ ( converse @ B @ A @ R3 ) )
      = ( member @ ( product_prod @ B @ A ) @ ( product_Pair @ B @ A @ B2 @ A3 ) @ R3 ) ) ).

% converse_iff
thf(fact_6596_converse__mono,axiom,
    ! [A: $tType,B: $tType,R3: set @ ( product_prod @ B @ A ),S2: set @ ( product_prod @ B @ A )] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ B ) ) @ ( converse @ B @ A @ R3 ) @ ( converse @ B @ A @ S2 ) )
      = ( ord_less_eq @ ( set @ ( product_prod @ B @ A ) ) @ R3 @ S2 ) ) ).

% converse_mono
thf(fact_6597_pair__set__inverse,axiom,
    ! [B: $tType,A: $tType,P2: B > A > $o] :
      ( ( converse @ B @ A @ ( collect @ ( product_prod @ B @ A ) @ ( product_case_prod @ B @ A @ $o @ P2 ) ) )
      = ( collect @ ( product_prod @ A @ B )
        @ ( product_case_prod @ A @ B @ $o
          @ ^ [B5: A,A7: B] : ( P2 @ A7 @ B5 ) ) ) ) ).

% pair_set_inverse
thf(fact_6598_below__Id__inv,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A )] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ ( converse @ A @ A @ R4 ) @ ( id2 @ A ) )
      = ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ R4 @ ( id2 @ A ) ) ) ).

% below_Id_inv
thf(fact_6599_finite__wf__eq__wf__converse,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A )] :
      ( ( finite_finite2 @ ( product_prod @ A @ A ) @ R4 )
     => ( ( wf @ A @ ( converse @ A @ A @ R4 ) )
        = ( wf @ A @ R4 ) ) ) ).

% finite_wf_eq_wf_converse
thf(fact_6600_converse__Times,axiom,
    ! [B: $tType,A: $tType,A6: set @ B,B6: set @ A] :
      ( ( converse @ B @ A
        @ ( product_Sigma @ B @ A @ A6
          @ ^ [Uu2: B] : B6 ) )
      = ( product_Sigma @ A @ B @ B6
        @ ^ [Uu2: A] : A6 ) ) ).

% converse_Times
thf(fact_6601_converse__Un,axiom,
    ! [A: $tType,B: $tType,R3: set @ ( product_prod @ B @ A ),S2: set @ ( product_prod @ B @ A )] :
      ( ( converse @ B @ A @ ( sup_sup @ ( set @ ( product_prod @ B @ A ) ) @ R3 @ S2 ) )
      = ( sup_sup @ ( set @ ( product_prod @ A @ B ) ) @ ( converse @ B @ A @ R3 ) @ ( converse @ B @ A @ S2 ) ) ) ).

% converse_Un
thf(fact_6602_converseI,axiom,
    ! [B: $tType,A: $tType,A3: A,B2: B,R3: set @ ( product_prod @ A @ B )] :
      ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ A3 @ B2 ) @ R3 )
     => ( member @ ( product_prod @ B @ A ) @ ( product_Pair @ B @ A @ B2 @ A3 ) @ ( converse @ A @ B @ R3 ) ) ) ).

% converseI
thf(fact_6603_converseE,axiom,
    ! [A: $tType,B: $tType,Yx: product_prod @ A @ B,R3: set @ ( product_prod @ B @ A )] :
      ( ( member @ ( product_prod @ A @ B ) @ Yx @ ( converse @ B @ A @ R3 ) )
     => ~ ! [X3: B,Y3: A] :
            ( ( Yx
              = ( product_Pair @ A @ B @ Y3 @ X3 ) )
           => ~ ( member @ ( product_prod @ B @ A ) @ ( product_Pair @ B @ A @ X3 @ Y3 ) @ R3 ) ) ) ).

% converseE
thf(fact_6604_converseD,axiom,
    ! [A: $tType,B: $tType,A3: A,B2: B,R3: set @ ( product_prod @ B @ A )] :
      ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ A3 @ B2 ) @ ( converse @ B @ A @ R3 ) )
     => ( member @ ( product_prod @ B @ A ) @ ( product_Pair @ B @ A @ B2 @ A3 ) @ R3 ) ) ).

% converseD
thf(fact_6605_converse_Osimps,axiom,
    ! [B: $tType,A: $tType,A1: B,A22: A,R3: set @ ( product_prod @ A @ B )] :
      ( ( member @ ( product_prod @ B @ A ) @ ( product_Pair @ B @ A @ A1 @ A22 ) @ ( converse @ A @ B @ R3 ) )
      = ( ? [A7: A,B5: B] :
            ( ( A1 = B5 )
            & ( A22 = A7 )
            & ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ A7 @ B5 ) @ R3 ) ) ) ) ).

% converse.simps
thf(fact_6606_converse_Ocases,axiom,
    ! [B: $tType,A: $tType,A1: B,A22: A,R3: set @ ( product_prod @ A @ B )] :
      ( ( member @ ( product_prod @ B @ A ) @ ( product_Pair @ B @ A @ A1 @ A22 ) @ ( converse @ A @ B @ R3 ) )
     => ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ A22 @ A1 ) @ R3 ) ) ).

% converse.cases
thf(fact_6607_trancl__converseD,axiom,
    ! [A: $tType,X: A,Y: A,R3: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ ( transitive_trancl @ A @ ( converse @ A @ A @ R3 ) ) )
     => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ ( converse @ A @ A @ ( transitive_trancl @ A @ R3 ) ) ) ) ).

% trancl_converseD
thf(fact_6608_trancl__converseI,axiom,
    ! [A: $tType,X: A,Y: A,R3: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ ( converse @ A @ A @ ( transitive_trancl @ A @ R3 ) ) )
     => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ ( transitive_trancl @ A @ ( converse @ A @ A @ R3 ) ) ) ) ).

% trancl_converseI
thf(fact_6609_rtrancl__converseD,axiom,
    ! [A: $tType,X: A,Y: A,R3: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ ( transitive_rtrancl @ A @ ( converse @ A @ A @ R3 ) ) )
     => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y @ X ) @ ( transitive_rtrancl @ A @ R3 ) ) ) ).

% rtrancl_converseD
thf(fact_6610_rtrancl__converseI,axiom,
    ! [A: $tType,Y: A,X: A,R3: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y @ X ) @ ( transitive_rtrancl @ A @ R3 ) )
     => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ ( transitive_rtrancl @ A @ ( converse @ A @ A @ R3 ) ) ) ) ).

% rtrancl_converseI
thf(fact_6611_converse__unfold,axiom,
    ! [A: $tType,B: $tType] :
      ( ( converse @ B @ A )
      = ( ^ [R5: set @ ( product_prod @ B @ A )] :
            ( collect @ ( product_prod @ A @ B )
            @ ( product_case_prod @ A @ B @ $o
              @ ^ [Y4: A,X4: B] : ( member @ ( product_prod @ B @ A ) @ ( product_Pair @ B @ A @ X4 @ Y4 ) @ R5 ) ) ) ) ) ).

% converse_unfold
thf(fact_6612_converse__subset__swap,axiom,
    ! [A: $tType,B: $tType,R3: set @ ( product_prod @ A @ B ),S2: set @ ( product_prod @ B @ A )] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ B ) ) @ R3 @ ( converse @ B @ A @ S2 ) )
      = ( ord_less_eq @ ( set @ ( product_prod @ B @ A ) ) @ ( converse @ A @ B @ R3 ) @ S2 ) ) ).

% converse_subset_swap
thf(fact_6613_converse__UNION,axiom,
    ! [B: $tType,A: $tType,C: $tType,R3: C > ( set @ ( product_prod @ B @ A ) ),S: set @ C] :
      ( ( converse @ B @ A @ ( complete_Sup_Sup @ ( set @ ( product_prod @ B @ A ) ) @ ( image2 @ C @ ( set @ ( product_prod @ B @ A ) ) @ R3 @ S ) ) )
      = ( complete_Sup_Sup @ ( set @ ( product_prod @ A @ B ) )
        @ ( image2 @ C @ ( set @ ( product_prod @ A @ B ) )
          @ ^ [X4: C] : ( converse @ B @ A @ ( R3 @ X4 ) )
          @ S ) ) ) ).

% converse_UNION
thf(fact_6614_converse__INTER,axiom,
    ! [B: $tType,A: $tType,C: $tType,R3: C > ( set @ ( product_prod @ B @ A ) ),S: set @ C] :
      ( ( converse @ B @ A @ ( complete_Inf_Inf @ ( set @ ( product_prod @ B @ A ) ) @ ( image2 @ C @ ( set @ ( product_prod @ B @ A ) ) @ R3 @ S ) ) )
      = ( complete_Inf_Inf @ ( set @ ( product_prod @ A @ B ) )
        @ ( image2 @ C @ ( set @ ( product_prod @ A @ B ) )
          @ ^ [X4: C] : ( converse @ B @ A @ ( R3 @ X4 ) )
          @ S ) ) ) ).

% converse_INTER
thf(fact_6615_Image__subset__eq,axiom,
    ! [B: $tType,A: $tType,R3: set @ ( product_prod @ B @ A ),A6: set @ B,B6: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ ( image @ B @ A @ R3 @ A6 ) @ B6 )
      = ( ord_less_eq @ ( set @ B ) @ A6 @ ( uminus_uminus @ ( set @ B ) @ ( image @ A @ B @ ( converse @ B @ A @ R3 ) @ ( uminus_uminus @ ( set @ A ) @ B6 ) ) ) ) ) ).

% Image_subset_eq
thf(fact_6616_image2__Gr,axiom,
    ! [A: $tType,B: $tType,C: $tType] :
      ( ( bNF_Greatest_image2 @ C @ A @ B )
      = ( ^ [A8: set @ C,F4: C > A,G4: C > B] : ( relcomp @ A @ C @ B @ ( converse @ C @ A @ ( bNF_Gr @ C @ A @ A8 @ F4 ) ) @ ( bNF_Gr @ C @ B @ A8 @ G4 ) ) ) ) ).

% image2_Gr
thf(fact_6617_irrefl__tranclI,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),X: A] :
      ( ( ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ ( converse @ A @ A @ R3 ) @ ( transitive_rtrancl @ A @ R3 ) )
        = ( bot_bot @ ( set @ ( product_prod @ A @ A ) ) ) )
     => ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ X ) @ ( transitive_trancl @ A @ R3 ) ) ) ).

% irrefl_tranclI
thf(fact_6618_relImage__Gr,axiom,
    ! [B: $tType,A: $tType,R4: set @ ( product_prod @ A @ A ),A6: set @ A,F3: A > B] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ R4
        @ ( product_Sigma @ A @ A @ A6
          @ ^ [Uu2: A] : A6 ) )
     => ( ( bNF_Gr4221423524335903396lImage @ A @ B @ R4 @ F3 )
        = ( relcomp @ B @ A @ B @ ( converse @ A @ B @ ( bNF_Gr @ A @ B @ A6 @ F3 ) ) @ ( relcomp @ A @ A @ B @ R4 @ ( bNF_Gr @ A @ B @ A6 @ F3 ) ) ) ) ) ).

% relImage_Gr
thf(fact_6619_trans__wf__iff,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] :
      ( ( trans @ A @ R3 )
     => ( ( wf @ A @ R3 )
        = ( ! [A7: A] :
              ( wf @ A
              @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
                @ ( product_Sigma @ A @ A @ ( image @ A @ A @ ( converse @ A @ A @ R3 ) @ ( insert @ A @ A7 @ ( bot_bot @ ( set @ A ) ) ) )
                  @ ^ [Uu2: A] : ( image @ A @ A @ ( converse @ A @ A @ R3 ) @ ( insert @ A @ A7 @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ) ) ) ) ).

% trans_wf_iff
thf(fact_6620_Image__INT__eq,axiom,
    ! [A: $tType,B: $tType,C: $tType,R3: set @ ( product_prod @ B @ A ),A6: set @ C,B6: C > ( set @ B )] :
      ( ( single_valued @ A @ B @ ( converse @ B @ A @ R3 ) )
     => ( ( A6
         != ( bot_bot @ ( set @ C ) ) )
       => ( ( image @ B @ A @ R3 @ ( complete_Inf_Inf @ ( set @ B ) @ ( image2 @ C @ ( set @ B ) @ B6 @ A6 ) ) )
          = ( complete_Inf_Inf @ ( set @ A )
            @ ( image2 @ C @ ( set @ A )
              @ ^ [X4: C] : ( image @ B @ A @ R3 @ ( B6 @ X4 ) )
              @ A6 ) ) ) ) ) ).

% Image_INT_eq
thf(fact_6621_trans__O__subset,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] :
      ( ( trans @ A @ R3 )
     => ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ ( relcomp @ A @ A @ A @ R3 @ R3 ) @ R3 ) ) ).

% trans_O_subset
thf(fact_6622_single__valued__subset,axiom,
    ! [B: $tType,A: $tType,R3: set @ ( product_prod @ A @ B ),S2: set @ ( product_prod @ A @ B )] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ B ) ) @ R3 @ S2 )
     => ( ( single_valued @ A @ B @ S2 )
       => ( single_valued @ A @ B @ R3 ) ) ) ).

% single_valued_subset
thf(fact_6623_trans__def,axiom,
    ! [A: $tType] :
      ( ( trans @ A )
      = ( ^ [R5: set @ ( product_prod @ A @ A )] :
          ! [X4: A,Y4: A,Z2: A] :
            ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X4 @ Y4 ) @ R5 )
           => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y4 @ Z2 ) @ R5 )
             => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X4 @ Z2 ) @ R5 ) ) ) ) ) ).

% trans_def
thf(fact_6624_transI,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] :
      ( ! [X3: A,Y3: A,Z3: A] :
          ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X3 @ Y3 ) @ R3 )
         => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y3 @ Z3 ) @ R3 )
           => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X3 @ Z3 ) @ R3 ) ) )
     => ( trans @ A @ R3 ) ) ).

% transI
thf(fact_6625_transE,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),X: A,Y: A,Z4: A] :
      ( ( trans @ A @ R3 )
     => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ R3 )
       => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y @ Z4 ) @ R3 )
         => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Z4 ) @ R3 ) ) ) ) ).

% transE
thf(fact_6626_transD,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),X: A,Y: A,Z4: A] :
      ( ( trans @ A @ R3 )
     => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ R3 )
       => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y @ Z4 ) @ R3 )
         => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Z4 ) @ R3 ) ) ) ) ).

% transD
thf(fact_6627_single__valuedD,axiom,
    ! [A: $tType,B: $tType,R3: set @ ( product_prod @ A @ B ),X: A,Y: B,Z4: B] :
      ( ( single_valued @ A @ B @ R3 )
     => ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X @ Y ) @ R3 )
       => ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X @ Z4 ) @ R3 )
         => ( Y = Z4 ) ) ) ) ).

% single_valuedD
thf(fact_6628_single__valuedI,axiom,
    ! [B: $tType,A: $tType,R3: set @ ( product_prod @ A @ B )] :
      ( ! [X3: A,Y3: B,Z3: B] :
          ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X3 @ Y3 ) @ R3 )
         => ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X3 @ Z3 ) @ R3 )
           => ( Y3 = Z3 ) ) )
     => ( single_valued @ A @ B @ R3 ) ) ).

% single_valuedI
thf(fact_6629_single__valued__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( single_valued @ A @ B )
      = ( ^ [R5: set @ ( product_prod @ A @ B )] :
          ! [X4: A,Y4: B] :
            ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X4 @ Y4 ) @ R5 )
           => ! [Z2: B] :
                ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X4 @ Z2 ) @ R5 )
               => ( Y4 = Z2 ) ) ) ) ) ).

% single_valued_def
thf(fact_6630_trans__reflclI,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] :
      ( ( trans @ A @ R3 )
     => ( trans @ A @ ( sup_sup @ ( set @ ( product_prod @ A @ A ) ) @ R3 @ ( id2 @ A ) ) ) ) ).

% trans_reflclI
thf(fact_6631_single__valued__inter2,axiom,
    ! [B: $tType,A: $tType,R4: set @ ( product_prod @ A @ B ),S: set @ ( product_prod @ A @ B )] :
      ( ( single_valued @ A @ B @ R4 )
     => ( single_valued @ A @ B @ ( inf_inf @ ( set @ ( product_prod @ A @ B ) ) @ S @ R4 ) ) ) ).

% single_valued_inter2
thf(fact_6632_single__valued__inter1,axiom,
    ! [B: $tType,A: $tType,R4: set @ ( product_prod @ A @ B ),S: set @ ( product_prod @ A @ B )] :
      ( ( single_valued @ A @ B @ R4 )
     => ( single_valued @ A @ B @ ( inf_inf @ ( set @ ( product_prod @ A @ B ) ) @ R4 @ S ) ) ) ).

% single_valued_inter1
thf(fact_6633_trans__Restr,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ A] :
      ( ( trans @ A @ R3 )
     => ( trans @ A
        @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
          @ ( product_Sigma @ A @ A @ A6
            @ ^ [Uu2: A] : A6 ) ) ) ) ).

% trans_Restr
thf(fact_6634_single__valued__confluent,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),X: A,Y: A,Z4: A] :
      ( ( single_valued @ A @ A @ R3 )
     => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ ( transitive_rtrancl @ A @ R3 ) )
       => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Z4 ) @ ( transitive_rtrancl @ A @ R3 ) )
         => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y @ Z4 ) @ ( transitive_rtrancl @ A @ R3 ) )
            | ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Z4 @ Y ) @ ( transitive_rtrancl @ A @ R3 ) ) ) ) ) ) ).

% single_valued_confluent
thf(fact_6635_single__valued__below__Id,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A )] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ R4 @ ( id2 @ A ) )
     => ( single_valued @ A @ A @ R4 ) ) ).

% single_valued_below_Id
thf(fact_6636_trans__singleton,axiom,
    ! [A: $tType,A3: A] : ( trans @ A @ ( insert @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ A3 ) @ ( bot_bot @ ( set @ ( product_prod @ A @ A ) ) ) ) ) ).

% trans_singleton
thf(fact_6637_trans__rtrancl__eq__reflcl,axiom,
    ! [A: $tType,A6: set @ ( product_prod @ A @ A )] :
      ( ( trans @ A @ A6 )
     => ( ( transitive_rtrancl @ A @ A6 )
        = ( sup_sup @ ( set @ ( product_prod @ A @ A ) ) @ A6 @ ( id2 @ A ) ) ) ) ).

% trans_rtrancl_eq_reflcl
thf(fact_6638_bijective__alt,axiom,
    ! [B: $tType,A: $tType] :
      ( ( bijective @ A @ B )
      = ( ^ [R2: set @ ( product_prod @ A @ B )] :
            ( ( single_valued @ A @ B @ R2 )
            & ( single_valued @ B @ A @ ( converse @ A @ B @ R2 ) ) ) ) ) ).

% bijective_alt
thf(fact_6639_wf__finite__segments,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] :
      ( ( irrefl @ A @ R3 )
     => ( ( trans @ A @ R3 )
       => ( ! [X3: A] :
              ( finite_finite2 @ A
              @ ( collect @ A
                @ ^ [Y4: A] : ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y4 @ X3 ) @ R3 ) ) )
         => ( wf @ A @ R3 ) ) ) ) ).

% wf_finite_segments
thf(fact_6640_relation__of__def,axiom,
    ! [A: $tType] :
      ( ( order_relation_of @ A )
      = ( ^ [P5: A > A > $o,A8: set @ A] :
            ( collect @ ( product_prod @ A @ A )
            @ ( product_case_prod @ A @ A @ $o
              @ ^ [A7: A,B5: A] :
                  ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A7 @ B5 )
                    @ ( product_Sigma @ A @ A @ A8
                      @ ^ [Uu2: A] : A8 ) )
                  & ( P5 @ A7 @ B5 ) ) ) ) ) ) ).

% relation_of_def
thf(fact_6641_irrefl__def,axiom,
    ! [A: $tType] :
      ( ( irrefl @ A )
      = ( ^ [R5: set @ ( product_prod @ A @ A )] :
          ! [A7: A] :
            ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A7 @ A7 ) @ R5 ) ) ) ).

% irrefl_def
thf(fact_6642_irreflI,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A )] :
      ( ! [A5: A] :
          ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A5 @ A5 ) @ R4 )
     => ( irrefl @ A @ R4 ) ) ).

% irreflI
thf(fact_6643_size__diff__se,axiom,
    ! [A: $tType,T5: A,S: multiset @ A] :
      ( ( member @ A @ T5 @ ( set_mset @ A @ S ) )
     => ( ( size_size @ ( multiset @ A ) @ S )
        = ( plus_plus @ nat @ ( size_size @ ( multiset @ A ) @ ( minus_minus @ ( multiset @ A ) @ S @ ( add_mset @ A @ T5 @ ( zero_zero @ ( multiset @ A ) ) ) ) ) @ ( one_one @ nat ) ) ) ) ).

% size_diff_se
thf(fact_6644_stable__sort__key__def,axiom,
    ! [A: $tType,B: $tType] :
      ( ( linorder @ A )
     => ( ( linord3483353639454293061rt_key @ B @ A )
        = ( ^ [Sk: ( B > A ) > ( list @ B ) > ( list @ B )] :
            ! [F4: B > A,Xs3: list @ B,K3: A] :
              ( ( filter2 @ B
                @ ^ [Y4: B] :
                    ( ( F4 @ Y4 )
                    = K3 )
                @ ( Sk @ F4 @ Xs3 ) )
              = ( filter2 @ B
                @ ^ [Y4: B] :
                    ( ( F4 @ Y4 )
                    = K3 )
                @ Xs3 ) ) ) ) ) ).

% stable_sort_key_def
thf(fact_6645_set__mset__union,axiom,
    ! [A: $tType,M6: multiset @ A,N7: multiset @ A] :
      ( ( set_mset @ A @ ( plus_plus @ ( multiset @ A ) @ M6 @ N7 ) )
      = ( sup_sup @ ( set @ A ) @ ( set_mset @ A @ M6 ) @ ( set_mset @ A @ N7 ) ) ) ).

% set_mset_union
thf(fact_6646_mset__diff__cancel1elem,axiom,
    ! [A: $tType,A3: A,B6: multiset @ A] :
      ( ~ ( member @ A @ A3 @ ( set_mset @ A @ B6 ) )
     => ( ( minus_minus @ ( multiset @ A ) @ ( add_mset @ A @ A3 @ ( zero_zero @ ( multiset @ A ) ) ) @ B6 )
        = ( add_mset @ A @ A3 @ ( zero_zero @ ( multiset @ A ) ) ) ) ) ).

% mset_diff_cancel1elem
thf(fact_6647_set__mset__Union__mset,axiom,
    ! [A: $tType,MM: multiset @ ( multiset @ A )] :
      ( ( set_mset @ A @ ( comm_m7189776963980413722m_mset @ ( multiset @ A ) @ MM ) )
      = ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ ( multiset @ A ) @ ( set @ A ) @ ( set_mset @ A ) @ ( set_mset @ ( multiset @ A ) @ MM ) ) ) ) ).

% set_mset_Union_mset
thf(fact_6648_set__mset__Inf,axiom,
    ! [A: $tType,A6: set @ ( multiset @ A )] :
      ( ( A6
       != ( bot_bot @ ( set @ ( multiset @ A ) ) ) )
     => ( ( set_mset @ A @ ( complete_Inf_Inf @ ( multiset @ A ) @ A6 ) )
        = ( complete_Inf_Inf @ ( set @ A ) @ ( image2 @ ( multiset @ A ) @ ( set @ A ) @ ( set_mset @ A ) @ A6 ) ) ) ) ).

% set_mset_Inf
thf(fact_6649_set__mset__mono,axiom,
    ! [A: $tType,A6: multiset @ A,B6: multiset @ A] :
      ( ( subseteq_mset @ A @ A6 @ B6 )
     => ( ord_less_eq @ ( set @ A ) @ ( set_mset @ A @ A6 ) @ ( set_mset @ A @ B6 ) ) ) ).

% set_mset_mono
thf(fact_6650_image__mset__cong__pair,axiom,
    ! [C: $tType,B: $tType,A: $tType,M6: multiset @ ( product_prod @ A @ B ),F3: A > B > C,G3: A > B > C] :
      ( ! [X3: A,Y3: B] :
          ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X3 @ Y3 ) @ ( set_mset @ ( product_prod @ A @ B ) @ M6 ) )
         => ( ( F3 @ X3 @ Y3 )
            = ( G3 @ X3 @ Y3 ) ) )
     => ( ( image_mset @ ( product_prod @ A @ B ) @ C @ ( product_case_prod @ A @ B @ C @ F3 ) @ M6 )
        = ( image_mset @ ( product_prod @ A @ B ) @ C @ ( product_case_prod @ A @ B @ C @ G3 ) @ M6 ) ) ) ).

% image_mset_cong_pair
thf(fact_6651_image__mset__cong,axiom,
    ! [B: $tType,A: $tType,M6: multiset @ A,F3: A > B,G3: A > B] :
      ( ! [X3: A] :
          ( ( member @ A @ X3 @ ( set_mset @ A @ M6 ) )
         => ( ( F3 @ X3 )
            = ( G3 @ X3 ) ) )
     => ( ( image_mset @ A @ B @ F3 @ M6 )
        = ( image_mset @ A @ B @ G3 @ M6 ) ) ) ).

% image_mset_cong
thf(fact_6652_in__image__mset,axiom,
    ! [A: $tType,B: $tType,Y: A,F3: B > A,M6: multiset @ B] :
      ( ( member @ A @ Y @ ( set_mset @ A @ ( image_mset @ B @ A @ F3 @ M6 ) ) )
      = ( member @ A @ Y @ ( image2 @ B @ A @ F3 @ ( set_mset @ B @ M6 ) ) ) ) ).

% in_image_mset
thf(fact_6653_ex__Melem__conv,axiom,
    ! [A: $tType,A6: multiset @ A] :
      ( ( ? [X4: A] : ( member @ A @ X4 @ ( set_mset @ A @ A6 ) ) )
      = ( A6
       != ( zero_zero @ ( multiset @ A ) ) ) ) ).

% ex_Melem_conv
thf(fact_6654_union__iff,axiom,
    ! [A: $tType,A3: A,A6: multiset @ A,B6: multiset @ A] :
      ( ( member @ A @ A3 @ ( set_mset @ A @ ( plus_plus @ ( multiset @ A ) @ A6 @ B6 ) ) )
      = ( ( member @ A @ A3 @ ( set_mset @ A @ A6 ) )
        | ( member @ A @ A3 @ ( set_mset @ A @ B6 ) ) ) ) ).

% union_iff
thf(fact_6655_mset__right__cancel__union,axiom,
    ! [A: $tType,A3: A,A6: multiset @ A,B6: multiset @ A] :
      ( ( member @ A @ A3 @ ( set_mset @ A @ ( plus_plus @ ( multiset @ A ) @ A6 @ B6 ) ) )
     => ( ~ ( member @ A @ A3 @ ( set_mset @ A @ B6 ) )
       => ( member @ A @ A3 @ ( set_mset @ A @ A6 ) ) ) ) ).

% mset_right_cancel_union
thf(fact_6656_mset__left__cancel__union,axiom,
    ! [A: $tType,A3: A,A6: multiset @ A,B6: multiset @ A] :
      ( ( member @ A @ A3 @ ( set_mset @ A @ ( plus_plus @ ( multiset @ A ) @ A6 @ B6 ) ) )
     => ( ~ ( member @ A @ A3 @ ( set_mset @ A @ A6 ) )
       => ( member @ A @ A3 @ ( set_mset @ A @ B6 ) ) ) ) ).

% mset_left_cancel_union
thf(fact_6657_mset__un__cases,axiom,
    ! [A: $tType,A3: A,A6: multiset @ A,B6: multiset @ A] :
      ( ( member @ A @ A3 @ ( set_mset @ A @ ( plus_plus @ ( multiset @ A ) @ A6 @ B6 ) ) )
     => ( ~ ( member @ A @ A3 @ ( set_mset @ A @ A6 ) )
       => ( member @ A @ A3 @ ( set_mset @ A @ B6 ) ) ) ) ).

% mset_un_cases
thf(fact_6658_multiset__induct__max,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [P2: ( multiset @ A ) > $o,M6: multiset @ A] :
          ( ( P2 @ ( zero_zero @ ( multiset @ A ) ) )
         => ( ! [X3: A,M13: multiset @ A] :
                ( ( P2 @ M13 )
               => ( ! [Xa3: A] :
                      ( ( member @ A @ Xa3 @ ( set_mset @ A @ M13 ) )
                     => ( ord_less_eq @ A @ Xa3 @ X3 ) )
                 => ( P2 @ ( add_mset @ A @ X3 @ M13 ) ) ) )
           => ( P2 @ M6 ) ) ) ) ).

% multiset_induct_max
thf(fact_6659_multiset__induct__min,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [P2: ( multiset @ A ) > $o,M6: multiset @ A] :
          ( ( P2 @ ( zero_zero @ ( multiset @ A ) ) )
         => ( ! [X3: A,M13: multiset @ A] :
                ( ( P2 @ M13 )
               => ( ! [Xa3: A] :
                      ( ( member @ A @ Xa3 @ ( set_mset @ A @ M13 ) )
                     => ( ord_less_eq @ A @ X3 @ Xa3 ) )
                 => ( P2 @ ( add_mset @ A @ X3 @ M13 ) ) ) )
           => ( P2 @ M6 ) ) ) ) ).

% multiset_induct_min
thf(fact_6660_mset__left__cancel__elem,axiom,
    ! [A: $tType,A3: A,B2: A,A6: multiset @ A] :
      ( ( member @ A @ A3 @ ( set_mset @ A @ ( plus_plus @ ( multiset @ A ) @ ( add_mset @ A @ B2 @ ( zero_zero @ ( multiset @ A ) ) ) @ A6 ) ) )
     => ( ( A3 != B2 )
       => ( member @ A @ A3 @ ( set_mset @ A @ A6 ) ) ) ) ).

% mset_left_cancel_elem
thf(fact_6661_mset__right__cancel__elem,axiom,
    ! [A: $tType,A3: A,A6: multiset @ A,B2: A] :
      ( ( member @ A @ A3 @ ( set_mset @ A @ ( plus_plus @ ( multiset @ A ) @ A6 @ ( add_mset @ A @ B2 @ ( zero_zero @ ( multiset @ A ) ) ) ) ) )
     => ( ( A3 != B2 )
       => ( member @ A @ A3 @ ( set_mset @ A @ A6 ) ) ) ) ).

% mset_right_cancel_elem
thf(fact_6662_multi__member__this,axiom,
    ! [A: $tType,X: A,XS2: multiset @ A] : ( member @ A @ X @ ( set_mset @ A @ ( plus_plus @ ( multiset @ A ) @ ( add_mset @ A @ X @ ( zero_zero @ ( multiset @ A ) ) ) @ XS2 ) ) ) ).

% multi_member_this
thf(fact_6663_multi__member__skip,axiom,
    ! [A: $tType,X: A,XS2: multiset @ A,Y: A] :
      ( ( member @ A @ X @ ( set_mset @ A @ XS2 ) )
     => ( member @ A @ X @ ( set_mset @ A @ ( plus_plus @ ( multiset @ A ) @ ( add_mset @ A @ Y @ ( zero_zero @ ( multiset @ A ) ) ) @ XS2 ) ) ) ) ).

% multi_member_skip
thf(fact_6664_sum__mset__mono,axiom,
    ! [A: $tType,B: $tType] :
      ( ( ordere6911136660526730532id_add @ A )
     => ! [K5: multiset @ B,F3: B > A,G3: B > A] :
          ( ! [I3: B] :
              ( ( member @ B @ I3 @ ( set_mset @ B @ K5 ) )
             => ( ord_less_eq @ A @ ( F3 @ I3 ) @ ( G3 @ I3 ) ) )
         => ( ord_less_eq @ A @ ( comm_m7189776963980413722m_mset @ A @ ( image_mset @ B @ A @ F3 @ K5 ) ) @ ( comm_m7189776963980413722m_mset @ A @ ( image_mset @ B @ A @ G3 @ K5 ) ) ) ) ) ).

% sum_mset_mono
thf(fact_6665_mset__2dist2__cases,axiom,
    ! [A: $tType,A3: A,B2: A,A6: multiset @ A,B6: multiset @ A] :
      ( ( subseteq_mset @ A @ ( plus_plus @ ( multiset @ A ) @ ( add_mset @ A @ A3 @ ( zero_zero @ ( multiset @ A ) ) ) @ ( add_mset @ A @ B2 @ ( zero_zero @ ( multiset @ A ) ) ) ) @ ( plus_plus @ ( multiset @ A ) @ A6 @ B6 ) )
     => ( ~ ( subseteq_mset @ A @ ( plus_plus @ ( multiset @ A ) @ ( add_mset @ A @ A3 @ ( zero_zero @ ( multiset @ A ) ) ) @ ( add_mset @ A @ B2 @ ( zero_zero @ ( multiset @ A ) ) ) ) @ A6 )
       => ( ~ ( subseteq_mset @ A @ ( plus_plus @ ( multiset @ A ) @ ( add_mset @ A @ A3 @ ( zero_zero @ ( multiset @ A ) ) ) @ ( add_mset @ A @ B2 @ ( zero_zero @ ( multiset @ A ) ) ) ) @ B6 )
         => ( ( ( member @ A @ A3 @ ( set_mset @ A @ A6 ) )
             => ~ ( member @ A @ B2 @ ( set_mset @ A @ B6 ) ) )
           => ~ ( ( member @ A @ A3 @ ( set_mset @ A @ B6 ) )
               => ~ ( member @ A @ B2 @ ( set_mset @ A @ A6 ) ) ) ) ) ) ) ).

% mset_2dist2_cases
thf(fact_6666_mset__union__subset__s,axiom,
    ! [A: $tType,A3: A,B6: multiset @ A,C5: multiset @ A] :
      ( ( subseteq_mset @ A @ ( plus_plus @ ( multiset @ A ) @ ( add_mset @ A @ A3 @ ( zero_zero @ ( multiset @ A ) ) ) @ B6 ) @ C5 )
     => ( ( member @ A @ A3 @ ( set_mset @ A @ C5 ) )
        & ( subseteq_mset @ A @ B6 @ C5 ) ) ) ).

% mset_union_subset_s
thf(fact_6667_mset__le__mono__add__single,axiom,
    ! [A: $tType,A3: A,Ys3: multiset @ A,B2: A,Ws2: multiset @ A] :
      ( ( member @ A @ A3 @ ( set_mset @ A @ Ys3 ) )
     => ( ( member @ A @ B2 @ ( set_mset @ A @ Ws2 ) )
       => ( subseteq_mset @ A @ ( plus_plus @ ( multiset @ A ) @ ( add_mset @ A @ A3 @ ( zero_zero @ ( multiset @ A ) ) ) @ ( add_mset @ A @ B2 @ ( zero_zero @ ( multiset @ A ) ) ) ) @ ( plus_plus @ ( multiset @ A ) @ Ys3 @ Ws2 ) ) ) ) ).

% mset_le_mono_add_single
thf(fact_6668_nth__mem__mset,axiom,
    ! [A: $tType,I2: nat,Ls2: list @ A] :
      ( ( ord_less @ nat @ I2 @ ( size_size @ ( list @ A ) @ Ls2 ) )
     => ( member @ A @ ( nth @ A @ Ls2 @ I2 ) @ ( set_mset @ A @ ( mset @ A @ Ls2 ) ) ) ) ).

% nth_mem_mset
thf(fact_6669_insert__DiffM2,axiom,
    ! [A: $tType,X: A,M6: multiset @ A] :
      ( ( member @ A @ X @ ( set_mset @ A @ M6 ) )
     => ( ( plus_plus @ ( multiset @ A ) @ ( minus_minus @ ( multiset @ A ) @ M6 @ ( add_mset @ A @ X @ ( zero_zero @ ( multiset @ A ) ) ) ) @ ( add_mset @ A @ X @ ( zero_zero @ ( multiset @ A ) ) ) )
        = M6 ) ) ).

% insert_DiffM2
thf(fact_6670_diff__union__single__conv,axiom,
    ! [A: $tType,A3: A,J4: multiset @ A,I5: multiset @ A] :
      ( ( member @ A @ A3 @ ( set_mset @ A @ J4 ) )
     => ( ( minus_minus @ ( multiset @ A ) @ ( plus_plus @ ( multiset @ A ) @ I5 @ J4 ) @ ( add_mset @ A @ A3 @ ( zero_zero @ ( multiset @ A ) ) ) )
        = ( plus_plus @ ( multiset @ A ) @ I5 @ ( minus_minus @ ( multiset @ A ) @ J4 @ ( add_mset @ A @ A3 @ ( zero_zero @ ( multiset @ A ) ) ) ) ) ) ) ).

% diff_union_single_conv
thf(fact_6671_mset__un__single__un__cases,axiom,
    ! [A: $tType,A3: A,A6: multiset @ A,B6: multiset @ A,C5: multiset @ A] :
      ( ( ( add_mset @ A @ A3 @ A6 )
        = ( plus_plus @ ( multiset @ A ) @ B6 @ C5 ) )
     => ( ( ( member @ A @ A3 @ ( set_mset @ A @ B6 ) )
         => ( A6
           != ( plus_plus @ ( multiset @ A ) @ ( minus_minus @ ( multiset @ A ) @ B6 @ ( add_mset @ A @ A3 @ ( zero_zero @ ( multiset @ A ) ) ) ) @ C5 ) ) )
       => ~ ( ( member @ A @ A3 @ ( set_mset @ A @ C5 ) )
           => ( A6
             != ( plus_plus @ ( multiset @ A ) @ B6 @ ( minus_minus @ ( multiset @ A ) @ C5 @ ( add_mset @ A @ A3 @ ( zero_zero @ ( multiset @ A ) ) ) ) ) ) ) ) ) ).

% mset_un_single_un_cases
thf(fact_6672_diff__union__single__conv2,axiom,
    ! [A: $tType,A3: A,J4: multiset @ A,I5: multiset @ A] :
      ( ( member @ A @ A3 @ ( set_mset @ A @ J4 ) )
     => ( ( minus_minus @ ( multiset @ A ) @ ( plus_plus @ ( multiset @ A ) @ J4 @ I5 ) @ ( add_mset @ A @ A3 @ ( zero_zero @ ( multiset @ A ) ) ) )
        = ( plus_plus @ ( multiset @ A ) @ ( minus_minus @ ( multiset @ A ) @ J4 @ ( add_mset @ A @ A3 @ ( zero_zero @ ( multiset @ A ) ) ) ) @ I5 ) ) ) ).

% diff_union_single_conv2
thf(fact_6673_mset__union__diff__comm,axiom,
    ! [A: $tType,T5: A,S: multiset @ A,T8: multiset @ A] :
      ( ( member @ A @ T5 @ ( set_mset @ A @ S ) )
     => ( ( plus_plus @ ( multiset @ A ) @ T8 @ ( minus_minus @ ( multiset @ A ) @ S @ ( add_mset @ A @ T5 @ ( zero_zero @ ( multiset @ A ) ) ) ) )
        = ( minus_minus @ ( multiset @ A ) @ ( plus_plus @ ( multiset @ A ) @ T8 @ S ) @ ( add_mset @ A @ T5 @ ( zero_zero @ ( multiset @ A ) ) ) ) ) ) ).

% mset_union_diff_comm
thf(fact_6674_mset__contains__eq,axiom,
    ! [A: $tType,M: A,M6: multiset @ A] :
      ( ( member @ A @ M @ ( set_mset @ A @ M6 ) )
      = ( ( plus_plus @ ( multiset @ A ) @ ( add_mset @ A @ M @ ( zero_zero @ ( multiset @ A ) ) ) @ ( minus_minus @ ( multiset @ A ) @ M6 @ ( add_mset @ A @ M @ ( zero_zero @ ( multiset @ A ) ) ) ) )
        = M6 ) ) ).

% mset_contains_eq
thf(fact_6675_mset__size1elem,axiom,
    ! [A: $tType,P2: multiset @ A,Q6: A] :
      ( ( ord_less_eq @ nat @ ( size_size @ ( multiset @ A ) @ P2 ) @ ( one_one @ nat ) )
     => ( ( member @ A @ Q6 @ ( set_mset @ A @ P2 ) )
       => ( P2
          = ( add_mset @ A @ Q6 @ ( zero_zero @ ( multiset @ A ) ) ) ) ) ) ).

% mset_size1elem
thf(fact_6676_size__Diff2__less,axiom,
    ! [A: $tType,X: A,M6: multiset @ A,Y: A] :
      ( ( member @ A @ X @ ( set_mset @ A @ M6 ) )
     => ( ( member @ A @ Y @ ( set_mset @ A @ M6 ) )
       => ( ord_less @ nat @ ( size_size @ ( multiset @ A ) @ ( minus_minus @ ( multiset @ A ) @ ( minus_minus @ ( multiset @ A ) @ M6 @ ( add_mset @ A @ X @ ( zero_zero @ ( multiset @ A ) ) ) ) @ ( add_mset @ A @ Y @ ( zero_zero @ ( multiset @ A ) ) ) ) ) @ ( size_size @ ( multiset @ A ) @ M6 ) ) ) ) ).

% size_Diff2_less
thf(fact_6677_size__Diff1__less,axiom,
    ! [A: $tType,X: A,M6: multiset @ A] :
      ( ( member @ A @ X @ ( set_mset @ A @ M6 ) )
     => ( ord_less @ nat @ ( size_size @ ( multiset @ A ) @ ( minus_minus @ ( multiset @ A ) @ M6 @ ( add_mset @ A @ X @ ( zero_zero @ ( multiset @ A ) ) ) ) ) @ ( size_size @ ( multiset @ A ) @ M6 ) ) ) ).

% size_Diff1_less
thf(fact_6678_sum__mset_Oremove,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [X: A,A6: multiset @ A] :
          ( ( member @ A @ X @ ( set_mset @ A @ A6 ) )
         => ( ( comm_m7189776963980413722m_mset @ A @ A6 )
            = ( plus_plus @ A @ X @ ( comm_m7189776963980413722m_mset @ A @ ( minus_minus @ ( multiset @ A ) @ A6 @ ( add_mset @ A @ X @ ( zero_zero @ ( multiset @ A ) ) ) ) ) ) ) ) ) ).

% sum_mset.remove
thf(fact_6679_subset__mset_Osum__mset__mono,axiom,
    ! [A: $tType,B: $tType,K5: multiset @ B,F3: B > ( multiset @ A ),G3: B > ( multiset @ A )] :
      ( ! [I3: B] :
          ( ( member @ B @ I3 @ ( set_mset @ B @ K5 ) )
         => ( subseteq_mset @ A @ ( F3 @ I3 ) @ ( G3 @ I3 ) ) )
     => ( subseteq_mset @ A @ ( comm_monoid_sum_mset @ ( multiset @ A ) @ ( plus_plus @ ( multiset @ A ) ) @ ( zero_zero @ ( multiset @ A ) ) @ ( image_mset @ B @ ( multiset @ A ) @ F3 @ K5 ) ) @ ( comm_monoid_sum_mset @ ( multiset @ A ) @ ( plus_plus @ ( multiset @ A ) ) @ ( zero_zero @ ( multiset @ A ) ) @ ( image_mset @ B @ ( multiset @ A ) @ G3 @ K5 ) ) ) ) ).

% subset_mset.sum_mset_mono
thf(fact_6680_subset__mset_Osum__mset__0__iff,axiom,
    ! [A: $tType,M6: multiset @ ( multiset @ A )] :
      ( ( ( comm_monoid_sum_mset @ ( multiset @ A ) @ ( plus_plus @ ( multiset @ A ) ) @ ( zero_zero @ ( multiset @ A ) ) @ M6 )
        = ( zero_zero @ ( multiset @ A ) ) )
      = ( ! [X4: multiset @ A] :
            ( ( member @ ( multiset @ A ) @ X4 @ ( set_mset @ ( multiset @ A ) @ M6 ) )
           => ( X4
              = ( zero_zero @ ( multiset @ A ) ) ) ) ) ) ).

% subset_mset.sum_mset_0_iff
thf(fact_6681_mult__implies__one__step,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),M6: multiset @ A,N7: multiset @ A] :
      ( ( trans @ A @ R3 )
     => ( ( member @ ( product_prod @ ( multiset @ A ) @ ( multiset @ A ) ) @ ( product_Pair @ ( multiset @ A ) @ ( multiset @ A ) @ M6 @ N7 ) @ ( mult @ A @ R3 ) )
       => ? [I8: multiset @ A,J6: multiset @ A] :
            ( ( N7
              = ( plus_plus @ ( multiset @ A ) @ I8 @ J6 ) )
            & ? [K9: multiset @ A] :
                ( ( M6
                  = ( plus_plus @ ( multiset @ A ) @ I8 @ K9 ) )
                & ( J6
                 != ( zero_zero @ ( multiset @ A ) ) )
                & ! [X6: A] :
                    ( ( member @ A @ X6 @ ( set_mset @ A @ K9 ) )
                   => ? [Xa4: A] :
                        ( ( member @ A @ Xa4 @ ( set_mset @ A @ J6 ) )
                        & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X6 @ Xa4 ) @ R3 ) ) ) ) ) ) ) ).

% mult_implies_one_step
thf(fact_6682_multiset_Oin__rel,axiom,
    ! [B: $tType,A: $tType] :
      ( ( rel_mset @ A @ B )
      = ( ^ [R2: A > B > $o,A7: multiset @ A,B5: multiset @ B] :
          ? [Z2: multiset @ ( product_prod @ A @ B )] :
            ( ( member @ ( multiset @ ( product_prod @ A @ B ) ) @ Z2
              @ ( collect @ ( multiset @ ( product_prod @ A @ B ) )
                @ ^ [X4: multiset @ ( product_prod @ A @ B )] : ( ord_less_eq @ ( set @ ( product_prod @ A @ B ) ) @ ( set_mset @ ( product_prod @ A @ B ) @ X4 ) @ ( collect @ ( product_prod @ A @ B ) @ ( product_case_prod @ A @ B @ $o @ R2 ) ) ) ) )
            & ( ( image_mset @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) @ Z2 )
              = A7 )
            & ( ( image_mset @ ( product_prod @ A @ B ) @ B @ ( product_snd @ A @ B ) @ Z2 )
              = B5 ) ) ) ) ).

% multiset.in_rel
thf(fact_6683_multiset_Orel__map_I1_J,axiom,
    ! [A: $tType,C: $tType,B: $tType,Sb: C > B > $o,I2: A > C,X: multiset @ A,Y: multiset @ B] :
      ( ( rel_mset @ C @ B @ Sb @ ( image_mset @ A @ C @ I2 @ X ) @ Y )
      = ( rel_mset @ A @ B
        @ ^ [X4: A] : ( Sb @ ( I2 @ X4 ) )
        @ X
        @ Y ) ) ).

% multiset.rel_map(1)
thf(fact_6684_multiset_Orel__map_I2_J,axiom,
    ! [A: $tType,C: $tType,B: $tType,Sa: A > C > $o,X: multiset @ A,G3: B > C,Y: multiset @ B] :
      ( ( rel_mset @ A @ C @ Sa @ X @ ( image_mset @ B @ C @ G3 @ Y ) )
      = ( rel_mset @ A @ B
        @ ^ [X4: A,Y4: B] : ( Sa @ X4 @ ( G3 @ Y4 ) )
        @ X
        @ Y ) ) ).

% multiset.rel_map(2)
thf(fact_6685_Multiset_Omono__mult,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),R7: set @ ( product_prod @ A @ A )] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ R3 @ R7 )
     => ( ord_less_eq @ ( set @ ( product_prod @ ( multiset @ A ) @ ( multiset @ A ) ) ) @ ( mult @ A @ R3 ) @ ( mult @ A @ R7 ) ) ) ).

% Multiset.mono_mult
thf(fact_6686_multiset_Orel__mono,axiom,
    ! [B: $tType,A: $tType,R4: A > B > $o,Ra2: A > B > $o] :
      ( ( ord_less_eq @ ( A > B > $o ) @ R4 @ Ra2 )
     => ( ord_less_eq @ ( ( multiset @ A ) > ( multiset @ B ) > $o ) @ ( rel_mset @ A @ B @ R4 ) @ ( rel_mset @ A @ B @ Ra2 ) ) ) ).

% multiset.rel_mono
thf(fact_6687_mult__cancel,axiom,
    ! [A: $tType,S2: set @ ( product_prod @ A @ A ),X7: multiset @ A,Z6: multiset @ A,Y7: multiset @ A] :
      ( ( trans @ A @ S2 )
     => ( ( irrefl @ A @ S2 )
       => ( ( member @ ( product_prod @ ( multiset @ A ) @ ( multiset @ A ) ) @ ( product_Pair @ ( multiset @ A ) @ ( multiset @ A ) @ ( plus_plus @ ( multiset @ A ) @ X7 @ Z6 ) @ ( plus_plus @ ( multiset @ A ) @ Y7 @ Z6 ) ) @ ( mult @ A @ S2 ) )
          = ( member @ ( product_prod @ ( multiset @ A ) @ ( multiset @ A ) ) @ ( product_Pair @ ( multiset @ A ) @ ( multiset @ A ) @ X7 @ Y7 ) @ ( mult @ A @ S2 ) ) ) ) ) ).

% mult_cancel
thf(fact_6688_one__step__implies__mult,axiom,
    ! [A: $tType,J4: multiset @ A,K5: multiset @ A,R3: set @ ( product_prod @ A @ A ),I5: multiset @ A] :
      ( ( J4
       != ( zero_zero @ ( multiset @ A ) ) )
     => ( ! [X3: A] :
            ( ( member @ A @ X3 @ ( set_mset @ A @ K5 ) )
           => ? [Xa3: A] :
                ( ( member @ A @ Xa3 @ ( set_mset @ A @ J4 ) )
                & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X3 @ Xa3 ) @ R3 ) ) )
       => ( member @ ( product_prod @ ( multiset @ A ) @ ( multiset @ A ) ) @ ( product_Pair @ ( multiset @ A ) @ ( multiset @ A ) @ ( plus_plus @ ( multiset @ A ) @ I5 @ K5 ) @ ( plus_plus @ ( multiset @ A ) @ I5 @ J4 ) ) @ ( mult @ A @ R3 ) ) ) ) ).

% one_step_implies_mult
thf(fact_6689_multp__code__iff__mult,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A ),P2: A > A > $o,N7: multiset @ A,M6: multiset @ A] :
      ( ( irrefl @ A @ R4 )
     => ( ( trans @ A @ R4 )
       => ( ! [X3: A,Y3: A] :
              ( ( P2 @ X3 @ Y3 )
              = ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X3 @ Y3 ) @ R4 ) )
         => ( ( multp_code @ A @ P2 @ N7 @ M6 )
            = ( member @ ( product_prod @ ( multiset @ A ) @ ( multiset @ A ) ) @ ( product_Pair @ ( multiset @ A ) @ ( multiset @ A ) @ N7 @ M6 ) @ ( mult @ A @ R4 ) ) ) ) ) ) ).

% multp_code_iff_mult
thf(fact_6690_multeqp__code__iff__reflcl__mult,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A ),P2: A > A > $o,N7: multiset @ A,M6: multiset @ A] :
      ( ( irrefl @ A @ R4 )
     => ( ( trans @ A @ R4 )
       => ( ! [X3: A,Y3: A] :
              ( ( P2 @ X3 @ Y3 )
              = ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X3 @ Y3 ) @ R4 ) )
         => ( ( multeqp_code @ A @ P2 @ N7 @ M6 )
            = ( member @ ( product_prod @ ( multiset @ A ) @ ( multiset @ A ) ) @ ( product_Pair @ ( multiset @ A ) @ ( multiset @ A ) @ N7 @ M6 ) @ ( sup_sup @ ( set @ ( product_prod @ ( multiset @ A ) @ ( multiset @ A ) ) ) @ ( mult @ A @ R4 ) @ ( id2 @ ( multiset @ A ) ) ) ) ) ) ) ) ).

% multeqp_code_iff_reflcl_mult
thf(fact_6691_mult1E,axiom,
    ! [A: $tType,N7: multiset @ A,M6: multiset @ A,R3: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ ( multiset @ A ) @ ( multiset @ A ) ) @ ( product_Pair @ ( multiset @ A ) @ ( multiset @ A ) @ N7 @ M6 ) @ ( mult1 @ A @ R3 ) )
     => ~ ! [A5: A,M0: multiset @ A] :
            ( ( M6
              = ( add_mset @ A @ A5 @ M0 ) )
           => ! [K9: multiset @ A] :
                ( ( N7
                  = ( plus_plus @ ( multiset @ A ) @ M0 @ K9 ) )
               => ~ ! [B12: A] :
                      ( ( member @ A @ B12 @ ( set_mset @ A @ K9 ) )
                     => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ B12 @ A5 ) @ R3 ) ) ) ) ) ).

% mult1E
thf(fact_6692_mult1I,axiom,
    ! [A: $tType,M6: multiset @ A,A3: A,M02: multiset @ A,N7: multiset @ A,K5: multiset @ A,R3: set @ ( product_prod @ A @ A )] :
      ( ( M6
        = ( add_mset @ A @ A3 @ M02 ) )
     => ( ( N7
          = ( plus_plus @ ( multiset @ A ) @ M02 @ K5 ) )
       => ( ! [B4: A] :
              ( ( member @ A @ B4 @ ( set_mset @ A @ K5 ) )
             => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ B4 @ A3 ) @ R3 ) )
         => ( member @ ( product_prod @ ( multiset @ A ) @ ( multiset @ A ) ) @ ( product_Pair @ ( multiset @ A ) @ ( multiset @ A ) @ N7 @ M6 ) @ ( mult1 @ A @ R3 ) ) ) ) ) ).

% mult1I
thf(fact_6693_mult1__union,axiom,
    ! [A: $tType,B6: multiset @ A,D5: multiset @ A,R3: set @ ( product_prod @ A @ A ),C5: multiset @ A] :
      ( ( member @ ( product_prod @ ( multiset @ A ) @ ( multiset @ A ) ) @ ( product_Pair @ ( multiset @ A ) @ ( multiset @ A ) @ B6 @ D5 ) @ ( mult1 @ A @ R3 ) )
     => ( member @ ( product_prod @ ( multiset @ A ) @ ( multiset @ A ) ) @ ( product_Pair @ ( multiset @ A ) @ ( multiset @ A ) @ ( plus_plus @ ( multiset @ A ) @ C5 @ B6 ) @ ( plus_plus @ ( multiset @ A ) @ C5 @ D5 ) ) @ ( mult1 @ A @ R3 ) ) ) ).

% mult1_union
thf(fact_6694_mono__mult1,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),R7: set @ ( product_prod @ A @ A )] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ R3 @ R7 )
     => ( ord_less_eq @ ( set @ ( product_prod @ ( multiset @ A ) @ ( multiset @ A ) ) ) @ ( mult1 @ A @ R3 ) @ ( mult1 @ A @ R7 ) ) ) ).

% mono_mult1
thf(fact_6695_less__add,axiom,
    ! [A: $tType,N7: multiset @ A,A3: A,M02: multiset @ A,R3: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( product_prod @ ( multiset @ A ) @ ( multiset @ A ) ) @ ( product_Pair @ ( multiset @ A ) @ ( multiset @ A ) @ N7 @ ( add_mset @ A @ A3 @ M02 ) ) @ ( mult1 @ A @ R3 ) )
     => ( ? [M13: multiset @ A] :
            ( ( member @ ( product_prod @ ( multiset @ A ) @ ( multiset @ A ) ) @ ( product_Pair @ ( multiset @ A ) @ ( multiset @ A ) @ M13 @ M02 ) @ ( mult1 @ A @ R3 ) )
            & ( N7
              = ( add_mset @ A @ A3 @ M13 ) ) )
        | ? [K9: multiset @ A] :
            ( ! [B12: A] :
                ( ( member @ A @ B12 @ ( set_mset @ A @ K9 ) )
               => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ B12 @ A3 ) @ R3 ) )
            & ( N7
              = ( plus_plus @ ( multiset @ A ) @ M02 @ K9 ) ) ) ) ) ).

% less_add
thf(fact_6696_mult1__lessE,axiom,
    ! [A: $tType,N7: multiset @ A,M6: multiset @ A,R3: A > A > $o] :
      ( ( member @ ( product_prod @ ( multiset @ A ) @ ( multiset @ A ) ) @ ( product_Pair @ ( multiset @ A ) @ ( multiset @ A ) @ N7 @ M6 ) @ ( mult1 @ A @ ( collect @ ( product_prod @ A @ A ) @ ( product_case_prod @ A @ A @ $o @ R3 ) ) ) )
     => ( ( asymp @ A @ R3 )
       => ~ ! [A5: A,M0: multiset @ A] :
              ( ( M6
                = ( add_mset @ A @ A5 @ M0 ) )
             => ! [K9: multiset @ A] :
                  ( ( N7
                    = ( plus_plus @ ( multiset @ A ) @ M0 @ K9 ) )
                 => ( ~ ( member @ A @ A5 @ ( set_mset @ A @ K9 ) )
                   => ~ ! [B12: A] :
                          ( ( member @ A @ B12 @ ( set_mset @ A @ K9 ) )
                         => ( R3 @ B12 @ A5 ) ) ) ) ) ) ) ).

% mult1_lessE
thf(fact_6697_count__image__mset,axiom,
    ! [A: $tType,B: $tType,F3: B > A,A6: multiset @ B,X: A] :
      ( ( count @ A @ ( image_mset @ B @ A @ F3 @ A6 ) @ X )
      = ( groups7311177749621191930dd_sum @ B @ nat @ ( count @ B @ A6 ) @ ( inf_inf @ ( set @ B ) @ ( vimage @ B @ A @ F3 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) ) @ ( set_mset @ B @ A6 ) ) ) ) ).

% count_image_mset
thf(fact_6698_mset__empty__count,axiom,
    ! [A: $tType,M6: multiset @ A] :
      ( ( ! [P7: A] :
            ( ( count @ A @ M6 @ P7 )
            = ( zero_zero @ nat ) ) )
      = ( M6
        = ( zero_zero @ ( multiset @ A ) ) ) ) ).

% mset_empty_count
thf(fact_6699_count__union,axiom,
    ! [A: $tType,M6: multiset @ A,N7: multiset @ A,A3: A] :
      ( ( count @ A @ ( plus_plus @ ( multiset @ A ) @ M6 @ N7 ) @ A3 )
      = ( plus_plus @ nat @ ( count @ A @ M6 @ A3 ) @ ( count @ A @ N7 @ A3 ) ) ) ).

% count_union
thf(fact_6700_count__greater__zero__iff,axiom,
    ! [A: $tType,M6: multiset @ A,X: A] :
      ( ( ord_less @ nat @ ( zero_zero @ nat ) @ ( count @ A @ M6 @ X ) )
      = ( member @ A @ X @ ( set_mset @ A @ M6 ) ) ) ).

% count_greater_zero_iff
thf(fact_6701_count__greater__eq__one__iff,axiom,
    ! [A: $tType,M6: multiset @ A,X: A] :
      ( ( ord_less_eq @ nat @ ( one_one @ nat ) @ ( count @ A @ M6 @ X ) )
      = ( member @ A @ X @ ( set_mset @ A @ M6 ) ) ) ).

% count_greater_eq_one_iff
thf(fact_6702_count__greater__eq__Suc__zero__iff,axiom,
    ! [A: $tType,M6: multiset @ A,X: A] :
      ( ( ord_less_eq @ nat @ ( suc @ ( zero_zero @ nat ) ) @ ( count @ A @ M6 @ X ) )
      = ( member @ A @ X @ ( set_mset @ A @ M6 ) ) ) ).

% count_greater_eq_Suc_zero_iff
thf(fact_6703_asymp__greater,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ( asymp @ A
        @ ^ [X4: A,Y4: A] : ( ord_less @ A @ Y4 @ X4 ) ) ) ).

% asymp_greater
thf(fact_6704_asymp__less,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ( asymp @ A @ ( ord_less @ A ) ) ) ).

% asymp_less
thf(fact_6705_plus__multiset_Orep__eq,axiom,
    ! [A: $tType,X: multiset @ A,Xa: multiset @ A] :
      ( ( count @ A @ ( plus_plus @ ( multiset @ A ) @ X @ Xa ) )
      = ( ^ [A7: A] : ( plus_plus @ nat @ ( count @ A @ X @ A7 ) @ ( count @ A @ Xa @ A7 ) ) ) ) ).

% plus_multiset.rep_eq
thf(fact_6706_count__sum,axiom,
    ! [A: $tType,B: $tType,F3: B > ( multiset @ A ),A6: set @ B,X: A] :
      ( ( count @ A @ ( groups7311177749621191930dd_sum @ B @ ( multiset @ A ) @ F3 @ A6 ) @ X )
      = ( groups7311177749621191930dd_sum @ B @ nat
        @ ^ [A7: B] : ( count @ A @ ( F3 @ A7 ) @ X )
        @ A6 ) ) ).

% count_sum
thf(fact_6707_mset__subset__eqI,axiom,
    ! [A: $tType,A6: multiset @ A,B6: multiset @ A] :
      ( ! [A5: A] : ( ord_less_eq @ nat @ ( count @ A @ A6 @ A5 ) @ ( count @ A @ B6 @ A5 ) )
     => ( subseteq_mset @ A @ A6 @ B6 ) ) ).

% mset_subset_eqI
thf(fact_6708_subseteq__mset__def,axiom,
    ! [A: $tType] :
      ( ( subseteq_mset @ A )
      = ( ^ [A8: multiset @ A,B7: multiset @ A] :
          ! [A7: A] : ( ord_less_eq @ nat @ ( count @ A @ A8 @ A7 ) @ ( count @ A @ B7 @ A7 ) ) ) ) ).

% subseteq_mset_def
thf(fact_6709_mset__subset__eq__count,axiom,
    ! [A: $tType,A6: multiset @ A,B6: multiset @ A,A3: A] :
      ( ( subseteq_mset @ A @ A6 @ B6 )
     => ( ord_less_eq @ nat @ ( count @ A @ A6 @ A3 ) @ ( count @ A @ B6 @ A3 ) ) ) ).

% mset_subset_eq_count
thf(fact_6710_in__diff__count,axiom,
    ! [A: $tType,A3: A,M6: multiset @ A,N7: multiset @ A] :
      ( ( member @ A @ A3 @ ( set_mset @ A @ ( minus_minus @ ( multiset @ A ) @ M6 @ N7 ) ) )
      = ( ord_less @ nat @ ( count @ A @ N7 @ A3 ) @ ( count @ A @ M6 @ A3 ) ) ) ).

% in_diff_count
thf(fact_6711_count__ne__remove,axiom,
    ! [A: $tType,X: A,T5: A,S: multiset @ A] :
      ( ( X != T5 )
     => ( ( count @ A @ S @ X )
        = ( count @ A @ ( minus_minus @ ( multiset @ A ) @ S @ ( add_mset @ A @ T5 @ ( zero_zero @ ( multiset @ A ) ) ) ) @ X ) ) ) ).

% count_ne_remove
thf(fact_6712_count__in__diffI,axiom,
    ! [A: $tType,N7: multiset @ A,X: A,M6: multiset @ A] :
      ( ! [N4: nat] :
          ( ( count @ A @ N7 @ X )
         != ( plus_plus @ nat @ N4 @ ( count @ A @ M6 @ X ) ) )
     => ( member @ A @ X @ ( set_mset @ A @ ( minus_minus @ ( multiset @ A ) @ M6 @ N7 ) ) ) ) ).

% count_in_diffI
thf(fact_6713_set__mset__def,axiom,
    ! [A: $tType] :
      ( ( set_mset @ A )
      = ( ^ [M9: multiset @ A] :
            ( collect @ A
            @ ^ [X4: A] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( count @ A @ M9 @ X4 ) ) ) ) ) ).

% set_mset_def
thf(fact_6714_set__mset__diff,axiom,
    ! [A: $tType,M6: multiset @ A,N7: multiset @ A] :
      ( ( set_mset @ A @ ( minus_minus @ ( multiset @ A ) @ M6 @ N7 ) )
      = ( collect @ A
        @ ^ [A7: A] : ( ord_less @ nat @ ( count @ A @ N7 @ A7 ) @ ( count @ A @ M6 @ A7 ) ) ) ) ).

% set_mset_diff
thf(fact_6715_count__mset,axiom,
    ! [A: $tType,Xs: list @ A,X: A] :
      ( ( count @ A @ ( mset @ A @ Xs ) @ X )
      = ( size_size @ ( list @ A )
        @ ( filter2 @ A
          @ ( ^ [Y6: A,Z5: A] : Y6 = Z5
            @ X )
          @ Xs ) ) ) ).

% count_mset
thf(fact_6716_count__image__mset_H,axiom,
    ! [A: $tType,B: $tType,F3: B > A,X7: multiset @ B,Y: A] :
      ( ( count @ A @ ( image_mset @ B @ A @ F3 @ X7 ) @ Y )
      = ( groups7311177749621191930dd_sum @ B @ nat @ ( count @ B @ X7 )
        @ ( collect @ B
          @ ^ [X4: B] :
              ( ( member @ B @ X4 @ ( set_mset @ B @ X7 ) )
              & ( Y
                = ( F3 @ X4 ) ) ) ) ) ) ).

% count_image_mset'
thf(fact_6717_size__multiset__overloaded__eq,axiom,
    ! [B: $tType] :
      ( ( size_size @ ( multiset @ B ) )
      = ( ^ [X4: multiset @ B] : ( groups7311177749621191930dd_sum @ B @ nat @ ( count @ B @ X4 ) @ ( set_mset @ B @ X4 ) ) ) ) ).

% size_multiset_overloaded_eq
thf(fact_6718_count,axiom,
    ! [A: $tType,X: multiset @ A] :
      ( member @ ( A > nat ) @ ( count @ A @ X )
      @ ( collect @ ( A > nat )
        @ ^ [F4: A > nat] :
            ( finite_finite2 @ A
            @ ( collect @ A
              @ ^ [X4: A] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( F4 @ X4 ) ) ) ) ) ) ).

% count
thf(fact_6719_count__cases,axiom,
    ! [A: $tType,Y: A > nat] :
      ( ( member @ ( A > nat ) @ Y
        @ ( collect @ ( A > nat )
          @ ^ [F4: A > nat] :
              ( finite_finite2 @ A
              @ ( collect @ A
                @ ^ [X4: A] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( F4 @ X4 ) ) ) ) ) )
     => ~ ! [X3: multiset @ A] :
            ( Y
           != ( count @ A @ X3 ) ) ) ).

% count_cases
thf(fact_6720_count__induct,axiom,
    ! [A: $tType,Y: A > nat,P2: ( A > nat ) > $o] :
      ( ( member @ ( A > nat ) @ Y
        @ ( collect @ ( A > nat )
          @ ^ [F4: A > nat] :
              ( finite_finite2 @ A
              @ ( collect @ A
                @ ^ [X4: A] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( F4 @ X4 ) ) ) ) ) )
     => ( ! [X3: multiset @ A] : ( P2 @ ( count @ A @ X3 ) )
       => ( P2 @ Y ) ) ) ).

% count_induct
thf(fact_6721_Inf__multiset_Orep__eq,axiom,
    ! [A: $tType,X: set @ ( multiset @ A )] :
      ( ( count @ A @ ( complete_Inf_Inf @ ( multiset @ A ) @ X ) )
      = ( ^ [I: A] :
            ( if @ nat
            @ ( ( image2 @ ( multiset @ A ) @ ( A > nat ) @ ( count @ A ) @ X )
              = ( bot_bot @ ( set @ ( A > nat ) ) ) )
            @ ( zero_zero @ nat )
            @ ( complete_Inf_Inf @ nat
              @ ( image2 @ ( A > nat ) @ nat
                @ ^ [F4: A > nat] : ( F4 @ I )
                @ ( image2 @ ( multiset @ A ) @ ( A > nat ) @ ( count @ A ) @ X ) ) ) ) ) ) ).

% Inf_multiset.rep_eq
thf(fact_6722_count__Inf__multiset__nonempty,axiom,
    ! [A: $tType,A6: set @ ( multiset @ A ),X: A] :
      ( ( A6
       != ( bot_bot @ ( set @ ( multiset @ A ) ) ) )
     => ( ( count @ A @ ( complete_Inf_Inf @ ( multiset @ A ) @ A6 ) @ X )
        = ( complete_Inf_Inf @ nat
          @ ( image2 @ ( multiset @ A ) @ nat
            @ ^ [X11: multiset @ A] : ( count @ A @ X11 @ X )
            @ A6 ) ) ) ) ).

% count_Inf_multiset_nonempty
thf(fact_6723_count__mset__gt__0,axiom,
    ! [A: $tType,X: A,Xs: list @ A] :
      ( ( member @ A @ X @ ( set2 @ A @ Xs ) )
     => ( ord_less @ nat @ ( zero_zero @ nat ) @ ( count @ A @ ( mset @ A @ Xs ) @ X ) ) ) ).

% count_mset_gt_0
thf(fact_6724_in__diff__countE,axiom,
    ! [A: $tType,X: A,M6: multiset @ A,N7: multiset @ A] :
      ( ( member @ A @ X @ ( set_mset @ A @ ( minus_minus @ ( multiset @ A ) @ M6 @ N7 ) ) )
     => ~ ! [N4: nat] :
            ( ( count @ A @ M6 @ X )
           != ( plus_plus @ nat @ ( suc @ N4 ) @ ( count @ A @ N7 @ X ) ) ) ) ).

% in_diff_countE
thf(fact_6725_sum__mset__delta_H,axiom,
    ! [A: $tType,B: $tType] :
      ( ( semiring_1 @ A )
     => ! [Y: B,C3: A,A6: multiset @ B] :
          ( ( comm_m7189776963980413722m_mset @ A
            @ ( image_mset @ B @ A
              @ ^ [X4: B] : ( if @ A @ ( Y = X4 ) @ C3 @ ( zero_zero @ A ) )
              @ A6 ) )
          = ( times_times @ A @ C3 @ ( semiring_1_of_nat @ A @ ( count @ B @ A6 @ Y ) ) ) ) ) ).

% sum_mset_delta'
thf(fact_6726_sum__mset__delta,axiom,
    ! [A: $tType,B: $tType] :
      ( ( semiring_1 @ A )
     => ! [Y: B,C3: A,A6: multiset @ B] :
          ( ( comm_m7189776963980413722m_mset @ A
            @ ( image_mset @ B @ A
              @ ^ [X4: B] : ( if @ A @ ( X4 = Y ) @ C3 @ ( zero_zero @ A ) )
              @ A6 ) )
          = ( times_times @ A @ C3 @ ( semiring_1_of_nat @ A @ ( count @ B @ A6 @ Y ) ) ) ) ) ).

% sum_mset_delta
thf(fact_6727_size__multiset__eq,axiom,
    ! [A: $tType] :
      ( ( size_multiset @ A )
      = ( ^ [F4: A > nat,M9: multiset @ A] :
            ( groups7311177749621191930dd_sum @ A @ nat
            @ ^ [X4: A] : ( times_times @ nat @ ( count @ A @ M9 @ X4 ) @ ( suc @ ( F4 @ X4 ) ) )
            @ ( set_mset @ A @ M9 ) ) ) ) ).

% size_multiset_eq
thf(fact_6728_bdd__above__multiset__imp__finite__support,axiom,
    ! [A: $tType,A6: set @ ( multiset @ A )] :
      ( ( A6
       != ( bot_bot @ ( set @ ( multiset @ A ) ) ) )
     => ( ( condit8047198070973881523_above @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ A6 )
       => ( finite_finite2 @ A
          @ ( complete_Sup_Sup @ ( set @ A )
            @ ( image2 @ ( multiset @ A ) @ ( set @ A )
              @ ^ [X11: multiset @ A] :
                  ( collect @ A
                  @ ^ [X4: A] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( count @ A @ X11 @ X4 ) ) )
              @ A6 ) ) ) ) ) ).

% bdd_above_multiset_imp_finite_support
thf(fact_6729_Sup__multiset__in__multiset,axiom,
    ! [A: $tType,A6: set @ ( multiset @ A )] :
      ( ( A6
       != ( bot_bot @ ( set @ ( multiset @ A ) ) ) )
     => ( ( condit8047198070973881523_above @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ A6 )
       => ( finite_finite2 @ A
          @ ( collect @ A
            @ ^ [I: A] :
                ( ord_less @ nat @ ( zero_zero @ nat )
                @ ( complete_Sup_Sup @ nat
                  @ ( image2 @ ( multiset @ A ) @ nat
                    @ ^ [M9: multiset @ A] : ( count @ A @ M9 @ I )
                    @ A6 ) ) ) ) ) ) ) ).

% Sup_multiset_in_multiset
thf(fact_6730_subset__mset_Obdd__above__Un,axiom,
    ! [A: $tType,A6: set @ ( multiset @ A ),B6: set @ ( multiset @ A )] :
      ( ( condit8047198070973881523_above @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ ( sup_sup @ ( set @ ( multiset @ A ) ) @ A6 @ B6 ) )
      = ( ( condit8047198070973881523_above @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ A6 )
        & ( condit8047198070973881523_above @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ B6 ) ) ) ).

% subset_mset.bdd_above_Un
thf(fact_6731_subset__mset_Obdd__above__UN,axiom,
    ! [A: $tType,B: $tType,I5: set @ B,A6: B > ( set @ ( multiset @ A ) )] :
      ( ( finite_finite2 @ B @ I5 )
     => ( ( condit8047198070973881523_above @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ ( complete_Sup_Sup @ ( set @ ( multiset @ A ) ) @ ( image2 @ B @ ( set @ ( multiset @ A ) ) @ A6 @ I5 ) ) )
        = ( ! [X4: B] :
              ( ( member @ B @ X4 @ I5 )
             => ( condit8047198070973881523_above @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ ( A6 @ X4 ) ) ) ) ) ) ).

% subset_mset.bdd_above_UN
thf(fact_6732_subset__mset_Obdd__above__mono,axiom,
    ! [A: $tType,B6: set @ ( multiset @ A ),A6: set @ ( multiset @ A )] :
      ( ( condit8047198070973881523_above @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ B6 )
     => ( ( ord_less_eq @ ( set @ ( multiset @ A ) ) @ A6 @ B6 )
       => ( condit8047198070973881523_above @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ A6 ) ) ) ).

% subset_mset.bdd_above_mono
thf(fact_6733_preorder_Obdd__above_Ocong,axiom,
    ! [A: $tType] :
      ( ( condit8047198070973881523_above @ A )
      = ( condit8047198070973881523_above @ A ) ) ).

% preorder.bdd_above.cong
thf(fact_6734_subset__mset_OcSup__subset__mono,axiom,
    ! [A: $tType,A6: set @ ( multiset @ A ),B6: set @ ( multiset @ A )] :
      ( ( A6
       != ( bot_bot @ ( set @ ( multiset @ A ) ) ) )
     => ( ( condit8047198070973881523_above @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ B6 )
       => ( ( ord_less_eq @ ( set @ ( multiset @ A ) ) @ A6 @ B6 )
         => ( subseteq_mset @ A @ ( complete_Sup_Sup @ ( multiset @ A ) @ A6 ) @ ( complete_Sup_Sup @ ( multiset @ A ) @ B6 ) ) ) ) ) ).

% subset_mset.cSup_subset_mono
thf(fact_6735_subset__mset_OcSUP__subset__mono,axiom,
    ! [A: $tType,B: $tType,A6: set @ B,G3: B > ( multiset @ A ),B6: set @ B,F3: B > ( multiset @ A )] :
      ( ( A6
       != ( bot_bot @ ( set @ B ) ) )
     => ( ( condit8047198070973881523_above @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ ( image2 @ B @ ( multiset @ A ) @ G3 @ B6 ) )
       => ( ( ord_less_eq @ ( set @ B ) @ A6 @ B6 )
         => ( ! [X3: B] :
                ( ( member @ B @ X3 @ A6 )
               => ( subseteq_mset @ A @ ( F3 @ X3 ) @ ( G3 @ X3 ) ) )
           => ( subseteq_mset @ A @ ( complete_Sup_Sup @ ( multiset @ A ) @ ( image2 @ B @ ( multiset @ A ) @ F3 @ A6 ) ) @ ( complete_Sup_Sup @ ( multiset @ A ) @ ( image2 @ B @ ( multiset @ A ) @ G3 @ B6 ) ) ) ) ) ) ) ).

% subset_mset.cSUP_subset_mono
thf(fact_6736_set__mset__Sup,axiom,
    ! [A: $tType,A6: set @ ( multiset @ A )] :
      ( ( condit8047198070973881523_above @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ A6 )
     => ( ( set_mset @ A @ ( complete_Sup_Sup @ ( multiset @ A ) @ A6 ) )
        = ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ ( multiset @ A ) @ ( set @ A ) @ ( set_mset @ A ) @ A6 ) ) ) ) ).

% set_mset_Sup
thf(fact_6737_count__Sup__multiset__nonempty,axiom,
    ! [A: $tType,A6: set @ ( multiset @ A ),X: A] :
      ( ( A6
       != ( bot_bot @ ( set @ ( multiset @ A ) ) ) )
     => ( ( condit8047198070973881523_above @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ A6 )
       => ( ( count @ A @ ( complete_Sup_Sup @ ( multiset @ A ) @ A6 ) @ X )
          = ( complete_Sup_Sup @ nat
            @ ( image2 @ ( multiset @ A ) @ nat
              @ ^ [X11: multiset @ A] : ( count @ A @ X11 @ X )
              @ A6 ) ) ) ) ) ).

% count_Sup_multiset_nonempty
thf(fact_6738_subset__mset_Omono__cSUP,axiom,
    ! [B: $tType,A: $tType,C: $tType] :
      ( ( condit1219197933456340205attice @ B )
     => ! [F3: ( multiset @ A ) > B,A6: C > ( multiset @ A ),I5: set @ C] :
          ( ( mono @ ( multiset @ A ) @ B @ ( subseteq_mset @ A ) @ F3 )
         => ( ( condit8047198070973881523_above @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ ( image2 @ C @ ( multiset @ A ) @ A6 @ I5 ) )
           => ( ( I5
               != ( bot_bot @ ( set @ C ) ) )
             => ( ord_less_eq @ B
                @ ( complete_Sup_Sup @ B
                  @ ( image2 @ C @ B
                    @ ^ [X4: C] : ( F3 @ ( A6 @ X4 ) )
                    @ I5 ) )
                @ ( F3 @ ( complete_Sup_Sup @ ( multiset @ A ) @ ( image2 @ C @ ( multiset @ A ) @ A6 @ I5 ) ) ) ) ) ) ) ) ).

% subset_mset.mono_cSUP
thf(fact_6739_subset__mset_Omono__cSup,axiom,
    ! [B: $tType,A: $tType] :
      ( ( condit1219197933456340205attice @ B )
     => ! [F3: ( multiset @ A ) > B,A6: set @ ( multiset @ A )] :
          ( ( mono @ ( multiset @ A ) @ B @ ( subseteq_mset @ A ) @ F3 )
         => ( ( condit8047198070973881523_above @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ A6 )
           => ( ( A6
               != ( bot_bot @ ( set @ ( multiset @ A ) ) ) )
             => ( ord_less_eq @ B @ ( complete_Sup_Sup @ B @ ( image2 @ ( multiset @ A ) @ B @ F3 @ A6 ) ) @ ( F3 @ ( complete_Sup_Sup @ ( multiset @ A ) @ A6 ) ) ) ) ) ) ) ).

% subset_mset.mono_cSup
thf(fact_6740_order_Omono_Ocong,axiom,
    ! [B: $tType,A: $tType] :
      ( ( order @ B )
     => ( ( mono @ A @ B )
        = ( mono @ A @ B ) ) ) ).

% order.mono.cong
thf(fact_6741_subset__mset_Omono__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( order @ B )
     => ! [F3: ( multiset @ A ) > B] :
          ( ( mono @ ( multiset @ A ) @ B @ ( subseteq_mset @ A ) @ F3 )
          = ( ! [X4: multiset @ A,Y4: multiset @ A] :
                ( ( subseteq_mset @ A @ X4 @ Y4 )
               => ( ord_less_eq @ B @ ( F3 @ X4 ) @ ( F3 @ Y4 ) ) ) ) ) ) ).

% subset_mset.mono_def
thf(fact_6742_subset__mset_OmonoI,axiom,
    ! [B: $tType,A: $tType] :
      ( ( order @ B )
     => ! [F3: ( multiset @ A ) > B] :
          ( ! [X3: multiset @ A,Y3: multiset @ A] :
              ( ( subseteq_mset @ A @ X3 @ Y3 )
             => ( ord_less_eq @ B @ ( F3 @ X3 ) @ ( F3 @ Y3 ) ) )
         => ( mono @ ( multiset @ A ) @ B @ ( subseteq_mset @ A ) @ F3 ) ) ) ).

% subset_mset.monoI
thf(fact_6743_subset__mset_OmonoE,axiom,
    ! [B: $tType,A: $tType] :
      ( ( order @ B )
     => ! [F3: ( multiset @ A ) > B,X: multiset @ A,Y: multiset @ A] :
          ( ( mono @ ( multiset @ A ) @ B @ ( subseteq_mset @ A ) @ F3 )
         => ( ( subseteq_mset @ A @ X @ Y )
           => ( ord_less_eq @ B @ ( F3 @ X ) @ ( F3 @ Y ) ) ) ) ) ).

% subset_mset.monoE
thf(fact_6744_subset__mset_OmonoD,axiom,
    ! [B: $tType,A: $tType] :
      ( ( order @ B )
     => ! [F3: ( multiset @ A ) > B,X: multiset @ A,Y: multiset @ A] :
          ( ( mono @ ( multiset @ A ) @ B @ ( subseteq_mset @ A ) @ F3 )
         => ( ( subseteq_mset @ A @ X @ Y )
           => ( ord_less_eq @ B @ ( F3 @ X ) @ ( F3 @ Y ) ) ) ) ) ).

% subset_mset.monoD
thf(fact_6745_Inf__multiset__def,axiom,
    ! [A: $tType] :
      ( ( complete_Inf_Inf @ ( multiset @ A ) )
      = ( map_fun @ ( set @ ( multiset @ A ) ) @ ( set @ ( A > nat ) ) @ ( A > nat ) @ ( multiset @ A ) @ ( image2 @ ( multiset @ A ) @ ( A > nat ) @ ( count @ A ) ) @ ( abs_multiset @ A )
        @ ^ [A8: set @ ( A > nat ),I: A] :
            ( if @ nat
            @ ( A8
              = ( bot_bot @ ( set @ ( A > nat ) ) ) )
            @ ( zero_zero @ nat )
            @ ( complete_Inf_Inf @ nat
              @ ( image2 @ ( A > nat ) @ nat
                @ ^ [F4: A > nat] : ( F4 @ I )
                @ A8 ) ) ) ) ) ).

% Inf_multiset_def
thf(fact_6746_Sup__multiset__def,axiom,
    ! [A: $tType] :
      ( ( complete_Sup_Sup @ ( multiset @ A ) )
      = ( ^ [A8: set @ ( multiset @ A )] :
            ( if @ ( multiset @ A )
            @ ( ( A8
               != ( bot_bot @ ( set @ ( multiset @ A ) ) ) )
              & ( condit8047198070973881523_above @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ A8 ) )
            @ ( abs_multiset @ A
              @ ^ [I: A] :
                  ( complete_Sup_Sup @ nat
                  @ ( image2 @ ( multiset @ A ) @ nat
                    @ ^ [X11: multiset @ A] : ( count @ A @ X11 @ I )
                    @ A8 ) ) )
            @ ( zero_zero @ ( multiset @ A ) ) ) ) ) ).

% Sup_multiset_def
thf(fact_6747_count__Abs__multiset,axiom,
    ! [A: $tType,F3: A > nat] :
      ( ( finite_finite2 @ A
        @ ( collect @ A
          @ ^ [X4: A] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( F3 @ X4 ) ) ) )
     => ( ( count @ A @ ( abs_multiset @ A @ F3 ) )
        = F3 ) ) ).

% count_Abs_multiset
thf(fact_6748_zero__multiset__def,axiom,
    ! [A: $tType] :
      ( ( zero_zero @ ( multiset @ A ) )
      = ( abs_multiset @ A
        @ ^ [A7: A] : ( zero_zero @ nat ) ) ) ).

% zero_multiset_def
thf(fact_6749_Abs__multiset__inject,axiom,
    ! [A: $tType,X: A > nat,Y: A > nat] :
      ( ( member @ ( A > nat ) @ X
        @ ( collect @ ( A > nat )
          @ ^ [F4: A > nat] :
              ( finite_finite2 @ A
              @ ( collect @ A
                @ ^ [X4: A] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( F4 @ X4 ) ) ) ) ) )
     => ( ( member @ ( A > nat ) @ Y
          @ ( collect @ ( A > nat )
            @ ^ [F4: A > nat] :
                ( finite_finite2 @ A
                @ ( collect @ A
                  @ ^ [X4: A] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( F4 @ X4 ) ) ) ) ) )
       => ( ( ( abs_multiset @ A @ X )
            = ( abs_multiset @ A @ Y ) )
          = ( X = Y ) ) ) ) ).

% Abs_multiset_inject
thf(fact_6750_Abs__multiset__induct,axiom,
    ! [A: $tType,P2: ( multiset @ A ) > $o,X: multiset @ A] :
      ( ! [Y3: A > nat] :
          ( ( member @ ( A > nat ) @ Y3
            @ ( collect @ ( A > nat )
              @ ^ [F4: A > nat] :
                  ( finite_finite2 @ A
                  @ ( collect @ A
                    @ ^ [X4: A] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( F4 @ X4 ) ) ) ) ) )
         => ( P2 @ ( abs_multiset @ A @ Y3 ) ) )
     => ( P2 @ X ) ) ).

% Abs_multiset_induct
thf(fact_6751_Abs__multiset__cases,axiom,
    ! [A: $tType,X: multiset @ A] :
      ~ ! [Y3: A > nat] :
          ( ( X
            = ( abs_multiset @ A @ Y3 ) )
         => ~ ( member @ ( A > nat ) @ Y3
              @ ( collect @ ( A > nat )
                @ ^ [F4: A > nat] :
                    ( finite_finite2 @ A
                    @ ( collect @ A
                      @ ^ [X4: A] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( F4 @ X4 ) ) ) ) ) ) ) ).

% Abs_multiset_cases
thf(fact_6752_plus__multiset__def,axiom,
    ! [A: $tType] :
      ( ( plus_plus @ ( multiset @ A ) )
      = ( map_fun @ ( multiset @ A ) @ ( A > nat ) @ ( ( A > nat ) > A > nat ) @ ( ( multiset @ A ) > ( multiset @ A ) ) @ ( count @ A ) @ ( map_fun @ ( multiset @ A ) @ ( A > nat ) @ ( A > nat ) @ ( multiset @ A ) @ ( count @ A ) @ ( abs_multiset @ A ) )
        @ ^ [M9: A > nat,N8: A > nat,A7: A] : ( plus_plus @ nat @ ( M9 @ A7 ) @ ( N8 @ A7 ) ) ) ) ).

% plus_multiset_def
thf(fact_6753_minus__multiset__def,axiom,
    ! [A: $tType] :
      ( ( minus_minus @ ( multiset @ A ) )
      = ( map_fun @ ( multiset @ A ) @ ( A > nat ) @ ( ( A > nat ) > A > nat ) @ ( ( multiset @ A ) > ( multiset @ A ) ) @ ( count @ A ) @ ( map_fun @ ( multiset @ A ) @ ( A > nat ) @ ( A > nat ) @ ( multiset @ A ) @ ( count @ A ) @ ( abs_multiset @ A ) )
        @ ^ [M9: A > nat,N8: A > nat,A7: A] : ( minus_minus @ nat @ ( M9 @ A7 ) @ ( N8 @ A7 ) ) ) ) ).

% minus_multiset_def
thf(fact_6754_Abs__multiset__inverse,axiom,
    ! [A: $tType,Y: A > nat] :
      ( ( member @ ( A > nat ) @ Y
        @ ( collect @ ( A > nat )
          @ ^ [F4: A > nat] :
              ( finite_finite2 @ A
              @ ( collect @ A
                @ ^ [X4: A] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( F4 @ X4 ) ) ) ) ) )
     => ( ( count @ A @ ( abs_multiset @ A @ Y ) )
        = Y ) ) ).

% Abs_multiset_inverse
thf(fact_6755_add__mset__def,axiom,
    ! [A: $tType] :
      ( ( add_mset @ A )
      = ( map_fun @ A @ A @ ( ( A > nat ) > A > nat ) @ ( ( multiset @ A ) > ( multiset @ A ) ) @ ( id @ A ) @ ( map_fun @ ( multiset @ A ) @ ( A > nat ) @ ( A > nat ) @ ( multiset @ A ) @ ( count @ A ) @ ( abs_multiset @ A ) )
        @ ^ [A7: A,M9: A > nat,B5: A] : ( if @ nat @ ( B5 = A7 ) @ ( suc @ ( M9 @ B5 ) ) @ ( M9 @ B5 ) ) ) ) ).

% add_mset_def
thf(fact_6756_subset__mset_Omono__cINF,axiom,
    ! [B: $tType,A: $tType,C: $tType] :
      ( ( condit1219197933456340205attice @ B )
     => ! [F3: ( multiset @ A ) > B,A6: C > ( multiset @ A ),I5: set @ C] :
          ( ( mono @ ( multiset @ A ) @ B @ ( subseteq_mset @ A ) @ F3 )
         => ( ( condit8119078960628432327_below @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ ( image2 @ C @ ( multiset @ A ) @ A6 @ I5 ) )
           => ( ( I5
               != ( bot_bot @ ( set @ C ) ) )
             => ( ord_less_eq @ B @ ( F3 @ ( complete_Inf_Inf @ ( multiset @ A ) @ ( image2 @ C @ ( multiset @ A ) @ A6 @ I5 ) ) )
                @ ( complete_Inf_Inf @ B
                  @ ( image2 @ C @ B
                    @ ^ [X4: C] : ( F3 @ ( A6 @ X4 ) )
                    @ I5 ) ) ) ) ) ) ) ).

% subset_mset.mono_cINF
thf(fact_6757_subset__mset_Omono__cInf,axiom,
    ! [B: $tType,A: $tType] :
      ( ( condit1219197933456340205attice @ B )
     => ! [F3: ( multiset @ A ) > B,A6: set @ ( multiset @ A )] :
          ( ( mono @ ( multiset @ A ) @ B @ ( subseteq_mset @ A ) @ F3 )
         => ( ( condit8119078960628432327_below @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ A6 )
           => ( ( A6
               != ( bot_bot @ ( set @ ( multiset @ A ) ) ) )
             => ( ord_less_eq @ B @ ( F3 @ ( complete_Inf_Inf @ ( multiset @ A ) @ A6 ) ) @ ( complete_Inf_Inf @ B @ ( image2 @ ( multiset @ A ) @ B @ F3 @ A6 ) ) ) ) ) ) ) ).

% subset_mset.mono_cInf
thf(fact_6758_subset__mset_Obdd__below__Un,axiom,
    ! [A: $tType,A6: set @ ( multiset @ A ),B6: set @ ( multiset @ A )] :
      ( ( condit8119078960628432327_below @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ ( sup_sup @ ( set @ ( multiset @ A ) ) @ A6 @ B6 ) )
      = ( ( condit8119078960628432327_below @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ A6 )
        & ( condit8119078960628432327_below @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ B6 ) ) ) ).

% subset_mset.bdd_below_Un
thf(fact_6759_subset__mset_Obdd__below__UN,axiom,
    ! [A: $tType,B: $tType,I5: set @ B,A6: B > ( set @ ( multiset @ A ) )] :
      ( ( finite_finite2 @ B @ I5 )
     => ( ( condit8119078960628432327_below @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ ( complete_Sup_Sup @ ( set @ ( multiset @ A ) ) @ ( image2 @ B @ ( set @ ( multiset @ A ) ) @ A6 @ I5 ) ) )
        = ( ! [X4: B] :
              ( ( member @ B @ X4 @ I5 )
             => ( condit8119078960628432327_below @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ ( A6 @ X4 ) ) ) ) ) ) ).

% subset_mset.bdd_below_UN
thf(fact_6760_preorder_Obdd__below_Ocong,axiom,
    ! [A: $tType] :
      ( ( condit8119078960628432327_below @ A )
      = ( condit8119078960628432327_below @ A ) ) ).

% preorder.bdd_below.cong
thf(fact_6761_subset__mset_Obdd__below__mono,axiom,
    ! [A: $tType,B6: set @ ( multiset @ A ),A6: set @ ( multiset @ A )] :
      ( ( condit8119078960628432327_below @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ B6 )
     => ( ( ord_less_eq @ ( set @ ( multiset @ A ) ) @ A6 @ B6 )
       => ( condit8119078960628432327_below @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ A6 ) ) ) ).

% subset_mset.bdd_below_mono
thf(fact_6762_subset__mset_OcInf__superset__mono,axiom,
    ! [A: $tType,A6: set @ ( multiset @ A ),B6: set @ ( multiset @ A )] :
      ( ( A6
       != ( bot_bot @ ( set @ ( multiset @ A ) ) ) )
     => ( ( condit8119078960628432327_below @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ B6 )
       => ( ( ord_less_eq @ ( set @ ( multiset @ A ) ) @ A6 @ B6 )
         => ( subseteq_mset @ A @ ( complete_Inf_Inf @ ( multiset @ A ) @ B6 ) @ ( complete_Inf_Inf @ ( multiset @ A ) @ A6 ) ) ) ) ) ).

% subset_mset.cInf_superset_mono
thf(fact_6763_subset__mset_OcINF__superset__mono,axiom,
    ! [A: $tType,B: $tType,A6: set @ B,G3: B > ( multiset @ A ),B6: set @ B,F3: B > ( multiset @ A )] :
      ( ( A6
       != ( bot_bot @ ( set @ B ) ) )
     => ( ( condit8119078960628432327_below @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ ( image2 @ B @ ( multiset @ A ) @ G3 @ B6 ) )
       => ( ( ord_less_eq @ ( set @ B ) @ A6 @ B6 )
         => ( ! [X3: B] :
                ( ( member @ B @ X3 @ B6 )
               => ( subseteq_mset @ A @ ( G3 @ X3 ) @ ( F3 @ X3 ) ) )
           => ( subseteq_mset @ A @ ( complete_Inf_Inf @ ( multiset @ A ) @ ( image2 @ B @ ( multiset @ A ) @ G3 @ B6 ) ) @ ( complete_Inf_Inf @ ( multiset @ A ) @ ( image2 @ B @ ( multiset @ A ) @ F3 @ A6 ) ) ) ) ) ) ) ).

% subset_mset.cINF_superset_mono
thf(fact_6764_repeat__mset__def,axiom,
    ! [A: $tType] :
      ( ( repeat_mset @ A )
      = ( map_fun @ nat @ nat @ ( ( A > nat ) > A > nat ) @ ( ( multiset @ A ) > ( multiset @ A ) ) @ ( id @ nat ) @ ( map_fun @ ( multiset @ A ) @ ( A > nat ) @ ( A > nat ) @ ( multiset @ A ) @ ( count @ A ) @ ( abs_multiset @ A ) )
        @ ^ [N3: nat,M9: A > nat,A7: A] : ( times_times @ nat @ N3 @ ( M9 @ A7 ) ) ) ) ).

% repeat_mset_def
thf(fact_6765_fold__mset__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( fold_mset @ A @ B )
      = ( ^ [F4: A > B > B,S5: B,M9: multiset @ A] :
            ( finite_fold @ A @ B
            @ ^ [X4: A] : ( compow @ ( B > B ) @ ( count @ A @ M9 @ X4 ) @ ( F4 @ X4 ) )
            @ S5
            @ ( set_mset @ A @ M9 ) ) ) ) ).

% fold_mset_def
thf(fact_6766_repeat__mset__distrib2,axiom,
    ! [A: $tType,N: nat,A6: multiset @ A,B6: multiset @ A] :
      ( ( repeat_mset @ A @ N @ ( plus_plus @ ( multiset @ A ) @ A6 @ B6 ) )
      = ( plus_plus @ ( multiset @ A ) @ ( repeat_mset @ A @ N @ A6 ) @ ( repeat_mset @ A @ N @ B6 ) ) ) ).

% repeat_mset_distrib2
thf(fact_6767_repeat__mset__Suc,axiom,
    ! [A: $tType,N: nat,M6: multiset @ A] :
      ( ( repeat_mset @ A @ ( suc @ N ) @ M6 )
      = ( plus_plus @ ( multiset @ A ) @ M6 @ ( repeat_mset @ A @ N @ M6 ) ) ) ).

% repeat_mset_Suc
thf(fact_6768_in__mset__fold__plus__iff,axiom,
    ! [A: $tType,X: A,M6: multiset @ A,NN: multiset @ ( multiset @ A )] :
      ( ( member @ A @ X @ ( set_mset @ A @ ( fold_mset @ ( multiset @ A ) @ ( multiset @ A ) @ ( plus_plus @ ( multiset @ A ) ) @ M6 @ NN ) ) )
      = ( ( member @ A @ X @ ( set_mset @ A @ M6 ) )
        | ? [N8: multiset @ A] :
            ( ( member @ ( multiset @ A ) @ N8 @ ( set_mset @ ( multiset @ A ) @ NN ) )
            & ( member @ A @ X @ ( set_mset @ A @ N8 ) ) ) ) ) ).

% in_mset_fold_plus_iff
thf(fact_6769_repeat__mset__distrib,axiom,
    ! [A: $tType,M: nat,N: nat,A6: multiset @ A] :
      ( ( repeat_mset @ A @ ( plus_plus @ nat @ M @ N ) @ A6 )
      = ( plus_plus @ ( multiset @ A ) @ ( repeat_mset @ A @ M @ A6 ) @ ( repeat_mset @ A @ N @ A6 ) ) ) ).

% repeat_mset_distrib
thf(fact_6770_left__add__mult__distrib__mset,axiom,
    ! [A: $tType,I2: nat,U: multiset @ A,J2: nat,K2: multiset @ A] :
      ( ( plus_plus @ ( multiset @ A ) @ ( repeat_mset @ A @ I2 @ U ) @ ( plus_plus @ ( multiset @ A ) @ ( repeat_mset @ A @ J2 @ U ) @ K2 ) )
      = ( plus_plus @ ( multiset @ A ) @ ( repeat_mset @ A @ ( plus_plus @ nat @ I2 @ J2 ) @ U ) @ K2 ) ) ).

% left_add_mult_distrib_mset
thf(fact_6771_union__fold__mset__add__mset,axiom,
    ! [A: $tType] :
      ( ( plus_plus @ ( multiset @ A ) )
      = ( fold_mset @ A @ ( multiset @ A ) @ ( add_mset @ A ) ) ) ).

% union_fold_mset_add_mset
thf(fact_6772_comp__fun__commute_Ofold__mset__union,axiom,
    ! [B: $tType,A: $tType,F3: A > B > B,S2: B,M6: multiset @ A,N7: multiset @ A] :
      ( ( finite6289374366891150609ommute @ A @ B @ F3 )
     => ( ( fold_mset @ A @ B @ F3 @ S2 @ ( plus_plus @ ( multiset @ A ) @ M6 @ N7 ) )
        = ( fold_mset @ A @ B @ F3 @ ( fold_mset @ A @ B @ F3 @ S2 @ M6 ) @ N7 ) ) ) ).

% comp_fun_commute.fold_mset_union
thf(fact_6773_mset__subseteq__add__iff1,axiom,
    ! [A: $tType,J2: nat,I2: nat,U: multiset @ A,M: multiset @ A,N: multiset @ A] :
      ( ( ord_less_eq @ nat @ J2 @ I2 )
     => ( ( subseteq_mset @ A @ ( plus_plus @ ( multiset @ A ) @ ( repeat_mset @ A @ I2 @ U ) @ M ) @ ( plus_plus @ ( multiset @ A ) @ ( repeat_mset @ A @ J2 @ U ) @ N ) )
        = ( subseteq_mset @ A @ ( plus_plus @ ( multiset @ A ) @ ( repeat_mset @ A @ ( minus_minus @ nat @ I2 @ J2 ) @ U ) @ M ) @ N ) ) ) ).

% mset_subseteq_add_iff1
thf(fact_6774_mset__subseteq__add__iff2,axiom,
    ! [A: $tType,I2: nat,J2: nat,U: multiset @ A,M: multiset @ A,N: multiset @ A] :
      ( ( ord_less_eq @ nat @ I2 @ J2 )
     => ( ( subseteq_mset @ A @ ( plus_plus @ ( multiset @ A ) @ ( repeat_mset @ A @ I2 @ U ) @ M ) @ ( plus_plus @ ( multiset @ A ) @ ( repeat_mset @ A @ J2 @ U ) @ N ) )
        = ( subseteq_mset @ A @ M @ ( plus_plus @ ( multiset @ A ) @ ( repeat_mset @ A @ ( minus_minus @ nat @ J2 @ I2 ) @ U ) @ N ) ) ) ) ).

% mset_subseteq_add_iff2
thf(fact_6775_sum__mset_Oeq__fold,axiom,
    ! [A: $tType] :
      ( ( comm_monoid_add @ A )
     => ( ( comm_m7189776963980413722m_mset @ A )
        = ( fold_mset @ A @ A @ ( plus_plus @ A ) @ ( zero_zero @ A ) ) ) ) ).

% sum_mset.eq_fold
thf(fact_6776_sorted__list__of__multiset__def,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ( ( linord6283353356039996273ltiset @ A )
        = ( fold_mset @ A @ ( list @ A )
          @ ( linorder_insort_key @ A @ A
            @ ^ [X4: A] : X4 )
          @ ( nil @ A ) ) ) ) ).

% sorted_list_of_multiset_def
thf(fact_6777_mult1__def,axiom,
    ! [A: $tType] :
      ( ( mult1 @ A )
      = ( ^ [R5: set @ ( product_prod @ A @ A )] :
            ( collect @ ( product_prod @ ( multiset @ A ) @ ( multiset @ A ) )
            @ ( product_case_prod @ ( multiset @ A ) @ ( multiset @ A ) @ $o
              @ ^ [N8: multiset @ A,M9: multiset @ A] :
                ? [A7: A,M03: multiset @ A,K7: multiset @ A] :
                  ( ( M9
                    = ( add_mset @ A @ A7 @ M03 ) )
                  & ( N8
                    = ( plus_plus @ ( multiset @ A ) @ M03 @ K7 ) )
                  & ! [B5: A] :
                      ( ( member @ A @ B5 @ ( set_mset @ A @ K7 ) )
                     => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ B5 @ A7 ) @ R5 ) ) ) ) ) ) ) ).

% mult1_def
thf(fact_6778_subset__mset_OcINF__union,axiom,
    ! [A: $tType,B: $tType,A6: set @ B,F3: B > ( multiset @ A ),B6: set @ B] :
      ( ( A6
       != ( bot_bot @ ( set @ B ) ) )
     => ( ( condit8119078960628432327_below @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ ( image2 @ B @ ( multiset @ A ) @ F3 @ A6 ) )
       => ( ( B6
           != ( bot_bot @ ( set @ B ) ) )
         => ( ( condit8119078960628432327_below @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ ( image2 @ B @ ( multiset @ A ) @ F3 @ B6 ) )
           => ( ( complete_Inf_Inf @ ( multiset @ A ) @ ( image2 @ B @ ( multiset @ A ) @ F3 @ ( sup_sup @ ( set @ B ) @ A6 @ B6 ) ) )
              = ( inter_mset @ A @ ( complete_Inf_Inf @ ( multiset @ A ) @ ( image2 @ B @ ( multiset @ A ) @ F3 @ A6 ) ) @ ( complete_Inf_Inf @ ( multiset @ A ) @ ( image2 @ B @ ( multiset @ A ) @ F3 @ B6 ) ) ) ) ) ) ) ) ).

% subset_mset.cINF_union
thf(fact_6779_subset__mset_Obdd__below__image__inf,axiom,
    ! [A: $tType,B: $tType,F3: B > ( multiset @ A ),G3: B > ( multiset @ A ),A6: set @ B] :
      ( ( condit8119078960628432327_below @ ( multiset @ A ) @ ( subseteq_mset @ A )
        @ ( image2 @ B @ ( multiset @ A )
          @ ^ [X4: B] : ( inter_mset @ A @ ( F3 @ X4 ) @ ( G3 @ X4 ) )
          @ A6 ) )
      = ( ( condit8119078960628432327_below @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ ( image2 @ B @ ( multiset @ A ) @ F3 @ A6 ) )
        & ( condit8119078960628432327_below @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ ( image2 @ B @ ( multiset @ A ) @ G3 @ A6 ) ) ) ) ).

% subset_mset.bdd_below_image_inf
thf(fact_6780_inter__mset__empty__distrib__left,axiom,
    ! [A: $tType,A6: multiset @ A,B6: multiset @ A,C5: multiset @ A] :
      ( ( ( inter_mset @ A @ ( plus_plus @ ( multiset @ A ) @ A6 @ B6 ) @ C5 )
        = ( zero_zero @ ( multiset @ A ) ) )
      = ( ( ( inter_mset @ A @ A6 @ C5 )
          = ( zero_zero @ ( multiset @ A ) ) )
        & ( ( inter_mset @ A @ B6 @ C5 )
          = ( zero_zero @ ( multiset @ A ) ) ) ) ) ).

% inter_mset_empty_distrib_left
thf(fact_6781_inter__mset__empty__distrib__right,axiom,
    ! [A: $tType,A6: multiset @ A,B6: multiset @ A,C5: multiset @ A] :
      ( ( ( inter_mset @ A @ A6 @ ( plus_plus @ ( multiset @ A ) @ B6 @ C5 ) )
        = ( zero_zero @ ( multiset @ A ) ) )
      = ( ( ( inter_mset @ A @ A6 @ B6 )
          = ( zero_zero @ ( multiset @ A ) ) )
        & ( ( inter_mset @ A @ A6 @ C5 )
          = ( zero_zero @ ( multiset @ A ) ) ) ) ) ).

% inter_mset_empty_distrib_right
thf(fact_6782_inter__subset__eq__union,axiom,
    ! [A: $tType,A6: multiset @ A,B6: multiset @ A] : ( subseteq_mset @ A @ ( inter_mset @ A @ A6 @ B6 ) @ ( plus_plus @ ( multiset @ A ) @ A6 @ B6 ) ) ).

% inter_subset_eq_union
thf(fact_6783_inter__union__distrib__right,axiom,
    ! [A: $tType,C5: multiset @ A,A6: multiset @ A,B6: multiset @ A] :
      ( ( plus_plus @ ( multiset @ A ) @ C5 @ ( inter_mset @ A @ A6 @ B6 ) )
      = ( inter_mset @ A @ ( plus_plus @ ( multiset @ A ) @ C5 @ A6 ) @ ( plus_plus @ ( multiset @ A ) @ C5 @ B6 ) ) ) ).

% inter_union_distrib_right
thf(fact_6784_inter__union__distrib__left,axiom,
    ! [A: $tType,A6: multiset @ A,B6: multiset @ A,C5: multiset @ A] :
      ( ( plus_plus @ ( multiset @ A ) @ ( inter_mset @ A @ A6 @ B6 ) @ C5 )
      = ( inter_mset @ A @ ( plus_plus @ ( multiset @ A ) @ A6 @ C5 ) @ ( plus_plus @ ( multiset @ A ) @ B6 @ C5 ) ) ) ).

% inter_union_distrib_left
thf(fact_6785_rel__fun__def,axiom,
    ! [B: $tType,D: $tType,C: $tType,A: $tType] :
      ( ( bNF_rel_fun @ A @ C @ B @ D )
      = ( ^ [A8: A > C > $o,B7: B > D > $o,F4: A > B,G4: C > D] :
          ! [X4: A,Y4: C] :
            ( ( A8 @ X4 @ Y4 )
           => ( B7 @ ( F4 @ X4 ) @ ( G4 @ Y4 ) ) ) ) ) ).

% rel_fun_def
thf(fact_6786_rel__fun__eq__rel,axiom,
    ! [C: $tType,B: $tType,A: $tType,R4: B > C > $o] :
      ( ( bNF_rel_fun @ A @ A @ B @ C
        @ ^ [Y6: A,Z5: A] : Y6 = Z5
        @ R4 )
      = ( ^ [F4: A > B,G4: A > C] :
          ! [X4: A] : ( R4 @ ( F4 @ X4 ) @ ( G4 @ X4 ) ) ) ) ).

% rel_fun_eq_rel
thf(fact_6787_multiset__union__diff__commute,axiom,
    ! [A: $tType,B6: multiset @ A,C5: multiset @ A,A6: multiset @ A] :
      ( ( ( inter_mset @ A @ B6 @ C5 )
        = ( zero_zero @ ( multiset @ A ) ) )
     => ( ( minus_minus @ ( multiset @ A ) @ ( plus_plus @ ( multiset @ A ) @ A6 @ B6 ) @ C5 )
        = ( plus_plus @ ( multiset @ A ) @ ( minus_minus @ ( multiset @ A ) @ A6 @ C5 ) @ B6 ) ) ) ).

% multiset_union_diff_commute
thf(fact_6788_finite__set__of__finite__funs,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,B6: set @ B,D3: B] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( finite_finite2 @ B @ B6 )
       => ( finite_finite2 @ ( A > B )
          @ ( collect @ ( A > B )
            @ ^ [F4: A > B] :
              ! [X4: A] :
                ( ( ( member @ A @ X4 @ A6 )
                 => ( member @ B @ ( F4 @ X4 ) @ B6 ) )
                & ( ~ ( member @ A @ X4 @ A6 )
                 => ( ( F4 @ X4 )
                    = D3 ) ) ) ) ) ) ) ).

% finite_set_of_finite_funs
thf(fact_6789_Collect__all__eq,axiom,
    ! [A: $tType,B: $tType,P2: A > B > $o] :
      ( ( collect @ A
        @ ^ [X4: A] :
          ! [X11: B] : ( P2 @ X4 @ X11 ) )
      = ( complete_Inf_Inf @ ( set @ A )
        @ ( image2 @ B @ ( set @ A )
          @ ^ [Y4: B] :
              ( collect @ A
              @ ^ [X4: A] : ( P2 @ X4 @ Y4 ) )
          @ ( top_top @ ( set @ B ) ) ) ) ) ).

% Collect_all_eq
thf(fact_6790_Least__def,axiom,
    ! [A: $tType] :
      ( ( ord @ A )
     => ( ( ord_Least @ A )
        = ( ^ [P5: A > $o] :
              ( the @ A
              @ ^ [X4: A] :
                  ( ( P5 @ X4 )
                  & ! [Y4: A] :
                      ( ( P5 @ Y4 )
                     => ( ord_less_eq @ A @ X4 @ Y4 ) ) ) ) ) ) ) ).

% Least_def
thf(fact_6791_subset__mset_Omono__inf,axiom,
    ! [B: $tType,A: $tType] :
      ( ( semilattice_inf @ B )
     => ! [F3: ( multiset @ A ) > B,A6: multiset @ A,B6: multiset @ A] :
          ( ( mono @ ( multiset @ A ) @ B @ ( subseteq_mset @ A ) @ F3 )
         => ( ord_less_eq @ B @ ( F3 @ ( inter_mset @ A @ A6 @ B6 ) ) @ ( inf_inf @ B @ ( F3 @ A6 ) @ ( F3 @ B6 ) ) ) ) ) ).

% subset_mset.mono_inf
thf(fact_6792_subset__mset_OcINF__inf__distrib,axiom,
    ! [A: $tType,B: $tType,A6: set @ B,F3: B > ( multiset @ A ),G3: B > ( multiset @ A )] :
      ( ( A6
       != ( bot_bot @ ( set @ B ) ) )
     => ( ( condit8119078960628432327_below @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ ( image2 @ B @ ( multiset @ A ) @ F3 @ A6 ) )
       => ( ( condit8119078960628432327_below @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ ( image2 @ B @ ( multiset @ A ) @ G3 @ A6 ) )
         => ( ( inter_mset @ A @ ( complete_Inf_Inf @ ( multiset @ A ) @ ( image2 @ B @ ( multiset @ A ) @ F3 @ A6 ) ) @ ( complete_Inf_Inf @ ( multiset @ A ) @ ( image2 @ B @ ( multiset @ A ) @ G3 @ A6 ) ) )
            = ( complete_Inf_Inf @ ( multiset @ A )
              @ ( image2 @ B @ ( multiset @ A )
                @ ^ [A7: B] : ( inter_mset @ A @ ( F3 @ A7 ) @ ( G3 @ A7 ) )
                @ A6 ) ) ) ) ) ) ).

% subset_mset.cINF_inf_distrib
thf(fact_6793_subset__mset_OcInf__union__distrib,axiom,
    ! [A: $tType,A6: set @ ( multiset @ A ),B6: set @ ( multiset @ A )] :
      ( ( A6
       != ( bot_bot @ ( set @ ( multiset @ A ) ) ) )
     => ( ( condit8119078960628432327_below @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ A6 )
       => ( ( B6
           != ( bot_bot @ ( set @ ( multiset @ A ) ) ) )
         => ( ( condit8119078960628432327_below @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ B6 )
           => ( ( complete_Inf_Inf @ ( multiset @ A ) @ ( sup_sup @ ( set @ ( multiset @ A ) ) @ A6 @ B6 ) )
              = ( inter_mset @ A @ ( complete_Inf_Inf @ ( multiset @ A ) @ A6 ) @ ( complete_Inf_Inf @ ( multiset @ A ) @ B6 ) ) ) ) ) ) ) ).

% subset_mset.cInf_union_distrib
thf(fact_6794_Greatest__def,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ( ( order_Greatest @ A )
        = ( ^ [P5: A > $o] :
              ( the @ A
              @ ^ [X4: A] :
                  ( ( P5 @ X4 )
                  & ! [Y4: A] :
                      ( ( P5 @ Y4 )
                     => ( ord_less_eq @ A @ Y4 @ X4 ) ) ) ) ) ) ) ).

% Greatest_def
thf(fact_6795_ord_OLeast__def,axiom,
    ! [A: $tType] :
      ( ( least @ A )
      = ( ^ [Less_eq2: A > A > $o,P5: A > $o] :
            ( the @ A
            @ ^ [X4: A] :
                ( ( P5 @ X4 )
                & ! [Y4: A] :
                    ( ( P5 @ Y4 )
                   => ( Less_eq2 @ X4 @ Y4 ) ) ) ) ) ) ).

% ord.Least_def
thf(fact_6796_GreatestI__nat,axiom,
    ! [P2: nat > $o,K2: nat,B2: nat] :
      ( ( P2 @ K2 )
     => ( ! [Y3: nat] :
            ( ( P2 @ Y3 )
           => ( ord_less_eq @ nat @ Y3 @ B2 ) )
       => ( P2 @ ( order_Greatest @ nat @ P2 ) ) ) ) ).

% GreatestI_nat
thf(fact_6797_Greatest__le__nat,axiom,
    ! [P2: nat > $o,K2: nat,B2: nat] :
      ( ( P2 @ K2 )
     => ( ! [Y3: nat] :
            ( ( P2 @ Y3 )
           => ( ord_less_eq @ nat @ Y3 @ B2 ) )
       => ( ord_less_eq @ nat @ K2 @ ( order_Greatest @ nat @ P2 ) ) ) ) ).

% Greatest_le_nat
thf(fact_6798_GreatestI__ex__nat,axiom,
    ! [P2: nat > $o,B2: nat] :
      ( ? [X_12: nat] : ( P2 @ X_12 )
     => ( ! [Y3: nat] :
            ( ( P2 @ Y3 )
           => ( ord_less_eq @ nat @ Y3 @ B2 ) )
       => ( P2 @ ( order_Greatest @ nat @ P2 ) ) ) ) ).

% GreatestI_ex_nat
thf(fact_6799_ord_OLeast_Ocong,axiom,
    ! [A: $tType] :
      ( ( least @ A )
      = ( least @ A ) ) ).

% ord.Least.cong
thf(fact_6800_subset__mset_OLeast__def,axiom,
    ! [A: $tType,P2: ( multiset @ A ) > $o] :
      ( ( least @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ P2 )
      = ( the @ ( multiset @ A )
        @ ^ [X4: multiset @ A] :
            ( ( P2 @ X4 )
            & ! [Y4: multiset @ A] :
                ( ( P2 @ Y4 )
               => ( subseteq_mset @ A @ X4 @ Y4 ) ) ) ) ) ).

% subset_mset.Least_def
thf(fact_6801_Greatest__equality,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [P2: A > $o,X: A] :
          ( ( P2 @ X )
         => ( ! [Y3: A] :
                ( ( P2 @ Y3 )
               => ( ord_less_eq @ A @ Y3 @ X ) )
           => ( ( order_Greatest @ A @ P2 )
              = X ) ) ) ) ).

% Greatest_equality
thf(fact_6802_GreatestI2__order,axiom,
    ! [A: $tType] :
      ( ( order @ A )
     => ! [P2: A > $o,X: A,Q2: A > $o] :
          ( ( P2 @ X )
         => ( ! [Y3: A] :
                ( ( P2 @ Y3 )
               => ( ord_less_eq @ A @ Y3 @ X ) )
           => ( ! [X3: A] :
                  ( ( P2 @ X3 )
                 => ( ! [Y5: A] :
                        ( ( P2 @ Y5 )
                       => ( ord_less_eq @ A @ Y5 @ X3 ) )
                   => ( Q2 @ X3 ) ) )
             => ( Q2 @ ( order_Greatest @ A @ P2 ) ) ) ) ) ) ).

% GreatestI2_order
thf(fact_6803_transfer__bforall__def,axiom,
    ! [A: $tType] :
      ( ( transfer_bforall @ A )
      = ( ^ [P5: A > $o,Q3: A > $o] :
          ! [X4: A] :
            ( ( P5 @ X4 )
           => ( Q3 @ X4 ) ) ) ) ).

% transfer_bforall_def
thf(fact_6804_max__ext__eq,axiom,
    ! [A: $tType] :
      ( ( max_ext @ A )
      = ( ^ [R2: set @ ( product_prod @ A @ A )] :
            ( collect @ ( product_prod @ ( set @ A ) @ ( set @ A ) )
            @ ( product_case_prod @ ( set @ A ) @ ( set @ A ) @ $o
              @ ^ [X11: set @ A,Y10: set @ A] :
                  ( ( finite_finite2 @ A @ X11 )
                  & ( finite_finite2 @ A @ Y10 )
                  & ( Y10
                   != ( bot_bot @ ( set @ A ) ) )
                  & ! [X4: A] :
                      ( ( member @ A @ X4 @ X11 )
                     => ? [Y4: A] :
                          ( ( member @ A @ Y4 @ Y10 )
                          & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X4 @ Y4 ) @ R2 ) ) ) ) ) ) ) ) ).

% max_ext_eq
thf(fact_6805_bex__empty,axiom,
    ! [A: $tType,P2: A > $o] :
      ~ ? [X6: A] :
          ( ( member @ A @ X6 @ ( bot_bot @ ( set @ A ) ) )
          & ( P2 @ X6 ) ) ).

% bex_empty
thf(fact_6806_finite__Collect__bex,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,Q2: B > A > $o] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( finite_finite2 @ B
          @ ( collect @ B
            @ ^ [X4: B] :
              ? [Y4: A] :
                ( ( member @ A @ Y4 @ A6 )
                & ( Q2 @ X4 @ Y4 ) ) ) )
        = ( ! [X4: A] :
              ( ( member @ A @ X4 @ A6 )
             => ( finite_finite2 @ B
                @ ( collect @ B
                  @ ^ [Y4: B] : ( Q2 @ Y4 @ X4 ) ) ) ) ) ) ) ).

% finite_Collect_bex
thf(fact_6807_bex__UNIV,axiom,
    ! [A: $tType,P2: A > $o] :
      ( ( ? [X4: A] :
            ( ( member @ A @ X4 @ ( top_top @ ( set @ A ) ) )
            & ( P2 @ X4 ) ) )
      = ( ? [X11: A] : ( P2 @ X11 ) ) ) ).

% bex_UNIV
thf(fact_6808_Image__Collect__case__prod,axiom,
    ! [B: $tType,A: $tType,P2: B > A > $o,A6: set @ B] :
      ( ( image @ B @ A @ ( collect @ ( product_prod @ B @ A ) @ ( product_case_prod @ B @ A @ $o @ P2 ) ) @ A6 )
      = ( collect @ A
        @ ^ [Y4: A] :
          ? [X4: B] :
            ( ( member @ B @ X4 @ A6 )
            & ( P2 @ X4 @ Y4 ) ) ) ) ).

% Image_Collect_case_prod
thf(fact_6809_SUP__bool__eq,axiom,
    ! [A: $tType] :
      ( ( ^ [A8: set @ A,F4: A > $o] : ( complete_Sup_Sup @ $o @ ( image2 @ A @ $o @ F4 @ A8 ) ) )
      = ( bex @ A ) ) ).

% SUP_bool_eq
thf(fact_6810_Bex__fold,axiom,
    ! [A: $tType,A6: set @ A,P2: A > $o] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( ? [X4: A] :
              ( ( member @ A @ X4 @ A6 )
              & ( P2 @ X4 ) ) )
        = ( finite_fold @ A @ $o
          @ ^ [K3: A,S5: $o] :
              ( S5
              | ( P2 @ K3 ) )
          @ $false
          @ A6 ) ) ) ).

% Bex_fold
thf(fact_6811_Image__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( image @ A @ B )
      = ( ^ [R5: set @ ( product_prod @ A @ B ),S5: set @ A] :
            ( collect @ B
            @ ^ [Y4: B] :
              ? [X4: A] :
                ( ( member @ A @ X4 @ S5 )
                & ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X4 @ Y4 ) @ R5 ) ) ) ) ) ).

% Image_def
thf(fact_6812_Bex__def,axiom,
    ! [A: $tType] :
      ( ( bex @ A )
      = ( ^ [A8: set @ A,P5: A > $o] :
          ? [X4: A] :
            ( ( member @ A @ X4 @ A8 )
            & ( P5 @ X4 ) ) ) ) ).

% Bex_def
thf(fact_6813_Union__eq,axiom,
    ! [A: $tType] :
      ( ( complete_Sup_Sup @ ( set @ A ) )
      = ( ^ [A8: set @ ( set @ A )] :
            ( collect @ A
            @ ^ [X4: A] :
              ? [Y4: set @ A] :
                ( ( member @ ( set @ A ) @ Y4 @ A8 )
                & ( member @ A @ X4 @ Y4 ) ) ) ) ) ).

% Union_eq
thf(fact_6814_vimage__image__eq,axiom,
    ! [B: $tType,A: $tType,F3: A > B,A6: set @ A] :
      ( ( vimage @ A @ B @ F3 @ ( image2 @ A @ B @ F3 @ A6 ) )
      = ( collect @ A
        @ ^ [Y4: A] :
          ? [X4: A] :
            ( ( member @ A @ X4 @ A6 )
            & ( ( F3 @ X4 )
              = ( F3 @ Y4 ) ) ) ) ) ).

% vimage_image_eq
thf(fact_6815_image__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( image2 @ A @ B )
      = ( ^ [F4: A > B,A8: set @ A] :
            ( collect @ B
            @ ^ [Y4: B] :
              ? [X4: A] :
                ( ( member @ A @ X4 @ A8 )
                & ( Y4
                  = ( F4 @ X4 ) ) ) ) ) ) ).

% image_def
thf(fact_6816_UNION__eq,axiom,
    ! [B: $tType,A: $tType,B6: B > ( set @ A ),A6: set @ B] :
      ( ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ B6 @ A6 ) )
      = ( collect @ A
        @ ^ [Y4: A] :
          ? [X4: B] :
            ( ( member @ B @ X4 @ A6 )
            & ( member @ A @ Y4 @ ( B6 @ X4 ) ) ) ) ) ).

% UNION_eq
thf(fact_6817_Collect__bex__eq,axiom,
    ! [A: $tType,B: $tType,A6: set @ B,P2: A > B > $o] :
      ( ( collect @ A
        @ ^ [X4: A] :
          ? [Y4: B] :
            ( ( member @ B @ Y4 @ A6 )
            & ( P2 @ X4 @ Y4 ) ) )
      = ( complete_Sup_Sup @ ( set @ A )
        @ ( image2 @ B @ ( set @ A )
          @ ^ [Y4: B] :
              ( collect @ A
              @ ^ [X4: A] : ( P2 @ X4 @ Y4 ) )
          @ A6 ) ) ) ).

% Collect_bex_eq
thf(fact_6818_Bex__def__raw,axiom,
    ! [A: $tType] :
      ( ( bex @ A )
      = ( ^ [A8: set @ A,P5: A > $o] :
          ? [X4: A] :
            ( ( member @ A @ X4 @ A8 )
            & ( P5 @ X4 ) ) ) ) ).

% Bex_def_raw
thf(fact_6819_nths__nths,axiom,
    ! [A: $tType,Xs: list @ A,A6: set @ nat,B6: set @ nat] :
      ( ( nths @ A @ ( nths @ A @ Xs @ A6 ) @ B6 )
      = ( nths @ A @ Xs
        @ ( collect @ nat
          @ ^ [I: nat] :
              ( ( member @ nat @ I @ A6 )
              & ( member @ nat
                @ ( finite_card @ nat
                  @ ( collect @ nat
                    @ ^ [I9: nat] :
                        ( ( member @ nat @ I9 @ A6 )
                        & ( ord_less @ nat @ I9 @ I ) ) ) )
                @ B6 ) ) ) ) ) ).

% nths_nths
thf(fact_6820_max__extp_Ocases,axiom,
    ! [A: $tType,R4: A > A > $o,A1: set @ A,A22: set @ A] :
      ( ( max_extp @ A @ R4 @ A1 @ A22 )
     => ~ ( ( finite_finite2 @ A @ A1 )
         => ( ( finite_finite2 @ A @ A22 )
           => ( ( A22
               != ( collect @ A @ ( bot_bot @ ( A > $o ) ) ) )
             => ~ ! [X6: A] :
                    ( ( member @ A @ X6 @ A1 )
                   => ? [Xa4: A] :
                        ( ( member @ A @ Xa4 @ A22 )
                        & ( R4 @ X6 @ Xa4 ) ) ) ) ) ) ) ).

% max_extp.cases
thf(fact_6821_max__extp_Osimps,axiom,
    ! [A: $tType] :
      ( ( max_extp @ A )
      = ( ^ [R2: A > A > $o,A12: set @ A,A23: set @ A] :
            ( ( finite_finite2 @ A @ A12 )
            & ( finite_finite2 @ A @ A23 )
            & ( A23
             != ( collect @ A @ ( bot_bot @ ( A > $o ) ) ) )
            & ! [X4: A] :
                ( ( member @ A @ X4 @ A12 )
               => ? [Y4: A] :
                    ( ( member @ A @ Y4 @ A23 )
                    & ( R2 @ X4 @ Y4 ) ) ) ) ) ) ).

% max_extp.simps
thf(fact_6822_max__extp_Omax__extI,axiom,
    ! [A: $tType,X7: set @ A,Y7: set @ A,R4: A > A > $o] :
      ( ( finite_finite2 @ A @ X7 )
     => ( ( finite_finite2 @ A @ Y7 )
       => ( ( Y7
           != ( collect @ A @ ( bot_bot @ ( A > $o ) ) ) )
         => ( ! [X3: A] :
                ( ( member @ A @ X3 @ X7 )
               => ? [Xa3: A] :
                    ( ( member @ A @ Xa3 @ Y7 )
                    & ( R4 @ X3 @ Xa3 ) ) )
           => ( max_extp @ A @ R4 @ X7 @ Y7 ) ) ) ) ) ).

% max_extp.max_extI
thf(fact_6823_map__project__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( map_project @ A @ B )
      = ( ^ [F4: A > ( option @ B ),A8: set @ A] :
            ( collect @ B
            @ ^ [B5: B] :
              ? [X4: A] :
                ( ( member @ A @ X4 @ A8 )
                & ( ( F4 @ X4 )
                  = ( some @ B @ B5 ) ) ) ) ) ) ).

% map_project_def
thf(fact_6824_subset__mset_OGreatest__def,axiom,
    ! [A: $tType,P2: ( multiset @ A ) > $o] :
      ( ( greatest @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ P2 )
      = ( the @ ( multiset @ A )
        @ ^ [X4: multiset @ A] :
            ( ( P2 @ X4 )
            & ! [Y4: multiset @ A] :
                ( ( P2 @ Y4 )
               => ( subseteq_mset @ A @ Y4 @ X4 ) ) ) ) ) ).

% subset_mset.Greatest_def
thf(fact_6825_order_OGreatest_Ocong,axiom,
    ! [A: $tType] :
      ( ( greatest @ A )
      = ( greatest @ A ) ) ).

% order.Greatest.cong
thf(fact_6826_multp__code__def,axiom,
    ! [A: $tType] :
      ( ( multp_code @ A )
      = ( ^ [P5: A > A > $o,N8: multiset @ A,M9: multiset @ A] :
            ( ( ( minus_minus @ ( multiset @ A ) @ M9 @ ( inter_mset @ A @ M9 @ N8 ) )
             != ( zero_zero @ ( multiset @ A ) ) )
            & ! [X4: A] :
                ( ( member @ A @ X4 @ ( set_mset @ A @ ( minus_minus @ ( multiset @ A ) @ N8 @ ( inter_mset @ A @ M9 @ N8 ) ) ) )
               => ? [Y4: A] :
                    ( ( member @ A @ Y4 @ ( set_mset @ A @ ( minus_minus @ ( multiset @ A ) @ M9 @ ( inter_mset @ A @ M9 @ N8 ) ) ) )
                    & ( P5 @ X4 @ Y4 ) ) ) ) ) ) ).

% multp_code_def
thf(fact_6827_min__ext__def,axiom,
    ! [A: $tType] :
      ( ( min_ext @ A )
      = ( ^ [R5: set @ ( product_prod @ A @ A )] :
            ( collect @ ( product_prod @ ( set @ A ) @ ( set @ A ) )
            @ ^ [Uu2: product_prod @ ( set @ A ) @ ( set @ A )] :
              ? [X11: set @ A,Y10: set @ A] :
                ( ( Uu2
                  = ( product_Pair @ ( set @ A ) @ ( set @ A ) @ X11 @ Y10 ) )
                & ( X11
                 != ( bot_bot @ ( set @ A ) ) )
                & ! [X4: A] :
                    ( ( member @ A @ X4 @ Y10 )
                   => ? [Y4: A] :
                        ( ( member @ A @ Y4 @ X11 )
                        & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y4 @ X4 ) @ R5 ) ) ) ) ) ) ) ).

% min_ext_def
thf(fact_6828_ball__empty,axiom,
    ! [A: $tType,P2: A > $o,X6: A] :
      ( ( member @ A @ X6 @ ( bot_bot @ ( set @ A ) ) )
     => ( P2 @ X6 ) ) ).

% ball_empty
thf(fact_6829_ball__UNIV,axiom,
    ! [A: $tType,P2: A > $o] :
      ( ( ! [X4: A] :
            ( ( member @ A @ X4 @ ( top_top @ ( set @ A ) ) )
           => ( P2 @ X4 ) ) )
      = ( ! [X11: A] : ( P2 @ X11 ) ) ) ).

% ball_UNIV
thf(fact_6830_INF__bool__eq,axiom,
    ! [A: $tType] :
      ( ( ^ [A8: set @ A,F4: A > $o] : ( complete_Inf_Inf @ $o @ ( image2 @ A @ $o @ F4 @ A8 ) ) )
      = ( ball @ A ) ) ).

% INF_bool_eq
thf(fact_6831_Collect__ball__eq,axiom,
    ! [A: $tType,B: $tType,A6: set @ B,P2: A > B > $o] :
      ( ( collect @ A
        @ ^ [X4: A] :
          ! [Y4: B] :
            ( ( member @ B @ Y4 @ A6 )
           => ( P2 @ X4 @ Y4 ) ) )
      = ( complete_Inf_Inf @ ( set @ A )
        @ ( image2 @ B @ ( set @ A )
          @ ^ [Y4: B] :
              ( collect @ A
              @ ^ [X4: A] : ( P2 @ X4 @ Y4 ) )
          @ A6 ) ) ) ).

% Collect_ball_eq
thf(fact_6832_INTER__eq,axiom,
    ! [B: $tType,A: $tType,B6: B > ( set @ A ),A6: set @ B] :
      ( ( complete_Inf_Inf @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ B6 @ A6 ) )
      = ( collect @ A
        @ ^ [Y4: A] :
          ! [X4: B] :
            ( ( member @ B @ X4 @ A6 )
           => ( member @ A @ Y4 @ ( B6 @ X4 ) ) ) ) ) ).

% INTER_eq
thf(fact_6833_Ball__def,axiom,
    ! [A: $tType] :
      ( ( ball @ A )
      = ( ^ [A8: set @ A,P5: A > $o] :
          ! [X4: A] :
            ( ( member @ A @ X4 @ A8 )
           => ( P5 @ X4 ) ) ) ) ).

% Ball_def
thf(fact_6834_Inter__eq,axiom,
    ! [A: $tType] :
      ( ( complete_Inf_Inf @ ( set @ A ) )
      = ( ^ [A8: set @ ( set @ A )] :
            ( collect @ A
            @ ^ [X4: A] :
              ! [Y4: set @ A] :
                ( ( member @ ( set @ A ) @ Y4 @ A8 )
               => ( member @ A @ X4 @ Y4 ) ) ) ) ) ).

% Inter_eq
thf(fact_6835_Ball__comp__iff,axiom,
    ! [C: $tType,B: $tType,A: $tType,A6: B > ( set @ C ),F3: C > $o,G3: A > B] :
      ( ( comp @ B @ $o @ A
        @ ^ [X4: B] :
          ! [Y4: C] :
            ( ( member @ C @ Y4 @ ( A6 @ X4 ) )
           => ( F3 @ Y4 ) )
        @ G3 )
      = ( ^ [X4: A] :
          ! [Y4: C] :
            ( ( member @ C @ Y4 @ ( comp @ B @ ( set @ C ) @ A @ A6 @ G3 @ X4 ) )
           => ( F3 @ Y4 ) ) ) ) ).

% Ball_comp_iff
thf(fact_6836_Ball__Collect,axiom,
    ! [A: $tType] :
      ( ( ball @ A )
      = ( ^ [A8: set @ A,P5: A > $o] : ( ord_less_eq @ ( set @ A ) @ A8 @ ( collect @ A @ P5 ) ) ) ) ).

% Ball_Collect
thf(fact_6837_irrefl__distinct,axiom,
    ! [A: $tType] :
      ( ( irrefl @ A )
      = ( ^ [R5: set @ ( product_prod @ A @ A )] :
          ! [X4: product_prod @ A @ A] :
            ( ( member @ ( product_prod @ A @ A ) @ X4 @ R5 )
           => ( product_case_prod @ A @ A @ $o
              @ ^ [A7: A,B5: A] : A7 != B5
              @ X4 ) ) ) ) ).

% irrefl_distinct
thf(fact_6838_Field__not__elem,axiom,
    ! [A: $tType,V2: A,R4: set @ ( product_prod @ A @ A )] :
      ( ~ ( member @ A @ V2 @ ( field2 @ A @ R4 ) )
     => ! [X6: product_prod @ A @ A] :
          ( ( member @ ( product_prod @ A @ A ) @ X6 @ R4 )
         => ( product_case_prod @ A @ A @ $o
            @ ^ [Y4: A,Z2: A] :
                ( ( Y4 != V2 )
                & ( Z2 != V2 ) )
            @ X6 ) ) ) ).

% Field_not_elem
thf(fact_6839_Ball__def__raw,axiom,
    ! [A: $tType] :
      ( ( ball @ A )
      = ( ^ [A8: set @ A,P5: A > $o] :
          ! [X4: A] :
            ( ( member @ A @ X4 @ A8 )
           => ( P5 @ X4 ) ) ) ) ).

% Ball_def_raw
thf(fact_6840_congruent__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( equiv_congruent @ A @ B )
      = ( ^ [R5: set @ ( product_prod @ A @ A ),F4: A > B] :
          ! [X4: product_prod @ A @ A] :
            ( ( member @ ( product_prod @ A @ A ) @ X4 @ R5 )
           => ( product_case_prod @ A @ A @ $o
              @ ^ [Y4: A,Z2: A] :
                  ( ( F4 @ Y4 )
                  = ( F4 @ Z2 ) )
              @ X4 ) ) ) ) ).

% congruent_def
thf(fact_6841_congruent2__def,axiom,
    ! [B: $tType,C: $tType,A: $tType] :
      ( ( equiv_congruent2 @ A @ B @ C )
      = ( ^ [R13: set @ ( product_prod @ A @ A ),R24: set @ ( product_prod @ B @ B ),F4: A > B > C] :
          ! [X4: product_prod @ A @ A] :
            ( ( member @ ( product_prod @ A @ A ) @ X4 @ R13 )
           => ( product_case_prod @ A @ A @ $o
              @ ^ [Y13: A,Z13: A] :
                ! [Y4: product_prod @ B @ B] :
                  ( ( member @ ( product_prod @ B @ B ) @ Y4 @ R24 )
                 => ( product_case_prod @ B @ B @ $o
                    @ ^ [Y23: B,Z24: B] :
                        ( ( F4 @ Y13 @ Y23 )
                        = ( F4 @ Z13 @ Z24 ) )
                    @ Y4 ) )
              @ X4 ) ) ) ) ).

% congruent2_def
thf(fact_6842_Inf__eq__Sup,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ( ( complete_Inf_Inf @ A )
        = ( ^ [A8: set @ A] :
              ( complete_Sup_Sup @ A
              @ ( collect @ A
                @ ^ [B5: A] :
                  ! [X4: A] :
                    ( ( member @ A @ X4 @ A8 )
                   => ( ord_less_eq @ A @ B5 @ X4 ) ) ) ) ) ) ) ).

% Inf_eq_Sup
thf(fact_6843_Sup__eq__Inf,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ( ( complete_Sup_Sup @ A )
        = ( ^ [A8: set @ A] :
              ( complete_Inf_Inf @ A
              @ ( collect @ A
                @ ^ [B5: A] :
                  ! [X4: A] :
                    ( ( member @ A @ X4 @ A8 )
                   => ( ord_less_eq @ A @ X4 @ B5 ) ) ) ) ) ) ) ).

% Sup_eq_Inf
thf(fact_6844_trans__join,axiom,
    ! [A: $tType] :
      ( ( trans @ A )
      = ( ^ [R5: set @ ( product_prod @ A @ A )] :
          ! [X4: product_prod @ A @ A] :
            ( ( member @ ( product_prod @ A @ A ) @ X4 @ R5 )
           => ( product_case_prod @ A @ A @ $o
              @ ^ [Y4: A,Y13: A] :
                ! [Z2: product_prod @ A @ A] :
                  ( ( member @ ( product_prod @ A @ A ) @ Z2 @ R5 )
                 => ( product_case_prod @ A @ A @ $o
                    @ ^ [Y23: A,Aa2: A] :
                        ( ( Y13 = Y23 )
                       => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y4 @ Aa2 ) @ R5 ) )
                    @ Z2 ) )
              @ X4 ) ) ) ) ).

% trans_join
thf(fact_6845_Ball__fold,axiom,
    ! [A: $tType,A6: set @ A,P2: A > $o] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( ! [X4: A] :
              ( ( member @ A @ X4 @ A6 )
             => ( P2 @ X4 ) ) )
        = ( finite_fold @ A @ $o
          @ ^ [K3: A,S5: $o] :
              ( S5
              & ( P2 @ K3 ) )
          @ $true
          @ A6 ) ) ) ).

% Ball_fold
thf(fact_6846_takeWhile__append,axiom,
    ! [A: $tType,Xs: list @ A,P2: A > $o,Ys3: list @ A] :
      ( ( ! [X3: A] :
            ( ( member @ A @ X3 @ ( set2 @ A @ Xs ) )
           => ( P2 @ X3 ) )
       => ( ( takeWhile @ A @ P2 @ ( append @ A @ Xs @ Ys3 ) )
          = ( append @ A @ Xs @ ( takeWhile @ A @ P2 @ Ys3 ) ) ) )
      & ( ~ ! [X6: A] :
              ( ( member @ A @ X6 @ ( set2 @ A @ Xs ) )
             => ( P2 @ X6 ) )
       => ( ( takeWhile @ A @ P2 @ ( append @ A @ Xs @ Ys3 ) )
          = ( takeWhile @ A @ P2 @ Xs ) ) ) ) ).

% takeWhile_append
thf(fact_6847_dropWhile__append,axiom,
    ! [A: $tType,Xs: list @ A,P2: A > $o,Ys3: list @ A] :
      ( ( ! [X3: A] :
            ( ( member @ A @ X3 @ ( set2 @ A @ Xs ) )
           => ( P2 @ X3 ) )
       => ( ( dropWhile @ A @ P2 @ ( append @ A @ Xs @ Ys3 ) )
          = ( dropWhile @ A @ P2 @ Ys3 ) ) )
      & ( ~ ! [X6: A] :
              ( ( member @ A @ X6 @ ( set2 @ A @ Xs ) )
             => ( P2 @ X6 ) )
       => ( ( dropWhile @ A @ P2 @ ( append @ A @ Xs @ Ys3 ) )
          = ( append @ A @ ( dropWhile @ A @ P2 @ Xs ) @ Ys3 ) ) ) ) ).

% dropWhile_append
thf(fact_6848_Union__maximal__sets,axiom,
    ! [A: $tType,F14: set @ ( set @ A )] :
      ( ( finite_finite2 @ ( set @ A ) @ F14 )
     => ( ( complete_Sup_Sup @ ( set @ A )
          @ ( collect @ ( set @ A )
            @ ^ [T10: set @ A] :
                ( ( member @ ( set @ A ) @ T10 @ F14 )
                & ! [X4: set @ A] :
                    ( ( member @ ( set @ A ) @ X4 @ F14 )
                   => ~ ( ord_less @ ( set @ A ) @ T10 @ X4 ) ) ) ) )
        = ( complete_Sup_Sup @ ( set @ A ) @ F14 ) ) ) ).

% Union_maximal_sets
thf(fact_6849_Sup__Inf,axiom,
    ! [A: $tType] :
      ( ( comple592849572758109894attice @ A )
     => ! [A6: set @ ( set @ A )] :
          ( ( complete_Sup_Sup @ A @ ( image2 @ ( set @ A ) @ A @ ( complete_Inf_Inf @ A ) @ A6 ) )
          = ( complete_Inf_Inf @ A
            @ ( image2 @ ( set @ A ) @ A @ ( complete_Sup_Sup @ A )
              @ ( collect @ ( set @ A )
                @ ^ [Uu2: set @ A] :
                  ? [F4: ( set @ A ) > A] :
                    ( ( Uu2
                      = ( image2 @ ( set @ A ) @ A @ F4 @ A6 ) )
                    & ! [X4: set @ A] :
                        ( ( member @ ( set @ A ) @ X4 @ A6 )
                       => ( member @ A @ ( F4 @ X4 ) @ X4 ) ) ) ) ) ) ) ) ).

% Sup_Inf
thf(fact_6850_Inf__Sup,axiom,
    ! [A: $tType] :
      ( ( comple592849572758109894attice @ A )
     => ! [A6: set @ ( set @ A )] :
          ( ( complete_Inf_Inf @ A @ ( image2 @ ( set @ A ) @ A @ ( complete_Sup_Sup @ A ) @ A6 ) )
          = ( complete_Sup_Sup @ A
            @ ( image2 @ ( set @ A ) @ A @ ( complete_Inf_Inf @ A )
              @ ( collect @ ( set @ A )
                @ ^ [Uu2: set @ A] :
                  ? [F4: ( set @ A ) > A] :
                    ( ( Uu2
                      = ( image2 @ ( set @ A ) @ A @ F4 @ A6 ) )
                    & ! [X4: set @ A] :
                        ( ( member @ ( set @ A ) @ X4 @ A6 )
                       => ( member @ A @ ( F4 @ X4 ) @ X4 ) ) ) ) ) ) ) ) ).

% Inf_Sup
thf(fact_6851_Func__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( bNF_Wellorder_Func @ A @ B )
      = ( ^ [A8: set @ A,B7: set @ B] :
            ( collect @ ( A > B )
            @ ^ [F4: A > B] :
                ( ! [X4: A] :
                    ( ( member @ A @ X4 @ A8 )
                   => ( member @ B @ ( F4 @ X4 ) @ B7 ) )
                & ! [A7: A] :
                    ( ~ ( member @ A @ A7 @ A8 )
                   => ( ( F4 @ A7 )
                      = ( undefined @ B ) ) ) ) ) ) ) ).

% Func_def
thf(fact_6852_Inf__filter__def,axiom,
    ! [A: $tType] :
      ( ( complete_Inf_Inf @ ( filter @ A ) )
      = ( ^ [S4: set @ ( filter @ A )] :
            ( complete_Sup_Sup @ ( filter @ A )
            @ ( collect @ ( filter @ A )
              @ ^ [F10: filter @ A] :
                ! [X4: filter @ A] :
                  ( ( member @ ( filter @ A ) @ X4 @ S4 )
                 => ( ord_less_eq @ ( filter @ A ) @ F10 @ X4 ) ) ) ) ) ) ).

% Inf_filter_def
thf(fact_6853_list__eq__iff__zip__eq,axiom,
    ! [A: $tType] :
      ( ( ^ [Y6: list @ A,Z5: list @ A] : Y6 = Z5 )
      = ( ^ [Xs3: list @ A,Ys2: list @ A] :
            ( ( ( size_size @ ( list @ A ) @ Xs3 )
              = ( size_size @ ( list @ A ) @ Ys2 ) )
            & ! [X4: product_prod @ A @ A] :
                ( ( member @ ( product_prod @ A @ A ) @ X4 @ ( set2 @ ( product_prod @ A @ A ) @ ( zip @ A @ A @ Xs3 @ Ys2 ) ) )
               => ( product_case_prod @ A @ A @ $o
                  @ ^ [Y6: A,Z5: A] : Y6 = Z5
                  @ X4 ) ) ) ) ) ).

% list_eq_iff_zip_eq
thf(fact_6854_finite__Inf__Sup,axiom,
    ! [A: $tType] :
      ( ( finite8700451911770168679attice @ A )
     => ! [A6: set @ ( set @ A )] :
          ( ord_less_eq @ A @ ( complete_Inf_Inf @ A @ ( image2 @ ( set @ A ) @ A @ ( complete_Sup_Sup @ A ) @ A6 ) )
          @ ( complete_Sup_Sup @ A
            @ ( image2 @ ( set @ A ) @ A @ ( complete_Inf_Inf @ A )
              @ ( collect @ ( set @ A )
                @ ^ [Uu2: set @ A] :
                  ? [F4: ( set @ A ) > A] :
                    ( ( Uu2
                      = ( image2 @ ( set @ A ) @ A @ F4 @ A6 ) )
                    & ! [X4: set @ A] :
                        ( ( member @ ( set @ A ) @ X4 @ A6 )
                       => ( member @ A @ ( F4 @ X4 ) @ X4 ) ) ) ) ) ) ) ) ).

% finite_Inf_Sup
thf(fact_6855_Sup__Inf__le,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A6: set @ ( set @ A )] :
          ( ord_less_eq @ A
          @ ( complete_Sup_Sup @ A
            @ ( image2 @ ( set @ A ) @ A @ ( complete_Inf_Inf @ A )
              @ ( collect @ ( set @ A )
                @ ^ [Uu2: set @ A] :
                  ? [F4: ( set @ A ) > A] :
                    ( ( Uu2
                      = ( image2 @ ( set @ A ) @ A @ F4 @ A6 ) )
                    & ! [X4: set @ A] :
                        ( ( member @ ( set @ A ) @ X4 @ A6 )
                       => ( member @ A @ ( F4 @ X4 ) @ X4 ) ) ) ) ) )
          @ ( complete_Inf_Inf @ A @ ( image2 @ ( set @ A ) @ A @ ( complete_Sup_Sup @ A ) @ A6 ) ) ) ) ).

% Sup_Inf_le
thf(fact_6856_Inf__Sup__le,axiom,
    ! [A: $tType] :
      ( ( comple592849572758109894attice @ A )
     => ! [A6: set @ ( set @ A )] :
          ( ord_less_eq @ A @ ( complete_Inf_Inf @ A @ ( image2 @ ( set @ A ) @ A @ ( complete_Sup_Sup @ A ) @ A6 ) )
          @ ( complete_Sup_Sup @ A
            @ ( image2 @ ( set @ A ) @ A @ ( complete_Inf_Inf @ A )
              @ ( collect @ ( set @ A )
                @ ^ [Uu2: set @ A] :
                  ? [F4: ( set @ A ) > A] :
                    ( ( Uu2
                      = ( image2 @ ( set @ A ) @ A @ F4 @ A6 ) )
                    & ! [X4: set @ A] :
                        ( ( member @ ( set @ A ) @ X4 @ A6 )
                       => ( member @ A @ ( F4 @ X4 ) @ X4 ) ) ) ) ) ) ) ) ).

% Inf_Sup_le
thf(fact_6857_INF__SUP__set,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comple592849572758109894attice @ A )
     => ! [G3: B > A,A6: set @ ( set @ B )] :
          ( ( complete_Inf_Inf @ A
            @ ( image2 @ ( set @ B ) @ A
              @ ^ [B7: set @ B] : ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ G3 @ B7 ) )
              @ A6 ) )
          = ( complete_Sup_Sup @ A
            @ ( image2 @ ( set @ B ) @ A
              @ ^ [B7: set @ B] : ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ G3 @ B7 ) )
              @ ( collect @ ( set @ B )
                @ ^ [Uu2: set @ B] :
                  ? [F4: ( set @ B ) > B] :
                    ( ( Uu2
                      = ( image2 @ ( set @ B ) @ B @ F4 @ A6 ) )
                    & ! [X4: set @ B] :
                        ( ( member @ ( set @ B ) @ X4 @ A6 )
                       => ( member @ B @ ( F4 @ X4 ) @ X4 ) ) ) ) ) ) ) ) ).

% INF_SUP_set
thf(fact_6858_SUP__INF__set,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comple592849572758109894attice @ A )
     => ! [G3: B > A,A6: set @ ( set @ B )] :
          ( ( complete_Sup_Sup @ A
            @ ( image2 @ ( set @ B ) @ A
              @ ^ [X4: set @ B] : ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ G3 @ X4 ) )
              @ A6 ) )
          = ( complete_Inf_Inf @ A
            @ ( image2 @ ( set @ B ) @ A
              @ ^ [X4: set @ B] : ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ G3 @ X4 ) )
              @ ( collect @ ( set @ B )
                @ ^ [Uu2: set @ B] :
                  ? [F4: ( set @ B ) > B] :
                    ( ( Uu2
                      = ( image2 @ ( set @ B ) @ B @ F4 @ A6 ) )
                    & ! [X4: set @ B] :
                        ( ( member @ ( set @ B ) @ X4 @ A6 )
                       => ( member @ B @ ( F4 @ X4 ) @ X4 ) ) ) ) ) ) ) ) ).

% SUP_INF_set
thf(fact_6859_concat__injective,axiom,
    ! [A: $tType,Xs: list @ ( list @ A ),Ys3: list @ ( list @ A )] :
      ( ( ( concat @ A @ Xs )
        = ( concat @ A @ Ys3 ) )
     => ( ( ( size_size @ ( list @ ( list @ A ) ) @ Xs )
          = ( size_size @ ( list @ ( list @ A ) ) @ Ys3 ) )
       => ( ! [X3: product_prod @ ( list @ A ) @ ( list @ A )] :
              ( ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ X3 @ ( set2 @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( zip @ ( list @ A ) @ ( list @ A ) @ Xs @ Ys3 ) ) )
             => ( product_case_prod @ ( list @ A ) @ ( list @ A ) @ $o
                @ ^ [Y4: list @ A,Z2: list @ A] :
                    ( ( size_size @ ( list @ A ) @ Y4 )
                    = ( size_size @ ( list @ A ) @ Z2 ) )
                @ X3 ) )
         => ( Xs = Ys3 ) ) ) ) ).

% concat_injective
thf(fact_6860_concat__eq__concat__iff,axiom,
    ! [A: $tType,Xs: list @ ( list @ A ),Ys3: list @ ( list @ A )] :
      ( ! [X3: product_prod @ ( list @ A ) @ ( list @ A )] :
          ( ( member @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ X3 @ ( set2 @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( zip @ ( list @ A ) @ ( list @ A ) @ Xs @ Ys3 ) ) )
         => ( product_case_prod @ ( list @ A ) @ ( list @ A ) @ $o
            @ ^ [Y4: list @ A,Z2: list @ A] :
                ( ( size_size @ ( list @ A ) @ Y4 )
                = ( size_size @ ( list @ A ) @ Z2 ) )
            @ X3 ) )
     => ( ( ( size_size @ ( list @ ( list @ A ) ) @ Xs )
          = ( size_size @ ( list @ ( list @ A ) ) @ Ys3 ) )
       => ( ( ( concat @ A @ Xs )
            = ( concat @ A @ Ys3 ) )
          = ( Xs = Ys3 ) ) ) ) ).

% concat_eq_concat_iff
thf(fact_6861_option__Inf__Sup,axiom,
    ! [A: $tType] :
      ( ( comple592849572758109894attice @ A )
     => ! [A6: set @ ( set @ ( option @ A ) )] :
          ( ord_less_eq @ ( option @ A ) @ ( complete_Inf_Inf @ ( option @ A ) @ ( image2 @ ( set @ ( option @ A ) ) @ ( option @ A ) @ ( complete_Sup_Sup @ ( option @ A ) ) @ A6 ) )
          @ ( complete_Sup_Sup @ ( option @ A )
            @ ( image2 @ ( set @ ( option @ A ) ) @ ( option @ A ) @ ( complete_Inf_Inf @ ( option @ A ) )
              @ ( collect @ ( set @ ( option @ A ) )
                @ ^ [Uu2: set @ ( option @ A )] :
                  ? [F4: ( set @ ( option @ A ) ) > ( option @ A )] :
                    ( ( Uu2
                      = ( image2 @ ( set @ ( option @ A ) ) @ ( option @ A ) @ F4 @ A6 ) )
                    & ! [X4: set @ ( option @ A )] :
                        ( ( member @ ( set @ ( option @ A ) ) @ X4 @ A6 )
                       => ( member @ ( option @ A ) @ ( F4 @ X4 ) @ X4 ) ) ) ) ) ) ) ) ).

% option_Inf_Sup
thf(fact_6862_list__all2__iff,axiom,
    ! [B: $tType,A: $tType] :
      ( ( list_all2 @ A @ B )
      = ( ^ [P5: A > B > $o,Xs3: list @ A,Ys2: list @ B] :
            ( ( ( size_size @ ( list @ A ) @ Xs3 )
              = ( size_size @ ( list @ B ) @ Ys2 ) )
            & ! [X4: product_prod @ A @ B] :
                ( ( member @ ( product_prod @ A @ B ) @ X4 @ ( set2 @ ( product_prod @ A @ B ) @ ( zip @ A @ B @ Xs3 @ Ys2 ) ) )
               => ( product_case_prod @ A @ B @ $o @ P5 @ X4 ) ) ) ) ) ).

% list_all2_iff
thf(fact_6863_Sup__int__def,axiom,
    ( ( complete_Sup_Sup @ int )
    = ( ^ [X11: set @ int] :
          ( the @ int
          @ ^ [X4: int] :
              ( ( member @ int @ X4 @ X11 )
              & ! [Y4: int] :
                  ( ( member @ int @ Y4 @ X11 )
                 => ( ord_less_eq @ int @ Y4 @ X4 ) ) ) ) ) ) ).

% Sup_int_def
thf(fact_6864_subset__mset_OcSup__cInf,axiom,
    ! [A: $tType,S: set @ ( multiset @ A )] :
      ( ( S
       != ( bot_bot @ ( set @ ( multiset @ A ) ) ) )
     => ( ( condit8047198070973881523_above @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ S )
       => ( ( complete_Sup_Sup @ ( multiset @ A ) @ S )
          = ( complete_Inf_Inf @ ( multiset @ A )
            @ ( collect @ ( multiset @ A )
              @ ^ [X4: multiset @ A] :
                ! [Y4: multiset @ A] :
                  ( ( member @ ( multiset @ A ) @ Y4 @ S )
                 => ( subseteq_mset @ A @ Y4 @ X4 ) ) ) ) ) ) ) ).

% subset_mset.cSup_cInf
thf(fact_6865_subset__mset_OcInf__cSup,axiom,
    ! [A: $tType,S: set @ ( multiset @ A )] :
      ( ( S
       != ( bot_bot @ ( set @ ( multiset @ A ) ) ) )
     => ( ( condit8119078960628432327_below @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ S )
       => ( ( complete_Inf_Inf @ ( multiset @ A ) @ S )
          = ( complete_Sup_Sup @ ( multiset @ A )
            @ ( collect @ ( multiset @ A )
              @ ^ [X4: multiset @ A] :
                ! [Y4: multiset @ A] :
                  ( ( member @ ( multiset @ A ) @ Y4 @ S )
                 => ( subseteq_mset @ A @ X4 @ Y4 ) ) ) ) ) ) ) ).

% subset_mset.cInf_cSup
thf(fact_6866_multeqp__code__def,axiom,
    ! [A: $tType] :
      ( ( multeqp_code @ A )
      = ( ^ [P5: A > A > $o,N8: multiset @ A,M9: multiset @ A] :
          ! [X4: A] :
            ( ( member @ A @ X4 @ ( set_mset @ A @ ( minus_minus @ ( multiset @ A ) @ N8 @ ( inter_mset @ A @ M9 @ N8 ) ) ) )
           => ? [Y4: A] :
                ( ( member @ A @ Y4 @ ( set_mset @ A @ ( minus_minus @ ( multiset @ A ) @ M9 @ ( inter_mset @ A @ M9 @ N8 ) ) ) )
                & ( P5 @ X4 @ Y4 ) ) ) ) ) ).

% multeqp_code_def
thf(fact_6867_Under__def,axiom,
    ! [A: $tType] :
      ( ( order_Under @ A )
      = ( ^ [R5: set @ ( product_prod @ A @ A ),A8: set @ A] :
            ( collect @ A
            @ ^ [B5: A] :
                ( ( member @ A @ B5 @ ( field2 @ A @ R5 ) )
                & ! [X4: A] :
                    ( ( member @ A @ X4 @ A8 )
                   => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ B5 @ X4 ) @ R5 ) ) ) ) ) ) ).

% Under_def
thf(fact_6868_UnderS__def,axiom,
    ! [A: $tType] :
      ( ( order_UnderS @ A )
      = ( ^ [R5: set @ ( product_prod @ A @ A ),A8: set @ A] :
            ( collect @ A
            @ ^ [B5: A] :
                ( ( member @ A @ B5 @ ( field2 @ A @ R5 ) )
                & ! [X4: A] :
                    ( ( member @ A @ X4 @ A8 )
                   => ( ( B5 != X4 )
                      & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ B5 @ X4 ) @ R5 ) ) ) ) ) ) ) ).

% UnderS_def
thf(fact_6869_Above__def,axiom,
    ! [A: $tType] :
      ( ( order_Above @ A )
      = ( ^ [R5: set @ ( product_prod @ A @ A ),A8: set @ A] :
            ( collect @ A
            @ ^ [B5: A] :
                ( ( member @ A @ B5 @ ( field2 @ A @ R5 ) )
                & ! [X4: A] :
                    ( ( member @ A @ X4 @ A8 )
                   => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X4 @ B5 ) @ R5 ) ) ) ) ) ) ).

% Above_def
thf(fact_6870_listrel__iff__zip,axiom,
    ! [B: $tType,A: $tType,Xs: list @ A,Ys3: list @ B,R3: set @ ( product_prod @ A @ B )] :
      ( ( member @ ( product_prod @ ( list @ A ) @ ( list @ B ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ B ) @ Xs @ Ys3 ) @ ( listrel @ A @ B @ R3 ) )
      = ( ( ( size_size @ ( list @ A ) @ Xs )
          = ( size_size @ ( list @ B ) @ Ys3 ) )
        & ! [X4: product_prod @ A @ B] :
            ( ( member @ ( product_prod @ A @ B ) @ X4 @ ( set2 @ ( product_prod @ A @ B ) @ ( zip @ A @ B @ Xs @ Ys3 ) ) )
           => ( product_case_prod @ A @ B @ $o
              @ ^ [Y4: A,Z2: B] : ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ Y4 @ Z2 ) @ R3 )
              @ X4 ) ) ) ) ).

% listrel_iff_zip
thf(fact_6871_listrel__mono,axiom,
    ! [B: $tType,A: $tType,R3: set @ ( product_prod @ A @ B ),S2: set @ ( product_prod @ A @ B )] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ B ) ) @ R3 @ S2 )
     => ( ord_less_eq @ ( set @ ( product_prod @ ( list @ A ) @ ( list @ B ) ) ) @ ( listrel @ A @ B @ R3 ) @ ( listrel @ A @ B @ S2 ) ) ) ).

% listrel_mono
thf(fact_6872_listrel__Cons2,axiom,
    ! [B: $tType,A: $tType,Xs: list @ A,Y: B,Ys3: list @ B,R3: set @ ( product_prod @ A @ B )] :
      ( ( member @ ( product_prod @ ( list @ A ) @ ( list @ B ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ B ) @ Xs @ ( cons @ B @ Y @ Ys3 ) ) @ ( listrel @ A @ B @ R3 ) )
     => ~ ! [X3: A,Xs2: list @ A] :
            ( ( Xs
              = ( cons @ A @ X3 @ Xs2 ) )
           => ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X3 @ Y ) @ R3 )
             => ~ ( member @ ( product_prod @ ( list @ A ) @ ( list @ B ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ B ) @ Xs2 @ Ys3 ) @ ( listrel @ A @ B @ R3 ) ) ) ) ) ).

% listrel_Cons2
thf(fact_6873_listrel__Cons1,axiom,
    ! [B: $tType,A: $tType,Y: A,Ys3: list @ A,Xs: list @ B,R3: set @ ( product_prod @ A @ B )] :
      ( ( member @ ( product_prod @ ( list @ A ) @ ( list @ B ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ B ) @ ( cons @ A @ Y @ Ys3 ) @ Xs ) @ ( listrel @ A @ B @ R3 ) )
     => ~ ! [Y3: B,Ys5: list @ B] :
            ( ( Xs
              = ( cons @ B @ Y3 @ Ys5 ) )
           => ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ Y @ Y3 ) @ R3 )
             => ~ ( member @ ( product_prod @ ( list @ A ) @ ( list @ B ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ B ) @ Ys3 @ Ys5 ) @ ( listrel @ A @ B @ R3 ) ) ) ) ) ).

% listrel_Cons1
thf(fact_6874_listrel_OCons,axiom,
    ! [B: $tType,A: $tType,X: A,Y: B,R3: set @ ( product_prod @ A @ B ),Xs: list @ A,Ys3: list @ B] :
      ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X @ Y ) @ R3 )
     => ( ( member @ ( product_prod @ ( list @ A ) @ ( list @ B ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ B ) @ Xs @ Ys3 ) @ ( listrel @ A @ B @ R3 ) )
       => ( member @ ( product_prod @ ( list @ A ) @ ( list @ B ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ B ) @ ( cons @ A @ X @ Xs ) @ ( cons @ B @ Y @ Ys3 ) ) @ ( listrel @ A @ B @ R3 ) ) ) ) ).

% listrel.Cons
thf(fact_6875_listrel_Ocases,axiom,
    ! [B: $tType,A: $tType,A1: list @ A,A22: list @ B,R3: set @ ( product_prod @ A @ B )] :
      ( ( member @ ( product_prod @ ( list @ A ) @ ( list @ B ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ B ) @ A1 @ A22 ) @ ( listrel @ A @ B @ R3 ) )
     => ( ( ( A1
            = ( nil @ A ) )
         => ( A22
           != ( nil @ B ) ) )
       => ~ ! [X3: A,Y3: B,Xs2: list @ A] :
              ( ( A1
                = ( cons @ A @ X3 @ Xs2 ) )
             => ! [Ys5: list @ B] :
                  ( ( A22
                    = ( cons @ B @ Y3 @ Ys5 ) )
                 => ( ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X3 @ Y3 ) @ R3 )
                   => ~ ( member @ ( product_prod @ ( list @ A ) @ ( list @ B ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ B ) @ Xs2 @ Ys5 ) @ ( listrel @ A @ B @ R3 ) ) ) ) ) ) ) ).

% listrel.cases
thf(fact_6876_listrel_Osimps,axiom,
    ! [B: $tType,A: $tType,A1: list @ A,A22: list @ B,R3: set @ ( product_prod @ A @ B )] :
      ( ( member @ ( product_prod @ ( list @ A ) @ ( list @ B ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ B ) @ A1 @ A22 ) @ ( listrel @ A @ B @ R3 ) )
      = ( ( ( A1
            = ( nil @ A ) )
          & ( A22
            = ( nil @ B ) ) )
        | ? [X4: A,Y4: B,Xs3: list @ A,Ys2: list @ B] :
            ( ( A1
              = ( cons @ A @ X4 @ Xs3 ) )
            & ( A22
              = ( cons @ B @ Y4 @ Ys2 ) )
            & ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X4 @ Y4 ) @ R3 )
            & ( member @ ( product_prod @ ( list @ A ) @ ( list @ B ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ B ) @ Xs3 @ Ys2 ) @ ( listrel @ A @ B @ R3 ) ) ) ) ) ).

% listrel.simps
thf(fact_6877_listrel__subset__rtrancl__listrel1,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] : ( ord_less_eq @ ( set @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) ) @ ( listrel @ A @ A @ R3 ) @ ( transitive_rtrancl @ ( list @ A ) @ ( listrel1 @ A @ R3 ) ) ) ).

% listrel_subset_rtrancl_listrel1
thf(fact_6878_listrel__iff__nth,axiom,
    ! [A: $tType,B: $tType,Xs: list @ A,Ys3: list @ B,R3: set @ ( product_prod @ A @ B )] :
      ( ( member @ ( product_prod @ ( list @ A ) @ ( list @ B ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ B ) @ Xs @ Ys3 ) @ ( listrel @ A @ B @ R3 ) )
      = ( ( ( size_size @ ( list @ A ) @ Xs )
          = ( size_size @ ( list @ B ) @ Ys3 ) )
        & ! [N3: nat] :
            ( ( ord_less @ nat @ N3 @ ( size_size @ ( list @ A ) @ Xs ) )
           => ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ ( nth @ A @ Xs @ N3 ) @ ( nth @ B @ Ys3 @ N3 ) ) @ R3 ) ) ) ) ).

% listrel_iff_nth
thf(fact_6879_listrel__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( listrel @ A @ B )
      = ( ^ [R5: set @ ( product_prod @ A @ B )] :
            ( collect @ ( product_prod @ ( list @ A ) @ ( list @ B ) )
            @ ( product_case_prod @ ( list @ A ) @ ( list @ B ) @ $o
              @ ( listrelp @ A @ B
                @ ^ [X4: A,Y4: B] : ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X4 @ Y4 ) @ R5 ) ) ) ) ) ) ).

% listrel_def
thf(fact_6880_listrel1__subset__listrel,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),R7: set @ ( product_prod @ A @ A )] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ R3 @ R7 )
     => ( ( refl_on @ A @ ( top_top @ ( set @ A ) ) @ R7 )
       => ( ord_less_eq @ ( set @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) ) @ ( listrel1 @ A @ R3 ) @ ( listrel @ A @ A @ R7 ) ) ) ) ).

% listrel1_subset_listrel
thf(fact_6881_refl__on__Un,axiom,
    ! [A: $tType,A6: set @ A,R3: set @ ( product_prod @ A @ A ),B6: set @ A,S2: set @ ( product_prod @ A @ A )] :
      ( ( refl_on @ A @ A6 @ R3 )
     => ( ( refl_on @ A @ B6 @ S2 )
       => ( refl_on @ A @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) @ ( sup_sup @ ( set @ ( product_prod @ A @ A ) ) @ R3 @ S2 ) ) ) ) ).

% refl_on_Un
thf(fact_6882_refl__on__domain,axiom,
    ! [A: $tType,A6: set @ A,R3: set @ ( product_prod @ A @ A ),A3: A,B2: A] :
      ( ( refl_on @ A @ A6 @ R3 )
     => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ R3 )
       => ( ( member @ A @ A3 @ A6 )
          & ( member @ A @ B2 @ A6 ) ) ) ) ).

% refl_on_domain
thf(fact_6883_refl__onD2,axiom,
    ! [A: $tType,A6: set @ A,R3: set @ ( product_prod @ A @ A ),X: A,Y: A] :
      ( ( refl_on @ A @ A6 @ R3 )
     => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ R3 )
       => ( member @ A @ Y @ A6 ) ) ) ).

% refl_onD2
thf(fact_6884_refl__onD1,axiom,
    ! [A: $tType,A6: set @ A,R3: set @ ( product_prod @ A @ A ),X: A,Y: A] :
      ( ( refl_on @ A @ A6 @ R3 )
     => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ R3 )
       => ( member @ A @ X @ A6 ) ) ) ).

% refl_onD1
thf(fact_6885_refl__onD,axiom,
    ! [A: $tType,A6: set @ A,R3: set @ ( product_prod @ A @ A ),A3: A] :
      ( ( refl_on @ A @ A6 @ R3 )
     => ( ( member @ A @ A3 @ A6 )
       => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ A3 ) @ R3 ) ) ) ).

% refl_onD
thf(fact_6886_refl__reflcl,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] : ( refl_on @ A @ ( top_top @ ( set @ A ) ) @ ( sup_sup @ ( set @ ( product_prod @ A @ A ) ) @ R3 @ ( id2 @ A ) ) ) ).

% refl_reflcl
thf(fact_6887_refl__on__comp__subset,axiom,
    ! [A: $tType,A6: set @ A,R3: set @ ( product_prod @ A @ A )] :
      ( ( refl_on @ A @ A6 @ R3 )
     => ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ R3 @ ( relcomp @ A @ A @ A @ ( converse @ A @ A @ R3 ) @ R3 ) ) ) ).

% refl_on_comp_subset
thf(fact_6888_refl__onI,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ A] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ R3
        @ ( product_Sigma @ A @ A @ A6
          @ ^ [Uu2: A] : A6 ) )
     => ( ! [X3: A] :
            ( ( member @ A @ X3 @ A6 )
           => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X3 @ X3 ) @ R3 ) )
       => ( refl_on @ A @ A6 @ R3 ) ) ) ).

% refl_onI
thf(fact_6889_refl__on__def,axiom,
    ! [A: $tType] :
      ( ( refl_on @ A )
      = ( ^ [A8: set @ A,R5: set @ ( product_prod @ A @ A )] :
            ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ R5
              @ ( product_Sigma @ A @ A @ A8
                @ ^ [Uu2: A] : A8 ) )
            & ! [X4: A] :
                ( ( member @ A @ X4 @ A8 )
               => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X4 @ X4 ) @ R5 ) ) ) ) ) ).

% refl_on_def
thf(fact_6890_Refl__Restr,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ A] :
      ( ( refl_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( refl_on @ A
        @ ( field2 @ A
          @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
            @ ( product_Sigma @ A @ A @ A6
              @ ^ [Uu2: A] : A6 ) ) )
        @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
          @ ( product_Sigma @ A @ A @ A6
            @ ^ [Uu2: A] : A6 ) ) ) ) ).

% Refl_Restr
thf(fact_6891_refl__on__def_H,axiom,
    ! [A: $tType] :
      ( ( refl_on @ A )
      = ( ^ [A8: set @ A,R5: set @ ( product_prod @ A @ A )] :
            ( ! [X4: product_prod @ A @ A] :
                ( ( member @ ( product_prod @ A @ A ) @ X4 @ R5 )
               => ( product_case_prod @ A @ A @ $o
                  @ ^ [Y4: A,Z2: A] :
                      ( ( member @ A @ Y4 @ A8 )
                      & ( member @ A @ Z2 @ A8 ) )
                  @ X4 ) )
            & ! [X4: A] :
                ( ( member @ A @ X4 @ A8 )
               => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X4 @ X4 ) @ R5 ) ) ) ) ) ).

% refl_on_def'
thf(fact_6892_Image__absorb__rtrancl,axiom,
    ! [A: $tType,A6: set @ ( product_prod @ A @ A ),B6: set @ A,C5: set @ A] :
      ( ( trans @ A @ A6 )
     => ( ( refl_on @ A @ B6 @ A6 )
       => ( ( ord_less_eq @ ( set @ A ) @ C5 @ B6 )
         => ( ( image @ A @ A @ ( transitive_rtrancl @ A @ A6 ) @ C5 )
            = ( image @ A @ A @ A6 @ C5 ) ) ) ) ) ).

% Image_absorb_rtrancl
thf(fact_6893_refl__on__reflcl__Image,axiom,
    ! [A: $tType,B6: set @ A,A6: set @ ( product_prod @ A @ A ),C5: set @ A] :
      ( ( refl_on @ A @ B6 @ A6 )
     => ( ( ord_less_eq @ ( set @ A ) @ C5 @ B6 )
       => ( ( image @ A @ A @ ( sup_sup @ ( set @ ( product_prod @ A @ A ) ) @ A6 @ ( id2 @ A ) ) @ C5 )
          = ( image @ A @ A @ A6 @ C5 ) ) ) ) ).

% refl_on_reflcl_Image
thf(fact_6894_Refl__Field__Restr2,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ A] :
      ( ( refl_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( ord_less_eq @ ( set @ A ) @ A6 @ ( field2 @ A @ R3 ) )
       => ( ( field2 @ A
            @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
              @ ( product_Sigma @ A @ A @ A6
                @ ^ [Uu2: A] : A6 ) ) )
          = A6 ) ) ) ).

% Refl_Field_Restr2
thf(fact_6895_Refl__Field__Restr,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ A] :
      ( ( refl_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( field2 @ A
          @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
            @ ( product_Sigma @ A @ A @ A6
              @ ^ [Uu2: A] : A6 ) ) )
        = ( inf_inf @ ( set @ A ) @ ( field2 @ A @ R3 ) @ A6 ) ) ) ).

% Refl_Field_Restr
thf(fact_6896_refl__on__singleton,axiom,
    ! [A: $tType,X: A] : ( refl_on @ A @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) @ ( insert @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ X ) @ ( bot_bot @ ( set @ ( product_prod @ A @ A ) ) ) ) ) ).

% refl_on_singleton
thf(fact_6897_listrelp__listrel__eq,axiom,
    ! [B: $tType,A: $tType,R3: set @ ( product_prod @ A @ B )] :
      ( ( listrelp @ A @ B
        @ ^ [X4: A,Y4: B] : ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X4 @ Y4 ) @ R3 ) )
      = ( ^ [X4: list @ A,Y4: list @ B] : ( member @ ( product_prod @ ( list @ A ) @ ( list @ B ) ) @ ( product_Pair @ ( list @ A ) @ ( list @ B ) @ X4 @ Y4 ) @ ( listrel @ A @ B @ R3 ) ) ) ) ).

% listrelp_listrel_eq
thf(fact_6898_iteratesp_Omono,axiom,
    ! [A: $tType] :
      ( ( comple9053668089753744459l_ccpo @ A )
     => ! [F3: A > A] :
          ( order_mono @ ( A > $o ) @ ( A > $o )
          @ ^ [P7: A > $o,X4: A] :
              ( ? [Y4: A] :
                  ( ( X4
                    = ( F3 @ Y4 ) )
                  & ( P7 @ Y4 ) )
              | ? [M9: set @ A] :
                  ( ( X4
                    = ( complete_Sup_Sup @ A @ M9 ) )
                  & ( comple1602240252501008431_chain @ A @ ( ord_less_eq @ A ) @ M9 )
                  & ! [Y4: A] :
                      ( ( member @ A @ Y4 @ M9 )
                     => ( P7 @ Y4 ) ) ) ) ) ) ).

% iteratesp.mono
thf(fact_6899_repeat__mset_Oabs__eq,axiom,
    ! [A: $tType,X: A > nat,Xa: nat] :
      ( ( bNF_eq_onp @ ( A > nat )
        @ ^ [F4: A > nat] :
            ( finite_finite2 @ A
            @ ( collect @ A
              @ ^ [X4: A] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( F4 @ X4 ) ) ) )
        @ X
        @ X )
     => ( ( repeat_mset @ A @ Xa @ ( abs_multiset @ A @ X ) )
        = ( abs_multiset @ A
          @ ^ [A7: A] : ( times_times @ nat @ Xa @ ( X @ A7 ) ) ) ) ) ).

% repeat_mset.abs_eq
thf(fact_6900_eq__onp__True,axiom,
    ! [A: $tType] :
      ( ( bNF_eq_onp @ A
        @ ^ [Uu2: A] : $true )
      = ( ^ [Y6: A,Z5: A] : Y6 = Z5 ) ) ).

% eq_onp_True
thf(fact_6901_eq__onp__def,axiom,
    ! [A: $tType] :
      ( ( bNF_eq_onp @ A )
      = ( ^ [R2: A > $o,X4: A,Y4: A] :
            ( ( R2 @ X4 )
            & ( X4 = Y4 ) ) ) ) ).

% eq_onp_def
thf(fact_6902_chain__compr,axiom,
    ! [A: $tType,Ord: A > A > $o,A6: set @ A,P2: A > $o] :
      ( ( comple1602240252501008431_chain @ A @ Ord @ A6 )
     => ( comple1602240252501008431_chain @ A @ Ord
        @ ( collect @ A
          @ ^ [X4: A] :
              ( ( member @ A @ X4 @ A6 )
              & ( P2 @ X4 ) ) ) ) ) ).

% chain_compr
thf(fact_6903_ccpo__Sup__upper,axiom,
    ! [A: $tType] :
      ( ( comple9053668089753744459l_ccpo @ A )
     => ! [A6: set @ A,X: A] :
          ( ( comple1602240252501008431_chain @ A @ ( ord_less_eq @ A ) @ A6 )
         => ( ( member @ A @ X @ A6 )
           => ( ord_less_eq @ A @ X @ ( complete_Sup_Sup @ A @ A6 ) ) ) ) ) ).

% ccpo_Sup_upper
thf(fact_6904_ccpo__Sup__least,axiom,
    ! [A: $tType] :
      ( ( comple9053668089753744459l_ccpo @ A )
     => ! [A6: set @ A,Z4: A] :
          ( ( comple1602240252501008431_chain @ A @ ( ord_less_eq @ A ) @ A6 )
         => ( ! [X3: A] :
                ( ( member @ A @ X3 @ A6 )
               => ( ord_less_eq @ A @ X3 @ Z4 ) )
           => ( ord_less_eq @ A @ ( complete_Sup_Sup @ A @ A6 ) @ Z4 ) ) ) ) ).

% ccpo_Sup_least
thf(fact_6905_ccpo__Sup__mono,axiom,
    ! [A: $tType] :
      ( ( comple9053668089753744459l_ccpo @ A )
     => ! [A6: set @ A,B6: set @ A] :
          ( ( comple1602240252501008431_chain @ A @ ( ord_less_eq @ A ) @ A6 )
         => ( ( comple1602240252501008431_chain @ A @ ( ord_less_eq @ A ) @ B6 )
           => ( ! [X3: A] :
                  ( ( member @ A @ X3 @ A6 )
                 => ? [Xa3: A] :
                      ( ( member @ A @ Xa3 @ B6 )
                      & ( ord_less_eq @ A @ X3 @ Xa3 ) ) )
             => ( ord_less_eq @ A @ ( complete_Sup_Sup @ A @ A6 ) @ ( complete_Sup_Sup @ A @ B6 ) ) ) ) ) ) ).

% ccpo_Sup_mono
thf(fact_6906_chain__subset,axiom,
    ! [A: $tType,Ord: A > A > $o,A6: set @ A,B6: set @ A] :
      ( ( comple1602240252501008431_chain @ A @ Ord @ A6 )
     => ( ( ord_less_eq @ ( set @ A ) @ B6 @ A6 )
       => ( comple1602240252501008431_chain @ A @ Ord @ B6 ) ) ) ).

% chain_subset
thf(fact_6907_eq__onp__le__eq,axiom,
    ! [A: $tType,P2: A > $o] :
      ( ord_less_eq @ ( A > A > $o ) @ ( bNF_eq_onp @ A @ P2 )
      @ ^ [Y6: A,Z5: A] : Y6 = Z5 ) ).

% eq_onp_le_eq
thf(fact_6908_eq__onp__mono__iff,axiom,
    ! [A: $tType,P2: A > $o,Q2: A > $o] :
      ( ( ord_less_eq @ ( A > A > $o ) @ ( bNF_eq_onp @ A @ P2 ) @ ( bNF_eq_onp @ A @ Q2 ) )
      = ( ord_less_eq @ ( A > $o ) @ P2 @ Q2 ) ) ).

% eq_onp_mono_iff
thf(fact_6909_chain__singleton,axiom,
    ! [A: $tType] :
      ( ( comple9053668089753744459l_ccpo @ A )
     => ! [X: A] : ( comple1602240252501008431_chain @ A @ ( ord_less_eq @ A ) @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) ) ) ).

% chain_singleton
thf(fact_6910_rel__fun__eq__eq__onp,axiom,
    ! [B: $tType,A: $tType,P2: B > $o] :
      ( ( bNF_rel_fun @ A @ A @ B @ B
        @ ^ [Y6: A,Z5: A] : Y6 = Z5
        @ ( bNF_eq_onp @ B @ P2 ) )
      = ( bNF_eq_onp @ ( A > B )
        @ ^ [F4: A > B] :
          ! [X4: A] : ( P2 @ ( F4 @ X4 ) ) ) ) ).

% rel_fun_eq_eq_onp
thf(fact_6911_rel__fun__eq__onp__rel,axiom,
    ! [C: $tType,B: $tType,A: $tType,R4: A > $o,S: B > C > $o] :
      ( ( bNF_rel_fun @ A @ A @ B @ C @ ( bNF_eq_onp @ A @ R4 ) @ S )
      = ( ^ [F4: A > B,G4: A > C] :
          ! [X4: A] :
            ( ( R4 @ X4 )
           => ( S @ ( F4 @ X4 ) @ ( G4 @ X4 ) ) ) ) ) ).

% rel_fun_eq_onp_rel
thf(fact_6912_filter__mset_Orsp,axiom,
    ! [A: $tType] :
      ( bNF_rel_fun @ ( A > $o ) @ ( A > $o ) @ ( ( A > nat ) > A > nat ) @ ( ( A > nat ) > A > nat )
      @ ^ [Y6: A > $o,Z5: A > $o] : Y6 = Z5
      @ ( bNF_rel_fun @ ( A > nat ) @ ( A > nat ) @ ( A > nat ) @ ( A > nat )
        @ ( bNF_eq_onp @ ( A > nat )
          @ ^ [F4: A > nat] :
              ( finite_finite2 @ A
              @ ( collect @ A
                @ ^ [X4: A] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( F4 @ X4 ) ) ) ) )
        @ ( bNF_eq_onp @ ( A > nat )
          @ ^ [F4: A > nat] :
              ( finite_finite2 @ A
              @ ( collect @ A
                @ ^ [X4: A] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( F4 @ X4 ) ) ) ) ) )
      @ ^ [P5: A > $o,M9: A > nat,X4: A] : ( if @ nat @ ( P5 @ X4 ) @ ( M9 @ X4 ) @ ( zero_zero @ nat ) )
      @ ^ [P5: A > $o,M9: A > nat,X4: A] : ( if @ nat @ ( P5 @ X4 ) @ ( M9 @ X4 ) @ ( zero_zero @ nat ) ) ) ).

% filter_mset.rsp
thf(fact_6913_zero__multiset_Orsp,axiom,
    ! [A: $tType] :
      ( bNF_eq_onp @ ( A > nat )
      @ ^ [F4: A > nat] :
          ( finite_finite2 @ A
          @ ( collect @ A
            @ ^ [X4: A] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( F4 @ X4 ) ) ) )
      @ ^ [A7: A] : ( zero_zero @ nat )
      @ ^ [A7: A] : ( zero_zero @ nat ) ) ).

% zero_multiset.rsp
thf(fact_6914_add__mset_Orsp,axiom,
    ! [A: $tType] :
      ( bNF_rel_fun @ A @ A @ ( ( A > nat ) > A > nat ) @ ( ( A > nat ) > A > nat )
      @ ^ [Y6: A,Z5: A] : Y6 = Z5
      @ ( bNF_rel_fun @ ( A > nat ) @ ( A > nat ) @ ( A > nat ) @ ( A > nat )
        @ ( bNF_eq_onp @ ( A > nat )
          @ ^ [F4: A > nat] :
              ( finite_finite2 @ A
              @ ( collect @ A
                @ ^ [X4: A] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( F4 @ X4 ) ) ) ) )
        @ ( bNF_eq_onp @ ( A > nat )
          @ ^ [F4: A > nat] :
              ( finite_finite2 @ A
              @ ( collect @ A
                @ ^ [X4: A] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( F4 @ X4 ) ) ) ) ) )
      @ ^ [A7: A,M9: A > nat,B5: A] : ( if @ nat @ ( B5 = A7 ) @ ( suc @ ( M9 @ B5 ) ) @ ( M9 @ B5 ) )
      @ ^ [A7: A,M9: A > nat,B5: A] : ( if @ nat @ ( B5 = A7 ) @ ( suc @ ( M9 @ B5 ) ) @ ( M9 @ B5 ) ) ) ).

% add_mset.rsp
thf(fact_6915_plus__multiset_Orsp,axiom,
    ! [A: $tType] :
      ( bNF_rel_fun @ ( A > nat ) @ ( A > nat ) @ ( ( A > nat ) > A > nat ) @ ( ( A > nat ) > A > nat )
      @ ( bNF_eq_onp @ ( A > nat )
        @ ^ [F4: A > nat] :
            ( finite_finite2 @ A
            @ ( collect @ A
              @ ^ [X4: A] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( F4 @ X4 ) ) ) ) )
      @ ( bNF_rel_fun @ ( A > nat ) @ ( A > nat ) @ ( A > nat ) @ ( A > nat )
        @ ( bNF_eq_onp @ ( A > nat )
          @ ^ [F4: A > nat] :
              ( finite_finite2 @ A
              @ ( collect @ A
                @ ^ [X4: A] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( F4 @ X4 ) ) ) ) )
        @ ( bNF_eq_onp @ ( A > nat )
          @ ^ [F4: A > nat] :
              ( finite_finite2 @ A
              @ ( collect @ A
                @ ^ [X4: A] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( F4 @ X4 ) ) ) ) ) )
      @ ^ [M9: A > nat,N8: A > nat,A7: A] : ( plus_plus @ nat @ ( M9 @ A7 ) @ ( N8 @ A7 ) )
      @ ^ [M9: A > nat,N8: A > nat,A7: A] : ( plus_plus @ nat @ ( M9 @ A7 ) @ ( N8 @ A7 ) ) ) ).

% plus_multiset.rsp
thf(fact_6916_minus__multiset_Orsp,axiom,
    ! [A: $tType] :
      ( bNF_rel_fun @ ( A > nat ) @ ( A > nat ) @ ( ( A > nat ) > A > nat ) @ ( ( A > nat ) > A > nat )
      @ ( bNF_eq_onp @ ( A > nat )
        @ ^ [F4: A > nat] :
            ( finite_finite2 @ A
            @ ( collect @ A
              @ ^ [X4: A] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( F4 @ X4 ) ) ) ) )
      @ ( bNF_rel_fun @ ( A > nat ) @ ( A > nat ) @ ( A > nat ) @ ( A > nat )
        @ ( bNF_eq_onp @ ( A > nat )
          @ ^ [F4: A > nat] :
              ( finite_finite2 @ A
              @ ( collect @ A
                @ ^ [X4: A] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( F4 @ X4 ) ) ) ) )
        @ ( bNF_eq_onp @ ( A > nat )
          @ ^ [F4: A > nat] :
              ( finite_finite2 @ A
              @ ( collect @ A
                @ ^ [X4: A] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( F4 @ X4 ) ) ) ) ) )
      @ ^ [M9: A > nat,N8: A > nat,A7: A] : ( minus_minus @ nat @ ( M9 @ A7 ) @ ( N8 @ A7 ) )
      @ ^ [M9: A > nat,N8: A > nat,A7: A] : ( minus_minus @ nat @ ( M9 @ A7 ) @ ( N8 @ A7 ) ) ) ).

% minus_multiset.rsp
thf(fact_6917_repeat__mset_Orsp,axiom,
    ! [A: $tType] :
      ( bNF_rel_fun @ nat @ nat @ ( ( A > nat ) > A > nat ) @ ( ( A > nat ) > A > nat )
      @ ^ [Y6: nat,Z5: nat] : Y6 = Z5
      @ ( bNF_rel_fun @ ( A > nat ) @ ( A > nat ) @ ( A > nat ) @ ( A > nat )
        @ ( bNF_eq_onp @ ( A > nat )
          @ ^ [F4: A > nat] :
              ( finite_finite2 @ A
              @ ( collect @ A
                @ ^ [X4: A] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( F4 @ X4 ) ) ) ) )
        @ ( bNF_eq_onp @ ( A > nat )
          @ ^ [F4: A > nat] :
              ( finite_finite2 @ A
              @ ( collect @ A
                @ ^ [X4: A] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( F4 @ X4 ) ) ) ) ) )
      @ ^ [N3: nat,M9: A > nat,A7: A] : ( times_times @ nat @ N3 @ ( M9 @ A7 ) )
      @ ^ [N3: nat,M9: A > nat,A7: A] : ( times_times @ nat @ N3 @ ( M9 @ A7 ) ) ) ).

% repeat_mset.rsp
thf(fact_6918_add__mset_Oabs__eq,axiom,
    ! [A: $tType,X: A > nat,Xa: A] :
      ( ( bNF_eq_onp @ ( A > nat )
        @ ^ [F4: A > nat] :
            ( finite_finite2 @ A
            @ ( collect @ A
              @ ^ [X4: A] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( F4 @ X4 ) ) ) )
        @ X
        @ X )
     => ( ( add_mset @ A @ Xa @ ( abs_multiset @ A @ X ) )
        = ( abs_multiset @ A
          @ ^ [B5: A] : ( if @ nat @ ( B5 = Xa ) @ ( suc @ ( X @ B5 ) ) @ ( X @ B5 ) ) ) ) ) ).

% add_mset.abs_eq
thf(fact_6919_plus__multiset_Oabs__eq,axiom,
    ! [A: $tType,Xa: A > nat,X: A > nat] :
      ( ( bNF_eq_onp @ ( A > nat )
        @ ^ [F4: A > nat] :
            ( finite_finite2 @ A
            @ ( collect @ A
              @ ^ [X4: A] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( F4 @ X4 ) ) ) )
        @ Xa
        @ Xa )
     => ( ( bNF_eq_onp @ ( A > nat )
          @ ^ [F4: A > nat] :
              ( finite_finite2 @ A
              @ ( collect @ A
                @ ^ [X4: A] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( F4 @ X4 ) ) ) )
          @ X
          @ X )
       => ( ( plus_plus @ ( multiset @ A ) @ ( abs_multiset @ A @ Xa ) @ ( abs_multiset @ A @ X ) )
          = ( abs_multiset @ A
            @ ^ [A7: A] : ( plus_plus @ nat @ ( Xa @ A7 ) @ ( X @ A7 ) ) ) ) ) ) ).

% plus_multiset.abs_eq
thf(fact_6920_minus__multiset_Oabs__eq,axiom,
    ! [A: $tType,Xa: A > nat,X: A > nat] :
      ( ( bNF_eq_onp @ ( A > nat )
        @ ^ [F4: A > nat] :
            ( finite_finite2 @ A
            @ ( collect @ A
              @ ^ [X4: A] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( F4 @ X4 ) ) ) )
        @ Xa
        @ Xa )
     => ( ( bNF_eq_onp @ ( A > nat )
          @ ^ [F4: A > nat] :
              ( finite_finite2 @ A
              @ ( collect @ A
                @ ^ [X4: A] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( F4 @ X4 ) ) ) )
          @ X
          @ X )
       => ( ( minus_minus @ ( multiset @ A ) @ ( abs_multiset @ A @ Xa ) @ ( abs_multiset @ A @ X ) )
          = ( abs_multiset @ A
            @ ^ [A7: A] : ( minus_minus @ nat @ ( Xa @ A7 ) @ ( X @ A7 ) ) ) ) ) ) ).

% minus_multiset.abs_eq
thf(fact_6921_in__chain__finite,axiom,
    ! [A: $tType] :
      ( ( comple9053668089753744459l_ccpo @ A )
     => ! [A6: set @ A] :
          ( ( comple1602240252501008431_chain @ A @ ( ord_less_eq @ A ) @ A6 )
         => ( ( finite_finite2 @ A @ A6 )
           => ( ( A6
               != ( bot_bot @ ( set @ A ) ) )
             => ( member @ A @ ( complete_Sup_Sup @ A @ A6 ) @ A6 ) ) ) ) ) ).

% in_chain_finite
thf(fact_6922_iteratesp__def,axiom,
    ! [A: $tType] :
      ( ( comple9053668089753744459l_ccpo @ A )
     => ( ( comple7512665784863727008ratesp @ A )
        = ( ^ [F4: A > A] :
              ( complete_lattice_lfp @ ( A > $o )
              @ ^ [P7: A > $o,X4: A] :
                  ( ? [Y4: A] :
                      ( ( X4
                        = ( F4 @ Y4 ) )
                      & ( P7 @ Y4 ) )
                  | ? [M9: set @ A] :
                      ( ( X4
                        = ( complete_Sup_Sup @ A @ M9 ) )
                      & ( comple1602240252501008431_chain @ A @ ( ord_less_eq @ A ) @ M9 )
                      & ! [Y4: A] :
                          ( ( member @ A @ Y4 @ M9 )
                         => ( P7 @ Y4 ) ) ) ) ) ) ) ) ).

% iteratesp_def
thf(fact_6923_iteratesp_OSup,axiom,
    ! [A: $tType] :
      ( ( comple9053668089753744459l_ccpo @ A )
     => ! [M6: set @ A,F3: A > A] :
          ( ( comple1602240252501008431_chain @ A @ ( ord_less_eq @ A ) @ M6 )
         => ( ! [X3: A] :
                ( ( member @ A @ X3 @ M6 )
               => ( comple7512665784863727008ratesp @ A @ F3 @ X3 ) )
           => ( comple7512665784863727008ratesp @ A @ F3 @ ( complete_Sup_Sup @ A @ M6 ) ) ) ) ) ).

% iteratesp.Sup
thf(fact_6924_iteratesp_Ocases,axiom,
    ! [A: $tType] :
      ( ( comple9053668089753744459l_ccpo @ A )
     => ! [F3: A > A,A3: A] :
          ( ( comple7512665784863727008ratesp @ A @ F3 @ A3 )
         => ( ! [X3: A] :
                ( ( A3
                  = ( F3 @ X3 ) )
               => ~ ( comple7512665784863727008ratesp @ A @ F3 @ X3 ) )
           => ~ ! [M13: set @ A] :
                  ( ( A3
                    = ( complete_Sup_Sup @ A @ M13 ) )
                 => ( ( comple1602240252501008431_chain @ A @ ( ord_less_eq @ A ) @ M13 )
                   => ~ ! [X6: A] :
                          ( ( member @ A @ X6 @ M13 )
                         => ( comple7512665784863727008ratesp @ A @ F3 @ X6 ) ) ) ) ) ) ) ).

% iteratesp.cases
thf(fact_6925_iteratesp_Osimps,axiom,
    ! [A: $tType] :
      ( ( comple9053668089753744459l_ccpo @ A )
     => ( ( comple7512665784863727008ratesp @ A )
        = ( ^ [F4: A > A,A7: A] :
              ( ? [X4: A] :
                  ( ( A7
                    = ( F4 @ X4 ) )
                  & ( comple7512665784863727008ratesp @ A @ F4 @ X4 ) )
              | ? [M9: set @ A] :
                  ( ( A7
                    = ( complete_Sup_Sup @ A @ M9 ) )
                  & ( comple1602240252501008431_chain @ A @ ( ord_less_eq @ A ) @ M9 )
                  & ! [X4: A] :
                      ( ( member @ A @ X4 @ M9 )
                     => ( comple7512665784863727008ratesp @ A @ F4 @ X4 ) ) ) ) ) ) ) ).

% iteratesp.simps
thf(fact_6926_Inf__multiset_Oabs__eq,axiom,
    ! [A: $tType,X: set @ ( A > nat )] :
      ( ( bNF_rel_set @ ( A > nat ) @ ( A > nat )
        @ ( bNF_eq_onp @ ( A > nat )
          @ ^ [F4: A > nat] :
              ( finite_finite2 @ A
              @ ( collect @ A
                @ ^ [X4: A] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( F4 @ X4 ) ) ) ) )
        @ X
        @ X )
     => ( ( complete_Inf_Inf @ ( multiset @ A ) @ ( image2 @ ( A > nat ) @ ( multiset @ A ) @ ( abs_multiset @ A ) @ X ) )
        = ( abs_multiset @ A
          @ ^ [I: A] :
              ( if @ nat
              @ ( X
                = ( bot_bot @ ( set @ ( A > nat ) ) ) )
              @ ( zero_zero @ nat )
              @ ( complete_Inf_Inf @ nat
                @ ( image2 @ ( A > nat ) @ nat
                  @ ^ [F4: A > nat] : ( F4 @ I )
                  @ X ) ) ) ) ) ) ).

% Inf_multiset.abs_eq
thf(fact_6927_flat__lub__def,axiom,
    ! [A: $tType] :
      ( ( partial_flat_lub @ A )
      = ( ^ [B5: A,A8: set @ A] :
            ( if @ A @ ( ord_less_eq @ ( set @ A ) @ A8 @ ( insert @ A @ B5 @ ( bot_bot @ ( set @ A ) ) ) ) @ B5
            @ ( the @ A
              @ ^ [X4: A] : ( member @ A @ X4 @ ( minus_minus @ ( set @ A ) @ A8 @ ( insert @ A @ B5 @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ) ) ) ).

% flat_lub_def
thf(fact_6928_rel__set__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( bNF_rel_set @ A @ B )
      = ( ^ [R2: A > B > $o,A8: set @ A,B7: set @ B] :
            ( ! [X4: A] :
                ( ( member @ A @ X4 @ A8 )
               => ? [Y4: B] :
                    ( ( member @ B @ Y4 @ B7 )
                    & ( R2 @ X4 @ Y4 ) ) )
            & ! [X4: B] :
                ( ( member @ B @ X4 @ B7 )
               => ? [Y4: A] :
                    ( ( member @ A @ Y4 @ A8 )
                    & ( R2 @ Y4 @ X4 ) ) ) ) ) ) ).

% rel_set_def
thf(fact_6929_fun_Oset__transfer,axiom,
    ! [A: $tType,B: $tType,D: $tType,R4: A > B > $o] :
      ( bNF_rel_fun @ ( D > A ) @ ( D > B ) @ ( set @ A ) @ ( set @ B )
      @ ( bNF_rel_fun @ D @ D @ A @ B
        @ ^ [Y6: D,Z5: D] : Y6 = Z5
        @ R4 )
      @ ( bNF_rel_set @ A @ B @ R4 )
      @ ^ [F4: D > A] : ( image2 @ D @ A @ F4 @ ( top_top @ ( set @ D ) ) )
      @ ^ [F4: D > B] : ( image2 @ D @ B @ F4 @ ( top_top @ ( set @ D ) ) ) ) ).

% fun.set_transfer
thf(fact_6930_Inf__multiset_Orsp,axiom,
    ! [A: $tType] :
      ( bNF_rel_fun @ ( set @ ( A > nat ) ) @ ( set @ ( A > nat ) ) @ ( A > nat ) @ ( A > nat )
      @ ( bNF_rel_set @ ( A > nat ) @ ( A > nat )
        @ ( bNF_eq_onp @ ( A > nat )
          @ ^ [F4: A > nat] :
              ( finite_finite2 @ A
              @ ( collect @ A
                @ ^ [X4: A] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( F4 @ X4 ) ) ) ) ) )
      @ ( bNF_eq_onp @ ( A > nat )
        @ ^ [F4: A > nat] :
            ( finite_finite2 @ A
            @ ( collect @ A
              @ ^ [X4: A] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( F4 @ X4 ) ) ) ) )
      @ ^ [A8: set @ ( A > nat ),I: A] :
          ( if @ nat
          @ ( A8
            = ( bot_bot @ ( set @ ( A > nat ) ) ) )
          @ ( zero_zero @ nat )
          @ ( complete_Inf_Inf @ nat
            @ ( image2 @ ( A > nat ) @ nat
              @ ^ [F4: A > nat] : ( F4 @ I )
              @ A8 ) ) )
      @ ^ [A8: set @ ( A > nat ),I: A] :
          ( if @ nat
          @ ( A8
            = ( bot_bot @ ( set @ ( A > nat ) ) ) )
          @ ( zero_zero @ nat )
          @ ( complete_Inf_Inf @ nat
            @ ( image2 @ ( A > nat ) @ nat
              @ ^ [F4: A > nat] : ( F4 @ I )
              @ A8 ) ) ) ) ).

% Inf_multiset.rsp
thf(fact_6931_INF__parametric,axiom,
    ! [A: $tType,C: $tType,B: $tType] :
      ( ( complete_Inf @ C )
     => ! [A6: A > B > $o] :
          ( bNF_rel_fun @ ( set @ A ) @ ( set @ B ) @ ( ( A > C ) > C ) @ ( ( B > C ) > C ) @ ( bNF_rel_set @ A @ B @ A6 )
          @ ( bNF_rel_fun @ ( A > C ) @ ( B > C ) @ C @ C
            @ ( bNF_rel_fun @ A @ B @ C @ C @ A6
              @ ^ [Y6: C,Z5: C] : Y6 = Z5 )
            @ ^ [Y6: C,Z5: C] : Y6 = Z5 )
          @ ^ [A8: set @ A,F4: A > C] : ( complete_Inf_Inf @ C @ ( image2 @ A @ C @ F4 @ A8 ) )
          @ ^ [A8: set @ B,F4: B > C] : ( complete_Inf_Inf @ C @ ( image2 @ B @ C @ F4 @ A8 ) ) ) ) ).

% INF_parametric
thf(fact_6932_SUP__parametric,axiom,
    ! [A: $tType,C: $tType,B: $tType] :
      ( ( complete_Sup @ C )
     => ! [R4: A > B > $o] :
          ( bNF_rel_fun @ ( set @ A ) @ ( set @ B ) @ ( ( A > C ) > C ) @ ( ( B > C ) > C ) @ ( bNF_rel_set @ A @ B @ R4 )
          @ ( bNF_rel_fun @ ( A > C ) @ ( B > C ) @ C @ C
            @ ( bNF_rel_fun @ A @ B @ C @ C @ R4
              @ ^ [Y6: C,Z5: C] : Y6 = Z5 )
            @ ^ [Y6: C,Z5: C] : Y6 = Z5 )
          @ ^ [A8: set @ A,F4: A > C] : ( complete_Sup_Sup @ C @ ( image2 @ A @ C @ F4 @ A8 ) )
          @ ^ [A8: set @ B,F4: B > C] : ( complete_Sup_Sup @ C @ ( image2 @ B @ C @ F4 @ A8 ) ) ) ) ).

% SUP_parametric
thf(fact_6933_union__transfer,axiom,
    ! [A: $tType,B: $tType,A6: A > B > $o] : ( bNF_rel_fun @ ( set @ A ) @ ( set @ B ) @ ( ( set @ A ) > ( set @ A ) ) @ ( ( set @ B ) > ( set @ B ) ) @ ( bNF_rel_set @ A @ B @ A6 ) @ ( bNF_rel_fun @ ( set @ A ) @ ( set @ B ) @ ( set @ A ) @ ( set @ B ) @ ( bNF_rel_set @ A @ B @ A6 ) @ ( bNF_rel_set @ A @ B @ A6 ) ) @ ( sup_sup @ ( set @ A ) ) @ ( sup_sup @ ( set @ B ) ) ) ).

% union_transfer
thf(fact_6934_rel__set__mono,axiom,
    ! [B: $tType,A: $tType,A6: A > B > $o,B6: A > B > $o] :
      ( ( ord_less_eq @ ( A > B > $o ) @ A6 @ B6 )
     => ( ord_less_eq @ ( ( set @ A ) > ( set @ B ) > $o ) @ ( bNF_rel_set @ A @ B @ A6 ) @ ( bNF_rel_set @ A @ B @ B6 ) ) ) ).

% rel_set_mono
thf(fact_6935_Union__transfer,axiom,
    ! [A: $tType,B: $tType,A6: A > B > $o] : ( bNF_rel_fun @ ( set @ ( set @ A ) ) @ ( set @ ( set @ B ) ) @ ( set @ A ) @ ( set @ B ) @ ( bNF_rel_set @ ( set @ A ) @ ( set @ B ) @ ( bNF_rel_set @ A @ B @ A6 ) ) @ ( bNF_rel_set @ A @ B @ A6 ) @ ( complete_Sup_Sup @ ( set @ A ) ) @ ( complete_Sup_Sup @ ( set @ B ) ) ) ).

% Union_transfer
thf(fact_6936_set__relator__eq__onp,axiom,
    ! [A: $tType,P2: A > $o] :
      ( ( bNF_rel_set @ A @ A @ ( bNF_eq_onp @ A @ P2 ) )
      = ( bNF_eq_onp @ ( set @ A )
        @ ^ [A8: set @ A] :
          ! [X4: A] :
            ( ( member @ A @ X4 @ A8 )
           => ( P2 @ X4 ) ) ) ) ).

% set_relator_eq_onp
thf(fact_6937_UNION__transfer,axiom,
    ! [A: $tType,C: $tType,D: $tType,B: $tType,A6: A > B > $o,B6: C > D > $o] :
      ( bNF_rel_fun @ ( set @ A ) @ ( set @ B ) @ ( ( A > ( set @ C ) ) > ( set @ C ) ) @ ( ( B > ( set @ D ) ) > ( set @ D ) ) @ ( bNF_rel_set @ A @ B @ A6 ) @ ( bNF_rel_fun @ ( A > ( set @ C ) ) @ ( B > ( set @ D ) ) @ ( set @ C ) @ ( set @ D ) @ ( bNF_rel_fun @ A @ B @ ( set @ C ) @ ( set @ D ) @ A6 @ ( bNF_rel_set @ C @ D @ B6 ) ) @ ( bNF_rel_set @ C @ D @ B6 ) )
      @ ^ [A8: set @ A,F4: A > ( set @ C )] : ( complete_Sup_Sup @ ( set @ C ) @ ( image2 @ A @ ( set @ C ) @ F4 @ A8 ) )
      @ ^ [A8: set @ B,F4: B > ( set @ D )] : ( complete_Sup_Sup @ ( set @ D ) @ ( image2 @ B @ ( set @ D ) @ F4 @ A8 ) ) ) ).

% UNION_transfer
thf(fact_6938_Inf__multiset_Otransfer,axiom,
    ! [A: $tType] :
      ( bNF_rel_fun @ ( set @ ( A > nat ) ) @ ( set @ ( multiset @ A ) ) @ ( A > nat ) @ ( multiset @ A )
      @ ( bNF_rel_set @ ( A > nat ) @ ( multiset @ A )
        @ ( pcr_multiset @ A @ A
          @ ^ [Y6: A,Z5: A] : Y6 = Z5 ) )
      @ ( pcr_multiset @ A @ A
        @ ^ [Y6: A,Z5: A] : Y6 = Z5 )
      @ ^ [A8: set @ ( A > nat ),I: A] :
          ( if @ nat
          @ ( A8
            = ( bot_bot @ ( set @ ( A > nat ) ) ) )
          @ ( zero_zero @ nat )
          @ ( complete_Inf_Inf @ nat
            @ ( image2 @ ( A > nat ) @ nat
              @ ^ [F4: A > nat] : ( F4 @ I )
              @ A8 ) ) )
      @ ( complete_Inf_Inf @ ( multiset @ A ) ) ) ).

% Inf_multiset.transfer
thf(fact_6939_filter__mset_Oabs__eq,axiom,
    ! [A: $tType,X: A > nat,Xa: A > $o] :
      ( ( bNF_eq_onp @ ( A > nat )
        @ ^ [F4: A > nat] :
            ( finite_finite2 @ A
            @ ( collect @ A
              @ ^ [X4: A] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( F4 @ X4 ) ) ) )
        @ X
        @ X )
     => ( ( filter_mset @ A @ Xa @ ( abs_multiset @ A @ X ) )
        = ( abs_multiset @ A
          @ ^ [X4: A] : ( if @ nat @ ( Xa @ X4 ) @ ( X @ X4 ) @ ( zero_zero @ nat ) ) ) ) ) ).

% filter_mset.abs_eq
thf(fact_6940_filter__mset__True,axiom,
    ! [A: $tType,M6: multiset @ A] :
      ( ( filter_mset @ A
        @ ^ [Y4: A] : $true
        @ M6 )
      = M6 ) ).

% filter_mset_True
thf(fact_6941_filter__union__mset,axiom,
    ! [A: $tType,P2: A > $o,M6: multiset @ A,N7: multiset @ A] :
      ( ( filter_mset @ A @ P2 @ ( plus_plus @ ( multiset @ A ) @ M6 @ N7 ) )
      = ( plus_plus @ ( multiset @ A ) @ ( filter_mset @ A @ P2 @ M6 ) @ ( filter_mset @ A @ P2 @ N7 ) ) ) ).

% filter_union_mset
thf(fact_6942_union__filter__mset__complement,axiom,
    ! [A: $tType,P2: A > $o,Q2: A > $o,M6: multiset @ A] :
      ( ! [X3: A] :
          ( ( P2 @ X3 )
          = ( ~ ( Q2 @ X3 ) ) )
     => ( ( plus_plus @ ( multiset @ A ) @ ( filter_mset @ A @ P2 @ M6 ) @ ( filter_mset @ A @ Q2 @ M6 ) )
        = M6 ) ) ).

% union_filter_mset_complement
thf(fact_6943_filter__mset__False,axiom,
    ! [A: $tType,M6: multiset @ A] :
      ( ( filter_mset @ A
        @ ^ [Y4: A] : $false
        @ M6 )
      = ( zero_zero @ ( multiset @ A ) ) ) ).

% filter_mset_False
thf(fact_6944_set__mset__filter,axiom,
    ! [A: $tType,P2: A > $o,M6: multiset @ A] :
      ( ( set_mset @ A @ ( filter_mset @ A @ P2 @ M6 ) )
      = ( collect @ A
        @ ^ [A7: A] :
            ( ( member @ A @ A7 @ ( set_mset @ A @ M6 ) )
            & ( P2 @ A7 ) ) ) ) ).

% set_mset_filter
thf(fact_6945_mset__filter,axiom,
    ! [A: $tType,P2: A > $o,Xs: list @ A] :
      ( ( mset @ A @ ( filter2 @ A @ P2 @ Xs ) )
      = ( filter_mset @ A @ P2 @ ( mset @ A @ Xs ) ) ) ).

% mset_filter
thf(fact_6946_filter__mset_Otransfer,axiom,
    ! [A: $tType] :
      ( bNF_rel_fun @ ( A > $o ) @ ( A > $o ) @ ( ( A > nat ) > A > nat ) @ ( ( multiset @ A ) > ( multiset @ A ) )
      @ ^ [Y6: A > $o,Z5: A > $o] : Y6 = Z5
      @ ( bNF_rel_fun @ ( A > nat ) @ ( multiset @ A ) @ ( A > nat ) @ ( multiset @ A )
        @ ( pcr_multiset @ A @ A
          @ ^ [Y6: A,Z5: A] : Y6 = Z5 )
        @ ( pcr_multiset @ A @ A
          @ ^ [Y6: A,Z5: A] : Y6 = Z5 ) )
      @ ^ [P5: A > $o,M9: A > nat,X4: A] : ( if @ nat @ ( P5 @ X4 ) @ ( M9 @ X4 ) @ ( zero_zero @ nat ) )
      @ ( filter_mset @ A ) ) ).

% filter_mset.transfer
thf(fact_6947_image__mset__If,axiom,
    ! [A: $tType,B: $tType,P2: B > $o,F3: B > A,G3: B > A,A6: multiset @ B] :
      ( ( image_mset @ B @ A
        @ ^ [X4: B] : ( if @ A @ ( P2 @ X4 ) @ ( F3 @ X4 ) @ ( G3 @ X4 ) )
        @ A6 )
      = ( plus_plus @ ( multiset @ A ) @ ( image_mset @ B @ A @ F3 @ ( filter_mset @ B @ P2 @ A6 ) )
        @ ( image_mset @ B @ A @ G3
          @ ( filter_mset @ B
            @ ^ [X4: B] :
                ~ ( P2 @ X4 )
            @ A6 ) ) ) ) ).

% image_mset_If
thf(fact_6948_filter__filter__mset,axiom,
    ! [A: $tType,P2: A > $o,Q2: A > $o,M6: multiset @ A] :
      ( ( filter_mset @ A @ P2 @ ( filter_mset @ A @ Q2 @ M6 ) )
      = ( filter_mset @ A
        @ ^ [X4: A] :
            ( ( Q2 @ X4 )
            & ( P2 @ X4 ) )
        @ M6 ) ) ).

% filter_filter_mset
thf(fact_6949_multiset__partition,axiom,
    ! [A: $tType,M6: multiset @ A,P2: A > $o] :
      ( M6
      = ( plus_plus @ ( multiset @ A ) @ ( filter_mset @ A @ P2 @ M6 )
        @ ( filter_mset @ A
          @ ^ [X4: A] :
              ~ ( P2 @ X4 )
          @ M6 ) ) ) ).

% multiset_partition
thf(fact_6950_size__filter__mset__lesseq,axiom,
    ! [A: $tType,F3: A > $o,M6: multiset @ A] : ( ord_less_eq @ nat @ ( size_size @ ( multiset @ A ) @ ( filter_mset @ A @ F3 @ M6 ) ) @ ( size_size @ ( multiset @ A ) @ M6 ) ) ).

% size_filter_mset_lesseq
thf(fact_6951_zero__multiset_Otransfer,axiom,
    ! [A: $tType] :
      ( pcr_multiset @ A @ A
      @ ^ [Y6: A,Z5: A] : Y6 = Z5
      @ ^ [A7: A] : ( zero_zero @ nat )
      @ ( zero_zero @ ( multiset @ A ) ) ) ).

% zero_multiset.transfer
thf(fact_6952_multiset_Orep__transfer,axiom,
    ! [D: $tType,E: $tType,T8: D > E > $o] :
      ( bNF_rel_fun @ ( D > nat ) @ ( multiset @ E ) @ ( D > nat ) @ ( E > nat ) @ ( pcr_multiset @ D @ E @ T8 )
      @ ( bNF_rel_fun @ D @ E @ nat @ nat @ T8
        @ ^ [Y6: nat,Z5: nat] : Y6 = Z5 )
      @ ^ [X4: D > nat] : X4
      @ ( count @ E ) ) ).

% multiset.rep_transfer
thf(fact_6953_add__mset_Otransfer,axiom,
    ! [A: $tType] :
      ( bNF_rel_fun @ A @ A @ ( ( A > nat ) > A > nat ) @ ( ( multiset @ A ) > ( multiset @ A ) )
      @ ^ [Y6: A,Z5: A] : Y6 = Z5
      @ ( bNF_rel_fun @ ( A > nat ) @ ( multiset @ A ) @ ( A > nat ) @ ( multiset @ A )
        @ ( pcr_multiset @ A @ A
          @ ^ [Y6: A,Z5: A] : Y6 = Z5 )
        @ ( pcr_multiset @ A @ A
          @ ^ [Y6: A,Z5: A] : Y6 = Z5 ) )
      @ ^ [A7: A,M9: A > nat,B5: A] : ( if @ nat @ ( B5 = A7 ) @ ( suc @ ( M9 @ B5 ) ) @ ( M9 @ B5 ) )
      @ ( add_mset @ A ) ) ).

% add_mset.transfer
thf(fact_6954_plus__multiset_Otransfer,axiom,
    ! [A: $tType] :
      ( bNF_rel_fun @ ( A > nat ) @ ( multiset @ A ) @ ( ( A > nat ) > A > nat ) @ ( ( multiset @ A ) > ( multiset @ A ) )
      @ ( pcr_multiset @ A @ A
        @ ^ [Y6: A,Z5: A] : Y6 = Z5 )
      @ ( bNF_rel_fun @ ( A > nat ) @ ( multiset @ A ) @ ( A > nat ) @ ( multiset @ A )
        @ ( pcr_multiset @ A @ A
          @ ^ [Y6: A,Z5: A] : Y6 = Z5 )
        @ ( pcr_multiset @ A @ A
          @ ^ [Y6: A,Z5: A] : Y6 = Z5 ) )
      @ ^ [M9: A > nat,N8: A > nat,A7: A] : ( plus_plus @ nat @ ( M9 @ A7 ) @ ( N8 @ A7 ) )
      @ ( plus_plus @ ( multiset @ A ) ) ) ).

% plus_multiset.transfer
thf(fact_6955_minus__multiset_Otransfer,axiom,
    ! [A: $tType] :
      ( bNF_rel_fun @ ( A > nat ) @ ( multiset @ A ) @ ( ( A > nat ) > A > nat ) @ ( ( multiset @ A ) > ( multiset @ A ) )
      @ ( pcr_multiset @ A @ A
        @ ^ [Y6: A,Z5: A] : Y6 = Z5 )
      @ ( bNF_rel_fun @ ( A > nat ) @ ( multiset @ A ) @ ( A > nat ) @ ( multiset @ A )
        @ ( pcr_multiset @ A @ A
          @ ^ [Y6: A,Z5: A] : Y6 = Z5 )
        @ ( pcr_multiset @ A @ A
          @ ^ [Y6: A,Z5: A] : Y6 = Z5 ) )
      @ ^ [M9: A > nat,N8: A > nat,A7: A] : ( minus_minus @ nat @ ( M9 @ A7 ) @ ( N8 @ A7 ) )
      @ ( minus_minus @ ( multiset @ A ) ) ) ).

% minus_multiset.transfer
thf(fact_6956_repeat__mset_Otransfer,axiom,
    ! [A: $tType] :
      ( bNF_rel_fun @ nat @ nat @ ( ( A > nat ) > A > nat ) @ ( ( multiset @ A ) > ( multiset @ A ) )
      @ ^ [Y6: nat,Z5: nat] : Y6 = Z5
      @ ( bNF_rel_fun @ ( A > nat ) @ ( multiset @ A ) @ ( A > nat ) @ ( multiset @ A )
        @ ( pcr_multiset @ A @ A
          @ ^ [Y6: A,Z5: A] : Y6 = Z5 )
        @ ( pcr_multiset @ A @ A
          @ ^ [Y6: A,Z5: A] : Y6 = Z5 ) )
      @ ^ [N3: nat,M9: A > nat,A7: A] : ( times_times @ nat @ N3 @ ( M9 @ A7 ) )
      @ ( repeat_mset @ A ) ) ).

% repeat_mset.transfer
thf(fact_6957_filter__mset__def,axiom,
    ! [A: $tType] :
      ( ( filter_mset @ A )
      = ( map_fun @ ( A > $o ) @ ( A > $o ) @ ( ( A > nat ) > A > nat ) @ ( ( multiset @ A ) > ( multiset @ A ) ) @ ( id @ ( A > $o ) ) @ ( map_fun @ ( multiset @ A ) @ ( A > nat ) @ ( A > nat ) @ ( multiset @ A ) @ ( count @ A ) @ ( abs_multiset @ A ) )
        @ ^ [P5: A > $o,M9: A > nat,X4: A] : ( if @ nat @ ( P5 @ X4 ) @ ( M9 @ X4 ) @ ( zero_zero @ nat ) ) ) ) ).

% filter_mset_def
thf(fact_6958_subset__mset_OcSUP__union,axiom,
    ! [A: $tType,B: $tType,A6: set @ B,F3: B > ( multiset @ A ),B6: set @ B] :
      ( ( A6
       != ( bot_bot @ ( set @ B ) ) )
     => ( ( condit8047198070973881523_above @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ ( image2 @ B @ ( multiset @ A ) @ F3 @ A6 ) )
       => ( ( B6
           != ( bot_bot @ ( set @ B ) ) )
         => ( ( condit8047198070973881523_above @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ ( image2 @ B @ ( multiset @ A ) @ F3 @ B6 ) )
           => ( ( complete_Sup_Sup @ ( multiset @ A ) @ ( image2 @ B @ ( multiset @ A ) @ F3 @ ( sup_sup @ ( set @ B ) @ A6 @ B6 ) ) )
              = ( union_mset @ A @ ( complete_Sup_Sup @ ( multiset @ A ) @ ( image2 @ B @ ( multiset @ A ) @ F3 @ A6 ) ) @ ( complete_Sup_Sup @ ( multiset @ A ) @ ( image2 @ B @ ( multiset @ A ) @ F3 @ B6 ) ) ) ) ) ) ) ) ).

% subset_mset.cSUP_union
thf(fact_6959_type__definition__multiset,axiom,
    ! [A: $tType] :
      ( type_definition @ ( multiset @ A ) @ ( A > nat ) @ ( count @ A ) @ ( abs_multiset @ A )
      @ ( collect @ ( A > nat )
        @ ^ [F4: A > nat] :
            ( finite_finite2 @ A
            @ ( collect @ A
              @ ^ [X4: A] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( F4 @ X4 ) ) ) ) ) ) ).

% type_definition_multiset
thf(fact_6960_set__mset__sup,axiom,
    ! [A: $tType,A6: multiset @ A,B6: multiset @ A] :
      ( ( set_mset @ A @ ( union_mset @ A @ A6 @ B6 ) )
      = ( sup_sup @ ( set @ A ) @ ( set_mset @ A @ A6 ) @ ( set_mset @ A @ B6 ) ) ) ).

% set_mset_sup
thf(fact_6961_subset__mset_Obdd__above__image__sup,axiom,
    ! [A: $tType,B: $tType,F3: B > ( multiset @ A ),G3: B > ( multiset @ A ),A6: set @ B] :
      ( ( condit8047198070973881523_above @ ( multiset @ A ) @ ( subseteq_mset @ A )
        @ ( image2 @ B @ ( multiset @ A )
          @ ^ [X4: B] : ( union_mset @ A @ ( F3 @ X4 ) @ ( G3 @ X4 ) )
          @ A6 ) )
      = ( ( condit8047198070973881523_above @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ ( image2 @ B @ ( multiset @ A ) @ F3 @ A6 ) )
        & ( condit8047198070973881523_above @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ ( image2 @ B @ ( multiset @ A ) @ G3 @ A6 ) ) ) ) ).

% subset_mset.bdd_above_image_sup
thf(fact_6962_typedef__rep__transfer,axiom,
    ! [A: $tType,B: $tType,Rep: B > A,Abs: A > B,A6: set @ A,T8: A > B > $o] :
      ( ( type_definition @ B @ A @ Rep @ Abs @ A6 )
     => ( ( T8
          = ( ^ [X4: A,Y4: B] :
                ( X4
                = ( Rep @ Y4 ) ) ) )
       => ( bNF_rel_fun @ A @ B @ A @ A @ T8
          @ ^ [Y6: A,Z5: A] : Y6 = Z5
          @ ^ [X4: A] : X4
          @ Rep ) ) ) ).

% typedef_rep_transfer
thf(fact_6963_type__copy__map__comp0,axiom,
    ! [F2: $tType,D: $tType,B: $tType,A: $tType,C: $tType,E: $tType,Rep: A > B,Abs: B > A,M6: C > D,M12: B > D,M23: C > B,F3: D > F2,G3: E > C] :
      ( ( type_definition @ A @ B @ Rep @ Abs @ ( top_top @ ( set @ B ) ) )
     => ( ( M6
          = ( comp @ B @ D @ C @ M12 @ M23 ) )
       => ( ( comp @ C @ F2 @ E @ ( comp @ D @ F2 @ C @ F3 @ M6 ) @ G3 )
          = ( comp @ A @ F2 @ E @ ( comp @ B @ F2 @ A @ ( comp @ D @ F2 @ B @ F3 @ M12 ) @ Rep ) @ ( comp @ C @ A @ E @ ( comp @ B @ A @ C @ Abs @ M23 ) @ G3 ) ) ) ) ) ).

% type_copy_map_comp0
thf(fact_6964_type__copy__wit,axiom,
    ! [A: $tType,C: $tType,B: $tType,Rep: A > B,Abs: B > A,X: C,S: B > ( set @ C ),Y: B] :
      ( ( type_definition @ A @ B @ Rep @ Abs @ ( top_top @ ( set @ B ) ) )
     => ( ( member @ C @ X @ ( comp @ B @ ( set @ C ) @ A @ S @ Rep @ ( Abs @ Y ) ) )
       => ( member @ C @ X @ ( S @ Y ) ) ) ) ).

% type_copy_wit
thf(fact_6965_type__copy__ex__RepI,axiom,
    ! [B: $tType,A: $tType,Rep: A > B,Abs: B > A,F5: B > $o] :
      ( ( type_definition @ A @ B @ Rep @ Abs @ ( top_top @ ( set @ B ) ) )
     => ( ( ? [X11: B] : ( F5 @ X11 ) )
        = ( ? [B5: A] : ( F5 @ ( Rep @ B5 ) ) ) ) ) ).

% type_copy_ex_RepI
thf(fact_6966_sup__union__distrib__left,axiom,
    ! [A: $tType,A6: multiset @ A,B6: multiset @ A,C5: multiset @ A] :
      ( ( plus_plus @ ( multiset @ A ) @ ( union_mset @ A @ A6 @ B6 ) @ C5 )
      = ( union_mset @ A @ ( plus_plus @ ( multiset @ A ) @ A6 @ C5 ) @ ( plus_plus @ ( multiset @ A ) @ B6 @ C5 ) ) ) ).

% sup_union_distrib_left
thf(fact_6967_union__sup__distrib__right,axiom,
    ! [A: $tType,C5: multiset @ A,A6: multiset @ A,B6: multiset @ A] :
      ( ( plus_plus @ ( multiset @ A ) @ C5 @ ( union_mset @ A @ A6 @ B6 ) )
      = ( union_mset @ A @ ( plus_plus @ ( multiset @ A ) @ C5 @ A6 ) @ ( plus_plus @ ( multiset @ A ) @ C5 @ B6 ) ) ) ).

% union_sup_distrib_right
thf(fact_6968_union__mset__def,axiom,
    ! [A: $tType] :
      ( ( union_mset @ A )
      = ( ^ [A8: multiset @ A,B7: multiset @ A] : ( plus_plus @ ( multiset @ A ) @ A8 @ ( minus_minus @ ( multiset @ A ) @ B7 @ A8 ) ) ) ) ).

% union_mset_def
thf(fact_6969_union__diff__inter__eq__sup,axiom,
    ! [A: $tType,A6: multiset @ A,B6: multiset @ A] :
      ( ( minus_minus @ ( multiset @ A ) @ ( plus_plus @ ( multiset @ A ) @ A6 @ B6 ) @ ( inter_mset @ A @ A6 @ B6 ) )
      = ( union_mset @ A @ A6 @ B6 ) ) ).

% union_diff_inter_eq_sup
thf(fact_6970_union__diff__sup__eq__inter,axiom,
    ! [A: $tType,A6: multiset @ A,B6: multiset @ A] :
      ( ( minus_minus @ ( multiset @ A ) @ ( plus_plus @ ( multiset @ A ) @ A6 @ B6 ) @ ( union_mset @ A @ A6 @ B6 ) )
      = ( inter_mset @ A @ A6 @ B6 ) ) ).

% union_diff_sup_eq_inter
thf(fact_6971_size__Un__Int,axiom,
    ! [A: $tType,A6: multiset @ A,B6: multiset @ A] :
      ( ( plus_plus @ nat @ ( size_size @ ( multiset @ A ) @ A6 ) @ ( size_size @ ( multiset @ A ) @ B6 ) )
      = ( plus_plus @ nat @ ( size_size @ ( multiset @ A ) @ ( union_mset @ A @ A6 @ B6 ) ) @ ( size_size @ ( multiset @ A ) @ ( inter_mset @ A @ A6 @ B6 ) ) ) ) ).

% size_Un_Int
thf(fact_6972_type__copy__map__id0,axiom,
    ! [B: $tType,A: $tType,Rep: A > B,Abs: B > A,M6: B > B] :
      ( ( type_definition @ A @ B @ Rep @ Abs @ ( top_top @ ( set @ B ) ) )
     => ( ( M6
          = ( id @ B ) )
       => ( ( comp @ B @ A @ A @ ( comp @ B @ A @ B @ Abs @ M6 ) @ Rep )
          = ( id @ A ) ) ) ) ).

% type_copy_map_id0
thf(fact_6973_size__Un__disjoint,axiom,
    ! [A: $tType,A6: multiset @ A,B6: multiset @ A] :
      ( ( ( inter_mset @ A @ A6 @ B6 )
        = ( zero_zero @ ( multiset @ A ) ) )
     => ( ( size_size @ ( multiset @ A ) @ ( union_mset @ A @ A6 @ B6 ) )
        = ( plus_plus @ nat @ ( size_size @ ( multiset @ A ) @ A6 ) @ ( size_size @ ( multiset @ A ) @ B6 ) ) ) ) ).

% size_Un_disjoint
thf(fact_6974_subset__mset_Omono__sup,axiom,
    ! [B: $tType,A: $tType] :
      ( ( semilattice_sup @ B )
     => ! [F3: ( multiset @ A ) > B,A6: multiset @ A,B6: multiset @ A] :
          ( ( mono @ ( multiset @ A ) @ B @ ( subseteq_mset @ A ) @ F3 )
         => ( ord_less_eq @ B @ ( sup_sup @ B @ ( F3 @ A6 ) @ ( F3 @ B6 ) ) @ ( F3 @ ( union_mset @ A @ A6 @ B6 ) ) ) ) ) ).

% subset_mset.mono_sup
thf(fact_6975_sum__mset_Ounion__disjoint,axiom,
    ! [A: $tType,B: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [A6: multiset @ B,B6: multiset @ B,G3: B > A] :
          ( ( ( inter_mset @ B @ A6 @ B6 )
            = ( zero_zero @ ( multiset @ B ) ) )
         => ( ( comm_m7189776963980413722m_mset @ A @ ( image_mset @ B @ A @ G3 @ ( union_mset @ B @ A6 @ B6 ) ) )
            = ( plus_plus @ A @ ( comm_m7189776963980413722m_mset @ A @ ( image_mset @ B @ A @ G3 @ A6 ) ) @ ( comm_m7189776963980413722m_mset @ A @ ( image_mset @ B @ A @ G3 @ B6 ) ) ) ) ) ) ).

% sum_mset.union_disjoint
thf(fact_6976_subset__mset_OSUP__sup__distrib,axiom,
    ! [A: $tType,B: $tType,A6: set @ B,F3: B > ( multiset @ A ),G3: B > ( multiset @ A )] :
      ( ( A6
       != ( bot_bot @ ( set @ B ) ) )
     => ( ( condit8047198070973881523_above @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ ( image2 @ B @ ( multiset @ A ) @ F3 @ A6 ) )
       => ( ( condit8047198070973881523_above @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ ( image2 @ B @ ( multiset @ A ) @ G3 @ A6 ) )
         => ( ( union_mset @ A @ ( complete_Sup_Sup @ ( multiset @ A ) @ ( image2 @ B @ ( multiset @ A ) @ F3 @ A6 ) ) @ ( complete_Sup_Sup @ ( multiset @ A ) @ ( image2 @ B @ ( multiset @ A ) @ G3 @ A6 ) ) )
            = ( complete_Sup_Sup @ ( multiset @ A )
              @ ( image2 @ B @ ( multiset @ A )
                @ ^ [A7: B] : ( union_mset @ A @ ( F3 @ A7 ) @ ( G3 @ A7 ) )
                @ A6 ) ) ) ) ) ) ).

% subset_mset.SUP_sup_distrib
thf(fact_6977_subset__mset_OcSup__union__distrib,axiom,
    ! [A: $tType,A6: set @ ( multiset @ A ),B6: set @ ( multiset @ A )] :
      ( ( A6
       != ( bot_bot @ ( set @ ( multiset @ A ) ) ) )
     => ( ( condit8047198070973881523_above @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ A6 )
       => ( ( B6
           != ( bot_bot @ ( set @ ( multiset @ A ) ) ) )
         => ( ( condit8047198070973881523_above @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ B6 )
           => ( ( complete_Sup_Sup @ ( multiset @ A ) @ ( sup_sup @ ( set @ ( multiset @ A ) ) @ A6 @ B6 ) )
              = ( union_mset @ A @ ( complete_Sup_Sup @ ( multiset @ A ) @ A6 ) @ ( complete_Sup_Sup @ ( multiset @ A ) @ B6 ) ) ) ) ) ) ) ).

% subset_mset.cSup_union_distrib
thf(fact_6978_type__copy__set__map0,axiom,
    ! [A: $tType,B: $tType,D: $tType,E: $tType,C: $tType,F2: $tType,Rep: A > B,Abs: B > A,S: B > ( set @ D ),M6: C > B,F3: E > D,S6: C > ( set @ E ),G3: F2 > C] :
      ( ( type_definition @ A @ B @ Rep @ Abs @ ( top_top @ ( set @ B ) ) )
     => ( ( ( comp @ B @ ( set @ D ) @ C @ S @ M6 )
          = ( comp @ ( set @ E ) @ ( set @ D ) @ C @ ( image2 @ E @ D @ F3 ) @ S6 ) )
       => ( ( comp @ A @ ( set @ D ) @ F2 @ ( comp @ B @ ( set @ D ) @ A @ S @ Rep ) @ ( comp @ C @ A @ F2 @ ( comp @ B @ A @ C @ Abs @ M6 ) @ G3 ) )
          = ( comp @ ( set @ E ) @ ( set @ D ) @ F2 @ ( image2 @ E @ D @ F3 ) @ ( comp @ C @ ( set @ E ) @ F2 @ S6 @ G3 ) ) ) ) ) ).

% type_copy_set_map0
thf(fact_6979_sum__multiset__singleton,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ( groups7311177749621191930dd_sum @ A @ ( multiset @ A )
        @ ^ [N3: A] : ( add_mset @ A @ N3 @ ( zero_zero @ ( multiset @ A ) ) )
        @ A6 )
      = ( mset_set @ A @ A6 ) ) ).

% sum_multiset_singleton
thf(fact_6980_numeral__xor__num,axiom,
    ! [A: $tType] :
      ( ( bit_un5681908812861735899ations @ A )
     => ! [M: num,N: num] :
          ( ( bit_se5824344971392196577ns_xor @ A @ ( numeral_numeral @ A @ M ) @ ( numeral_numeral @ A @ N ) )
          = ( case_option @ A @ num @ ( zero_zero @ A ) @ ( numeral_numeral @ A ) @ ( bit_un2480387367778600638or_num @ M @ N ) ) ) ) ).

% numeral_xor_num
thf(fact_6981_filter__mset__mset__set,axiom,
    ! [A: $tType,A6: set @ A,P2: A > $o] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( filter_mset @ A @ P2 @ ( mset_set @ A @ A6 ) )
        = ( mset_set @ A
          @ ( collect @ A
            @ ^ [X4: A] :
                ( ( member @ A @ X4 @ A6 )
                & ( P2 @ X4 ) ) ) ) ) ) ).

% filter_mset_mset_set
thf(fact_6982_msubset__mset__set__iff,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( finite_finite2 @ A @ B6 )
       => ( ( subseteq_mset @ A @ ( mset_set @ A @ A6 ) @ ( mset_set @ A @ B6 ) )
          = ( ord_less_eq @ ( set @ A ) @ A6 @ B6 ) ) ) ) ).

% msubset_mset_set_iff
thf(fact_6983_subset__imp__msubset__mset__set,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
     => ( ( finite_finite2 @ A @ B6 )
       => ( subseteq_mset @ A @ ( mset_set @ A @ A6 ) @ ( mset_set @ A @ B6 ) ) ) ) ).

% subset_imp_msubset_mset_set
thf(fact_6984_mset__set__Diff,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( ord_less_eq @ ( set @ A ) @ B6 @ A6 )
       => ( ( mset_set @ A @ ( minus_minus @ ( set @ A ) @ A6 @ B6 ) )
          = ( minus_minus @ ( multiset @ A ) @ ( mset_set @ A @ A6 ) @ ( mset_set @ A @ B6 ) ) ) ) ) ).

% mset_set_Diff
thf(fact_6985_count__mset__set__finite__iff,axiom,
    ! [A: $tType,S: set @ A,A3: A] :
      ( ( finite_finite2 @ A @ S )
     => ( ( ( member @ A @ A3 @ S )
         => ( ( count @ A @ ( mset_set @ A @ S ) @ A3 )
            = ( one_one @ nat ) ) )
        & ( ~ ( member @ A @ A3 @ S )
         => ( ( count @ A @ ( mset_set @ A @ S ) @ A3 )
            = ( zero_zero @ nat ) ) ) ) ) ).

% count_mset_set_finite_iff
thf(fact_6986_mset__set__Union,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( finite_finite2 @ A @ B6 )
       => ( ( ( inf_inf @ ( set @ A ) @ A6 @ B6 )
            = ( bot_bot @ ( set @ A ) ) )
         => ( ( mset_set @ A @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) )
            = ( plus_plus @ ( multiset @ A ) @ ( mset_set @ A @ A6 ) @ ( mset_set @ A @ B6 ) ) ) ) ) ) ).

% mset_set_Union
thf(fact_6987_filterlim__base__iff,axiom,
    ! [A: $tType,C: $tType,B: $tType,D: $tType,I5: set @ A,F5: A > ( set @ B ),F3: B > C,G6: D > ( set @ C ),J4: set @ D] :
      ( ( I5
       != ( bot_bot @ ( set @ A ) ) )
     => ( ! [I3: A] :
            ( ( member @ A @ I3 @ I5 )
           => ! [J3: A] :
                ( ( member @ A @ J3 @ I5 )
               => ( ( ord_less_eq @ ( set @ B ) @ ( F5 @ I3 ) @ ( F5 @ J3 ) )
                  | ( ord_less_eq @ ( set @ B ) @ ( F5 @ J3 ) @ ( F5 @ I3 ) ) ) ) )
       => ( ( filterlim @ B @ C @ F3
            @ ( complete_Inf_Inf @ ( filter @ C )
              @ ( image2 @ D @ ( filter @ C )
                @ ^ [J: D] : ( principal @ C @ ( G6 @ J ) )
                @ J4 ) )
            @ ( complete_Inf_Inf @ ( filter @ B )
              @ ( image2 @ A @ ( filter @ B )
                @ ^ [I: A] : ( principal @ B @ ( F5 @ I ) )
                @ I5 ) ) )
          = ( ! [X4: D] :
                ( ( member @ D @ X4 @ J4 )
               => ? [Y4: A] :
                    ( ( member @ A @ Y4 @ I5 )
                    & ! [Z2: B] :
                        ( ( member @ B @ Z2 @ ( F5 @ Y4 ) )
                       => ( member @ C @ ( F3 @ Z2 ) @ ( G6 @ X4 ) ) ) ) ) ) ) ) ) ).

% filterlim_base_iff
thf(fact_6988_map__rec,axiom,
    ! [A: $tType,B: $tType] :
      ( ( map @ B @ A )
      = ( ^ [F4: B > A] :
            ( rec_list @ ( list @ A ) @ B @ ( nil @ A )
            @ ^ [X4: B,Uu2: list @ B] : ( cons @ A @ ( F4 @ X4 ) ) ) ) ) ).

% map_rec
thf(fact_6989_filterlim__mono,axiom,
    ! [B: $tType,A: $tType,F3: A > B,F24: filter @ B,F15: filter @ A,F25: filter @ B,F16: filter @ A] :
      ( ( filterlim @ A @ B @ F3 @ F24 @ F15 )
     => ( ( ord_less_eq @ ( filter @ B ) @ F24 @ F25 )
       => ( ( ord_less_eq @ ( filter @ A ) @ F16 @ F15 )
         => ( filterlim @ A @ B @ F3 @ F25 @ F16 ) ) ) ) ).

% filterlim_mono
thf(fact_6990_rec__list__Nil__imp,axiom,
    ! [A: $tType,B: $tType,F3: ( list @ A ) > B,F1: B,F22: A > ( list @ A ) > B > B] :
      ( ( F3
        = ( rec_list @ B @ A @ F1 @ F22 ) )
     => ( ( F3 @ ( nil @ A ) )
        = F1 ) ) ).

% rec_list_Nil_imp
thf(fact_6991_filterlim__sup,axiom,
    ! [B: $tType,A: $tType,F3: A > B,F5: filter @ B,F15: filter @ A,F24: filter @ A] :
      ( ( filterlim @ A @ B @ F3 @ F5 @ F15 )
     => ( ( filterlim @ A @ B @ F3 @ F5 @ F24 )
       => ( filterlim @ A @ B @ F3 @ F5 @ ( sup_sup @ ( filter @ A ) @ F15 @ F24 ) ) ) ) ).

% filterlim_sup
thf(fact_6992_filterlim__ident,axiom,
    ! [A: $tType,F5: filter @ A] :
      ( filterlim @ A @ A
      @ ^ [X4: A] : X4
      @ F5
      @ F5 ) ).

% filterlim_ident
thf(fact_6993_filterlim__compose,axiom,
    ! [B: $tType,A: $tType,C: $tType,G3: A > B,F33: filter @ B,F24: filter @ A,F3: C > A,F15: filter @ C] :
      ( ( filterlim @ A @ B @ G3 @ F33 @ F24 )
     => ( ( filterlim @ C @ A @ F3 @ F24 @ F15 )
       => ( filterlim @ C @ B
          @ ^ [X4: C] : ( G3 @ ( F3 @ X4 ) )
          @ F33
          @ F15 ) ) ) ).

% filterlim_compose
thf(fact_6994_filterlim__inf,axiom,
    ! [B: $tType,A: $tType,F3: A > B,F24: filter @ B,F33: filter @ B,F15: filter @ A] :
      ( ( filterlim @ A @ B @ F3 @ ( inf_inf @ ( filter @ B ) @ F24 @ F33 ) @ F15 )
      = ( ( filterlim @ A @ B @ F3 @ F24 @ F15 )
        & ( filterlim @ A @ B @ F3 @ F33 @ F15 ) ) ) ).

% filterlim_inf
thf(fact_6995_filterlim__sequentially__Suc,axiom,
    ! [A: $tType,F3: nat > A,F5: filter @ A] :
      ( ( filterlim @ nat @ A
        @ ^ [X4: nat] : ( F3 @ ( suc @ X4 ) )
        @ F5
        @ ( at_top @ nat ) )
      = ( filterlim @ nat @ A @ F3 @ F5 @ ( at_top @ nat ) ) ) ).

% filterlim_sequentially_Suc
thf(fact_6996_rec__list__Cons__imp,axiom,
    ! [B: $tType,A: $tType,F3: ( list @ A ) > B,F1: B,F22: A > ( list @ A ) > B > B,X: A,Xs: list @ A] :
      ( ( F3
        = ( rec_list @ B @ A @ F1 @ F22 ) )
     => ( ( F3 @ ( cons @ A @ X @ Xs ) )
        = ( F22 @ X @ Xs @ ( F3 @ Xs ) ) ) ) ).

% rec_list_Cons_imp
thf(fact_6997_filterlim__INF_H,axiom,
    ! [C: $tType,B: $tType,A: $tType,X: A,A6: set @ A,F3: B > C,F5: filter @ C,G6: A > ( filter @ B )] :
      ( ( member @ A @ X @ A6 )
     => ( ( filterlim @ B @ C @ F3 @ F5 @ ( G6 @ X ) )
       => ( filterlim @ B @ C @ F3 @ F5 @ ( complete_Inf_Inf @ ( filter @ B ) @ ( image2 @ A @ ( filter @ B ) @ G6 @ A6 ) ) ) ) ) ).

% filterlim_INF'
thf(fact_6998_filterlim__INF,axiom,
    ! [A: $tType,B: $tType,C: $tType,F3: A > B,G6: C > ( filter @ B ),B6: set @ C,F5: filter @ A] :
      ( ( filterlim @ A @ B @ F3 @ ( complete_Inf_Inf @ ( filter @ B ) @ ( image2 @ C @ ( filter @ B ) @ G6 @ B6 ) ) @ F5 )
      = ( ! [X4: C] :
            ( ( member @ C @ X4 @ B6 )
           => ( filterlim @ A @ B @ F3 @ ( G6 @ X4 ) @ F5 ) ) ) ) ).

% filterlim_INF
thf(fact_6999_filterlim__If,axiom,
    ! [B: $tType,A: $tType,F3: A > B,G6: filter @ B,F5: filter @ A,P2: A > $o,G3: A > B] :
      ( ( filterlim @ A @ B @ F3 @ G6 @ ( inf_inf @ ( filter @ A ) @ F5 @ ( principal @ A @ ( collect @ A @ P2 ) ) ) )
     => ( ( filterlim @ A @ B @ G3 @ G6
          @ ( inf_inf @ ( filter @ A ) @ F5
            @ ( principal @ A
              @ ( collect @ A
                @ ^ [X4: A] :
                    ~ ( P2 @ X4 ) ) ) ) )
       => ( filterlim @ A @ B
          @ ^ [X4: A] : ( if @ B @ ( P2 @ X4 ) @ ( F3 @ X4 ) @ ( G3 @ X4 ) )
          @ G6
          @ F5 ) ) ) ).

% filterlim_If
thf(fact_7000_filterlim__base,axiom,
    ! [B: $tType,A: $tType,E: $tType,D: $tType,C: $tType,J4: set @ A,I2: A > C,I5: set @ C,F5: C > ( set @ D ),F3: D > E,G6: A > ( set @ E )] :
      ( ! [M5: A,X3: B] :
          ( ( member @ A @ M5 @ J4 )
         => ( member @ C @ ( I2 @ M5 ) @ I5 ) )
     => ( ! [M5: A,X3: D] :
            ( ( member @ A @ M5 @ J4 )
           => ( ( member @ D @ X3 @ ( F5 @ ( I2 @ M5 ) ) )
             => ( member @ E @ ( F3 @ X3 ) @ ( G6 @ M5 ) ) ) )
       => ( filterlim @ D @ E @ F3
          @ ( complete_Inf_Inf @ ( filter @ E )
            @ ( image2 @ A @ ( filter @ E )
              @ ^ [J: A] : ( principal @ E @ ( G6 @ J ) )
              @ J4 ) )
          @ ( complete_Inf_Inf @ ( filter @ D )
            @ ( image2 @ C @ ( filter @ D )
              @ ^ [I: C] : ( principal @ D @ ( F5 @ I ) )
              @ I5 ) ) ) ) ) ).

% filterlim_base
thf(fact_7001_list_Orec__o__map,axiom,
    ! [C: $tType,B: $tType,A: $tType,G3: C,Ga: B > ( list @ B ) > C > C,F3: A > B] :
      ( ( comp @ ( list @ B ) @ C @ ( list @ A ) @ ( rec_list @ C @ B @ G3 @ Ga ) @ ( map @ A @ B @ F3 ) )
      = ( rec_list @ C @ A @ G3
        @ ^ [X4: A,Xa2: list @ A] : ( Ga @ ( F3 @ X4 ) @ ( map @ A @ B @ F3 @ Xa2 ) ) ) ) ).

% list.rec_o_map
thf(fact_7002_zipf__zip,axiom,
    ! [A: $tType,B: $tType,L12: list @ A,L23: list @ B] :
      ( ( ( size_size @ ( list @ A ) @ L12 )
        = ( size_size @ ( list @ B ) @ L23 ) )
     => ( ( zipf @ A @ B @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B ) @ L12 @ L23 )
        = ( zip @ A @ B @ L12 @ L23 ) ) ) ).

% zipf_zip
thf(fact_7003_Gcd__fin__0__iff,axiom,
    ! [A: $tType] :
      ( ( semiring_gcd @ A )
     => ! [A6: set @ A] :
          ( ( ( semiring_gcd_Gcd_fin @ A @ A6 )
            = ( zero_zero @ A ) )
          = ( ( ord_less_eq @ ( set @ A ) @ A6 @ ( insert @ A @ ( zero_zero @ A ) @ ( bot_bot @ ( set @ A ) ) ) )
            & ( finite_finite2 @ A @ A6 ) ) ) ) ).

% Gcd_fin_0_iff
thf(fact_7004_zipf_Osimps_I1_J,axiom,
    ! [B: $tType,A: $tType,C: $tType,F3: A > B > C] :
      ( ( zipf @ A @ B @ C @ F3 @ ( nil @ A ) @ ( nil @ B ) )
      = ( nil @ C ) ) ).

% zipf.simps(1)
thf(fact_7005_zipf_Osimps_I2_J,axiom,
    ! [A: $tType,C: $tType,B: $tType,F3: A > B > C,A3: A,As: list @ A,B2: B,Bs: list @ B] :
      ( ( zipf @ A @ B @ C @ F3 @ ( cons @ A @ A3 @ As ) @ ( cons @ B @ B2 @ Bs ) )
      = ( cons @ C @ ( F3 @ A3 @ B2 ) @ ( zipf @ A @ B @ C @ F3 @ As @ Bs ) ) ) ).

% zipf.simps(2)
thf(fact_7006_Gcd__fin_Ounion,axiom,
    ! [A: $tType] :
      ( ( semiring_gcd @ A )
     => ! [A6: set @ A,B6: set @ A] :
          ( ( semiring_gcd_Gcd_fin @ A @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) )
          = ( gcd_gcd @ A @ ( semiring_gcd_Gcd_fin @ A @ A6 ) @ ( semiring_gcd_Gcd_fin @ A @ B6 ) ) ) ) ).

% Gcd_fin.union
thf(fact_7007_Gcd__fin_Osubset,axiom,
    ! [A: $tType] :
      ( ( semiring_gcd @ A )
     => ! [B6: set @ A,A6: set @ A] :
          ( ( ord_less_eq @ ( set @ A ) @ B6 @ A6 )
         => ( ( gcd_gcd @ A @ ( semiring_gcd_Gcd_fin @ A @ B6 ) @ ( semiring_gcd_Gcd_fin @ A @ A6 ) )
            = ( semiring_gcd_Gcd_fin @ A @ A6 ) ) ) ) ).

% Gcd_fin.subset
thf(fact_7008_zipf_Oelims,axiom,
    ! [B: $tType,A: $tType,C: $tType,X: A > B > C,Xa: list @ A,Xb: list @ B,Y: list @ C] :
      ( ( ( zipf @ A @ B @ C @ X @ Xa @ Xb )
        = Y )
     => ( ( ( Xa
            = ( nil @ A ) )
         => ( ( Xb
              = ( nil @ B ) )
           => ( Y
             != ( nil @ C ) ) ) )
       => ( ! [A5: A,As2: list @ A] :
              ( ( Xa
                = ( cons @ A @ A5 @ As2 ) )
             => ! [B4: B,Bs2: list @ B] :
                  ( ( Xb
                    = ( cons @ B @ B4 @ Bs2 ) )
                 => ( Y
                   != ( cons @ C @ ( X @ A5 @ B4 ) @ ( zipf @ A @ B @ C @ X @ As2 @ Bs2 ) ) ) ) )
         => ( ( ? [V5: A,Va: list @ A] :
                  ( Xa
                  = ( cons @ A @ V5 @ Va ) )
             => ( ( Xb
                  = ( nil @ B ) )
               => ( Y
                 != ( undefined @ ( list @ C ) ) ) ) )
           => ~ ( ( Xa
                  = ( nil @ A ) )
               => ( ? [V5: B,Va: list @ B] :
                      ( Xb
                      = ( cons @ B @ V5 @ Va ) )
                 => ( Y
                   != ( undefined @ ( list @ C ) ) ) ) ) ) ) ) ) ).

% zipf.elims
thf(fact_7009_set__rec,axiom,
    ! [A: $tType] :
      ( ( set2 @ A )
      = ( rec_list @ ( set @ A ) @ A @ ( bot_bot @ ( set @ A ) )
        @ ^ [X4: A,Uu2: list @ A] : ( insert @ A @ X4 ) ) ) ).

% set_rec
thf(fact_7010_zipf_Opelims,axiom,
    ! [C: $tType,A: $tType,B: $tType,X: A > B > C,Xa: list @ A,Xb: list @ B,Y: list @ C] :
      ( ( ( zipf @ A @ B @ C @ X @ Xa @ Xb )
        = Y )
     => ( ( accp @ ( product_prod @ ( A > B > C ) @ ( product_prod @ ( list @ A ) @ ( list @ B ) ) ) @ ( zipf_rel @ A @ B @ C ) @ ( product_Pair @ ( A > B > C ) @ ( product_prod @ ( list @ A ) @ ( list @ B ) ) @ X @ ( product_Pair @ ( list @ A ) @ ( list @ B ) @ Xa @ Xb ) ) )
       => ( ( ( Xa
              = ( nil @ A ) )
           => ( ( Xb
                = ( nil @ B ) )
             => ( ( Y
                  = ( nil @ C ) )
               => ~ ( accp @ ( product_prod @ ( A > B > C ) @ ( product_prod @ ( list @ A ) @ ( list @ B ) ) ) @ ( zipf_rel @ A @ B @ C ) @ ( product_Pair @ ( A > B > C ) @ ( product_prod @ ( list @ A ) @ ( list @ B ) ) @ X @ ( product_Pair @ ( list @ A ) @ ( list @ B ) @ ( nil @ A ) @ ( nil @ B ) ) ) ) ) ) )
         => ( ! [A5: A,As2: list @ A] :
                ( ( Xa
                  = ( cons @ A @ A5 @ As2 ) )
               => ! [B4: B,Bs2: list @ B] :
                    ( ( Xb
                      = ( cons @ B @ B4 @ Bs2 ) )
                   => ( ( Y
                        = ( cons @ C @ ( X @ A5 @ B4 ) @ ( zipf @ A @ B @ C @ X @ As2 @ Bs2 ) ) )
                     => ~ ( accp @ ( product_prod @ ( A > B > C ) @ ( product_prod @ ( list @ A ) @ ( list @ B ) ) ) @ ( zipf_rel @ A @ B @ C ) @ ( product_Pair @ ( A > B > C ) @ ( product_prod @ ( list @ A ) @ ( list @ B ) ) @ X @ ( product_Pair @ ( list @ A ) @ ( list @ B ) @ ( cons @ A @ A5 @ As2 ) @ ( cons @ B @ B4 @ Bs2 ) ) ) ) ) ) )
           => ( ! [V5: A,Va: list @ A] :
                  ( ( Xa
                    = ( cons @ A @ V5 @ Va ) )
                 => ( ( Xb
                      = ( nil @ B ) )
                   => ( ( Y
                        = ( undefined @ ( list @ C ) ) )
                     => ~ ( accp @ ( product_prod @ ( A > B > C ) @ ( product_prod @ ( list @ A ) @ ( list @ B ) ) ) @ ( zipf_rel @ A @ B @ C ) @ ( product_Pair @ ( A > B > C ) @ ( product_prod @ ( list @ A ) @ ( list @ B ) ) @ X @ ( product_Pair @ ( list @ A ) @ ( list @ B ) @ ( cons @ A @ V5 @ Va ) @ ( nil @ B ) ) ) ) ) ) )
             => ~ ( ( Xa
                    = ( nil @ A ) )
                 => ! [V5: B,Va: list @ B] :
                      ( ( Xb
                        = ( cons @ B @ V5 @ Va ) )
                     => ( ( Y
                          = ( undefined @ ( list @ C ) ) )
                       => ~ ( accp @ ( product_prod @ ( A > B > C ) @ ( product_prod @ ( list @ A ) @ ( list @ B ) ) ) @ ( zipf_rel @ A @ B @ C ) @ ( product_Pair @ ( A > B > C ) @ ( product_prod @ ( list @ A ) @ ( list @ B ) ) @ X @ ( product_Pair @ ( list @ A ) @ ( list @ B ) @ ( nil @ A ) @ ( cons @ B @ V5 @ Va ) ) ) ) ) ) ) ) ) ) ) ) ).

% zipf.pelims
thf(fact_7011_filterlim__lessThan__at__top,axiom,
    filterlim @ nat @ ( set @ nat ) @ ( set_ord_lessThan @ nat ) @ ( finite5375528669736107172at_top @ nat @ ( top_top @ ( set @ nat ) ) ) @ ( at_top @ nat ) ).

% filterlim_lessThan_at_top
thf(fact_7012_finite__subsets__at__top__def,axiom,
    ! [A: $tType] :
      ( ( finite5375528669736107172at_top @ A )
      = ( ^ [A8: set @ A] :
            ( complete_Inf_Inf @ ( filter @ ( set @ A ) )
            @ ( image2 @ ( set @ A ) @ ( filter @ ( set @ A ) )
              @ ^ [X11: set @ A] :
                  ( principal @ ( set @ A )
                  @ ( collect @ ( set @ A )
                    @ ^ [Y10: set @ A] :
                        ( ( finite_finite2 @ A @ Y10 )
                        & ( ord_less_eq @ ( set @ A ) @ X11 @ Y10 )
                        & ( ord_less_eq @ ( set @ A ) @ Y10 @ A8 ) ) ) )
              @ ( collect @ ( set @ A )
                @ ^ [X11: set @ A] :
                    ( ( finite_finite2 @ A @ X11 )
                    & ( ord_less_eq @ ( set @ A ) @ X11 @ A8 ) ) ) ) ) ) ) ).

% finite_subsets_at_top_def
thf(fact_7013_filterlim__atMost__at__top,axiom,
    filterlim @ nat @ ( set @ nat ) @ ( set_ord_atMost @ nat ) @ ( finite5375528669736107172at_top @ nat @ ( top_top @ ( set @ nat ) ) ) @ ( at_top @ nat ) ).

% filterlim_atMost_at_top
thf(fact_7014_curr__surj,axiom,
    ! [C: $tType,B: $tType,A: $tType,G3: A > B > C,A6: set @ A,B6: set @ B,C5: set @ C] :
      ( ( member @ ( A > B > C ) @ G3 @ ( bNF_Wellorder_Func @ A @ ( B > C ) @ A6 @ ( bNF_Wellorder_Func @ B @ C @ B6 @ C5 ) ) )
     => ? [X3: ( product_prod @ A @ B ) > C] :
          ( ( member @ ( ( product_prod @ A @ B ) > C ) @ X3
            @ ( bNF_Wellorder_Func @ ( product_prod @ A @ B ) @ C
              @ ( product_Sigma @ A @ B @ A6
                @ ^ [Uu2: A] : B6 )
              @ C5 ) )
          & ( ( bNF_Wellorder_curr @ A @ B @ C @ A6 @ X3 )
            = G3 ) ) ) ).

% curr_surj
thf(fact_7015_curr__in,axiom,
    ! [A: $tType,B: $tType,C: $tType,F3: ( product_prod @ A @ B ) > C,A6: set @ A,B6: set @ B,C5: set @ C] :
      ( ( member @ ( ( product_prod @ A @ B ) > C ) @ F3
        @ ( bNF_Wellorder_Func @ ( product_prod @ A @ B ) @ C
          @ ( product_Sigma @ A @ B @ A6
            @ ^ [Uu2: A] : B6 )
          @ C5 ) )
     => ( member @ ( A > B > C ) @ ( bNF_Wellorder_curr @ A @ B @ C @ A6 @ F3 ) @ ( bNF_Wellorder_Func @ A @ ( B > C ) @ A6 @ ( bNF_Wellorder_Func @ B @ C @ B6 @ C5 ) ) ) ) ).

% curr_in
thf(fact_7016_curr__def,axiom,
    ! [B: $tType,C: $tType,A: $tType] :
      ( ( bNF_Wellorder_curr @ A @ B @ C )
      = ( ^ [A8: set @ A,F4: ( product_prod @ A @ B ) > C,A7: A] :
            ( if @ ( B > C ) @ ( member @ A @ A7 @ A8 )
            @ ^ [B5: B] : ( F4 @ ( product_Pair @ A @ B @ A7 @ B5 ) )
            @ ( undefined @ ( B > C ) ) ) ) ) ).

% curr_def
thf(fact_7017_curr__inj,axiom,
    ! [C: $tType,B: $tType,A: $tType,F1: ( product_prod @ A @ B ) > C,A6: set @ A,B6: set @ B,C5: set @ C,F22: ( product_prod @ A @ B ) > C] :
      ( ( member @ ( ( product_prod @ A @ B ) > C ) @ F1
        @ ( bNF_Wellorder_Func @ ( product_prod @ A @ B ) @ C
          @ ( product_Sigma @ A @ B @ A6
            @ ^ [Uu2: A] : B6 )
          @ C5 ) )
     => ( ( member @ ( ( product_prod @ A @ B ) > C ) @ F22
          @ ( bNF_Wellorder_Func @ ( product_prod @ A @ B ) @ C
            @ ( product_Sigma @ A @ B @ A6
              @ ^ [Uu2: A] : B6 )
            @ C5 ) )
       => ( ( ( bNF_Wellorder_curr @ A @ B @ C @ A6 @ F1 )
            = ( bNF_Wellorder_curr @ A @ B @ C @ A6 @ F22 ) )
          = ( F1 = F22 ) ) ) ) ).

% curr_inj
thf(fact_7018_bij__betw__curr,axiom,
    ! [A: $tType,B: $tType,C: $tType,A6: set @ A,B6: set @ B,C5: set @ C] :
      ( bij_betw @ ( ( product_prod @ A @ B ) > C ) @ ( A > B > C ) @ ( bNF_Wellorder_curr @ A @ B @ C @ A6 )
      @ ( bNF_Wellorder_Func @ ( product_prod @ A @ B ) @ C
        @ ( product_Sigma @ A @ B @ A6
          @ ^ [Uu2: A] : B6 )
        @ C5 )
      @ ( bNF_Wellorder_Func @ A @ ( B > C ) @ A6 @ ( bNF_Wellorder_Func @ B @ C @ B6 @ C5 ) ) ) ).

% bij_betw_curr
thf(fact_7019_disjnt__equiv__class,axiom,
    ! [A: $tType,A6: set @ A,R3: set @ ( product_prod @ A @ A ),A3: A,B2: A] :
      ( ( equiv_equiv @ A @ A6 @ R3 )
     => ( ( disjnt @ A @ ( image @ A @ A @ R3 @ ( insert @ A @ A3 @ ( bot_bot @ ( set @ A ) ) ) ) @ ( image @ A @ A @ R3 @ ( insert @ A @ B2 @ ( bot_bot @ ( set @ A ) ) ) ) )
        = ( ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ R3 ) ) ) ) ).

% disjnt_equiv_class
thf(fact_7020_disjnt__self__iff__empty,axiom,
    ! [A: $tType,S: set @ A] :
      ( ( disjnt @ A @ S @ S )
      = ( S
        = ( bot_bot @ ( set @ A ) ) ) ) ).

% disjnt_self_iff_empty
thf(fact_7021_disjnt__insert2,axiom,
    ! [A: $tType,Y7: set @ A,A3: A,X7: set @ A] :
      ( ( disjnt @ A @ Y7 @ ( insert @ A @ A3 @ X7 ) )
      = ( ~ ( member @ A @ A3 @ Y7 )
        & ( disjnt @ A @ Y7 @ X7 ) ) ) ).

% disjnt_insert2
thf(fact_7022_disjnt__insert1,axiom,
    ! [A: $tType,A3: A,X7: set @ A,Y7: set @ A] :
      ( ( disjnt @ A @ ( insert @ A @ A3 @ X7 ) @ Y7 )
      = ( ~ ( member @ A @ A3 @ Y7 )
        & ( disjnt @ A @ X7 @ Y7 ) ) ) ).

% disjnt_insert1
thf(fact_7023_disjnt__Un2,axiom,
    ! [A: $tType,C5: set @ A,A6: set @ A,B6: set @ A] :
      ( ( disjnt @ A @ C5 @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) )
      = ( ( disjnt @ A @ C5 @ A6 )
        & ( disjnt @ A @ C5 @ B6 ) ) ) ).

% disjnt_Un2
thf(fact_7024_disjnt__Un1,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A,C5: set @ A] :
      ( ( disjnt @ A @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) @ C5 )
      = ( ( disjnt @ A @ A6 @ C5 )
        & ( disjnt @ A @ B6 @ C5 ) ) ) ).

% disjnt_Un1
thf(fact_7025_bij__betw__add,axiom,
    ! [A: $tType] :
      ( ( cancel_semigroup_add @ A )
     => ! [A3: A,A6: set @ A,B6: set @ A] :
          ( ( bij_betw @ A @ A @ ( plus_plus @ A @ A3 ) @ A6 @ B6 )
          = ( ( image2 @ A @ A @ ( plus_plus @ A @ A3 ) @ A6 )
            = B6 ) ) ) ).

% bij_betw_add
thf(fact_7026_disjnt__Times1__iff,axiom,
    ! [A: $tType,B: $tType,C5: set @ A,A6: set @ B,B6: set @ B] :
      ( ( disjnt @ ( product_prod @ A @ B )
        @ ( product_Sigma @ A @ B @ C5
          @ ^ [Uu2: A] : A6 )
        @ ( product_Sigma @ A @ B @ C5
          @ ^ [Uu2: A] : B6 ) )
      = ( ( C5
          = ( bot_bot @ ( set @ A ) ) )
        | ( disjnt @ B @ A6 @ B6 ) ) ) ).

% disjnt_Times1_iff
thf(fact_7027_disjnt__Times2__iff,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,C5: set @ B,B6: set @ A] :
      ( ( disjnt @ ( product_prod @ A @ B )
        @ ( product_Sigma @ A @ B @ A6
          @ ^ [Uu2: A] : C5 )
        @ ( product_Sigma @ A @ B @ B6
          @ ^ [Uu2: A] : C5 ) )
      = ( ( C5
          = ( bot_bot @ ( set @ B ) ) )
        | ( disjnt @ A @ A6 @ B6 ) ) ) ).

% disjnt_Times2_iff
thf(fact_7028_bij__betw__subset,axiom,
    ! [A: $tType,B: $tType,F3: A > B,A6: set @ A,A16: set @ B,B6: set @ A,B14: set @ B] :
      ( ( bij_betw @ A @ B @ F3 @ A6 @ A16 )
     => ( ( ord_less_eq @ ( set @ A ) @ B6 @ A6 )
       => ( ( ( image2 @ A @ B @ F3 @ B6 )
            = B14 )
         => ( bij_betw @ A @ B @ F3 @ B6 @ B14 ) ) ) ) ).

% bij_betw_subset
thf(fact_7029_bij__betw__byWitness,axiom,
    ! [A: $tType,B: $tType,A6: set @ A,F6: B > A,F3: A > B,A16: set @ B] :
      ( ! [X3: A] :
          ( ( member @ A @ X3 @ A6 )
         => ( ( F6 @ ( F3 @ X3 ) )
            = X3 ) )
     => ( ! [X3: B] :
            ( ( member @ B @ X3 @ A16 )
           => ( ( F3 @ ( F6 @ X3 ) )
              = X3 ) )
       => ( ( ord_less_eq @ ( set @ B ) @ ( image2 @ A @ B @ F3 @ A6 ) @ A16 )
         => ( ( ord_less_eq @ ( set @ A ) @ ( image2 @ B @ A @ F6 @ A16 ) @ A6 )
           => ( bij_betw @ A @ B @ F3 @ A6 @ A16 ) ) ) ) ) ).

% bij_betw_byWitness
thf(fact_7030_Schroeder__Bernstein,axiom,
    ! [A: $tType,B: $tType,F3: A > B,A6: set @ A,B6: set @ B,G3: B > A] :
      ( ( inj_on @ A @ B @ F3 @ A6 )
     => ( ( ord_less_eq @ ( set @ B ) @ ( image2 @ A @ B @ F3 @ A6 ) @ B6 )
       => ( ( inj_on @ B @ A @ G3 @ B6 )
         => ( ( ord_less_eq @ ( set @ A ) @ ( image2 @ B @ A @ G3 @ B6 ) @ A6 )
           => ? [H2: A > B] : ( bij_betw @ A @ B @ H2 @ A6 @ B6 ) ) ) ) ) ).

% Schroeder_Bernstein
thf(fact_7031_bij__betw__comp__iff2,axiom,
    ! [C: $tType,A: $tType,B: $tType,F6: A > B,A16: set @ A,A19: set @ B,F3: C > A,A6: set @ C] :
      ( ( bij_betw @ A @ B @ F6 @ A16 @ A19 )
     => ( ( ord_less_eq @ ( set @ A ) @ ( image2 @ C @ A @ F3 @ A6 ) @ A16 )
       => ( ( bij_betw @ C @ A @ F3 @ A6 @ A16 )
          = ( bij_betw @ C @ B @ ( comp @ A @ B @ C @ F6 @ F3 ) @ A6 @ A19 ) ) ) ) ).

% bij_betw_comp_iff2
thf(fact_7032_disjnt__subset2,axiom,
    ! [A: $tType,X7: set @ A,Y7: set @ A,Z6: set @ A] :
      ( ( disjnt @ A @ X7 @ Y7 )
     => ( ( ord_less_eq @ ( set @ A ) @ Z6 @ Y7 )
       => ( disjnt @ A @ X7 @ Z6 ) ) ) ).

% disjnt_subset2
thf(fact_7033_disjnt__subset1,axiom,
    ! [A: $tType,X7: set @ A,Y7: set @ A,Z6: set @ A] :
      ( ( disjnt @ A @ X7 @ Y7 )
     => ( ( ord_less_eq @ ( set @ A ) @ Z6 @ X7 )
       => ( disjnt @ A @ Z6 @ Y7 ) ) ) ).

% disjnt_subset1
thf(fact_7034_bij__betw__partition,axiom,
    ! [A: $tType,B: $tType,F3: A > B,A6: set @ A,C5: set @ A,B6: set @ B,D5: set @ B] :
      ( ( bij_betw @ A @ B @ F3 @ ( sup_sup @ ( set @ A ) @ A6 @ C5 ) @ ( sup_sup @ ( set @ B ) @ B6 @ D5 ) )
     => ( ( bij_betw @ A @ B @ F3 @ C5 @ D5 )
       => ( ( ( inf_inf @ ( set @ A ) @ A6 @ C5 )
            = ( bot_bot @ ( set @ A ) ) )
         => ( ( ( inf_inf @ ( set @ B ) @ B6 @ D5 )
              = ( bot_bot @ ( set @ B ) ) )
           => ( bij_betw @ A @ B @ F3 @ A6 @ B6 ) ) ) ) ) ).

% bij_betw_partition
thf(fact_7035_bij__betw__combine,axiom,
    ! [A: $tType,B: $tType,F3: A > B,A6: set @ A,B6: set @ B,C5: set @ A,D5: set @ B] :
      ( ( bij_betw @ A @ B @ F3 @ A6 @ B6 )
     => ( ( bij_betw @ A @ B @ F3 @ C5 @ D5 )
       => ( ( ( inf_inf @ ( set @ B ) @ B6 @ D5 )
            = ( bot_bot @ ( set @ B ) ) )
         => ( bij_betw @ A @ B @ F3 @ ( sup_sup @ ( set @ A ) @ A6 @ C5 ) @ ( sup_sup @ ( set @ B ) @ B6 @ D5 ) ) ) ) ) ).

% bij_betw_combine
thf(fact_7036_notIn__Un__bij__betw3,axiom,
    ! [A: $tType,B: $tType,B2: A,A6: set @ A,F3: A > B,A16: set @ B] :
      ( ~ ( member @ A @ B2 @ A6 )
     => ( ~ ( member @ B @ ( F3 @ B2 ) @ A16 )
       => ( ( bij_betw @ A @ B @ F3 @ A6 @ A16 )
          = ( bij_betw @ A @ B @ F3 @ ( sup_sup @ ( set @ A ) @ A6 @ ( insert @ A @ B2 @ ( bot_bot @ ( set @ A ) ) ) ) @ ( sup_sup @ ( set @ B ) @ A16 @ ( insert @ B @ ( F3 @ B2 ) @ ( bot_bot @ ( set @ B ) ) ) ) ) ) ) ) ).

% notIn_Un_bij_betw3
thf(fact_7037_notIn__Un__bij__betw,axiom,
    ! [A: $tType,B: $tType,B2: A,A6: set @ A,F3: A > B,A16: set @ B] :
      ( ~ ( member @ A @ B2 @ A6 )
     => ( ~ ( member @ B @ ( F3 @ B2 ) @ A16 )
       => ( ( bij_betw @ A @ B @ F3 @ A6 @ A16 )
         => ( bij_betw @ A @ B @ F3 @ ( sup_sup @ ( set @ A ) @ A6 @ ( insert @ A @ B2 @ ( bot_bot @ ( set @ A ) ) ) ) @ ( sup_sup @ ( set @ B ) @ A16 @ ( insert @ B @ ( F3 @ B2 ) @ ( bot_bot @ ( set @ B ) ) ) ) ) ) ) ) ).

% notIn_Un_bij_betw
thf(fact_7038_disjnt__insert,axiom,
    ! [A: $tType,X: A,N7: set @ A,M6: set @ A] :
      ( ~ ( member @ A @ X @ N7 )
     => ( ( disjnt @ A @ M6 @ N7 )
       => ( disjnt @ A @ ( insert @ A @ X @ M6 ) @ N7 ) ) ) ).

% disjnt_insert
thf(fact_7039_prod_Oreindex__bij__betw,axiom,
    ! [B: $tType,A: $tType,C: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [H: B > C,S: set @ B,T8: set @ C,G3: C > A] :
          ( ( bij_betw @ B @ C @ H @ S @ T8 )
         => ( ( groups7121269368397514597t_prod @ B @ A
              @ ^ [X4: B] : ( G3 @ ( H @ X4 ) )
              @ S )
            = ( groups7121269368397514597t_prod @ C @ A @ G3 @ T8 ) ) ) ) ).

% prod.reindex_bij_betw
thf(fact_7040_disjnt__iff,axiom,
    ! [A: $tType] :
      ( ( disjnt @ A )
      = ( ^ [A8: set @ A,B7: set @ A] :
          ! [X4: A] :
            ~ ( ( member @ A @ X4 @ A8 )
              & ( member @ A @ X4 @ B7 ) ) ) ) ).

% disjnt_iff
thf(fact_7041_disjnt__sym,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( disjnt @ A @ A6 @ B6 )
     => ( disjnt @ A @ B6 @ A6 ) ) ).

% disjnt_sym
thf(fact_7042_bij__betwI_H,axiom,
    ! [A: $tType,B: $tType,X7: set @ A,F3: A > B,Y7: set @ B] :
      ( ! [X3: A] :
          ( ( member @ A @ X3 @ X7 )
         => ! [Y3: A] :
              ( ( member @ A @ Y3 @ X7 )
             => ( ( ( F3 @ X3 )
                  = ( F3 @ Y3 ) )
                = ( X3 = Y3 ) ) ) )
     => ( ! [X3: A] :
            ( ( member @ A @ X3 @ X7 )
           => ( member @ B @ ( F3 @ X3 ) @ Y7 ) )
       => ( ! [Y3: B] :
              ( ( member @ B @ Y3 @ Y7 )
             => ? [X6: A] :
                  ( ( member @ A @ X6 @ X7 )
                  & ( Y3
                    = ( F3 @ X6 ) ) ) )
         => ( bij_betw @ A @ B @ F3 @ X7 @ Y7 ) ) ) ) ).

% bij_betwI'
thf(fact_7043_bij__betw__funpow,axiom,
    ! [A: $tType,F3: A > A,S: set @ A,N: nat] :
      ( ( bij_betw @ A @ A @ F3 @ S @ S )
     => ( bij_betw @ A @ A @ ( compow @ ( A > A ) @ N @ F3 ) @ S @ S ) ) ).

% bij_betw_funpow
thf(fact_7044_bij__fn,axiom,
    ! [A: $tType,F3: A > A,N: nat] :
      ( ( bij_betw @ A @ A @ F3 @ ( top_top @ ( set @ A ) ) @ ( top_top @ ( set @ A ) ) )
     => ( bij_betw @ A @ A @ ( compow @ ( A > A ) @ N @ F3 ) @ ( top_top @ ( set @ A ) ) @ ( top_top @ ( set @ A ) ) ) ) ).

% bij_fn
thf(fact_7045_sum_Oreindex__bij__betw,axiom,
    ! [B: $tType,A: $tType,C: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [H: B > C,S: set @ B,T8: set @ C,G3: C > A] :
          ( ( bij_betw @ B @ C @ H @ S @ T8 )
         => ( ( groups7311177749621191930dd_sum @ B @ A
              @ ^ [X4: B] : ( G3 @ ( H @ X4 ) )
              @ S )
            = ( groups7311177749621191930dd_sum @ C @ A @ G3 @ T8 ) ) ) ) ).

% sum.reindex_bij_betw
thf(fact_7046_disjnt__def,axiom,
    ! [A: $tType] :
      ( ( disjnt @ A )
      = ( ^ [A8: set @ A,B7: set @ A] :
            ( ( inf_inf @ ( set @ A ) @ A8 @ B7 )
            = ( bot_bot @ ( set @ A ) ) ) ) ) ).

% disjnt_def
thf(fact_7047_disjnt__Sigma__iff,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,C5: A > ( set @ B ),B6: set @ A] :
      ( ( disjnt @ ( product_prod @ A @ B ) @ ( product_Sigma @ A @ B @ A6 @ C5 ) @ ( product_Sigma @ A @ B @ B6 @ C5 ) )
      = ( ! [X4: A] :
            ( ( member @ A @ X4 @ ( inf_inf @ ( set @ A ) @ A6 @ B6 ) )
           => ( ( C5 @ X4 )
              = ( bot_bot @ ( set @ B ) ) ) )
        | ( disjnt @ A @ A6 @ B6 ) ) ) ).

% disjnt_Sigma_iff
thf(fact_7048_disjnt__empty2,axiom,
    ! [A: $tType,A6: set @ A] : ( disjnt @ A @ A6 @ ( bot_bot @ ( set @ A ) ) ) ).

% disjnt_empty2
thf(fact_7049_disjnt__empty1,axiom,
    ! [A: $tType,A6: set @ A] : ( disjnt @ A @ ( bot_bot @ ( set @ A ) ) @ A6 ) ).

% disjnt_empty1
thf(fact_7050_disjoint__UN__iff,axiom,
    ! [A: $tType,B: $tType,A6: set @ A,B6: B > ( set @ A ),I5: set @ B] :
      ( ( disjnt @ A @ A6 @ ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ B6 @ I5 ) ) )
      = ( ! [X4: B] :
            ( ( member @ B @ X4 @ I5 )
           => ( disjnt @ A @ A6 @ ( B6 @ X4 ) ) ) ) ) ).

% disjoint_UN_iff
thf(fact_7051_bij__betw__disjoint__Un,axiom,
    ! [A: $tType,B: $tType,F3: A > B,A6: set @ A,C5: set @ B,G3: A > B,B6: set @ A,D5: set @ B] :
      ( ( bij_betw @ A @ B @ F3 @ A6 @ C5 )
     => ( ( bij_betw @ A @ B @ G3 @ B6 @ D5 )
       => ( ( ( inf_inf @ ( set @ A ) @ A6 @ B6 )
            = ( bot_bot @ ( set @ A ) ) )
         => ( ( ( inf_inf @ ( set @ B ) @ C5 @ D5 )
              = ( bot_bot @ ( set @ B ) ) )
           => ( bij_betw @ A @ B
              @ ^ [X4: A] : ( if @ B @ ( member @ A @ X4 @ A6 ) @ ( F3 @ X4 ) @ ( G3 @ X4 ) )
              @ ( sup_sup @ ( set @ A ) @ A6 @ B6 )
              @ ( sup_sup @ ( set @ B ) @ C5 @ D5 ) ) ) ) ) ) ).

% bij_betw_disjoint_Un
thf(fact_7052_bij__betw__UNION__chain,axiom,
    ! [B: $tType,C: $tType,A: $tType,I5: set @ A,A6: A > ( set @ B ),F3: B > C,A16: A > ( set @ C )] :
      ( ! [I3: A,J3: A] :
          ( ( member @ A @ I3 @ I5 )
         => ( ( member @ A @ J3 @ I5 )
           => ( ( ord_less_eq @ ( set @ B ) @ ( A6 @ I3 ) @ ( A6 @ J3 ) )
              | ( ord_less_eq @ ( set @ B ) @ ( A6 @ J3 ) @ ( A6 @ I3 ) ) ) ) )
     => ( ! [I3: A] :
            ( ( member @ A @ I3 @ I5 )
           => ( bij_betw @ B @ C @ F3 @ ( A6 @ I3 ) @ ( A16 @ I3 ) ) )
       => ( bij_betw @ B @ C @ F3 @ ( complete_Sup_Sup @ ( set @ B ) @ ( image2 @ A @ ( set @ B ) @ A6 @ I5 ) ) @ ( complete_Sup_Sup @ ( set @ C ) @ ( image2 @ A @ ( set @ C ) @ A16 @ I5 ) ) ) ) ) ).

% bij_betw_UNION_chain
thf(fact_7053_infinite__imp__bij__betw2,axiom,
    ! [A: $tType,A6: set @ A,A3: A] :
      ( ~ ( finite_finite2 @ A @ A6 )
     => ? [H2: A > A] : ( bij_betw @ A @ A @ H2 @ A6 @ ( sup_sup @ ( set @ A ) @ A6 @ ( insert @ A @ A3 @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ).

% infinite_imp_bij_betw2
thf(fact_7054_disjnt__ge__max,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Y7: set @ A,X7: set @ A] :
          ( ( finite_finite2 @ A @ Y7 )
         => ( ! [X3: A] :
                ( ( member @ A @ X3 @ X7 )
               => ( ord_less @ A @ ( lattic643756798349783984er_Max @ A @ Y7 ) @ X3 ) )
           => ( disjnt @ A @ X7 @ Y7 ) ) ) ) ).

% disjnt_ge_max
thf(fact_7055_vimage__subset__eq,axiom,
    ! [B: $tType,A: $tType,F3: A > B,B6: set @ B,A6: set @ A] :
      ( ( bij_betw @ A @ B @ F3 @ ( top_top @ ( set @ A ) ) @ ( top_top @ ( set @ B ) ) )
     => ( ( ord_less_eq @ ( set @ A ) @ ( vimage @ A @ B @ F3 @ B6 ) @ A6 )
        = ( ord_less_eq @ ( set @ B ) @ B6 @ ( image2 @ A @ B @ F3 @ A6 ) ) ) ) ).

% vimage_subset_eq
thf(fact_7056_sum_Oreindex__bij__betw__not__neutral,axiom,
    ! [B: $tType,A: $tType,C: $tType] :
      ( ( comm_monoid_add @ A )
     => ! [S6: set @ B,T11: set @ C,H: B > C,S: set @ B,T8: set @ C,G3: C > A] :
          ( ( finite_finite2 @ B @ S6 )
         => ( ( finite_finite2 @ C @ T11 )
           => ( ( bij_betw @ B @ C @ H @ ( minus_minus @ ( set @ B ) @ S @ S6 ) @ ( minus_minus @ ( set @ C ) @ T8 @ T11 ) )
             => ( ! [A5: B] :
                    ( ( member @ B @ A5 @ S6 )
                   => ( ( G3 @ ( H @ A5 ) )
                      = ( zero_zero @ A ) ) )
               => ( ! [B4: C] :
                      ( ( member @ C @ B4 @ T11 )
                     => ( ( G3 @ B4 )
                        = ( zero_zero @ A ) ) )
                 => ( ( groups7311177749621191930dd_sum @ B @ A
                      @ ^ [X4: B] : ( G3 @ ( H @ X4 ) )
                      @ S )
                    = ( groups7311177749621191930dd_sum @ C @ A @ G3 @ T8 ) ) ) ) ) ) ) ) ).

% sum.reindex_bij_betw_not_neutral
thf(fact_7057_prod_Oreindex__bij__betw__not__neutral,axiom,
    ! [B: $tType,A: $tType,C: $tType] :
      ( ( comm_monoid_mult @ A )
     => ! [S6: set @ B,T11: set @ C,H: B > C,S: set @ B,T8: set @ C,G3: C > A] :
          ( ( finite_finite2 @ B @ S6 )
         => ( ( finite_finite2 @ C @ T11 )
           => ( ( bij_betw @ B @ C @ H @ ( minus_minus @ ( set @ B ) @ S @ S6 ) @ ( minus_minus @ ( set @ C ) @ T8 @ T11 ) )
             => ( ! [A5: B] :
                    ( ( member @ B @ A5 @ S6 )
                   => ( ( G3 @ ( H @ A5 ) )
                      = ( one_one @ A ) ) )
               => ( ! [B4: C] :
                      ( ( member @ C @ B4 @ T11 )
                     => ( ( G3 @ B4 )
                        = ( one_one @ A ) ) )
                 => ( ( groups7121269368397514597t_prod @ B @ A
                      @ ^ [X4: B] : ( G3 @ ( H @ X4 ) )
                      @ S )
                    = ( groups7121269368397514597t_prod @ C @ A @ G3 @ T8 ) ) ) ) ) ) ) ) ).

% prod.reindex_bij_betw_not_neutral
thf(fact_7058_bij__image__INT,axiom,
    ! [B: $tType,A: $tType,C: $tType,F3: A > B,B6: C > ( set @ A ),A6: set @ C] :
      ( ( bij_betw @ A @ B @ F3 @ ( top_top @ ( set @ A ) ) @ ( top_top @ ( set @ B ) ) )
     => ( ( image2 @ A @ B @ F3 @ ( complete_Inf_Inf @ ( set @ A ) @ ( image2 @ C @ ( set @ A ) @ B6 @ A6 ) ) )
        = ( complete_Inf_Inf @ ( set @ B )
          @ ( image2 @ C @ ( set @ B )
            @ ^ [X4: C] : ( image2 @ A @ B @ F3 @ ( B6 @ X4 ) )
            @ A6 ) ) ) ) ).

% bij_image_INT
thf(fact_7059_card__Un__disjnt,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( finite_finite2 @ A @ B6 )
       => ( ( disjnt @ A @ A6 @ B6 )
         => ( ( finite_card @ A @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) )
            = ( plus_plus @ nat @ ( finite_card @ A @ A6 ) @ ( finite_card @ A @ B6 ) ) ) ) ) ) ).

% card_Un_disjnt
thf(fact_7060_sum__card__image,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,F3: A > ( set @ B )] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( pairwise @ A
          @ ^ [S5: A,T6: A] : ( disjnt @ B @ ( F3 @ S5 ) @ ( F3 @ T6 ) )
          @ A6 )
       => ( ( groups7311177749621191930dd_sum @ ( set @ B ) @ nat @ ( finite_card @ B ) @ ( image2 @ A @ ( set @ B ) @ F3 @ A6 ) )
          = ( groups7311177749621191930dd_sum @ A @ nat
            @ ^ [A7: A] : ( finite_card @ B @ ( F3 @ A7 ) )
            @ A6 ) ) ) ) ).

% sum_card_image
thf(fact_7061_effect__makeE,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [N: nat,F3: nat > A,H: heap_ext @ product_unit,H5: heap_ext @ product_unit,R3: array @ A,N2: nat] :
          ( ( heap_Time_effect @ ( array @ A ) @ ( array_make @ A @ N @ F3 ) @ H @ H5 @ R3 @ N2 )
         => ~ ( ( R3
                = ( product_fst @ ( array @ A ) @ ( heap_ext @ product_unit ) @ ( array_alloc @ A @ ( map @ nat @ A @ F3 @ ( upt @ ( zero_zero @ nat ) @ N ) ) @ H ) ) )
             => ( ( H5
                  = ( product_snd @ ( array @ A ) @ ( heap_ext @ product_unit ) @ ( array_alloc @ A @ ( map @ nat @ A @ F3 @ ( upt @ ( zero_zero @ nat ) @ N ) ) @ H ) ) )
               => ( ( ( array_get @ A @ H5 @ R3 )
                    = ( map @ nat @ A @ F3 @ ( upt @ ( zero_zero @ nat ) @ N ) ) )
                 => ( ( array_present @ A @ H5 @ R3 )
                   => ( ~ ( array_present @ A @ H @ R3 )
                     => ( ( plus_plus @ nat @ N @ ( one_one @ nat ) )
                       != N2 ) ) ) ) ) ) ) ) ).

% effect_makeE
thf(fact_7062_bij__betw__Suc,axiom,
    ! [M6: set @ nat,N7: set @ nat] :
      ( ( bij_betw @ nat @ nat @ suc @ M6 @ N7 )
      = ( ( image2 @ nat @ nat @ suc @ M6 )
        = N7 ) ) ).

% bij_betw_Suc
thf(fact_7063_bij__swap,axiom,
    ! [A: $tType,B: $tType] : ( bij_betw @ ( product_prod @ A @ B ) @ ( product_prod @ B @ A ) @ ( product_swap @ A @ B ) @ ( top_top @ ( set @ ( product_prod @ A @ B ) ) ) @ ( top_top @ ( set @ ( product_prod @ B @ A ) ) ) ) ).

% bij_swap
thf(fact_7064_pairwise__empty,axiom,
    ! [A: $tType,P2: A > A > $o] : ( pairwise @ A @ P2 @ ( bot_bot @ ( set @ A ) ) ) ).

% pairwise_empty
thf(fact_7065_pairwise__def,axiom,
    ! [A: $tType] :
      ( ( pairwise @ A )
      = ( ^ [R2: A > A > $o,S4: set @ A] :
          ! [X4: A] :
            ( ( member @ A @ X4 @ S4 )
           => ! [Y4: A] :
                ( ( member @ A @ Y4 @ S4 )
               => ( ( X4 != Y4 )
                 => ( R2 @ X4 @ Y4 ) ) ) ) ) ) ).

% pairwise_def
thf(fact_7066_pairwiseI,axiom,
    ! [A: $tType,S: set @ A,R4: A > A > $o] :
      ( ! [X3: A,Y3: A] :
          ( ( member @ A @ X3 @ S )
         => ( ( member @ A @ Y3 @ S )
           => ( ( X3 != Y3 )
             => ( R4 @ X3 @ Y3 ) ) ) )
     => ( pairwise @ A @ R4 @ S ) ) ).

% pairwiseI
thf(fact_7067_pairwiseD,axiom,
    ! [A: $tType,R4: A > A > $o,S: set @ A,X: A,Y: A] :
      ( ( pairwise @ A @ R4 @ S )
     => ( ( member @ A @ X @ S )
       => ( ( member @ A @ Y @ S )
         => ( ( X != Y )
           => ( R4 @ X @ Y ) ) ) ) ) ).

% pairwiseD
thf(fact_7068_pairwise__trivial,axiom,
    ! [A: $tType,I5: set @ A] :
      ( pairwise @ A
      @ ^ [I: A,J: A] : J != I
      @ I5 ) ).

% pairwise_trivial
thf(fact_7069_pairwise__insert,axiom,
    ! [A: $tType,R3: A > A > $o,X: A,S2: set @ A] :
      ( ( pairwise @ A @ R3 @ ( insert @ A @ X @ S2 ) )
      = ( ! [Y4: A] :
            ( ( ( member @ A @ Y4 @ S2 )
              & ( Y4 != X ) )
           => ( ( R3 @ X @ Y4 )
              & ( R3 @ Y4 @ X ) ) )
        & ( pairwise @ A @ R3 @ S2 ) ) ) ).

% pairwise_insert
thf(fact_7070_pairwise__mono,axiom,
    ! [A: $tType,P2: A > A > $o,A6: set @ A,Q2: A > A > $o,B6: set @ A] :
      ( ( pairwise @ A @ P2 @ A6 )
     => ( ! [X3: A,Y3: A] :
            ( ( P2 @ X3 @ Y3 )
           => ( Q2 @ X3 @ Y3 ) )
       => ( ( ord_less_eq @ ( set @ A ) @ B6 @ A6 )
         => ( pairwise @ A @ Q2 @ B6 ) ) ) ) ).

% pairwise_mono
thf(fact_7071_pairwise__subset,axiom,
    ! [A: $tType,P2: A > A > $o,S: set @ A,T8: set @ A] :
      ( ( pairwise @ A @ P2 @ S )
     => ( ( ord_less_eq @ ( set @ A ) @ T8 @ S )
       => ( pairwise @ A @ P2 @ T8 ) ) ) ).

% pairwise_subset
thf(fact_7072_pairwise__imageI,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,F3: A > B,P2: B > B > $o] :
      ( ! [X3: A,Y3: A] :
          ( ( member @ A @ X3 @ A6 )
         => ( ( member @ A @ Y3 @ A6 )
           => ( ( X3 != Y3 )
             => ( ( ( F3 @ X3 )
                 != ( F3 @ Y3 ) )
               => ( P2 @ ( F3 @ X3 ) @ ( F3 @ Y3 ) ) ) ) ) )
     => ( pairwise @ B @ P2 @ ( image2 @ A @ B @ F3 @ A6 ) ) ) ).

% pairwise_imageI
thf(fact_7073_pairwise__image,axiom,
    ! [A: $tType,B: $tType,R3: A > A > $o,F3: B > A,S2: set @ B] :
      ( ( pairwise @ A @ R3 @ ( image2 @ B @ A @ F3 @ S2 ) )
      = ( pairwise @ B
        @ ^ [X4: B,Y4: B] :
            ( ( ( F3 @ X4 )
             != ( F3 @ Y4 ) )
           => ( R3 @ ( F3 @ X4 ) @ ( F3 @ Y4 ) ) )
        @ S2 ) ) ).

% pairwise_image
thf(fact_7074_pairwise__singleton,axiom,
    ! [A: $tType,P2: A > A > $o,A6: A] : ( pairwise @ A @ P2 @ ( insert @ A @ A6 @ ( bot_bot @ ( set @ A ) ) ) ) ).

% pairwise_singleton
thf(fact_7075_pairwise__alt,axiom,
    ! [A: $tType] :
      ( ( pairwise @ A )
      = ( ^ [R2: A > A > $o,S4: set @ A] :
          ! [X4: A] :
            ( ( member @ A @ X4 @ S4 )
           => ! [Y4: A] :
                ( ( member @ A @ Y4 @ ( minus_minus @ ( set @ A ) @ S4 @ ( insert @ A @ X4 @ ( bot_bot @ ( set @ A ) ) ) ) )
               => ( R2 @ X4 @ Y4 ) ) ) ) ) ).

% pairwise_alt
thf(fact_7076_disjoint__image__subset,axiom,
    ! [A: $tType,A20: set @ ( set @ A ),F3: ( set @ A ) > ( set @ A )] :
      ( ( pairwise @ ( set @ A ) @ ( disjnt @ A ) @ A20 )
     => ( ! [X15: set @ A] :
            ( ( member @ ( set @ A ) @ X15 @ A20 )
           => ( ord_less_eq @ ( set @ A ) @ ( F3 @ X15 ) @ X15 ) )
       => ( pairwise @ ( set @ A ) @ ( disjnt @ A ) @ ( image2 @ ( set @ A ) @ ( set @ A ) @ F3 @ A20 ) ) ) ) ).

% disjoint_image_subset
thf(fact_7077_effect__of__listE,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [Xs: list @ A,H: heap_ext @ product_unit,H5: heap_ext @ product_unit,R3: array @ A,N2: nat] :
          ( ( heap_Time_effect @ ( array @ A ) @ ( array_of_list @ A @ Xs ) @ H @ H5 @ R3 @ N2 )
         => ~ ( ( R3
                = ( product_fst @ ( array @ A ) @ ( heap_ext @ product_unit ) @ ( array_alloc @ A @ Xs @ H ) ) )
             => ( ( H5
                  = ( product_snd @ ( array @ A ) @ ( heap_ext @ product_unit ) @ ( array_alloc @ A @ Xs @ H ) ) )
               => ( ( ( array_get @ A @ H5 @ R3 )
                    = Xs )
                 => ( ( array_present @ A @ H5 @ R3 )
                   => ( ~ ( array_present @ A @ H @ R3 )
                     => ( N2
                       != ( plus_plus @ nat @ ( one_one @ nat ) @ ( size_size @ ( list @ A ) @ Xs ) ) ) ) ) ) ) ) ) ) ).

% effect_of_listE
thf(fact_7078_effect__newE,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [N: nat,X: A,H: heap_ext @ product_unit,H5: heap_ext @ product_unit,R3: array @ A,N2: nat] :
          ( ( heap_Time_effect @ ( array @ A ) @ ( array_new @ A @ N @ X ) @ H @ H5 @ R3 @ N2 )
         => ~ ( ( R3
                = ( product_fst @ ( array @ A ) @ ( heap_ext @ product_unit ) @ ( array_alloc @ A @ ( replicate @ A @ N @ X ) @ H ) ) )
             => ( ( H5
                  = ( product_snd @ ( array @ A ) @ ( heap_ext @ product_unit ) @ ( array_alloc @ A @ ( replicate @ A @ N @ X ) @ H ) ) )
               => ( ( ( array_get @ A @ H5 @ R3 )
                    = ( replicate @ A @ N @ X ) )
                 => ( ( array_present @ A @ H5 @ R3 )
                   => ( ~ ( array_present @ A @ H @ R3 )
                     => ( ( plus_plus @ nat @ N @ ( one_one @ nat ) )
                       != N2 ) ) ) ) ) ) ) ) ).

% effect_newE
thf(fact_7079_execute__nth_I1_J,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [I2: nat,H: heap_ext @ product_unit,A3: array @ A] :
          ( ( ord_less @ nat @ I2 @ ( array_length @ A @ H @ A3 ) )
         => ( ( heap_Time_execute @ A @ ( array_nth @ A @ A3 @ I2 ) @ H )
            = ( some @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( product_Pair @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ ( nth @ A @ ( array_get @ A @ H @ A3 ) @ I2 ) @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ H @ ( one_one @ nat ) ) ) ) ) ) ) ).

% execute_nth(1)
thf(fact_7080_Array__Time_Onth__def,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ( ( array_nth @ A )
        = ( ^ [A7: array @ A,I: nat] :
              ( heap_Time_guard @ A
              @ ^ [H7: heap_ext @ product_unit] : ( ord_less @ nat @ I @ ( array_length @ A @ H7 @ A7 ) )
              @ ^ [H7: heap_ext @ product_unit] : ( product_Pair @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ ( nth @ A @ ( array_get @ A @ H7 @ A7 ) @ I ) @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ H7 @ ( one_one @ nat ) ) ) ) ) ) ) ).

% Array_Time.nth_def
thf(fact_7081_len__def,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ( ( array_len @ A )
        = ( ^ [A7: array @ A] :
              ( heap_Time_tap @ nat
              @ ^ [H7: heap_ext @ product_unit] : ( array_length @ A @ H7 @ A7 ) ) ) ) ) ).

% len_def
thf(fact_7082_success__updI,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [I2: nat,H: heap_ext @ product_unit,A3: array @ A,X: A] :
          ( ( ord_less @ nat @ I2 @ ( array_length @ A @ H @ A3 ) )
         => ( heap_Time_success @ ( array @ A ) @ ( array_upd @ A @ I2 @ X @ A3 ) @ H ) ) ) ).

% success_updI
thf(fact_7083_success__nthI,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [I2: nat,H: heap_ext @ product_unit,A3: array @ A] :
          ( ( ord_less @ nat @ I2 @ ( array_length @ A @ H @ A3 ) )
         => ( heap_Time_success @ A @ ( array_nth @ A @ A3 @ I2 ) @ H ) ) ) ).

% success_nthI
thf(fact_7084_execute__len,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [A3: array @ A,H: heap_ext @ product_unit] :
          ( ( heap_Time_execute @ nat @ ( array_len @ A @ A3 ) @ H )
          = ( some @ ( product_prod @ nat @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( product_Pair @ nat @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ ( array_length @ A @ H @ A3 ) @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ H @ ( one_one @ nat ) ) ) ) ) ) ).

% execute_len
thf(fact_7085_execute__upd_I2_J,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [H: heap_ext @ product_unit,A3: array @ A,I2: nat,X: A] :
          ( ( ord_less_eq @ nat @ ( array_length @ A @ H @ A3 ) @ I2 )
         => ( ( heap_Time_execute @ ( array @ A ) @ ( array_upd @ A @ I2 @ X @ A3 ) @ H )
            = ( none @ ( product_prod @ ( array @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) ) ) ) ).

% execute_upd(2)
thf(fact_7086_effect__freezeI,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [H5: heap_ext @ product_unit,H: heap_ext @ product_unit,R3: list @ A,A3: array @ A,N: nat] :
          ( ( H5 = H )
         => ( ( R3
              = ( array_get @ A @ H @ A3 ) )
           => ( ( N
                = ( array_length @ A @ H @ A3 ) )
             => ( heap_Time_effect @ ( list @ A ) @ ( array_freeze @ A @ A3 ) @ H @ H5 @ R3 @ ( plus_plus @ nat @ N @ ( one_one @ nat ) ) ) ) ) ) ) ).

% effect_freezeI
thf(fact_7087_effect__freezeE,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [A3: array @ A,H: heap_ext @ product_unit,H5: heap_ext @ product_unit,R3: list @ A,N: nat] :
          ( ( heap_Time_effect @ ( list @ A ) @ ( array_freeze @ A @ A3 ) @ H @ H5 @ R3 @ N )
         => ~ ( ( H5 = H )
             => ( ( R3
                  = ( array_get @ A @ H @ A3 ) )
               => ( N
                 != ( plus_plus @ nat @ ( array_length @ A @ H @ A3 ) @ ( one_one @ nat ) ) ) ) ) ) ) ).

% effect_freezeE
thf(fact_7088_execute__nth_I2_J,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [H: heap_ext @ product_unit,A3: array @ A,I2: nat] :
          ( ( ord_less_eq @ nat @ ( array_length @ A @ H @ A3 ) @ I2 )
         => ( ( heap_Time_execute @ A @ ( array_nth @ A @ A3 @ I2 ) @ H )
            = ( none @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) ) ) ) ).

% execute_nth(2)
thf(fact_7089_execute__freeze,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [A3: array @ A,H: heap_ext @ product_unit] :
          ( ( heap_Time_execute @ ( list @ A ) @ ( array_freeze @ A @ A3 ) @ H )
          = ( some @ ( product_prod @ ( list @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( product_Pair @ ( list @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ ( array_get @ A @ H @ A3 ) @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ H @ ( plus_plus @ nat @ ( one_one @ nat ) @ ( array_length @ A @ H @ A3 ) ) ) ) ) ) ) ).

% execute_freeze
thf(fact_7090_freeze__def,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ( ( array_freeze @ A )
        = ( ^ [A7: array @ A] :
              ( heap_Time_heap @ ( list @ A )
              @ ^ [H7: heap_ext @ product_unit] : ( product_Pair @ ( list @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ ( array_get @ A @ H7 @ A7 ) @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ H7 @ ( plus_plus @ nat @ ( one_one @ nat ) @ ( array_length @ A @ H7 @ A7 ) ) ) ) ) ) ) ) ).

% freeze_def
thf(fact_7091_effect__nthE,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [A3: array @ A,I2: nat,H: heap_ext @ product_unit,H5: heap_ext @ product_unit,R3: A,N: nat] :
          ( ( heap_Time_effect @ A @ ( array_nth @ A @ A3 @ I2 ) @ H @ H5 @ R3 @ N )
         => ~ ( ( ord_less @ nat @ I2 @ ( array_length @ A @ H @ A3 ) )
             => ( ( R3
                  = ( nth @ A @ ( array_get @ A @ H @ A3 ) @ I2 ) )
               => ( ( H5 = H )
                 => ( N
                   != ( one_one @ nat ) ) ) ) ) ) ) ).

% effect_nthE
thf(fact_7092_effect__nthI,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [I2: nat,H: heap_ext @ product_unit,A3: array @ A,H5: heap_ext @ product_unit,R3: A,N: nat] :
          ( ( ord_less @ nat @ I2 @ ( array_length @ A @ H @ A3 ) )
         => ( ( H5 = H )
           => ( ( R3
                = ( nth @ A @ ( array_get @ A @ H @ A3 ) @ I2 ) )
             => ( ( N
                  = ( one_one @ nat ) )
               => ( heap_Time_effect @ A @ ( array_nth @ A @ A3 @ I2 ) @ H @ H5 @ R3 @ N ) ) ) ) ) ) ).

% effect_nthI
thf(fact_7093_execute__upd_I1_J,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [I2: nat,H: heap_ext @ product_unit,A3: array @ A,X: A] :
          ( ( ord_less @ nat @ I2 @ ( array_length @ A @ H @ A3 ) )
         => ( ( heap_Time_execute @ ( array @ A ) @ ( array_upd @ A @ I2 @ X @ A3 ) @ H )
            = ( some @ ( product_prod @ ( array @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( product_Pair @ ( array @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ A3 @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ ( array_update @ A @ A3 @ I2 @ X @ H ) @ ( one_one @ nat ) ) ) ) ) ) ) ).

% execute_upd(1)
thf(fact_7094_execute__swap_I2_J,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [H: heap_ext @ product_unit,A3: array @ A,I2: nat,X: A] :
          ( ( ord_less_eq @ nat @ ( array_length @ A @ H @ A3 ) @ I2 )
         => ( ( heap_Time_execute @ A @ ( array_swap @ A @ I2 @ X @ A3 ) @ H )
            = ( none @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) ) ) ) ).

% execute_swap(2)
thf(fact_7095_effect__swapE,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [I2: nat,X: A,A3: array @ A,H: heap_ext @ product_unit,H5: heap_ext @ product_unit,R3: A,N: nat] :
          ( ( heap_Time_effect @ A @ ( array_swap @ A @ I2 @ X @ A3 ) @ H @ H5 @ R3 @ N )
         => ~ ( ( R3
                = ( nth @ A @ ( array_get @ A @ H @ A3 ) @ I2 ) )
             => ( ( H5
                  = ( array_update @ A @ A3 @ I2 @ X @ H ) )
               => ( ( ord_less @ nat @ I2 @ ( array_length @ A @ H @ A3 ) )
                 => ( N
                   != ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) ) ) ) ) ) ).

% effect_swapE
thf(fact_7096_effect__swapI,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [I2: nat,H: heap_ext @ product_unit,A3: array @ A,H5: heap_ext @ product_unit,X: A,R3: A,N: nat] :
          ( ( ord_less @ nat @ I2 @ ( array_length @ A @ H @ A3 ) )
         => ( ( H5
              = ( array_update @ A @ A3 @ I2 @ X @ H ) )
           => ( ( R3
                = ( nth @ A @ ( array_get @ A @ H @ A3 ) @ I2 ) )
             => ( ( N
                  = ( numeral_numeral @ nat @ ( bit0 @ one ) ) )
               => ( heap_Time_effect @ A @ ( array_swap @ A @ I2 @ X @ A3 ) @ H @ H5 @ R3 @ N ) ) ) ) ) ) ).

% effect_swapI
thf(fact_7097_effect__updE,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [I2: nat,V2: A,A3: array @ A,H: heap_ext @ product_unit,H5: heap_ext @ product_unit,R3: array @ A,N: nat] :
          ( ( heap_Time_effect @ ( array @ A ) @ ( array_upd @ A @ I2 @ V2 @ A3 ) @ H @ H5 @ R3 @ N )
         => ~ ( ( R3 = A3 )
             => ( ( H5
                  = ( array_update @ A @ A3 @ I2 @ V2 @ H ) )
               => ( ( ord_less @ nat @ I2 @ ( array_length @ A @ H @ A3 ) )
                 => ( N
                   != ( one_one @ nat ) ) ) ) ) ) ) ).

% effect_updE
thf(fact_7098_effect__updI,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [I2: nat,H: heap_ext @ product_unit,A3: array @ A,H5: heap_ext @ product_unit,V2: A,N: nat] :
          ( ( ord_less @ nat @ I2 @ ( array_length @ A @ H @ A3 ) )
         => ( ( H5
              = ( array_update @ A @ A3 @ I2 @ V2 @ H ) )
           => ( ( N
                = ( one_one @ nat ) )
             => ( heap_Time_effect @ ( array @ A ) @ ( array_upd @ A @ I2 @ V2 @ A3 ) @ H @ H5 @ A3 @ N ) ) ) ) ) ).

% effect_updI
thf(fact_7099_success__swapI,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [I2: nat,H: heap_ext @ product_unit,A3: array @ A,X: A] :
          ( ( ord_less @ nat @ I2 @ ( array_length @ A @ H @ A3 ) )
         => ( heap_Time_success @ A @ ( array_swap @ A @ I2 @ X @ A3 ) @ H ) ) ) ).

% success_swapI
thf(fact_7100_swap__def,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ( ( array_swap @ A )
        = ( ^ [I: nat,X4: A,A7: array @ A] :
              ( heap_Time_guard @ A
              @ ^ [H7: heap_ext @ product_unit] : ( ord_less @ nat @ I @ ( array_length @ A @ H7 @ A7 ) )
              @ ^ [H7: heap_ext @ product_unit] : ( product_Pair @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ ( nth @ A @ ( array_get @ A @ H7 @ A7 ) @ I ) @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ ( array_update @ A @ A7 @ I @ X4 @ H7 ) @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) ) ) ) ) ) ).

% swap_def
thf(fact_7101_execute__swap_I1_J,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [I2: nat,H: heap_ext @ product_unit,A3: array @ A,X: A] :
          ( ( ord_less @ nat @ I2 @ ( array_length @ A @ H @ A3 ) )
         => ( ( heap_Time_execute @ A @ ( array_swap @ A @ I2 @ X @ A3 ) @ H )
            = ( some @ ( product_prod @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( product_Pair @ A @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ ( nth @ A @ ( array_get @ A @ H @ A3 ) @ I2 ) @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ ( array_update @ A @ A3 @ I2 @ X @ H ) @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) ) ) ) ) ) ).

% execute_swap(1)
thf(fact_7102_upd__def,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ( ( array_upd @ A )
        = ( ^ [I: nat,X4: A,A7: array @ A] :
              ( heap_Time_guard @ ( array @ A )
              @ ^ [H7: heap_ext @ product_unit] : ( ord_less @ nat @ I @ ( array_length @ A @ H7 @ A7 ) )
              @ ^ [H7: heap_ext @ product_unit] : ( product_Pair @ ( array @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ A7 @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ ( array_update @ A @ A7 @ I @ X4 @ H7 ) @ ( one_one @ nat ) ) ) ) ) ) ) ).

% upd_def
thf(fact_7103_execute__map__entry_I1_J,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [I2: nat,H: heap_ext @ product_unit,A3: array @ A,F3: A > A] :
          ( ( ord_less @ nat @ I2 @ ( array_length @ A @ H @ A3 ) )
         => ( ( heap_Time_execute @ ( array @ A ) @ ( array_map_entry @ A @ I2 @ F3 @ A3 ) @ H )
            = ( some @ ( product_prod @ ( array @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) @ ( product_Pair @ ( array @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ A3 @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ ( array_update @ A @ A3 @ I2 @ ( F3 @ ( nth @ A @ ( array_get @ A @ H @ A3 ) @ I2 ) ) @ H ) @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) ) ) ) ) ) ).

% execute_map_entry(1)
thf(fact_7104_map__entry__def,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ( ( array_map_entry @ A )
        = ( ^ [I: nat,F4: A > A,A7: array @ A] :
              ( heap_Time_guard @ ( array @ A )
              @ ^ [H7: heap_ext @ product_unit] : ( ord_less @ nat @ I @ ( array_length @ A @ H7 @ A7 ) )
              @ ^ [H7: heap_ext @ product_unit] : ( product_Pair @ ( array @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ A7 @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ ( array_update @ A @ A7 @ I @ ( F4 @ ( nth @ A @ ( array_get @ A @ H7 @ A7 ) @ I ) ) @ H7 ) @ ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) ) ) ) ) ) ).

% map_entry_def
thf(fact_7105_success__map__entryI,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [I2: nat,H: heap_ext @ product_unit,A3: array @ A,F3: A > A] :
          ( ( ord_less @ nat @ I2 @ ( array_length @ A @ H @ A3 ) )
         => ( heap_Time_success @ ( array @ A ) @ ( array_map_entry @ A @ I2 @ F3 @ A3 ) @ H ) ) ) ).

% success_map_entryI
thf(fact_7106_execute__map__entry_I2_J,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [H: heap_ext @ product_unit,A3: array @ A,I2: nat,F3: A > A] :
          ( ( ord_less_eq @ nat @ ( array_length @ A @ H @ A3 ) @ I2 )
         => ( ( heap_Time_execute @ ( array @ A ) @ ( array_map_entry @ A @ I2 @ F3 @ A3 ) @ H )
            = ( none @ ( product_prod @ ( array @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) ) ) ) ) ) ).

% execute_map_entry(2)
thf(fact_7107_effect__map__entryI,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [I2: nat,H: heap_ext @ product_unit,A3: array @ A,H5: heap_ext @ product_unit,F3: A > A,R3: array @ A,N: nat] :
          ( ( ord_less @ nat @ I2 @ ( array_length @ A @ H @ A3 ) )
         => ( ( H5
              = ( array_update @ A @ A3 @ I2 @ ( F3 @ ( nth @ A @ ( array_get @ A @ H @ A3 ) @ I2 ) ) @ H ) )
           => ( ( R3 = A3 )
             => ( ( N
                  = ( numeral_numeral @ nat @ ( bit0 @ one ) ) )
               => ( heap_Time_effect @ ( array @ A ) @ ( array_map_entry @ A @ I2 @ F3 @ A3 ) @ H @ H5 @ R3 @ N ) ) ) ) ) ) ).

% effect_map_entryI
thf(fact_7108_effect__map__entryE,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [I2: nat,F3: A > A,A3: array @ A,H: heap_ext @ product_unit,H5: heap_ext @ product_unit,R3: array @ A,N: nat] :
          ( ( heap_Time_effect @ ( array @ A ) @ ( array_map_entry @ A @ I2 @ F3 @ A3 ) @ H @ H5 @ R3 @ N )
         => ~ ( ( R3 = A3 )
             => ( ( H5
                  = ( array_update @ A @ A3 @ I2 @ ( F3 @ ( nth @ A @ ( array_get @ A @ H @ A3 ) @ I2 ) ) @ H ) )
               => ( ( ord_less @ nat @ I2 @ ( array_length @ A @ H @ A3 ) )
                 => ( N
                   != ( numeral_numeral @ nat @ ( bit0 @ one ) ) ) ) ) ) ) ) ).

% effect_map_entryE
thf(fact_7109_init__seg__of__def,axiom,
    ! [A: $tType] :
      ( ( init_seg_of @ A )
      = ( collect @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) )
        @ ( product_case_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) @ $o
          @ ^ [R5: set @ ( product_prod @ A @ A ),S5: set @ ( product_prod @ A @ A )] :
              ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ R5 @ S5 )
              & ! [A7: A,B5: A,C4: A] :
                  ( ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A7 @ B5 ) @ S5 )
                    & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ B5 @ C4 ) @ R5 ) )
                 => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A7 @ B5 ) @ R5 ) ) ) ) ) ) ).

% init_seg_of_def
thf(fact_7110_sqr_Osimps_I3_J,axiom,
    ! [N: num] :
      ( ( sqr @ ( bit1 @ N ) )
      = ( bit1 @ ( bit0 @ ( plus_plus @ num @ ( sqr @ N ) @ N ) ) ) ) ).

% sqr.simps(3)
thf(fact_7111_arg__min__inj__eq,axiom,
    ! [B: $tType,A: $tType] :
      ( ( order @ B )
     => ! [F3: A > B,P2: A > $o,A3: A] :
          ( ( inj_on @ A @ B @ F3 @ ( collect @ A @ P2 ) )
         => ( ( P2 @ A3 )
           => ( ! [Y3: A] :
                  ( ( P2 @ Y3 )
                 => ( ord_less_eq @ B @ ( F3 @ A3 ) @ ( F3 @ Y3 ) ) )
             => ( ( lattices_ord_arg_min @ A @ B @ F3 @ P2 )
                = A3 ) ) ) ) ) ).

% arg_min_inj_eq
thf(fact_7112_minus__coset__filter,axiom,
    ! [A: $tType,A6: set @ A,Xs: list @ A] :
      ( ( minus_minus @ ( set @ A ) @ A6 @ ( coset @ A @ Xs ) )
      = ( set2 @ A
        @ ( filter2 @ A
          @ ^ [X4: A] : ( member @ A @ X4 @ A6 )
          @ Xs ) ) ) ).

% minus_coset_filter
thf(fact_7113_arg__min__equality,axiom,
    ! [A: $tType,C: $tType] :
      ( ( order @ A )
     => ! [P2: C > $o,K2: C,F3: C > A] :
          ( ( P2 @ K2 )
         => ( ! [X3: C] :
                ( ( P2 @ X3 )
               => ( ord_less_eq @ A @ ( F3 @ K2 ) @ ( F3 @ X3 ) ) )
           => ( ( F3 @ ( lattices_ord_arg_min @ C @ A @ F3 @ P2 ) )
              = ( F3 @ K2 ) ) ) ) ) ).

% arg_min_equality
thf(fact_7114_arg__min__nat__lemma,axiom,
    ! [A: $tType,P2: A > $o,K2: A,M: A > nat] :
      ( ( P2 @ K2 )
     => ( ( P2 @ ( lattices_ord_arg_min @ A @ nat @ M @ P2 ) )
        & ! [Y5: A] :
            ( ( P2 @ Y5 )
           => ( ord_less_eq @ nat @ ( M @ ( lattices_ord_arg_min @ A @ nat @ M @ P2 ) ) @ ( M @ Y5 ) ) ) ) ) ).

% arg_min_nat_lemma
thf(fact_7115_arg__min__nat__le,axiom,
    ! [A: $tType,P2: A > $o,X: A,M: A > nat] :
      ( ( P2 @ X )
     => ( ord_less_eq @ nat @ ( M @ ( lattices_ord_arg_min @ A @ nat @ M @ P2 ) ) @ ( M @ X ) ) ) ).

% arg_min_nat_le
thf(fact_7116_arg__minI,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ord @ B )
     => ! [P2: A > $o,X: A,F3: A > B,Q2: A > $o] :
          ( ( P2 @ X )
         => ( ! [Y3: A] :
                ( ( P2 @ Y3 )
               => ~ ( ord_less @ B @ ( F3 @ Y3 ) @ ( F3 @ X ) ) )
           => ( ! [X3: A] :
                  ( ( P2 @ X3 )
                 => ( ! [Y5: A] :
                        ( ( P2 @ Y5 )
                       => ~ ( ord_less @ B @ ( F3 @ Y5 ) @ ( F3 @ X3 ) ) )
                   => ( Q2 @ X3 ) ) )
             => ( Q2 @ ( lattices_ord_arg_min @ A @ B @ F3 @ P2 ) ) ) ) ) ) ).

% arg_minI
thf(fact_7117_subset__code_I2_J,axiom,
    ! [B: $tType,A6: set @ B,Ys3: list @ B] :
      ( ( ord_less_eq @ ( set @ B ) @ A6 @ ( coset @ B @ Ys3 ) )
      = ( ! [X4: B] :
            ( ( member @ B @ X4 @ ( set2 @ B @ Ys3 ) )
           => ~ ( member @ B @ X4 @ A6 ) ) ) ) ).

% subset_code(2)
thf(fact_7118_union__coset__filter,axiom,
    ! [A: $tType,Xs: list @ A,A6: set @ A] :
      ( ( sup_sup @ ( set @ A ) @ ( coset @ A @ Xs ) @ A6 )
      = ( coset @ A
        @ ( filter2 @ A
          @ ^ [X4: A] :
              ~ ( member @ A @ X4 @ A6 )
          @ Xs ) ) ) ).

% union_coset_filter
thf(fact_7119_arg__min__on__def,axiom,
    ! [A: $tType,B: $tType] :
      ( ( ord @ A )
     => ( ( lattic7623131987881927897min_on @ B @ A )
        = ( ^ [F4: B > A,S4: set @ B] :
              ( lattices_ord_arg_min @ B @ A @ F4
              @ ^ [X4: B] : ( member @ B @ X4 @ S4 ) ) ) ) ) ).

% arg_min_on_def
thf(fact_7120_subset__code_I3_J,axiom,
    ! [C: $tType] :
      ~ ( ord_less_eq @ ( set @ C ) @ ( coset @ C @ ( nil @ C ) ) @ ( set2 @ C @ ( nil @ C ) ) ) ).

% subset_code(3)
thf(fact_7121_listrel__subset,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ A] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ R3
        @ ( product_Sigma @ A @ A @ A6
          @ ^ [Uu2: A] : A6 ) )
     => ( ord_less_eq @ ( set @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) ) @ ( listrel @ A @ A @ R3 )
        @ ( product_Sigma @ ( list @ A ) @ ( list @ A ) @ ( lists @ A @ A6 )
          @ ^ [Uu2: list @ A] : ( lists @ A @ A6 ) ) ) ) ).

% listrel_subset
thf(fact_7122_multiset_Odomain,axiom,
    ! [B: $tType,C: $tType,T8: C > B > $o] :
      ( ( domainp @ ( C > nat ) @ ( multiset @ B ) @ ( pcr_multiset @ C @ B @ T8 ) )
      = ( ^ [X4: C > nat] :
          ? [Y4: B > nat] :
            ( ( bNF_rel_fun @ C @ B @ nat @ nat @ T8
              @ ^ [Y6: nat,Z5: nat] : Y6 = Z5
              @ X4
              @ Y4 )
            & ( finite_finite2 @ B
              @ ( collect @ B
                @ ^ [Z2: B] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( Y4 @ Z2 ) ) ) ) ) ) ) ).

% multiset.domain
thf(fact_7123_arg__min__natI,axiom,
    ! [A: $tType,P2: A > $o,K2: A,M: A > nat] :
      ( ( P2 @ K2 )
     => ( P2 @ ( lattices_ord_arg_min @ A @ nat @ M @ P2 ) ) ) ).

% arg_min_natI
thf(fact_7124_lists__eq__set,axiom,
    ! [A: $tType] :
      ( ( lists @ A )
      = ( ^ [A8: set @ A] :
            ( collect @ ( list @ A )
            @ ^ [Xs3: list @ A] : ( ord_less_eq @ ( set @ A ) @ ( set2 @ A @ Xs3 ) @ A8 ) ) ) ) ).

% lists_eq_set
thf(fact_7125_lists__image__witness,axiom,
    ! [A: $tType,B: $tType,X: list @ A,F3: B > A,Q2: set @ B] :
      ( ( member @ ( list @ A ) @ X @ ( lists @ A @ ( image2 @ B @ A @ F3 @ Q2 ) ) )
     => ~ ! [Xo2: list @ B] :
            ( ( member @ ( list @ B ) @ Xo2 @ ( lists @ B @ Q2 ) )
           => ( X
             != ( map @ B @ A @ F3 @ Xo2 ) ) ) ) ).

% lists_image_witness
thf(fact_7126_lists__mono,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
     => ( ord_less_eq @ ( set @ ( list @ A ) ) @ ( lists @ A @ A6 ) @ ( lists @ A @ B6 ) ) ) ).

% lists_mono
thf(fact_7127_lists__of__len__fin1,axiom,
    ! [A: $tType,P2: set @ A,N: nat] :
      ( ( finite_finite2 @ A @ P2 )
     => ( finite_finite2 @ ( list @ A )
        @ ( inf_inf @ ( set @ ( list @ A ) ) @ ( lists @ A @ P2 )
          @ ( collect @ ( list @ A )
            @ ^ [L2: list @ A] :
                ( ( size_size @ ( list @ A ) @ L2 )
                = N ) ) ) ) ) ).

% lists_of_len_fin1
thf(fact_7128_lists__of__len__fin2,axiom,
    ! [A: $tType,P2: set @ A,N: nat] :
      ( ( finite_finite2 @ A @ P2 )
     => ( finite_finite2 @ ( list @ A )
        @ ( inf_inf @ ( set @ ( list @ A ) ) @ ( lists @ A @ P2 )
          @ ( collect @ ( list @ A )
            @ ^ [L2: list @ A] :
                ( N
                = ( size_size @ ( list @ A ) @ L2 ) ) ) ) ) ) ).

% lists_of_len_fin2
thf(fact_7129_multiset_Odomain__eq,axiom,
    ! [A: $tType] :
      ( ( domainp @ ( A > nat ) @ ( multiset @ A )
        @ ( pcr_multiset @ A @ A
          @ ^ [Y6: A,Z5: A] : Y6 = Z5 ) )
      = ( ^ [F4: A > nat] :
            ( finite_finite2 @ A
            @ ( collect @ A
              @ ^ [X4: A] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( F4 @ X4 ) ) ) ) ) ) ).

% multiset.domain_eq
thf(fact_7130_multiset_Odomain__par__left__total,axiom,
    ! [B: $tType,C: $tType,T8: C > B > $o,P6: ( C > nat ) > $o] :
      ( ( left_total @ ( C > nat ) @ ( B > nat )
        @ ( bNF_rel_fun @ C @ B @ nat @ nat @ T8
          @ ^ [Y6: nat,Z5: nat] : Y6 = Z5 ) )
     => ( ( bNF_rel_fun @ ( C > nat ) @ ( B > nat ) @ $o @ $o
          @ ( bNF_rel_fun @ C @ B @ nat @ nat @ T8
            @ ^ [Y6: nat,Z5: nat] : Y6 = Z5 )
          @ ^ [Y6: $o,Z5: $o] : Y6 = Z5
          @ P6
          @ ^ [F4: B > nat] :
              ( finite_finite2 @ B
              @ ( collect @ B
                @ ^ [X4: B] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( F4 @ X4 ) ) ) ) )
       => ( ( domainp @ ( C > nat ) @ ( multiset @ B ) @ ( pcr_multiset @ C @ B @ T8 ) )
          = P6 ) ) ) ).

% multiset.domain_par_left_total
thf(fact_7131_boolean__algebra_Oabstract__boolean__algebra__axioms,axiom,
    ! [A: $tType] :
      ( ( boolea8198339166811842893lgebra @ A )
     => ( boolea2506097494486148201lgebra @ A @ ( inf_inf @ A ) @ ( sup_sup @ A ) @ ( uminus_uminus @ A ) @ ( bot_bot @ A ) @ ( top_top @ A ) ) ) ).

% boolean_algebra.abstract_boolean_algebra_axioms
thf(fact_7132_multiset_Odomain__par,axiom,
    ! [B: $tType,C: $tType,T8: C > B > $o,DT: C > $o,DS: nat > $o,P23: ( C > nat ) > $o] :
      ( ( ( domainp @ C @ B @ T8 )
        = DT )
     => ( ( ( domainp @ nat @ nat
            @ ^ [Y6: nat,Z5: nat] : Y6 = Z5 )
          = DS )
       => ( ( left_unique @ C @ B @ T8 )
         => ( ( bNF_rel_fun @ ( C > nat ) @ ( B > nat ) @ $o @ $o
              @ ( bNF_rel_fun @ C @ B @ nat @ nat @ T8
                @ ^ [Y6: nat,Z5: nat] : Y6 = Z5 )
              @ ^ [Y6: $o,Z5: $o] : Y6 = Z5
              @ P23
              @ ^ [F4: B > nat] :
                  ( finite_finite2 @ B
                  @ ( collect @ B
                    @ ^ [X4: B] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( F4 @ X4 ) ) ) ) )
           => ( ( domainp @ ( C > nat ) @ ( multiset @ B ) @ ( pcr_multiset @ C @ B @ T8 ) )
              = ( inf_inf @ ( ( C > nat ) > $o ) @ ( basic_pred_fun @ C @ nat @ DT @ DS ) @ P23 ) ) ) ) ) ) ).

% multiset.domain_par
thf(fact_7133_mono__transfer,axiom,
    ! [A: $tType,C: $tType,D: $tType,B: $tType] :
      ( ( ( order @ B )
        & ( order @ D )
        & ( order @ C )
        & ( order @ A ) )
     => ! [A6: A > B > $o,B6: C > D > $o] :
          ( ( bi_total @ A @ B @ A6 )
         => ( ( bNF_rel_fun @ A @ B @ ( A > $o ) @ ( B > $o ) @ A6
              @ ( bNF_rel_fun @ A @ B @ $o @ $o @ A6
                @ ^ [Y6: $o,Z5: $o] : Y6 = Z5 )
              @ ( ord_less_eq @ A )
              @ ( ord_less_eq @ B ) )
           => ( ( bNF_rel_fun @ C @ D @ ( C > $o ) @ ( D > $o ) @ B6
                @ ( bNF_rel_fun @ C @ D @ $o @ $o @ B6
                  @ ^ [Y6: $o,Z5: $o] : Y6 = Z5 )
                @ ( ord_less_eq @ C )
                @ ( ord_less_eq @ D ) )
             => ( bNF_rel_fun @ ( A > C ) @ ( B > D ) @ $o @ $o @ ( bNF_rel_fun @ A @ B @ C @ D @ A6 @ B6 )
                @ ^ [Y6: $o,Z5: $o] : Y6 = Z5
                @ ( order_mono @ A @ C )
                @ ( order_mono @ B @ D ) ) ) ) ) ) ).

% mono_transfer
thf(fact_7134_fun_Opred__True,axiom,
    ! [A: $tType,D: $tType] :
      ( ( basic_pred_fun @ D @ A
        @ ^ [Uu2: D] : $true
        @ ^ [Uu2: A] : $true )
      = ( ^ [Uu2: D > A] : $true ) ) ).

% fun.pred_True
thf(fact_7135_pred__fun__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( basic_pred_fun @ A @ B )
      = ( ^ [A8: A > $o,B7: B > $o,F4: A > B] :
          ! [X4: A] :
            ( ( A8 @ X4 )
           => ( B7 @ ( F4 @ X4 ) ) ) ) ) ).

% pred_fun_def
thf(fact_7136_fun_Opred__mono,axiom,
    ! [D: $tType,A: $tType,P2: A > $o,Pa: A > $o] :
      ( ( ord_less_eq @ ( A > $o ) @ P2 @ Pa )
     => ( ord_less_eq @ ( ( D > A ) > $o )
        @ ( basic_pred_fun @ D @ A
          @ ^ [Uu2: D] : $true
          @ P2 )
        @ ( basic_pred_fun @ D @ A
          @ ^ [Uu2: D] : $true
          @ Pa ) ) ) ).

% fun.pred_mono
thf(fact_7137_typedef__left__unique,axiom,
    ! [B: $tType,A: $tType,Rep: B > A,Abs: A > B,A6: set @ A,T8: A > B > $o] :
      ( ( type_definition @ B @ A @ Rep @ Abs @ A6 )
     => ( ( T8
          = ( ^ [X4: A,Y4: B] :
                ( X4
                = ( Rep @ Y4 ) ) ) )
       => ( left_unique @ A @ B @ T8 ) ) ) ).

% typedef_left_unique
thf(fact_7138_fun_Omap__cong__pred,axiom,
    ! [B: $tType,A: $tType,D: $tType,X: D > A,Ya: D > A,F3: A > B,G3: A > B] :
      ( ( X = Ya )
     => ( ( basic_pred_fun @ D @ A
          @ ^ [Uu2: D] : $true
          @ ^ [Z2: A] :
              ( ( F3 @ Z2 )
              = ( G3 @ Z2 ) )
          @ Ya )
       => ( ( comp @ A @ B @ D @ F3 @ X )
          = ( comp @ A @ B @ D @ G3 @ Ya ) ) ) ) ).

% fun.map_cong_pred
thf(fact_7139_pred__fun__True__id,axiom,
    ! [A: $tType,B: $tType,C: $tType,P3: B > $o,F3: C > B] :
      ( ( nO_MATCH @ ( A > A ) @ ( B > $o ) @ ( id @ A ) @ P3 )
     => ( ( basic_pred_fun @ C @ B
          @ ^ [X4: C] : $true
          @ P3
          @ F3 )
        = ( basic_pred_fun @ C @ $o
          @ ^ [X4: C] : $true
          @ ( id @ $o )
          @ ( comp @ B @ $o @ C @ P3 @ F3 ) ) ) ) ).

% pred_fun_True_id
thf(fact_7140_fun_Opred__cong,axiom,
    ! [A: $tType,D: $tType,X: D > A,Ya: D > A,P2: A > $o,Pa: A > $o] :
      ( ( X = Ya )
     => ( ! [Z3: A] :
            ( ( member @ A @ Z3 @ ( image2 @ D @ A @ Ya @ ( top_top @ ( set @ D ) ) ) )
           => ( ( P2 @ Z3 )
              = ( Pa @ Z3 ) ) )
       => ( ( basic_pred_fun @ D @ A
            @ ^ [Uu2: D] : $true
            @ P2
            @ X )
          = ( basic_pred_fun @ D @ A
            @ ^ [Uu2: D] : $true
            @ Pa
            @ Ya ) ) ) ) ).

% fun.pred_cong
thf(fact_7141_fun_Opred__mono__strong,axiom,
    ! [A: $tType,D: $tType,P2: A > $o,X: D > A,Pa: A > $o] :
      ( ( basic_pred_fun @ D @ A
        @ ^ [Uu2: D] : $true
        @ P2
        @ X )
     => ( ! [Z3: A] :
            ( ( member @ A @ Z3 @ ( image2 @ D @ A @ X @ ( top_top @ ( set @ D ) ) ) )
           => ( ( P2 @ Z3 )
             => ( Pa @ Z3 ) ) )
       => ( basic_pred_fun @ D @ A
          @ ^ [Uu2: D] : $true
          @ Pa
          @ X ) ) ) ).

% fun.pred_mono_strong
thf(fact_7142_fun_Opred__rel,axiom,
    ! [A: $tType,D: $tType,P2: A > $o,X: D > A] :
      ( ( basic_pred_fun @ D @ A
        @ ^ [Uu2: D] : $true
        @ P2
        @ X )
      = ( bNF_rel_fun @ D @ D @ A @ A
        @ ^ [Y6: D,Z5: D] : Y6 = Z5
        @ ( bNF_eq_onp @ A @ P2 )
        @ X
        @ X ) ) ).

% fun.pred_rel
thf(fact_7143_fun_ODomainp__rel,axiom,
    ! [C: $tType,B: $tType,A: $tType,R4: A > B > $o] :
      ( ( domainp @ ( C > A ) @ ( C > B )
        @ ( bNF_rel_fun @ C @ C @ A @ B
          @ ^ [Y6: C,Z5: C] : Y6 = Z5
          @ R4 ) )
      = ( basic_pred_fun @ C @ A
        @ ^ [Uu2: C] : $true
        @ ( domainp @ A @ B @ R4 ) ) ) ).

% fun.Domainp_rel
thf(fact_7144_fun_Opred__map,axiom,
    ! [B: $tType,A: $tType,D: $tType,Q2: B > $o,F3: A > B,X: D > A] :
      ( ( basic_pred_fun @ D @ B
        @ ^ [Uu2: D] : $true
        @ Q2
        @ ( comp @ A @ B @ D @ F3 @ X ) )
      = ( basic_pred_fun @ D @ A
        @ ^ [Uu2: D] : $true
        @ ( comp @ B @ $o @ A @ Q2 @ F3 )
        @ X ) ) ).

% fun.pred_map
thf(fact_7145_fun_Opred__set,axiom,
    ! [A: $tType,D: $tType,P2: A > $o] :
      ( ( basic_pred_fun @ D @ A
        @ ^ [Uu2: D] : $true
        @ P2 )
      = ( ^ [X4: D > A] :
          ! [Y4: A] :
            ( ( member @ A @ Y4 @ ( image2 @ D @ A @ X4 @ ( top_top @ ( set @ D ) ) ) )
           => ( P2 @ Y4 ) ) ) ) ).

% fun.pred_set
thf(fact_7146_fun_Opred__transfer,axiom,
    ! [A: $tType,B: $tType,D: $tType,R4: A > B > $o] :
      ( bNF_rel_fun @ ( A > $o ) @ ( B > $o ) @ ( ( D > A ) > $o ) @ ( ( D > B ) > $o )
      @ ( bNF_rel_fun @ A @ B @ $o @ $o @ R4
        @ ^ [Y6: $o,Z5: $o] : Y6 = Z5 )
      @ ( bNF_rel_fun @ ( D > A ) @ ( D > B ) @ $o @ $o
        @ ( bNF_rel_fun @ D @ D @ A @ B
          @ ^ [Y6: D,Z5: D] : Y6 = Z5
          @ R4 )
        @ ^ [Y6: $o,Z5: $o] : Y6 = Z5 )
      @ ( basic_pred_fun @ D @ A
        @ ^ [Uu2: D] : $true )
      @ ( basic_pred_fun @ D @ B
        @ ^ [Uu2: D] : $true ) ) ).

% fun.pred_transfer
thf(fact_7147_fun_Orel__eq__onp,axiom,
    ! [D: $tType,A: $tType,P2: A > $o] :
      ( ( bNF_rel_fun @ D @ D @ A @ A
        @ ^ [Y6: D,Z5: D] : Y6 = Z5
        @ ( bNF_eq_onp @ A @ P2 ) )
      = ( bNF_eq_onp @ ( D > A )
        @ ( basic_pred_fun @ D @ A
          @ ^ [Uu2: D] : $true
          @ P2 ) ) ) ).

% fun.rel_eq_onp
thf(fact_7148_Inter__transfer,axiom,
    ! [A: $tType,B: $tType,A6: A > B > $o] :
      ( ( bi_unique @ A @ B @ A6 )
     => ( ( bi_total @ A @ B @ A6 )
       => ( bNF_rel_fun @ ( set @ ( set @ A ) ) @ ( set @ ( set @ B ) ) @ ( set @ A ) @ ( set @ B ) @ ( bNF_rel_set @ ( set @ A ) @ ( set @ B ) @ ( bNF_rel_set @ A @ B @ A6 ) ) @ ( bNF_rel_set @ A @ B @ A6 ) @ ( complete_Inf_Inf @ ( set @ A ) ) @ ( complete_Inf_Inf @ ( set @ B ) ) ) ) ) ).

% Inter_transfer
thf(fact_7149_Rep__unit,axiom,
    ! [X: product_unit] : ( member @ $o @ ( product_Rep_unit @ X ) @ ( insert @ $o @ $true @ ( bot_bot @ ( set @ $o ) ) ) ) ).

% Rep_unit
thf(fact_7150_strict__subset__transfer,axiom,
    ! [A: $tType,B: $tType,A6: A > B > $o] :
      ( ( bi_unique @ A @ B @ A6 )
     => ( bNF_rel_fun @ ( set @ A ) @ ( set @ B ) @ ( ( set @ A ) > $o ) @ ( ( set @ B ) > $o ) @ ( bNF_rel_set @ A @ B @ A6 )
        @ ( bNF_rel_fun @ ( set @ A ) @ ( set @ B ) @ $o @ $o @ ( bNF_rel_set @ A @ B @ A6 )
          @ ^ [Y6: $o,Z5: $o] : Y6 = Z5 )
        @ ( ord_less @ ( set @ A ) )
        @ ( ord_less @ ( set @ B ) ) ) ) ).

% strict_subset_transfer
thf(fact_7151_subset__transfer,axiom,
    ! [A: $tType,B: $tType,A6: A > B > $o] :
      ( ( bi_unique @ A @ B @ A6 )
     => ( bNF_rel_fun @ ( set @ A ) @ ( set @ B ) @ ( ( set @ A ) > $o ) @ ( ( set @ B ) > $o ) @ ( bNF_rel_set @ A @ B @ A6 )
        @ ( bNF_rel_fun @ ( set @ A ) @ ( set @ B ) @ $o @ $o @ ( bNF_rel_set @ A @ B @ A6 )
          @ ^ [Y6: $o,Z5: $o] : Y6 = Z5 )
        @ ( ord_less_eq @ ( set @ A ) )
        @ ( ord_less_eq @ ( set @ B ) ) ) ) ).

% subset_transfer
thf(fact_7152_typedef__bi__unique,axiom,
    ! [B: $tType,A: $tType,Rep: B > A,Abs: A > B,A6: set @ A,T8: A > B > $o] :
      ( ( type_definition @ B @ A @ Rep @ Abs @ A6 )
     => ( ( T8
          = ( ^ [X4: A,Y4: B] :
                ( X4
                = ( Rep @ Y4 ) ) ) )
       => ( bi_unique @ A @ B @ T8 ) ) ) ).

% typedef_bi_unique
thf(fact_7153_Rep__unit__inject,axiom,
    ! [X: product_unit,Y: product_unit] :
      ( ( ( product_Rep_unit @ X )
        = ( product_Rep_unit @ Y ) )
      = ( X = Y ) ) ).

% Rep_unit_inject
thf(fact_7154_Rep__unit__induct,axiom,
    ! [Y: $o,P2: $o > $o] :
      ( ( member @ $o @ Y @ ( insert @ $o @ $true @ ( bot_bot @ ( set @ $o ) ) ) )
     => ( ! [X3: product_unit] : ( P2 @ ( product_Rep_unit @ X3 ) )
       => ( P2 @ Y ) ) ) ).

% Rep_unit_induct
thf(fact_7155_Rep__unit__cases,axiom,
    ! [Y: $o] :
      ( ( member @ $o @ Y @ ( insert @ $o @ $true @ ( bot_bot @ ( set @ $o ) ) ) )
     => ~ ! [X3: product_unit] :
            ( Y
            = ( ~ ( product_Rep_unit @ X3 ) ) ) ) ).

% Rep_unit_cases
thf(fact_7156_right__total__Inter__transfer,axiom,
    ! [A: $tType,B: $tType,A6: A > B > $o] :
      ( ( bi_unique @ A @ B @ A6 )
     => ( ( right_total @ A @ B @ A6 )
       => ( bNF_rel_fun @ ( set @ ( set @ A ) ) @ ( set @ ( set @ B ) ) @ ( set @ A ) @ ( set @ B ) @ ( bNF_rel_set @ ( set @ A ) @ ( set @ B ) @ ( bNF_rel_set @ A @ B @ A6 ) ) @ ( bNF_rel_set @ A @ B @ A6 )
          @ ^ [S4: set @ ( set @ A )] : ( inf_inf @ ( set @ A ) @ ( complete_Inf_Inf @ ( set @ A ) @ S4 ) @ ( collect @ A @ ( domainp @ A @ B @ A6 ) ) )
          @ ( complete_Inf_Inf @ ( set @ B ) ) ) ) ) ).

% right_total_Inter_transfer
thf(fact_7157_type__definition__unit,axiom,
    type_definition @ product_unit @ $o @ product_Rep_unit @ product_Abs_unit @ ( insert @ $o @ $true @ ( bot_bot @ ( set @ $o ) ) ) ).

% type_definition_unit
thf(fact_7158_Unity__def,axiom,
    ( product_Unity
    = ( product_Abs_unit @ $true ) ) ).

% Unity_def
thf(fact_7159_typedef__right__total,axiom,
    ! [B: $tType,A: $tType,Rep: B > A,Abs: A > B,A6: set @ A,T8: A > B > $o] :
      ( ( type_definition @ B @ A @ Rep @ Abs @ A6 )
     => ( ( T8
          = ( ^ [X4: A,Y4: B] :
                ( X4
                = ( Rep @ Y4 ) ) ) )
       => ( right_total @ A @ B @ T8 ) ) ) ).

% typedef_right_total
thf(fact_7160_Rep__unit__inverse,axiom,
    ! [X: product_unit] :
      ( ( product_Abs_unit @ ( product_Rep_unit @ X ) )
      = X ) ).

% Rep_unit_inverse
thf(fact_7161_right__total__Collect__transfer,axiom,
    ! [A: $tType,B: $tType,A6: A > B > $o] :
      ( ( right_total @ A @ B @ A6 )
     => ( bNF_rel_fun @ ( A > $o ) @ ( B > $o ) @ ( set @ A ) @ ( set @ B )
        @ ( bNF_rel_fun @ A @ B @ $o @ $o @ A6
          @ ^ [Y6: $o,Z5: $o] : Y6 = Z5 )
        @ ( bNF_rel_set @ A @ B @ A6 )
        @ ^ [P5: A > $o] :
            ( collect @ A
            @ ^ [X4: A] :
                ( ( P5 @ X4 )
                & ( domainp @ A @ B @ A6 @ X4 ) ) )
        @ ( collect @ B ) ) ) ).

% right_total_Collect_transfer
thf(fact_7162_right__total__Domainp__transfer,axiom,
    ! [C: $tType,A: $tType,B: $tType,D: $tType,B6: A > B > $o,A6: C > D > $o] :
      ( ( right_total @ A @ B @ B6 )
     => ( bNF_rel_fun @ ( C > A > $o ) @ ( D > B > $o ) @ ( C > $o ) @ ( D > $o )
        @ ( bNF_rel_fun @ C @ D @ ( A > $o ) @ ( B > $o ) @ A6
          @ ( bNF_rel_fun @ A @ B @ $o @ $o @ B6
            @ ^ [Y6: $o,Z5: $o] : Y6 = Z5 ) )
        @ ( bNF_rel_fun @ C @ D @ $o @ $o @ A6
          @ ^ [Y6: $o,Z5: $o] : Y6 = Z5 )
        @ ^ [T10: C > A > $o,X4: C] :
          ? [Y4: A] :
            ( ( member @ A @ Y4 @ ( collect @ A @ ( domainp @ A @ B @ B6 ) ) )
            & ( T10 @ X4 @ Y4 ) )
        @ ( domainp @ D @ B ) ) ) ).

% right_total_Domainp_transfer
thf(fact_7163_Abs__unit__cases,axiom,
    ! [X: product_unit] :
      ~ ! [Y3: $o] :
          ( ( X
            = ( product_Abs_unit @ Y3 ) )
         => ~ ( member @ $o @ Y3 @ ( insert @ $o @ $true @ ( bot_bot @ ( set @ $o ) ) ) ) ) ).

% Abs_unit_cases
thf(fact_7164_Abs__unit__induct,axiom,
    ! [P2: product_unit > $o,X: product_unit] :
      ( ! [Y3: $o] :
          ( ( member @ $o @ Y3 @ ( insert @ $o @ $true @ ( bot_bot @ ( set @ $o ) ) ) )
         => ( P2 @ ( product_Abs_unit @ Y3 ) ) )
     => ( P2 @ X ) ) ).

% Abs_unit_induct
thf(fact_7165_Abs__unit__inject,axiom,
    ! [X: $o,Y: $o] :
      ( ( member @ $o @ X @ ( insert @ $o @ $true @ ( bot_bot @ ( set @ $o ) ) ) )
     => ( ( member @ $o @ Y @ ( insert @ $o @ $true @ ( bot_bot @ ( set @ $o ) ) ) )
       => ( ( ( product_Abs_unit @ X )
            = ( product_Abs_unit @ Y ) )
          = ( X = Y ) ) ) ) ).

% Abs_unit_inject
thf(fact_7166_right__total__Compl__transfer,axiom,
    ! [A: $tType,B: $tType,A6: A > B > $o] :
      ( ( bi_unique @ A @ B @ A6 )
     => ( ( right_total @ A @ B @ A6 )
       => ( bNF_rel_fun @ ( set @ A ) @ ( set @ B ) @ ( set @ A ) @ ( set @ B ) @ ( bNF_rel_set @ A @ B @ A6 ) @ ( bNF_rel_set @ A @ B @ A6 )
          @ ^ [S4: set @ A] : ( inf_inf @ ( set @ A ) @ ( uminus_uminus @ ( set @ A ) @ S4 ) @ ( collect @ A @ ( domainp @ A @ B @ A6 ) ) )
          @ ( uminus_uminus @ ( set @ B ) ) ) ) ) ).

% right_total_Compl_transfer
thf(fact_7167_right__total__fun__eq__transfer,axiom,
    ! [A: $tType,C: $tType,D: $tType,B: $tType,A6: A > B > $o,B6: C > D > $o] :
      ( ( right_total @ A @ B @ A6 )
     => ( ( bi_unique @ C @ D @ B6 )
       => ( bNF_rel_fun @ ( A > C ) @ ( B > D ) @ ( ( A > C ) > $o ) @ ( ( B > D ) > $o ) @ ( bNF_rel_fun @ A @ B @ C @ D @ A6 @ B6 )
          @ ( bNF_rel_fun @ ( A > C ) @ ( B > D ) @ $o @ $o @ ( bNF_rel_fun @ A @ B @ C @ D @ A6 @ B6 )
            @ ^ [Y6: $o,Z5: $o] : Y6 = Z5 )
          @ ^ [F4: A > C,G4: A > C] :
            ! [X4: A] :
              ( ( member @ A @ X4 @ ( collect @ A @ ( domainp @ A @ B @ A6 ) ) )
             => ( ( F4 @ X4 )
                = ( G4 @ X4 ) ) )
          @ ^ [Y6: B > D,Z5: B > D] : Y6 = Z5 ) ) ) ).

% right_total_fun_eq_transfer
thf(fact_7168_vimage__right__total__transfer,axiom,
    ! [C: $tType,A: $tType,B: $tType,D: $tType,B6: A > B > $o,A6: C > D > $o] :
      ( ( bi_unique @ A @ B @ B6 )
     => ( ( right_total @ C @ D @ A6 )
       => ( bNF_rel_fun @ ( C > A ) @ ( D > B ) @ ( ( set @ A ) > ( set @ C ) ) @ ( ( set @ B ) > ( set @ D ) ) @ ( bNF_rel_fun @ C @ D @ A @ B @ A6 @ B6 ) @ ( bNF_rel_fun @ ( set @ A ) @ ( set @ B ) @ ( set @ C ) @ ( set @ D ) @ ( bNF_rel_set @ A @ B @ B6 ) @ ( bNF_rel_set @ C @ D @ A6 ) )
          @ ^ [F4: C > A,X11: set @ A] : ( inf_inf @ ( set @ C ) @ ( vimage @ C @ A @ F4 @ X11 ) @ ( collect @ C @ ( domainp @ C @ D @ A6 ) ) )
          @ ( vimage @ D @ B ) ) ) ) ).

% vimage_right_total_transfer
thf(fact_7169_Abs__unit__inverse,axiom,
    ! [Y: $o] :
      ( ( member @ $o @ Y @ ( insert @ $o @ $true @ ( bot_bot @ ( set @ $o ) ) ) )
     => ( ( product_Rep_unit @ ( product_Abs_unit @ Y ) )
        = Y ) ) ).

% Abs_unit_inverse
thf(fact_7170_in__measures_I2_J,axiom,
    ! [A: $tType,X: A,Y: A,F3: A > nat,Fs: list @ ( A > nat )] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ ( measures @ A @ ( cons @ ( A > nat ) @ F3 @ Fs ) ) )
      = ( ( ord_less @ nat @ ( F3 @ X ) @ ( F3 @ Y ) )
        | ( ( ( F3 @ X )
            = ( F3 @ Y ) )
          & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ ( measures @ A @ Fs ) ) ) ) ) ).

% in_measures(2)
thf(fact_7171_select__def,axiom,
    ! [A: $tType] :
      ( ( select @ A )
      = ( ^ [Xs3: list @ A] :
            ( product_scomp @ ( product_prod @ code_natural @ code_natural ) @ code_natural @ ( product_prod @ code_natural @ code_natural ) @ ( product_prod @ A @ ( product_prod @ code_natural @ code_natural ) ) @ ( range @ ( code_natural_of_nat @ ( size_size @ ( list @ A ) @ Xs3 ) ) )
            @ ^ [K3: code_natural] : ( product_Pair @ A @ ( product_prod @ code_natural @ code_natural ) @ ( nth @ A @ Xs3 @ ( code_nat_of_natural @ K3 ) ) ) ) ) ) ).

% select_def
thf(fact_7172_in__measures_I1_J,axiom,
    ! [A: $tType,X: A,Y: A] :
      ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ ( measures @ A @ ( nil @ ( A > nat ) ) ) ) ).

% in_measures(1)
thf(fact_7173_plus__natural_Orep__eq,axiom,
    ! [X: code_natural,Xa: code_natural] :
      ( ( code_nat_of_natural @ ( plus_plus @ code_natural @ X @ Xa ) )
      = ( plus_plus @ nat @ ( code_nat_of_natural @ X ) @ ( code_nat_of_natural @ Xa ) ) ) ).

% plus_natural.rep_eq
thf(fact_7174_less__natural_Orep__eq,axiom,
    ( ( ord_less @ code_natural )
    = ( ^ [X4: code_natural,Xa2: code_natural] : ( ord_less @ nat @ ( code_nat_of_natural @ X4 ) @ ( code_nat_of_natural @ Xa2 ) ) ) ) ).

% less_natural.rep_eq
thf(fact_7175_less__eq__natural_Orep__eq,axiom,
    ( ( ord_less_eq @ code_natural )
    = ( ^ [X4: code_natural,Xa2: code_natural] : ( ord_less_eq @ nat @ ( code_nat_of_natural @ X4 ) @ ( code_nat_of_natural @ Xa2 ) ) ) ) ).

% less_eq_natural.rep_eq
thf(fact_7176_plus__natural__def,axiom,
    ( ( plus_plus @ code_natural )
    = ( map_fun @ code_natural @ nat @ ( nat > nat ) @ ( code_natural > code_natural ) @ code_nat_of_natural @ ( map_fun @ code_natural @ nat @ nat @ code_natural @ code_nat_of_natural @ code_natural_of_nat ) @ ( plus_plus @ nat ) ) ) ).

% plus_natural_def
thf(fact_7177_less__natural__def,axiom,
    ( ( ord_less @ code_natural )
    = ( map_fun @ code_natural @ nat @ ( nat > $o ) @ ( code_natural > $o ) @ code_nat_of_natural @ ( map_fun @ code_natural @ nat @ $o @ $o @ code_nat_of_natural @ ( id @ $o ) ) @ ( ord_less @ nat ) ) ) ).

% less_natural_def
thf(fact_7178_less__eq__natural__def,axiom,
    ( ( ord_less_eq @ code_natural )
    = ( map_fun @ code_natural @ nat @ ( nat > $o ) @ ( code_natural > $o ) @ code_nat_of_natural @ ( map_fun @ code_natural @ nat @ $o @ $o @ code_nat_of_natural @ ( id @ $o ) ) @ ( ord_less_eq @ nat ) ) ) ).

% less_eq_natural_def
thf(fact_7179_measures__less,axiom,
    ! [A: $tType,F3: A > nat,X: A,Y: A,Fs: list @ ( A > nat )] :
      ( ( ord_less @ nat @ ( F3 @ X ) @ ( F3 @ Y ) )
     => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ ( measures @ A @ ( cons @ ( A > nat ) @ F3 @ Fs ) ) ) ) ).

% measures_less
thf(fact_7180_measures__lesseq,axiom,
    ! [A: $tType,F3: A > nat,X: A,Y: A,Fs: list @ ( A > nat )] :
      ( ( ord_less_eq @ nat @ ( F3 @ X ) @ ( F3 @ Y ) )
     => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ ( measures @ A @ Fs ) )
       => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ ( measures @ A @ ( cons @ ( A > nat ) @ F3 @ Fs ) ) ) ) ) ).

% measures_lesseq
thf(fact_7181_measures__def,axiom,
    ! [A: $tType] :
      ( ( measures @ A )
      = ( ^ [Fs2: list @ ( A > nat )] :
            ( inv_image @ ( list @ nat ) @ A @ ( lex @ nat @ less_than )
            @ ^ [A7: A] :
                ( map @ ( A > nat ) @ nat
                @ ^ [F4: A > nat] : ( F4 @ A7 )
                @ Fs2 ) ) ) ) ).

% measures_def
thf(fact_7182_natural__decr,axiom,
    ! [N: code_natural] :
      ( ( N
       != ( zero_zero @ code_natural ) )
     => ( ord_less @ nat @ ( minus_minus @ nat @ ( code_nat_of_natural @ N ) @ ( suc @ ( zero_zero @ nat ) ) ) @ ( code_nat_of_natural @ N ) ) ) ).

% natural_decr
thf(fact_7183_power__int__def,axiom,
    ! [A: $tType] :
      ( ( ( inverse @ A )
        & ( power @ A ) )
     => ( ( power_int @ A )
        = ( ^ [X4: A,N3: int] : ( if @ A @ ( ord_less_eq @ int @ ( zero_zero @ int ) @ N3 ) @ ( power_power @ A @ X4 @ ( nat2 @ N3 ) ) @ ( power_power @ A @ ( inverse_inverse @ A @ X4 ) @ ( nat2 @ ( uminus_uminus @ int @ N3 ) ) ) ) ) ) ) ).

% power_int_def
thf(fact_7184_repeat__mset__distrib__add__mset,axiom,
    ! [A: $tType,N: nat,A3: A,A6: multiset @ A] :
      ( ( repeat_mset @ A @ N @ ( add_mset @ A @ A3 @ A6 ) )
      = ( plus_plus @ ( multiset @ A ) @ ( replicate_mset @ A @ N @ A3 ) @ ( repeat_mset @ A @ N @ A6 ) ) ) ).

% repeat_mset_distrib_add_mset
thf(fact_7185_power__int__add__numeral2,axiom,
    ! [A: $tType] :
      ( ( division_ring @ A )
     => ! [X: A,M: num,N: num,B2: A] :
          ( ( times_times @ A @ ( power_int @ A @ X @ ( numeral_numeral @ int @ M ) ) @ ( times_times @ A @ ( power_int @ A @ X @ ( numeral_numeral @ int @ N ) ) @ B2 ) )
          = ( times_times @ A @ ( power_int @ A @ X @ ( numeral_numeral @ int @ ( plus_plus @ num @ M @ N ) ) ) @ B2 ) ) ) ).

% power_int_add_numeral2
thf(fact_7186_power__int__add__numeral,axiom,
    ! [A: $tType] :
      ( ( division_ring @ A )
     => ! [X: A,M: num,N: num] :
          ( ( times_times @ A @ ( power_int @ A @ X @ ( numeral_numeral @ int @ M ) ) @ ( power_int @ A @ X @ ( numeral_numeral @ int @ N ) ) )
          = ( power_int @ A @ X @ ( numeral_numeral @ int @ ( plus_plus @ num @ M @ N ) ) ) ) ) ).

% power_int_add_numeral
thf(fact_7187_in__replicate__mset,axiom,
    ! [A: $tType,X: A,N: nat,Y: A] :
      ( ( member @ A @ X @ ( set_mset @ A @ ( replicate_mset @ A @ N @ Y ) ) )
      = ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N )
        & ( X = Y ) ) ) ).

% in_replicate_mset
thf(fact_7188_power__int__mono__iff,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A,N: int] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 )
         => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ B2 )
           => ( ( ord_less @ int @ ( zero_zero @ int ) @ N )
             => ( ( ord_less_eq @ A @ ( power_int @ A @ A3 @ N ) @ ( power_int @ A @ B2 @ N ) )
                = ( ord_less_eq @ A @ A3 @ B2 ) ) ) ) ) ) ).

% power_int_mono_iff
thf(fact_7189_power__int__increasing,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [N: int,N7: int,A3: A] :
          ( ( ord_less_eq @ int @ N @ N7 )
         => ( ( ord_less_eq @ A @ ( one_one @ A ) @ A3 )
           => ( ord_less_eq @ A @ ( power_int @ A @ A3 @ N ) @ ( power_int @ A @ A3 @ N7 ) ) ) ) ) ).

% power_int_increasing
thf(fact_7190_zero__le__power__int,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [X: A,N: int] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ X )
         => ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( power_int @ A @ X @ N ) ) ) ) ).

% zero_le_power_int
thf(fact_7191_msubseteq__replicate__msetE,axiom,
    ! [A: $tType,A6: multiset @ A,N: nat,A3: A] :
      ( ( subseteq_mset @ A @ A6 @ ( replicate_mset @ A @ N @ A3 ) )
     => ~ ! [M5: nat] :
            ( ( ord_less_eq @ nat @ M5 @ N )
           => ( A6
             != ( replicate_mset @ A @ M5 @ A3 ) ) ) ) ).

% msubseteq_replicate_msetE
thf(fact_7192_power__int__strict__increasing,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [N: int,N7: int,A3: A] :
          ( ( ord_less @ int @ N @ N7 )
         => ( ( ord_less @ A @ ( one_one @ A ) @ A3 )
           => ( ord_less @ A @ ( power_int @ A @ A3 @ N ) @ ( power_int @ A @ A3 @ N7 ) ) ) ) ) ).

% power_int_strict_increasing
thf(fact_7193_zero__less__power__int,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [X: A,N: int] :
          ( ( ord_less @ A @ ( zero_zero @ A ) @ X )
         => ( ord_less @ A @ ( zero_zero @ A ) @ ( power_int @ A @ X @ N ) ) ) ) ).

% zero_less_power_int
thf(fact_7194_image__mset__const__eq,axiom,
    ! [B: $tType,A: $tType,C3: A,M6: multiset @ B] :
      ( ( image_mset @ B @ A
        @ ^ [A7: B] : C3
        @ M6 )
      = ( replicate_mset @ A @ ( size_size @ ( multiset @ B ) @ M6 ) @ C3 ) ) ).

% image_mset_const_eq
thf(fact_7195_power__int__strict__decreasing,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [N: int,N7: int,A3: A] :
          ( ( ord_less @ int @ N @ N7 )
         => ( ( ord_less @ A @ ( zero_zero @ A ) @ A3 )
           => ( ( ord_less @ A @ A3 @ ( one_one @ A ) )
             => ( ord_less @ A @ ( power_int @ A @ A3 @ N7 ) @ ( power_int @ A @ A3 @ N ) ) ) ) ) ) ).

% power_int_strict_decreasing
thf(fact_7196_filter__eq__replicate__mset,axiom,
    ! [A: $tType,X: A,D5: multiset @ A] :
      ( ( filter_mset @ A
        @ ^ [Y4: A] : Y4 = X
        @ D5 )
      = ( replicate_mset @ A @ ( count @ A @ D5 @ X ) @ X ) ) ).

% filter_eq_replicate_mset
thf(fact_7197_power__int__mono,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [X: A,Y: A,N: int] :
          ( ( ord_less_eq @ A @ X @ Y )
         => ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ N )
           => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ X )
             => ( ord_less_eq @ A @ ( power_int @ A @ X @ N ) @ ( power_int @ A @ Y @ N ) ) ) ) ) ) ).

% power_int_mono
thf(fact_7198_power__int__strict__antimono,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A,N: int] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ( ( ord_less @ A @ ( zero_zero @ A ) @ A3 )
           => ( ( ord_less @ int @ N @ ( zero_zero @ int ) )
             => ( ord_less @ A @ ( power_int @ A @ B2 @ N ) @ ( power_int @ A @ A3 @ N ) ) ) ) ) ) ).

% power_int_strict_antimono
thf(fact_7199_one__le__power__int,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [X: A,N: int] :
          ( ( ord_less_eq @ A @ ( one_one @ A ) @ X )
         => ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ N )
           => ( ord_less_eq @ A @ ( one_one @ A ) @ ( power_int @ A @ X @ N ) ) ) ) ) ).

% one_le_power_int
thf(fact_7200_one__less__power__int,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,N: int] :
          ( ( ord_less @ A @ ( one_one @ A ) @ A3 )
         => ( ( ord_less @ int @ ( zero_zero @ int ) @ N )
           => ( ord_less @ A @ ( one_one @ A ) @ ( power_int @ A @ A3 @ N ) ) ) ) ) ).

% one_less_power_int
thf(fact_7201_power__int__add,axiom,
    ! [A: $tType] :
      ( ( division_ring @ A )
     => ! [X: A,M: int,N: int] :
          ( ( ( X
             != ( zero_zero @ A ) )
            | ( ( plus_plus @ int @ M @ N )
             != ( zero_zero @ int ) ) )
         => ( ( power_int @ A @ X @ ( plus_plus @ int @ M @ N ) )
            = ( times_times @ A @ ( power_int @ A @ X @ M ) @ ( power_int @ A @ X @ N ) ) ) ) ) ).

% power_int_add
thf(fact_7202_replicate__mset__msubseteq__iff,axiom,
    ! [A: $tType,M: nat,A3: A,N: nat,B2: A] :
      ( ( subseteq_mset @ A @ ( replicate_mset @ A @ M @ A3 ) @ ( replicate_mset @ A @ N @ B2 ) )
      = ( ( M
          = ( zero_zero @ nat ) )
        | ( ( A3 = B2 )
          & ( ord_less_eq @ nat @ M @ N ) ) ) ) ).

% replicate_mset_msubseteq_iff
thf(fact_7203_count__le__replicate__mset__subset__eq,axiom,
    ! [A: $tType,N: nat,M6: multiset @ A,X: A] :
      ( ( ord_less_eq @ nat @ N @ ( count @ A @ M6 @ X ) )
      = ( subseteq_mset @ A @ ( replicate_mset @ A @ N @ X ) @ M6 ) ) ).

% count_le_replicate_mset_subset_eq
thf(fact_7204_power__int__strict__mono,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A,N: int] :
          ( ( ord_less @ A @ A3 @ B2 )
         => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 )
           => ( ( ord_less @ int @ ( zero_zero @ int ) @ N )
             => ( ord_less @ A @ ( power_int @ A @ A3 @ N ) @ ( power_int @ A @ B2 @ N ) ) ) ) ) ) ).

% power_int_strict_mono
thf(fact_7205_power__int__antimono,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [A3: A,B2: A,N: int] :
          ( ( ord_less_eq @ A @ A3 @ B2 )
         => ( ( ord_less @ A @ ( zero_zero @ A ) @ A3 )
           => ( ( ord_less @ int @ N @ ( zero_zero @ int ) )
             => ( ord_less_eq @ A @ ( power_int @ A @ B2 @ N ) @ ( power_int @ A @ A3 @ N ) ) ) ) ) ) ).

% power_int_antimono
thf(fact_7206_power__int__decreasing,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [N: int,N7: int,A3: A] :
          ( ( ord_less_eq @ int @ N @ N7 )
         => ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 )
           => ( ( ord_less_eq @ A @ A3 @ ( one_one @ A ) )
             => ( ( ( A3
                   != ( zero_zero @ A ) )
                  | ( N7
                   != ( zero_zero @ int ) )
                  | ( N
                    = ( zero_zero @ int ) ) )
               => ( ord_less_eq @ A @ ( power_int @ A @ A3 @ N7 ) @ ( power_int @ A @ A3 @ N ) ) ) ) ) ) ) ).

% power_int_decreasing
thf(fact_7207_power__int__le__one,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [X: A,N: int] :
          ( ( ord_less_eq @ A @ ( zero_zero @ A ) @ X )
         => ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ N )
           => ( ( ord_less_eq @ A @ X @ ( one_one @ A ) )
             => ( ord_less_eq @ A @ ( power_int @ A @ X @ N ) @ ( one_one @ A ) ) ) ) ) ) ).

% power_int_le_one
thf(fact_7208_power__int__le__imp__le__exp,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [X: A,M: int,N: int] :
          ( ( ord_less @ A @ ( one_one @ A ) @ X )
         => ( ( ord_less_eq @ A @ ( power_int @ A @ X @ M ) @ ( power_int @ A @ X @ N ) )
           => ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ N )
             => ( ord_less_eq @ int @ M @ N ) ) ) ) ) ).

% power_int_le_imp_le_exp
thf(fact_7209_power__int__le__imp__less__exp,axiom,
    ! [A: $tType] :
      ( ( linordered_field @ A )
     => ! [X: A,M: int,N: int] :
          ( ( ord_less @ A @ ( one_one @ A ) @ X )
         => ( ( ord_less @ A @ ( power_int @ A @ X @ M ) @ ( power_int @ A @ X @ N ) )
           => ( ( ord_less_eq @ int @ ( zero_zero @ int ) @ N )
             => ( ord_less @ int @ M @ N ) ) ) ) ) ).

% power_int_le_imp_less_exp
thf(fact_7210_power__int__add__1_H,axiom,
    ! [A: $tType] :
      ( ( division_ring @ A )
     => ! [X: A,M: int] :
          ( ( ( X
             != ( zero_zero @ A ) )
            | ( M
             != ( uminus_uminus @ int @ ( one_one @ int ) ) ) )
         => ( ( power_int @ A @ X @ ( plus_plus @ int @ M @ ( one_one @ int ) ) )
            = ( times_times @ A @ X @ ( power_int @ A @ X @ M ) ) ) ) ) ).

% power_int_add_1'
thf(fact_7211_power__int__add__1,axiom,
    ! [A: $tType] :
      ( ( division_ring @ A )
     => ! [X: A,M: int] :
          ( ( ( X
             != ( zero_zero @ A ) )
            | ( M
             != ( uminus_uminus @ int @ ( one_one @ int ) ) ) )
         => ( ( power_int @ A @ X @ ( plus_plus @ int @ M @ ( one_one @ int ) ) )
            = ( times_times @ A @ ( power_int @ A @ X @ M ) @ X ) ) ) ) ).

% power_int_add_1
thf(fact_7212_wo__rel_Ocases__Total3,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A3: A,B2: A,Phi: A > A > $o] :
      ( ( bNF_Wellorder_wo_rel @ A @ R3 )
     => ( ( ord_less_eq @ ( set @ A ) @ ( insert @ A @ A3 @ ( insert @ A @ B2 @ ( bot_bot @ ( set @ A ) ) ) ) @ ( field2 @ A @ R3 ) )
       => ( ( ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ ( minus_minus @ ( set @ ( product_prod @ A @ A ) ) @ R3 @ ( id2 @ A ) ) )
              | ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ B2 @ A3 ) @ ( minus_minus @ ( set @ ( product_prod @ A @ A ) ) @ R3 @ ( id2 @ A ) ) ) )
           => ( Phi @ A3 @ B2 ) )
         => ( ( ( A3 = B2 )
             => ( Phi @ A3 @ B2 ) )
           => ( Phi @ A3 @ B2 ) ) ) ) ) ).

% wo_rel.cases_Total3
thf(fact_7213_eventually__INF__base,axiom,
    ! [B: $tType,A: $tType,B6: set @ A,F5: A > ( filter @ B ),P2: B > $o] :
      ( ( B6
       != ( bot_bot @ ( set @ A ) ) )
     => ( ! [A5: A] :
            ( ( member @ A @ A5 @ B6 )
           => ! [B4: A] :
                ( ( member @ A @ B4 @ B6 )
               => ? [X6: A] :
                    ( ( member @ A @ X6 @ B6 )
                    & ( ord_less_eq @ ( filter @ B ) @ ( F5 @ X6 ) @ ( inf_inf @ ( filter @ B ) @ ( F5 @ A5 ) @ ( F5 @ B4 ) ) ) ) ) )
       => ( ( eventually @ B @ P2 @ ( complete_Inf_Inf @ ( filter @ B ) @ ( image2 @ A @ ( filter @ B ) @ F5 @ B6 ) ) )
          = ( ? [X4: A] :
                ( ( member @ A @ X4 @ B6 )
                & ( eventually @ B @ P2 @ ( F5 @ X4 ) ) ) ) ) ) ) ).

% eventually_INF_base
thf(fact_7214_eventually__const,axiom,
    ! [A: $tType,F5: filter @ A,P2: $o] :
      ( ( F5
       != ( bot_bot @ ( filter @ A ) ) )
     => ( ( eventually @ A
          @ ^ [X4: A] : P2
          @ F5 )
        = P2 ) ) ).

% eventually_const
thf(fact_7215_eventually__sequentially__Suc,axiom,
    ! [P2: nat > $o] :
      ( ( eventually @ nat
        @ ^ [I: nat] : ( P2 @ ( suc @ I ) )
        @ ( at_top @ nat ) )
      = ( eventually @ nat @ P2 @ ( at_top @ nat ) ) ) ).

% eventually_sequentially_Suc
thf(fact_7216_eventually__sequentially__seg,axiom,
    ! [P2: nat > $o,K2: nat] :
      ( ( eventually @ nat
        @ ^ [N3: nat] : ( P2 @ ( plus_plus @ nat @ N3 @ K2 ) )
        @ ( at_top @ nat ) )
      = ( eventually @ nat @ P2 @ ( at_top @ nat ) ) ) ).

% eventually_sequentially_seg
thf(fact_7217_eventually__finite__subsets__at__top__weakI,axiom,
    ! [A: $tType,A6: set @ A,P2: ( set @ A ) > $o] :
      ( ! [X15: set @ A] :
          ( ( finite_finite2 @ A @ X15 )
         => ( ( ord_less_eq @ ( set @ A ) @ X15 @ A6 )
           => ( P2 @ X15 ) ) )
     => ( eventually @ ( set @ A ) @ P2 @ ( finite5375528669736107172at_top @ A @ A6 ) ) ) ).

% eventually_finite_subsets_at_top_weakI
thf(fact_7218_eventually__inf__principal,axiom,
    ! [A: $tType,P2: A > $o,F5: filter @ A,S2: set @ A] :
      ( ( eventually @ A @ P2 @ ( inf_inf @ ( filter @ A ) @ F5 @ ( principal @ A @ S2 ) ) )
      = ( eventually @ A
        @ ^ [X4: A] :
            ( ( member @ A @ X4 @ S2 )
           => ( P2 @ X4 ) )
        @ F5 ) ) ).

% eventually_inf_principal
thf(fact_7219_eventually__ex,axiom,
    ! [B: $tType,A: $tType,P2: A > B > $o,F5: filter @ A] :
      ( ( eventually @ A
        @ ^ [X4: A] :
          ? [X11: B] : ( P2 @ X4 @ X11 )
        @ F5 )
      = ( ? [Y10: A > B] :
            ( eventually @ A
            @ ^ [X4: A] : ( P2 @ X4 @ ( Y10 @ X4 ) )
            @ F5 ) ) ) ).

% eventually_ex
thf(fact_7220_wo__rel_Omax2__def,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A3: A,B2: A] :
      ( ( bNF_Wellorder_wo_rel @ A @ R3 )
     => ( ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ R3 )
         => ( ( bNF_We1388413361240627857o_max2 @ A @ R3 @ A3 @ B2 )
            = B2 ) )
        & ( ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ R3 )
         => ( ( bNF_We1388413361240627857o_max2 @ A @ R3 @ A3 @ B2 )
            = A3 ) ) ) ) ).

% wo_rel.max2_def
thf(fact_7221_wo__rel_Owell__order__induct,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),P2: A > $o,A3: A] :
      ( ( bNF_Wellorder_wo_rel @ A @ R3 )
     => ( ! [X3: A] :
            ( ! [Y5: A] :
                ( ( ( Y5 != X3 )
                  & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y5 @ X3 ) @ R3 ) )
               => ( P2 @ Y5 ) )
           => ( P2 @ X3 ) )
       => ( P2 @ A3 ) ) ) ).

% wo_rel.well_order_induct
thf(fact_7222_wo__rel_OTOTALS,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] :
      ( ( bNF_Wellorder_wo_rel @ A @ R3 )
     => ! [X6: A] :
          ( ( member @ A @ X6 @ ( field2 @ A @ R3 ) )
         => ! [Xa3: A] :
              ( ( member @ A @ Xa3 @ ( field2 @ A @ R3 ) )
             => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X6 @ Xa3 ) @ R3 )
                | ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Xa3 @ X6 ) @ R3 ) ) ) ) ) ).

% wo_rel.TOTALS
thf(fact_7223_well__order__induct__imp,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),P2: A > $o,A3: A] :
      ( ( bNF_Wellorder_wo_rel @ A @ R3 )
     => ( ! [X3: A] :
            ( ! [Y5: A] :
                ( ( ( Y5 != X3 )
                  & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y5 @ X3 ) @ R3 ) )
               => ( ( member @ A @ Y5 @ ( field2 @ A @ R3 ) )
                 => ( P2 @ Y5 ) ) )
           => ( ( member @ A @ X3 @ ( field2 @ A @ R3 ) )
             => ( P2 @ X3 ) ) )
       => ( ( member @ A @ A3 @ ( field2 @ A @ R3 ) )
         => ( P2 @ A3 ) ) ) ) ).

% well_order_induct_imp
thf(fact_7224_wo__rel_Omax2__equals1,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A3: A,B2: A] :
      ( ( bNF_Wellorder_wo_rel @ A @ R3 )
     => ( ( member @ A @ A3 @ ( field2 @ A @ R3 ) )
       => ( ( member @ A @ B2 @ ( field2 @ A @ R3 ) )
         => ( ( ( bNF_We1388413361240627857o_max2 @ A @ R3 @ A3 @ B2 )
              = A3 )
            = ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ B2 @ A3 ) @ R3 ) ) ) ) ) ).

% wo_rel.max2_equals1
thf(fact_7225_wo__rel_Omax2__equals2,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A3: A,B2: A] :
      ( ( bNF_Wellorder_wo_rel @ A @ R3 )
     => ( ( member @ A @ A3 @ ( field2 @ A @ R3 ) )
       => ( ( member @ A @ B2 @ ( field2 @ A @ R3 ) )
         => ( ( ( bNF_We1388413361240627857o_max2 @ A @ R3 @ A3 @ B2 )
              = B2 )
            = ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ R3 ) ) ) ) ) ).

% wo_rel.max2_equals2
thf(fact_7226_wo__rel_Omax2__greater,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A3: A,B2: A] :
      ( ( bNF_Wellorder_wo_rel @ A @ R3 )
     => ( ( member @ A @ A3 @ ( field2 @ A @ R3 ) )
       => ( ( member @ A @ B2 @ ( field2 @ A @ R3 ) )
         => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ ( bNF_We1388413361240627857o_max2 @ A @ R3 @ A3 @ B2 ) ) @ R3 )
            & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ B2 @ ( bNF_We1388413361240627857o_max2 @ A @ R3 @ A3 @ B2 ) ) @ R3 ) ) ) ) ) ).

% wo_rel.max2_greater
thf(fact_7227_filterlim__principal,axiom,
    ! [B: $tType,A: $tType,F3: A > B,S: set @ B,F5: filter @ A] :
      ( ( filterlim @ A @ B @ F3 @ ( principal @ B @ S ) @ F5 )
      = ( eventually @ A
        @ ^ [X4: A] : ( member @ B @ ( F3 @ X4 ) @ S )
        @ F5 ) ) ).

% filterlim_principal
thf(fact_7228_eventually__INF1,axiom,
    ! [B: $tType,A: $tType,I2: A,I5: set @ A,P2: B > $o,F5: A > ( filter @ B )] :
      ( ( member @ A @ I2 @ I5 )
     => ( ( eventually @ B @ P2 @ ( F5 @ I2 ) )
       => ( eventually @ B @ P2 @ ( complete_Inf_Inf @ ( filter @ B ) @ ( image2 @ A @ ( filter @ B ) @ F5 @ I5 ) ) ) ) ) ).

% eventually_INF1
thf(fact_7229_eventually__at__top__not__equal,axiom,
    ! [A: $tType] :
      ( ( ( linorder @ A )
        & ( no_top @ A ) )
     => ! [C3: A] :
          ( eventually @ A
          @ ^ [X4: A] : X4 != C3
          @ ( at_top @ A ) ) ) ).

% eventually_at_top_not_equal
thf(fact_7230_eventually__False__sequentially,axiom,
    ~ ( eventually @ nat
      @ ^ [N3: nat] : $false
      @ ( at_top @ nat ) ) ).

% eventually_False_sequentially
thf(fact_7231_eventually__at__top__dense,axiom,
    ! [A: $tType] :
      ( ( ( linorder @ A )
        & ( no_top @ A ) )
     => ! [P2: A > $o] :
          ( ( eventually @ A @ P2 @ ( at_top @ A ) )
          = ( ? [N8: A] :
              ! [N3: A] :
                ( ( ord_less @ A @ N8 @ N3 )
               => ( P2 @ N3 ) ) ) ) ) ).

% eventually_at_top_dense
thf(fact_7232_eventually__gt__at__top,axiom,
    ! [A: $tType] :
      ( ( ( linorder @ A )
        & ( no_top @ A ) )
     => ! [C3: A] : ( eventually @ A @ ( ord_less @ A @ C3 ) @ ( at_top @ A ) ) ) ).

% eventually_gt_at_top
thf(fact_7233_eventually__all__finite,axiom,
    ! [B: $tType,A: $tType] :
      ( ( finite_finite @ B )
     => ! [P2: A > B > $o,Net: filter @ A] :
          ( ! [Y3: B] :
              ( eventually @ A
              @ ^ [X4: A] : ( P2 @ X4 @ Y3 )
              @ Net )
         => ( eventually @ A
            @ ^ [X4: A] :
              ! [X11: B] : ( P2 @ X4 @ X11 )
            @ Net ) ) ) ).

% eventually_all_finite
thf(fact_7234_eventually__sup,axiom,
    ! [A: $tType,P2: A > $o,F5: filter @ A,F7: filter @ A] :
      ( ( eventually @ A @ P2 @ ( sup_sup @ ( filter @ A ) @ F5 @ F7 ) )
      = ( ( eventually @ A @ P2 @ F5 )
        & ( eventually @ A @ P2 @ F7 ) ) ) ).

% eventually_sup
thf(fact_7235_eventually__gt__at__bot,axiom,
    ! [A: $tType] :
      ( ( unboun7993243217541854897norder @ A )
     => ! [C3: A] :
          ( eventually @ A
          @ ^ [X4: A] : ( ord_less @ A @ X4 @ C3 )
          @ ( at_bot @ A ) ) ) ).

% eventually_gt_at_bot
thf(fact_7236_eventually__at__bot__dense,axiom,
    ! [A: $tType] :
      ( ( ( linorder @ A )
        & ( no_bot @ A ) )
     => ! [P2: A > $o] :
          ( ( eventually @ A @ P2 @ ( at_bot @ A ) )
          = ( ? [N8: A] :
              ! [N3: A] :
                ( ( ord_less @ A @ N3 @ N8 )
               => ( P2 @ N3 ) ) ) ) ) ).

% eventually_at_bot_dense
thf(fact_7237_eventually__at__bot__not__equal,axiom,
    ! [A: $tType] :
      ( ( ( linorder @ A )
        & ( no_bot @ A ) )
     => ! [C3: A] :
          ( eventually @ A
          @ ^ [X4: A] : X4 != C3
          @ ( at_bot @ A ) ) ) ).

% eventually_at_bot_not_equal
thf(fact_7238_eventually__frequently__const__simps_I6_J,axiom,
    ! [A: $tType,C5: $o,P2: A > $o,F5: filter @ A] :
      ( ( eventually @ A
        @ ^ [X4: A] :
            ( C5
           => ( P2 @ X4 ) )
        @ F5 )
      = ( C5
       => ( eventually @ A @ P2 @ F5 ) ) ) ).

% eventually_frequently_const_simps(6)
thf(fact_7239_eventually__frequently__const__simps_I4_J,axiom,
    ! [A: $tType,C5: $o,P2: A > $o,F5: filter @ A] :
      ( ( eventually @ A
        @ ^ [X4: A] :
            ( C5
            | ( P2 @ X4 ) )
        @ F5 )
      = ( C5
        | ( eventually @ A @ P2 @ F5 ) ) ) ).

% eventually_frequently_const_simps(4)
thf(fact_7240_eventually__frequently__const__simps_I3_J,axiom,
    ! [A: $tType,P2: A > $o,C5: $o,F5: filter @ A] :
      ( ( eventually @ A
        @ ^ [X4: A] :
            ( ( P2 @ X4 )
            | C5 )
        @ F5 )
      = ( ( eventually @ A @ P2 @ F5 )
        | C5 ) ) ).

% eventually_frequently_const_simps(3)
thf(fact_7241_eventually__mp,axiom,
    ! [A: $tType,P2: A > $o,Q2: A > $o,F5: filter @ A] :
      ( ( eventually @ A
        @ ^ [X4: A] :
            ( ( P2 @ X4 )
           => ( Q2 @ X4 ) )
        @ F5 )
     => ( ( eventually @ A @ P2 @ F5 )
       => ( eventually @ A @ Q2 @ F5 ) ) ) ).

% eventually_mp
thf(fact_7242_eventually__True,axiom,
    ! [A: $tType,F5: filter @ A] :
      ( eventually @ A
      @ ^ [X4: A] : $true
      @ F5 ) ).

% eventually_True
thf(fact_7243_eventually__conj,axiom,
    ! [A: $tType,P2: A > $o,F5: filter @ A,Q2: A > $o] :
      ( ( eventually @ A @ P2 @ F5 )
     => ( ( eventually @ A @ Q2 @ F5 )
       => ( eventually @ A
          @ ^ [X4: A] :
              ( ( P2 @ X4 )
              & ( Q2 @ X4 ) )
          @ F5 ) ) ) ).

% eventually_conj
thf(fact_7244_eventually__elim2,axiom,
    ! [A: $tType,P2: A > $o,F5: filter @ A,Q2: A > $o,R4: A > $o] :
      ( ( eventually @ A @ P2 @ F5 )
     => ( ( eventually @ A @ Q2 @ F5 )
       => ( ! [I3: A] :
              ( ( P2 @ I3 )
             => ( ( Q2 @ I3 )
               => ( R4 @ I3 ) ) )
         => ( eventually @ A @ R4 @ F5 ) ) ) ) ).

% eventually_elim2
thf(fact_7245_eventually__subst,axiom,
    ! [A: $tType,P2: A > $o,Q2: A > $o,F5: filter @ A] :
      ( ( eventually @ A
        @ ^ [N3: A] :
            ( ( P2 @ N3 )
            = ( Q2 @ N3 ) )
        @ F5 )
     => ( ( eventually @ A @ P2 @ F5 )
        = ( eventually @ A @ Q2 @ F5 ) ) ) ).

% eventually_subst
thf(fact_7246_eventually__rev__mp,axiom,
    ! [A: $tType,P2: A > $o,F5: filter @ A,Q2: A > $o] :
      ( ( eventually @ A @ P2 @ F5 )
     => ( ( eventually @ A
          @ ^ [X4: A] :
              ( ( P2 @ X4 )
             => ( Q2 @ X4 ) )
          @ F5 )
       => ( eventually @ A @ Q2 @ F5 ) ) ) ).

% eventually_rev_mp
thf(fact_7247_eventually__conj__iff,axiom,
    ! [A: $tType,P2: A > $o,Q2: A > $o,F5: filter @ A] :
      ( ( eventually @ A
        @ ^ [X4: A] :
            ( ( P2 @ X4 )
            & ( Q2 @ X4 ) )
        @ F5 )
      = ( ( eventually @ A @ P2 @ F5 )
        & ( eventually @ A @ Q2 @ F5 ) ) ) ).

% eventually_conj_iff
thf(fact_7248_not__eventually__impI,axiom,
    ! [A: $tType,P2: A > $o,F5: filter @ A,Q2: A > $o] :
      ( ( eventually @ A @ P2 @ F5 )
     => ( ~ ( eventually @ A @ Q2 @ F5 )
       => ~ ( eventually @ A
            @ ^ [X4: A] :
                ( ( P2 @ X4 )
               => ( Q2 @ X4 ) )
            @ F5 ) ) ) ).

% not_eventually_impI
thf(fact_7249_False__imp__not__eventually,axiom,
    ! [A: $tType,P2: A > $o,Net: filter @ A] :
      ( ! [X3: A] :
          ~ ( P2 @ X3 )
     => ( ( Net
         != ( bot_bot @ ( filter @ A ) ) )
       => ~ ( eventually @ A @ P2 @ Net ) ) ) ).

% False_imp_not_eventually
thf(fact_7250_eventually__const__iff,axiom,
    ! [A: $tType,P2: $o,F5: filter @ A] :
      ( ( eventually @ A
        @ ^ [X4: A] : P2
        @ F5 )
      = ( P2
        | ( F5
          = ( bot_bot @ ( filter @ A ) ) ) ) ) ).

% eventually_const_iff
thf(fact_7251_trivial__limit__def,axiom,
    ! [A: $tType,F5: filter @ A] :
      ( ( F5
        = ( bot_bot @ ( filter @ A ) ) )
      = ( eventually @ A
        @ ^ [X4: A] : $false
        @ F5 ) ) ).

% trivial_limit_def
thf(fact_7252_eventually__ball__finite__distrib,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,P2: B > A > $o,Net: filter @ B] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( eventually @ B
          @ ^ [X4: B] :
            ! [Y4: A] :
              ( ( member @ A @ Y4 @ A6 )
             => ( P2 @ X4 @ Y4 ) )
          @ Net )
        = ( ! [X4: A] :
              ( ( member @ A @ X4 @ A6 )
             => ( eventually @ B
                @ ^ [Y4: B] : ( P2 @ Y4 @ X4 )
                @ Net ) ) ) ) ) ).

% eventually_ball_finite_distrib
thf(fact_7253_eventually__ball__finite,axiom,
    ! [A: $tType,B: $tType,A6: set @ A,P2: B > A > $o,Net: filter @ B] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ! [X3: A] :
            ( ( member @ A @ X3 @ A6 )
           => ( eventually @ B
              @ ^ [Y4: B] : ( P2 @ Y4 @ X3 )
              @ Net ) )
       => ( eventually @ B
          @ ^ [X4: B] :
            ! [Y4: A] :
              ( ( member @ A @ Y4 @ A6 )
             => ( P2 @ X4 @ Y4 ) )
          @ Net ) ) ) ).

% eventually_ball_finite
thf(fact_7254_eventually__compose__filterlim,axiom,
    ! [A: $tType,B: $tType,P2: A > $o,F5: filter @ A,F3: B > A,G6: filter @ B] :
      ( ( eventually @ A @ P2 @ F5 )
     => ( ( filterlim @ B @ A @ F3 @ F5 @ G6 )
       => ( eventually @ B
          @ ^ [X4: B] : ( P2 @ ( F3 @ X4 ) )
          @ G6 ) ) ) ).

% eventually_compose_filterlim
thf(fact_7255_filterlim__cong,axiom,
    ! [A: $tType,B: $tType,F15: filter @ A,F16: filter @ A,F24: filter @ B,F25: filter @ B,F3: B > A,G3: B > A] :
      ( ( F15 = F16 )
     => ( ( F24 = F25 )
       => ( ( eventually @ B
            @ ^ [X4: B] :
                ( ( F3 @ X4 )
                = ( G3 @ X4 ) )
            @ F24 )
         => ( ( filterlim @ B @ A @ F3 @ F15 @ F24 )
            = ( filterlim @ B @ A @ G3 @ F16 @ F25 ) ) ) ) ) ).

% filterlim_cong
thf(fact_7256_filterlim__iff,axiom,
    ! [B: $tType,A: $tType] :
      ( ( filterlim @ A @ B )
      = ( ^ [F4: A > B,F26: filter @ B,F17: filter @ A] :
          ! [P5: B > $o] :
            ( ( eventually @ B @ P5 @ F26 )
           => ( eventually @ A
              @ ^ [X4: A] : ( P5 @ ( F4 @ X4 ) )
              @ F17 ) ) ) ) ).

% filterlim_iff
thf(fact_7257_filterlim__mono__eventually,axiom,
    ! [B: $tType,A: $tType,F3: A > B,F5: filter @ B,G6: filter @ A,F7: filter @ B,G8: filter @ A,F6: A > B] :
      ( ( filterlim @ A @ B @ F3 @ F5 @ G6 )
     => ( ( ord_less_eq @ ( filter @ B ) @ F5 @ F7 )
       => ( ( ord_less_eq @ ( filter @ A ) @ G8 @ G6 )
         => ( ( eventually @ A
              @ ^ [X4: A] :
                  ( ( F3 @ X4 )
                  = ( F6 @ X4 ) )
              @ G8 )
           => ( filterlim @ A @ B @ F6 @ F7 @ G8 ) ) ) ) ) ).

% filterlim_mono_eventually
thf(fact_7258_eventually__le__at__bot,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [C3: A] :
          ( eventually @ A
          @ ^ [X4: A] : ( ord_less_eq @ A @ X4 @ C3 )
          @ ( at_bot @ A ) ) ) ).

% eventually_le_at_bot
thf(fact_7259_filter__leD,axiom,
    ! [A: $tType,F5: filter @ A,F7: filter @ A,P2: A > $o] :
      ( ( ord_less_eq @ ( filter @ A ) @ F5 @ F7 )
     => ( ( eventually @ A @ P2 @ F7 )
       => ( eventually @ A @ P2 @ F5 ) ) ) ).

% filter_leD
thf(fact_7260_filter__leI,axiom,
    ! [A: $tType,F7: filter @ A,F5: filter @ A] :
      ( ! [P: A > $o] :
          ( ( eventually @ A @ P @ F7 )
         => ( eventually @ A @ P @ F5 ) )
     => ( ord_less_eq @ ( filter @ A ) @ F5 @ F7 ) ) ).

% filter_leI
thf(fact_7261_le__filter__def,axiom,
    ! [A: $tType] :
      ( ( ord_less_eq @ ( filter @ A ) )
      = ( ^ [F10: filter @ A,F11: filter @ A] :
          ! [P5: A > $o] :
            ( ( eventually @ A @ P5 @ F11 )
           => ( eventually @ A @ P5 @ F10 ) ) ) ) ).

% le_filter_def
thf(fact_7262_eventually__at__bot__linorder,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [P2: A > $o] :
          ( ( eventually @ A @ P2 @ ( at_bot @ A ) )
          = ( ? [N8: A] :
              ! [N3: A] :
                ( ( ord_less_eq @ A @ N3 @ N8 )
               => ( P2 @ N3 ) ) ) ) ) ).

% eventually_at_bot_linorder
thf(fact_7263_eventually__sequentially,axiom,
    ! [P2: nat > $o] :
      ( ( eventually @ nat @ P2 @ ( at_top @ nat ) )
      = ( ? [N8: nat] :
          ! [N3: nat] :
            ( ( ord_less_eq @ nat @ N8 @ N3 )
           => ( P2 @ N3 ) ) ) ) ).

% eventually_sequentially
thf(fact_7264_eventually__sequentiallyI,axiom,
    ! [C3: nat,P2: nat > $o] :
      ( ! [X3: nat] :
          ( ( ord_less_eq @ nat @ C3 @ X3 )
         => ( P2 @ X3 ) )
     => ( eventually @ nat @ P2 @ ( at_top @ nat ) ) ) ).

% eventually_sequentiallyI
thf(fact_7265_eventually__at__top__linorder,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [P2: A > $o] :
          ( ( eventually @ A @ P2 @ ( at_top @ A ) )
          = ( ? [N8: A] :
              ! [N3: A] :
                ( ( ord_less_eq @ A @ N8 @ N3 )
               => ( P2 @ N3 ) ) ) ) ) ).

% eventually_at_top_linorder
thf(fact_7266_eventually__at__top__linorderI,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [C3: A,P2: A > $o] :
          ( ! [X3: A] :
              ( ( ord_less_eq @ A @ C3 @ X3 )
             => ( P2 @ X3 ) )
         => ( eventually @ A @ P2 @ ( at_top @ A ) ) ) ) ).

% eventually_at_top_linorderI
thf(fact_7267_le__sequentially,axiom,
    ! [F5: filter @ nat] :
      ( ( ord_less_eq @ ( filter @ nat ) @ F5 @ ( at_top @ nat ) )
      = ( ! [N8: nat] : ( eventually @ nat @ ( ord_less_eq @ nat @ N8 ) @ F5 ) ) ) ).

% le_sequentially
thf(fact_7268_eventually__ge__at__top,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [C3: A] : ( eventually @ A @ ( ord_less_eq @ A @ C3 ) @ ( at_top @ A ) ) ) ).

% eventually_ge_at_top
thf(fact_7269_le__principal,axiom,
    ! [A: $tType,F5: filter @ A,A6: set @ A] :
      ( ( ord_less_eq @ ( filter @ A ) @ F5 @ ( principal @ A @ A6 ) )
      = ( eventually @ A
        @ ^ [X4: A] : ( member @ A @ X4 @ A6 )
        @ F5 ) ) ).

% le_principal
thf(fact_7270_filterlim__at__top__at__top,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ( linorder @ A )
        & ( linorder @ B ) )
     => ! [Q2: A > $o,F3: A > B,P2: B > $o,G3: B > A] :
          ( ! [X3: A,Y3: A] :
              ( ( Q2 @ X3 )
             => ( ( Q2 @ Y3 )
               => ( ( ord_less_eq @ A @ X3 @ Y3 )
                 => ( ord_less_eq @ B @ ( F3 @ X3 ) @ ( F3 @ Y3 ) ) ) ) )
         => ( ! [X3: B] :
                ( ( P2 @ X3 )
               => ( ( F3 @ ( G3 @ X3 ) )
                  = X3 ) )
           => ( ! [X3: B] :
                  ( ( P2 @ X3 )
                 => ( Q2 @ ( G3 @ X3 ) ) )
             => ( ( eventually @ A @ Q2 @ ( at_top @ A ) )
               => ( ( eventually @ B @ P2 @ ( at_top @ B ) )
                 => ( filterlim @ A @ B @ F3 @ ( at_top @ B ) @ ( at_top @ A ) ) ) ) ) ) ) ) ).

% filterlim_at_top_at_top
thf(fact_7271_eventually__finite__subsets__at__top,axiom,
    ! [A: $tType,P2: ( set @ A ) > $o,A6: set @ A] :
      ( ( eventually @ ( set @ A ) @ P2 @ ( finite5375528669736107172at_top @ A @ A6 ) )
      = ( ? [X11: set @ A] :
            ( ( finite_finite2 @ A @ X11 )
            & ( ord_less_eq @ ( set @ A ) @ X11 @ A6 )
            & ! [Y10: set @ A] :
                ( ( ( finite_finite2 @ A @ Y10 )
                  & ( ord_less_eq @ ( set @ A ) @ X11 @ Y10 )
                  & ( ord_less_eq @ ( set @ A ) @ Y10 @ A6 ) )
               => ( P2 @ Y10 ) ) ) ) ) ).

% eventually_finite_subsets_at_top
thf(fact_7272_eventually__all__ge__at__top,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [P2: A > $o] :
          ( ( eventually @ A @ P2 @ ( at_top @ A ) )
         => ( eventually @ A
            @ ^ [X4: A] :
              ! [Y4: A] :
                ( ( ord_less_eq @ A @ X4 @ Y4 )
               => ( P2 @ Y4 ) )
            @ ( at_top @ A ) ) ) ) ).

% eventually_all_ge_at_top
thf(fact_7273_eventually__Inf__base,axiom,
    ! [A: $tType,B6: set @ ( filter @ A ),P2: A > $o] :
      ( ( B6
       != ( bot_bot @ ( set @ ( filter @ A ) ) ) )
     => ( ! [F8: filter @ A] :
            ( ( member @ ( filter @ A ) @ F8 @ B6 )
           => ! [G7: filter @ A] :
                ( ( member @ ( filter @ A ) @ G7 @ B6 )
               => ? [X6: filter @ A] :
                    ( ( member @ ( filter @ A ) @ X6 @ B6 )
                    & ( ord_less_eq @ ( filter @ A ) @ X6 @ ( inf_inf @ ( filter @ A ) @ F8 @ G7 ) ) ) ) )
       => ( ( eventually @ A @ P2 @ ( complete_Inf_Inf @ ( filter @ A ) @ B6 ) )
          = ( ? [X4: filter @ A] :
                ( ( member @ ( filter @ A ) @ X4 @ B6 )
                & ( eventually @ A @ P2 @ X4 ) ) ) ) ) ) ).

% eventually_Inf_base
thf(fact_7274_filterlim__at__top__mono,axiom,
    ! [A: $tType,B: $tType] :
      ( ( linorder @ A )
     => ! [F3: B > A,F5: filter @ B,G3: B > A] :
          ( ( filterlim @ B @ A @ F3 @ ( at_top @ A ) @ F5 )
         => ( ( eventually @ B
              @ ^ [X4: B] : ( ord_less_eq @ A @ ( F3 @ X4 ) @ ( G3 @ X4 ) )
              @ F5 )
           => ( filterlim @ B @ A @ G3 @ ( at_top @ A ) @ F5 ) ) ) ) ).

% filterlim_at_top_mono
thf(fact_7275_filterlim__at__top__ge,axiom,
    ! [A: $tType,B: $tType] :
      ( ( linorder @ B )
     => ! [F3: A > B,F5: filter @ A,C3: B] :
          ( ( filterlim @ A @ B @ F3 @ ( at_top @ B ) @ F5 )
          = ( ! [Z11: B] :
                ( ( ord_less_eq @ B @ C3 @ Z11 )
               => ( eventually @ A
                  @ ^ [X4: A] : ( ord_less_eq @ B @ Z11 @ ( F3 @ X4 ) )
                  @ F5 ) ) ) ) ) ).

% filterlim_at_top_ge
thf(fact_7276_filterlim__at__top,axiom,
    ! [A: $tType,B: $tType] :
      ( ( linorder @ B )
     => ! [F3: A > B,F5: filter @ A] :
          ( ( filterlim @ A @ B @ F3 @ ( at_top @ B ) @ F5 )
          = ( ! [Z11: B] :
                ( eventually @ A
                @ ^ [X4: A] : ( ord_less_eq @ B @ Z11 @ ( F3 @ X4 ) )
                @ F5 ) ) ) ) ).

% filterlim_at_top
thf(fact_7277_filterlim__at__top__dense,axiom,
    ! [A: $tType,B: $tType] :
      ( ( unboun7993243217541854897norder @ B )
     => ! [F3: A > B,F5: filter @ A] :
          ( ( filterlim @ A @ B @ F3 @ ( at_top @ B ) @ F5 )
          = ( ! [Z11: B] :
                ( eventually @ A
                @ ^ [X4: A] : ( ord_less @ B @ Z11 @ ( F3 @ X4 ) )
                @ F5 ) ) ) ) ).

% filterlim_at_top_dense
thf(fact_7278_eventually__INF__finite,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,P2: B > $o,F5: A > ( filter @ B )] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( eventually @ B @ P2 @ ( complete_Inf_Inf @ ( filter @ B ) @ ( image2 @ A @ ( filter @ B ) @ F5 @ A6 ) ) )
        = ( ? [Q3: A > B > $o] :
              ( ! [X4: A] :
                  ( ( member @ A @ X4 @ A6 )
                 => ( eventually @ B @ ( Q3 @ X4 ) @ ( F5 @ X4 ) ) )
              & ! [Y4: B] :
                  ( ! [X4: A] :
                      ( ( member @ A @ X4 @ A6 )
                     => ( Q3 @ X4 @ Y4 ) )
                 => ( P2 @ Y4 ) ) ) ) ) ) ).

% eventually_INF_finite
thf(fact_7279_filterlim__at__bot__le,axiom,
    ! [A: $tType,B: $tType] :
      ( ( linorder @ B )
     => ! [F3: A > B,F5: filter @ A,C3: B] :
          ( ( filterlim @ A @ B @ F3 @ ( at_bot @ B ) @ F5 )
          = ( ! [Z11: B] :
                ( ( ord_less_eq @ B @ Z11 @ C3 )
               => ( eventually @ A
                  @ ^ [X4: A] : ( ord_less_eq @ B @ ( F3 @ X4 ) @ Z11 )
                  @ F5 ) ) ) ) ) ).

% filterlim_at_bot_le
thf(fact_7280_filterlim__at__bot,axiom,
    ! [A: $tType,B: $tType] :
      ( ( linorder @ B )
     => ! [F3: A > B,F5: filter @ A] :
          ( ( filterlim @ A @ B @ F3 @ ( at_bot @ B ) @ F5 )
          = ( ! [Z11: B] :
                ( eventually @ A
                @ ^ [X4: A] : ( ord_less_eq @ B @ ( F3 @ X4 ) @ Z11 )
                @ F5 ) ) ) ) ).

% filterlim_at_bot
thf(fact_7281_filterlim__at__bot__dense,axiom,
    ! [A: $tType,B: $tType] :
      ( ( ( dense_linorder @ B )
        & ( no_bot @ B ) )
     => ! [F3: A > B,F5: filter @ A] :
          ( ( filterlim @ A @ B @ F3 @ ( at_bot @ B ) @ F5 )
          = ( ! [Z11: B] :
                ( eventually @ A
                @ ^ [X4: A] : ( ord_less @ B @ ( F3 @ X4 ) @ Z11 )
                @ F5 ) ) ) ) ).

% filterlim_at_bot_dense
thf(fact_7282_wo__rel_Ocases__Total,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A3: A,B2: A,Phi: A > A > $o] :
      ( ( bNF_Wellorder_wo_rel @ A @ R3 )
     => ( ( ord_less_eq @ ( set @ A ) @ ( insert @ A @ A3 @ ( insert @ A @ B2 @ ( bot_bot @ ( set @ A ) ) ) ) @ ( field2 @ A @ R3 ) )
       => ( ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ R3 )
           => ( Phi @ A3 @ B2 ) )
         => ( ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ B2 @ A3 ) @ R3 )
             => ( Phi @ A3 @ B2 ) )
           => ( Phi @ A3 @ B2 ) ) ) ) ) ).

% wo_rel.cases_Total
thf(fact_7283_natLeq__on__wo__rel,axiom,
    ! [N: nat] :
      ( bNF_Wellorder_wo_rel @ nat
      @ ( collect @ ( product_prod @ nat @ nat )
        @ ( product_case_prod @ nat @ nat @ $o
          @ ^ [X4: nat,Y4: nat] :
              ( ( ord_less @ nat @ X4 @ N )
              & ( ord_less @ nat @ Y4 @ N )
              & ( ord_less_eq @ nat @ X4 @ Y4 ) ) ) ) ) ).

% natLeq_on_wo_rel
thf(fact_7284_wo__rel_Omax2__greater__among,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A3: A,B2: A] :
      ( ( bNF_Wellorder_wo_rel @ A @ R3 )
     => ( ( member @ A @ A3 @ ( field2 @ A @ R3 ) )
       => ( ( member @ A @ B2 @ ( field2 @ A @ R3 ) )
         => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ ( bNF_We1388413361240627857o_max2 @ A @ R3 @ A3 @ B2 ) ) @ R3 )
            & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ B2 @ ( bNF_We1388413361240627857o_max2 @ A @ R3 @ A3 @ B2 ) ) @ R3 )
            & ( member @ A @ ( bNF_We1388413361240627857o_max2 @ A @ R3 @ A3 @ B2 ) @ ( insert @ A @ A3 @ ( insert @ A @ B2 @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ) ) ) ).

% wo_rel.max2_greater_among
thf(fact_7285_filterlim__at__top__gt,axiom,
    ! [A: $tType,B: $tType] :
      ( ( unboun7993243217541854897norder @ B )
     => ! [F3: A > B,F5: filter @ A,C3: B] :
          ( ( filterlim @ A @ B @ F3 @ ( at_top @ B ) @ F5 )
          = ( ! [Z11: B] :
                ( ( ord_less @ B @ C3 @ Z11 )
               => ( eventually @ A
                  @ ^ [X4: A] : ( ord_less_eq @ B @ Z11 @ ( F3 @ X4 ) )
                  @ F5 ) ) ) ) ) ).

% filterlim_at_top_gt
thf(fact_7286_eventually__INF,axiom,
    ! [A: $tType,B: $tType,P2: A > $o,F5: B > ( filter @ A ),B6: set @ B] :
      ( ( eventually @ A @ P2 @ ( complete_Inf_Inf @ ( filter @ A ) @ ( image2 @ B @ ( filter @ A ) @ F5 @ B6 ) ) )
      = ( ? [X11: set @ B] :
            ( ( ord_less_eq @ ( set @ B ) @ X11 @ B6 )
            & ( finite_finite2 @ B @ X11 )
            & ( eventually @ A @ P2 @ ( complete_Inf_Inf @ ( filter @ A ) @ ( image2 @ B @ ( filter @ A ) @ F5 @ X11 ) ) ) ) ) ) ).

% eventually_INF
thf(fact_7287_filterlim__at__bot__lt,axiom,
    ! [A: $tType,B: $tType] :
      ( ( unboun7993243217541854897norder @ B )
     => ! [F3: A > B,F5: filter @ A,C3: B] :
          ( ( filterlim @ A @ B @ F3 @ ( at_bot @ B ) @ F5 )
          = ( ! [Z11: B] :
                ( ( ord_less @ B @ Z11 @ C3 )
               => ( eventually @ A
                  @ ^ [X4: A] : ( ord_less_eq @ B @ ( F3 @ X4 ) @ Z11 )
                  @ F5 ) ) ) ) ) ).

% filterlim_at_bot_lt
thf(fact_7288_eventually__Inf,axiom,
    ! [A: $tType,P2: A > $o,B6: set @ ( filter @ A )] :
      ( ( eventually @ A @ P2 @ ( complete_Inf_Inf @ ( filter @ A ) @ B6 ) )
      = ( ? [X11: set @ ( filter @ A )] :
            ( ( ord_less_eq @ ( set @ ( filter @ A ) ) @ X11 @ B6 )
            & ( finite_finite2 @ ( filter @ A ) @ X11 )
            & ( eventually @ A @ P2 @ ( complete_Inf_Inf @ ( filter @ A ) @ X11 ) ) ) ) ) ).

% eventually_Inf
thf(fact_7289_filterlim__finite__subsets__at__top,axiom,
    ! [A: $tType,B: $tType,F3: A > ( set @ B ),A6: set @ B,F5: filter @ A] :
      ( ( filterlim @ A @ ( set @ B ) @ F3 @ ( finite5375528669736107172at_top @ B @ A6 ) @ F5 )
      = ( ! [X11: set @ B] :
            ( ( ( finite_finite2 @ B @ X11 )
              & ( ord_less_eq @ ( set @ B ) @ X11 @ A6 ) )
           => ( eventually @ A
              @ ^ [Y4: A] :
                  ( ( finite_finite2 @ B @ ( F3 @ Y4 ) )
                  & ( ord_less_eq @ ( set @ B ) @ X11 @ ( F3 @ Y4 ) )
                  & ( ord_less_eq @ ( set @ B ) @ ( F3 @ Y4 ) @ A6 ) )
              @ F5 ) ) ) ) ).

% filterlim_finite_subsets_at_top
thf(fact_7290_map__filter__on__comp,axiom,
    ! [A: $tType,C: $tType,B: $tType,G3: B > A,Y7: set @ B,X7: set @ A,F5: filter @ B,F3: A > C] :
      ( ( ord_less_eq @ ( set @ A ) @ ( image2 @ B @ A @ G3 @ Y7 ) @ X7 )
     => ( ( eventually @ B
          @ ^ [X4: B] : ( member @ B @ X4 @ Y7 )
          @ F5 )
       => ( ( map_filter_on @ A @ C @ X7 @ F3 @ ( map_filter_on @ B @ A @ Y7 @ G3 @ F5 ) )
          = ( map_filter_on @ B @ C @ Y7 @ ( comp @ A @ C @ B @ F3 @ G3 ) @ F5 ) ) ) ) ).

% map_filter_on_comp
thf(fact_7291_wo__rel_OWell__order__isMinim__exists,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),B6: set @ A] :
      ( ( bNF_Wellorder_wo_rel @ A @ R3 )
     => ( ( ord_less_eq @ ( set @ A ) @ B6 @ ( field2 @ A @ R3 ) )
       => ( ( B6
           != ( bot_bot @ ( set @ A ) ) )
         => ? [X_1: A] : ( bNF_We4791949203932849705sMinim @ A @ R3 @ B6 @ X_1 ) ) ) ) ).

% wo_rel.Well_order_isMinim_exists
thf(fact_7292_eventually__map__filter__on,axiom,
    ! [B: $tType,A: $tType,X7: set @ A,F5: filter @ A,P2: B > $o,F3: A > B] :
      ( ( eventually @ A
        @ ^ [X4: A] : ( member @ A @ X4 @ X7 )
        @ F5 )
     => ( ( eventually @ B @ P2 @ ( map_filter_on @ A @ B @ X7 @ F3 @ F5 ) )
        = ( eventually @ A
          @ ^ [X4: A] :
              ( ( P2 @ ( F3 @ X4 ) )
              & ( member @ A @ X4 @ X7 ) )
          @ F5 ) ) ) ).

% eventually_map_filter_on
thf(fact_7293_wo__rel_OisMinim__def,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ A,B2: A] :
      ( ( bNF_Wellorder_wo_rel @ A @ R3 )
     => ( ( bNF_We4791949203932849705sMinim @ A @ R3 @ A6 @ B2 )
        = ( ( member @ A @ B2 @ A6 )
          & ! [X4: A] :
              ( ( member @ A @ X4 @ A6 )
             => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ B2 @ X4 ) @ R3 ) ) ) ) ) ).

% wo_rel.isMinim_def
thf(fact_7294_wo__rel_Ominim__isMinim,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),B6: set @ A] :
      ( ( bNF_Wellorder_wo_rel @ A @ R3 )
     => ( ( ord_less_eq @ ( set @ A ) @ B6 @ ( field2 @ A @ R3 ) )
       => ( ( B6
           != ( bot_bot @ ( set @ A ) ) )
         => ( bNF_We4791949203932849705sMinim @ A @ R3 @ B6 @ ( bNF_We6954850376910717587_minim @ A @ R3 @ B6 ) ) ) ) ) ).

% wo_rel.minim_isMinim
thf(fact_7295_wo__rel_Ominim__def,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ A] :
      ( ( bNF_Wellorder_wo_rel @ A @ R3 )
     => ( ( bNF_We6954850376910717587_minim @ A @ R3 @ A6 )
        = ( the @ A @ ( bNF_We4791949203932849705sMinim @ A @ R3 @ A6 ) ) ) ) ).

% wo_rel.minim_def
thf(fact_7296_wo__rel_Oequals__minim,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),B6: set @ A,A3: A] :
      ( ( bNF_Wellorder_wo_rel @ A @ R3 )
     => ( ( ord_less_eq @ ( set @ A ) @ B6 @ ( field2 @ A @ R3 ) )
       => ( ( member @ A @ A3 @ B6 )
         => ( ! [B4: A] :
                ( ( member @ A @ B4 @ B6 )
               => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B4 ) @ R3 ) )
           => ( A3
              = ( bNF_We6954850376910717587_minim @ A @ R3 @ B6 ) ) ) ) ) ) ).

% wo_rel.equals_minim
thf(fact_7297_wo__rel_Ominim__least,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),B6: set @ A,B2: A] :
      ( ( bNF_Wellorder_wo_rel @ A @ R3 )
     => ( ( ord_less_eq @ ( set @ A ) @ B6 @ ( field2 @ A @ R3 ) )
       => ( ( member @ A @ B2 @ B6 )
         => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ ( bNF_We6954850376910717587_minim @ A @ R3 @ B6 ) @ B2 ) @ R3 ) ) ) ) ).

% wo_rel.minim_least
thf(fact_7298_wo__rel_Ominim__in,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),B6: set @ A] :
      ( ( bNF_Wellorder_wo_rel @ A @ R3 )
     => ( ( ord_less_eq @ ( set @ A ) @ B6 @ ( field2 @ A @ R3 ) )
       => ( ( B6
           != ( bot_bot @ ( set @ A ) ) )
         => ( member @ A @ ( bNF_We6954850376910717587_minim @ A @ R3 @ B6 ) @ B6 ) ) ) ) ).

% wo_rel.minim_in
thf(fact_7299_wo__rel_Ominim__inField,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),B6: set @ A] :
      ( ( bNF_Wellorder_wo_rel @ A @ R3 )
     => ( ( ord_less_eq @ ( set @ A ) @ B6 @ ( field2 @ A @ R3 ) )
       => ( ( B6
           != ( bot_bot @ ( set @ A ) ) )
         => ( member @ A @ ( bNF_We6954850376910717587_minim @ A @ R3 @ B6 ) @ ( field2 @ A @ R3 ) ) ) ) ) ).

% wo_rel.minim_inField
thf(fact_7300_Sup__filter__def,axiom,
    ! [A: $tType] :
      ( ( complete_Sup_Sup @ ( filter @ A ) )
      = ( ^ [S4: set @ ( filter @ A )] :
            ( abs_filter @ A
            @ ^ [P5: A > $o] :
              ! [X4: filter @ A] :
                ( ( member @ ( filter @ A ) @ X4 @ S4 )
               => ( eventually @ A @ P5 @ X4 ) ) ) ) ) ).

% Sup_filter_def
thf(fact_7301_sorted__insort__insert__key,axiom,
    ! [A: $tType,B: $tType] :
      ( ( linorder @ A )
     => ! [F3: B > A,Xs: list @ B,X: B] :
          ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( map @ B @ A @ F3 @ Xs ) )
         => ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ ( map @ B @ A @ F3 @ ( linord329482645794927042rt_key @ B @ A @ F3 @ X @ Xs ) ) ) ) ) ).

% sorted_insort_insert_key
thf(fact_7302_insort__insert__triv,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [X: A,Xs: list @ A] :
          ( ( member @ A @ X @ ( set2 @ A @ Xs ) )
         => ( ( linord329482645794927042rt_key @ A @ A
              @ ^ [X4: A] : X4
              @ X
              @ Xs )
            = Xs ) ) ) ).

% insort_insert_triv
thf(fact_7303_top__filter__def,axiom,
    ! [A: $tType] :
      ( ( top_top @ ( filter @ A ) )
      = ( abs_filter @ A
        @ ^ [P4: A > $o] :
          ! [X5: A] : ( P4 @ X5 ) ) ) ).

% top_filter_def
thf(fact_7304_bot__filter__def,axiom,
    ! [A: $tType] :
      ( ( bot_bot @ ( filter @ A ) )
      = ( abs_filter @ A
        @ ^ [P5: A > $o] : $true ) ) ).

% bot_filter_def
thf(fact_7305_sup__filter__def,axiom,
    ! [A: $tType] :
      ( ( sup_sup @ ( filter @ A ) )
      = ( ^ [F10: filter @ A,F11: filter @ A] :
            ( abs_filter @ A
            @ ^ [P5: A > $o] :
                ( ( eventually @ A @ P5 @ F10 )
                & ( eventually @ A @ P5 @ F11 ) ) ) ) ) ).

% sup_filter_def
thf(fact_7306_principal__def,axiom,
    ! [A: $tType] :
      ( ( principal @ A )
      = ( ^ [S4: set @ A] : ( abs_filter @ A @ ( ball @ A @ S4 ) ) ) ) ).

% principal_def
thf(fact_7307_map__filter__on__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( map_filter_on @ A @ B )
      = ( ^ [X11: set @ A,F4: A > B,F10: filter @ A] :
            ( abs_filter @ B
            @ ^ [P5: B > $o] :
                ( eventually @ A
                @ ^ [X4: A] :
                    ( ( P5 @ ( F4 @ X4 ) )
                    & ( member @ A @ X4 @ X11 ) )
                @ F10 ) ) ) ) ).

% map_filter_on_def
thf(fact_7308_set__insort__insert,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [X: A,Xs: list @ A] :
          ( ( set2 @ A
            @ ( linord329482645794927042rt_key @ A @ A
              @ ^ [X4: A] : X4
              @ X
              @ Xs ) )
          = ( insert @ A @ X @ ( set2 @ A @ Xs ) ) ) ) ).

% set_insort_insert
thf(fact_7309_sorted__insort__insert,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [Xs: list @ A,X: A] :
          ( ( sorted_wrt @ A @ ( ord_less_eq @ A ) @ Xs )
         => ( sorted_wrt @ A @ ( ord_less_eq @ A )
            @ ( linord329482645794927042rt_key @ A @ A
              @ ^ [X4: A] : X4
              @ X
              @ Xs ) ) ) ) ).

% sorted_insort_insert
thf(fact_7310_insort__insert__insort,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [X: A,Xs: list @ A] :
          ( ~ ( member @ A @ X @ ( set2 @ A @ Xs ) )
         => ( ( linord329482645794927042rt_key @ A @ A
              @ ^ [X4: A] : X4
              @ X
              @ Xs )
            = ( linorder_insort_key @ A @ A
              @ ^ [X4: A] : X4
              @ X
              @ Xs ) ) ) ) ).

% insort_insert_insort
thf(fact_7311_inf__filter__def,axiom,
    ! [A: $tType] :
      ( ( inf_inf @ ( filter @ A ) )
      = ( ^ [F10: filter @ A,F11: filter @ A] :
            ( abs_filter @ A
            @ ^ [P5: A > $o] :
              ? [Q3: A > $o,R2: A > $o] :
                ( ( eventually @ A @ Q3 @ F10 )
                & ( eventually @ A @ R2 @ F11 )
                & ! [X4: A] :
                    ( ( ( Q3 @ X4 )
                      & ( R2 @ X4 ) )
                   => ( P5 @ X4 ) ) ) ) ) ) ).

% inf_filter_def
thf(fact_7312_execute__ref,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [V2: A,H: heap_ext @ product_unit] :
          ( ( heap_Time_execute @ ( ref @ A ) @ ( ref_ref @ A @ V2 ) @ H )
          = ( some @ ( product_prod @ ( ref @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) )
            @ ( product_case_prod @ ( ref @ A ) @ ( heap_ext @ product_unit ) @ ( product_prod @ ( ref @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) )
              @ ^ [R5: ref @ A,H8: heap_ext @ product_unit] : ( product_Pair @ ( ref @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ R5 @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ H8 @ ( one_one @ nat ) ) )
              @ ( ref_alloc @ A @ V2 @ H ) ) ) ) ) ).

% execute_ref
thf(fact_7313_ref__def,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ( ( ref_ref @ A )
        = ( ^ [V3: A] :
              ( heap_Time_heap @ ( ref @ A )
              @ ^ [H7: heap_ext @ product_unit] :
                  ( product_case_prod @ ( ref @ A ) @ ( heap_ext @ product_unit ) @ ( product_prod @ ( ref @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) )
                  @ ^ [R5: ref @ A,H8: heap_ext @ product_unit] : ( product_Pair @ ( ref @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ nat ) @ R5 @ ( product_Pair @ ( heap_ext @ product_unit ) @ nat @ H8 @ ( one_one @ nat ) ) )
                  @ ( ref_alloc @ A @ V3 @ H7 ) ) ) ) ) ) ).

% ref_def
thf(fact_7314_filtercomap__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( filtercomap @ A @ B )
      = ( ^ [F4: A > B,F10: filter @ B] :
            ( abs_filter @ A
            @ ^ [P5: A > $o] :
              ? [Q3: B > $o] :
                ( ( eventually @ B @ Q3 @ F10 )
                & ! [X4: A] :
                    ( ( Q3 @ ( F4 @ X4 ) )
                   => ( P5 @ X4 ) ) ) ) ) ) ).

% filtercomap_def
thf(fact_7315_admissible__chfin,axiom,
    ! [A: $tType] :
      ( ( comple9053668089753744459l_ccpo @ A )
     => ! [P2: A > $o] :
          ( ! [S8: set @ A] :
              ( ( comple1602240252501008431_chain @ A @ ( ord_less_eq @ A ) @ S8 )
             => ( finite_finite2 @ A @ S8 ) )
         => ( comple1908693960933563346ssible @ A @ ( complete_Sup_Sup @ A ) @ ( ord_less_eq @ A ) @ P2 ) ) ) ).

% admissible_chfin
thf(fact_7316_eventually__filtercomapI,axiom,
    ! [B: $tType,A: $tType,P2: A > $o,F5: filter @ A,F3: B > A] :
      ( ( eventually @ A @ P2 @ F5 )
     => ( eventually @ B
        @ ^ [X4: B] : ( P2 @ ( F3 @ X4 ) )
        @ ( filtercomap @ B @ A @ F3 @ F5 ) ) ) ).

% eventually_filtercomapI
thf(fact_7317_filtercomap__filtercomap,axiom,
    ! [A: $tType,B: $tType,C: $tType,F3: A > B,G3: B > C,F5: filter @ C] :
      ( ( filtercomap @ A @ B @ F3 @ ( filtercomap @ B @ C @ G3 @ F5 ) )
      = ( filtercomap @ A @ C
        @ ^ [X4: A] : ( G3 @ ( F3 @ X4 ) )
        @ F5 ) ) ).

% filtercomap_filtercomap
thf(fact_7318_filtercomap__ident,axiom,
    ! [A: $tType,F5: filter @ A] :
      ( ( filtercomap @ A @ A
        @ ^ [X4: A] : X4
        @ F5 )
      = F5 ) ).

% filtercomap_ident
thf(fact_7319_admissible__all,axiom,
    ! [A: $tType,B: $tType,Lub: ( set @ B ) > B,Ord: B > B > $o,P2: B > A > $o] :
      ( ! [Y3: A] :
          ( comple1908693960933563346ssible @ B @ Lub @ Ord
          @ ^ [X4: B] : ( P2 @ X4 @ Y3 ) )
     => ( comple1908693960933563346ssible @ B @ Lub @ Ord
        @ ^ [X4: B] :
          ! [X11: A] : ( P2 @ X4 @ X11 ) ) ) ).

% admissible_all
thf(fact_7320_admissible__const,axiom,
    ! [A: $tType,Lub: ( set @ A ) > A,Ord: A > A > $o,T5: $o] :
      ( comple1908693960933563346ssible @ A @ Lub @ Ord
      @ ^ [X4: A] : T5 ) ).

% admissible_const
thf(fact_7321_admissible__conj,axiom,
    ! [A: $tType,Lub: ( set @ A ) > A,Ord: A > A > $o,P2: A > $o,Q2: A > $o] :
      ( ( comple1908693960933563346ssible @ A @ Lub @ Ord @ P2 )
     => ( ( comple1908693960933563346ssible @ A @ Lub @ Ord @ Q2 )
       => ( comple1908693960933563346ssible @ A @ Lub @ Ord
          @ ^ [X4: A] :
              ( ( P2 @ X4 )
              & ( Q2 @ X4 ) ) ) ) ) ).

% admissible_conj
thf(fact_7322_admissible__True,axiom,
    ! [A: $tType,Lub: ( set @ A ) > A,Ord: A > A > $o] :
      ( comple1908693960933563346ssible @ A @ Lub @ Ord
      @ ^ [X4: A] : $true ) ).

% admissible_True
thf(fact_7323_admissible__ball,axiom,
    ! [A: $tType,B: $tType,A6: set @ A,Lub: ( set @ B ) > B,Ord: B > B > $o,P2: B > A > $o] :
      ( ! [Y3: A] :
          ( ( member @ A @ Y3 @ A6 )
         => ( comple1908693960933563346ssible @ B @ Lub @ Ord
            @ ^ [X4: B] : ( P2 @ X4 @ Y3 ) ) )
     => ( comple1908693960933563346ssible @ B @ Lub @ Ord
        @ ^ [X4: B] :
          ! [Y4: A] :
            ( ( member @ A @ Y4 @ A6 )
           => ( P2 @ X4 @ Y4 ) ) ) ) ).

% admissible_ball
thf(fact_7324_filterlim__iff__le__filtercomap,axiom,
    ! [B: $tType,A: $tType] :
      ( ( filterlim @ A @ B )
      = ( ^ [F4: A > B,F10: filter @ B,G9: filter @ A] : ( ord_less_eq @ ( filter @ A ) @ G9 @ ( filtercomap @ A @ B @ F4 @ F10 ) ) ) ) ).

% filterlim_iff_le_filtercomap
thf(fact_7325_filtercomap__mono,axiom,
    ! [B: $tType,A: $tType,F5: filter @ A,F7: filter @ A,F3: B > A] :
      ( ( ord_less_eq @ ( filter @ A ) @ F5 @ F7 )
     => ( ord_less_eq @ ( filter @ B ) @ ( filtercomap @ B @ A @ F3 @ F5 ) @ ( filtercomap @ B @ A @ F3 @ F7 ) ) ) ).

% filtercomap_mono
thf(fact_7326_filtercomap__sup,axiom,
    ! [A: $tType,B: $tType,F3: A > B,F15: filter @ B,F24: filter @ B] : ( ord_less_eq @ ( filter @ A ) @ ( sup_sup @ ( filter @ A ) @ ( filtercomap @ A @ B @ F3 @ F15 ) @ ( filtercomap @ A @ B @ F3 @ F24 ) ) @ ( filtercomap @ A @ B @ F3 @ ( sup_sup @ ( filter @ B ) @ F15 @ F24 ) ) ) ).

% filtercomap_sup
thf(fact_7327_filtercomap__INF,axiom,
    ! [A: $tType,B: $tType,C: $tType,F3: A > B,F5: C > ( filter @ B ),B6: set @ C] :
      ( ( filtercomap @ A @ B @ F3 @ ( complete_Inf_Inf @ ( filter @ B ) @ ( image2 @ C @ ( filter @ B ) @ F5 @ B6 ) ) )
      = ( complete_Inf_Inf @ ( filter @ A )
        @ ( image2 @ C @ ( filter @ A )
          @ ^ [B5: C] : ( filtercomap @ A @ B @ F3 @ ( F5 @ B5 ) )
          @ B6 ) ) ) ).

% filtercomap_INF
thf(fact_7328_admissible__disj,axiom,
    ! [A: $tType] :
      ( ( comple9053668089753744459l_ccpo @ A )
     => ! [P2: A > $o,Q2: A > $o] :
          ( ( comple1908693960933563346ssible @ A @ ( complete_Sup_Sup @ A ) @ ( ord_less_eq @ A ) @ P2 )
         => ( ( comple1908693960933563346ssible @ A @ ( complete_Sup_Sup @ A ) @ ( ord_less_eq @ A ) @ Q2 )
           => ( comple1908693960933563346ssible @ A @ ( complete_Sup_Sup @ A ) @ ( ord_less_eq @ A )
              @ ^ [X4: A] :
                  ( ( P2 @ X4 )
                  | ( Q2 @ X4 ) ) ) ) ) ) ).

% admissible_disj
thf(fact_7329_eventually__filtercomap__at__top__linorder,axiom,
    ! [B: $tType,A: $tType] :
      ( ( linorder @ A )
     => ! [P2: B > $o,F3: B > A] :
          ( ( eventually @ B @ P2 @ ( filtercomap @ B @ A @ F3 @ ( at_top @ A ) ) )
          = ( ? [N8: A] :
              ! [X4: B] :
                ( ( ord_less_eq @ A @ N8 @ ( F3 @ X4 ) )
               => ( P2 @ X4 ) ) ) ) ) ).

% eventually_filtercomap_at_top_linorder
thf(fact_7330_eventually__filtercomap__at__top__dense,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ( linorder @ A )
        & ( no_top @ A ) )
     => ! [P2: B > $o,F3: B > A] :
          ( ( eventually @ B @ P2 @ ( filtercomap @ B @ A @ F3 @ ( at_top @ A ) ) )
          = ( ? [N8: A] :
              ! [X4: B] :
                ( ( ord_less @ A @ N8 @ ( F3 @ X4 ) )
               => ( P2 @ X4 ) ) ) ) ) ).

% eventually_filtercomap_at_top_dense
thf(fact_7331_eventually__filtercomap__at__bot__linorder,axiom,
    ! [B: $tType,A: $tType] :
      ( ( linorder @ A )
     => ! [P2: B > $o,F3: B > A] :
          ( ( eventually @ B @ P2 @ ( filtercomap @ B @ A @ F3 @ ( at_bot @ A ) ) )
          = ( ? [N8: A] :
              ! [X4: B] :
                ( ( ord_less_eq @ A @ ( F3 @ X4 ) @ N8 )
               => ( P2 @ X4 ) ) ) ) ) ).

% eventually_filtercomap_at_bot_linorder
thf(fact_7332_eventually__filtercomap__at__bot__dense,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ( linorder @ A )
        & ( no_bot @ A ) )
     => ! [P2: B > $o,F3: B > A] :
          ( ( eventually @ B @ P2 @ ( filtercomap @ B @ A @ F3 @ ( at_bot @ A ) ) )
          = ( ? [N8: A] :
              ! [X4: B] :
                ( ( ord_less @ A @ ( F3 @ X4 ) @ N8 )
               => ( P2 @ X4 ) ) ) ) ) ).

% eventually_filtercomap_at_bot_dense
thf(fact_7333_filtercomap__SUP,axiom,
    ! [A: $tType,C: $tType,B: $tType,F3: A > C,F5: B > ( filter @ C ),B6: set @ B] :
      ( ord_less_eq @ ( filter @ A )
      @ ( complete_Sup_Sup @ ( filter @ A )
        @ ( image2 @ B @ ( filter @ A )
          @ ^ [B5: B] : ( filtercomap @ A @ C @ F3 @ ( F5 @ B5 ) )
          @ B6 ) )
      @ ( filtercomap @ A @ C @ F3 @ ( complete_Sup_Sup @ ( filter @ C ) @ ( image2 @ B @ ( filter @ C ) @ F5 @ B6 ) ) ) ) ).

% filtercomap_SUP
thf(fact_7334_multp__def,axiom,
    ! [A: $tType] :
      ( ( multp @ A )
      = ( ^ [R5: A > A > $o,M9: multiset @ A,N8: multiset @ A] : ( member @ ( product_prod @ ( multiset @ A ) @ ( multiset @ A ) ) @ ( product_Pair @ ( multiset @ A ) @ ( multiset @ A ) @ M9 @ N8 ) @ ( mult @ A @ ( collect @ ( product_prod @ A @ A ) @ ( product_case_prod @ A @ A @ $o @ R5 ) ) ) ) ) ) ).

% multp_def
thf(fact_7335_pair__lessI2,axiom,
    ! [A3: nat,B2: nat,S2: nat,T5: nat] :
      ( ( ord_less_eq @ nat @ A3 @ B2 )
     => ( ( ord_less @ nat @ S2 @ T5 )
       => ( member @ ( product_prod @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) ) @ ( product_Pair @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) @ ( product_Pair @ nat @ nat @ A3 @ S2 ) @ ( product_Pair @ nat @ nat @ B2 @ T5 ) ) @ fun_pair_less ) ) ) ).

% pair_lessI2
thf(fact_7336_total__pair__less,axiom,
    ! [A6: set @ ( product_prod @ nat @ nat )] : ( total_on @ ( product_prod @ nat @ nat ) @ A6 @ fun_pair_less ) ).

% total_pair_less
thf(fact_7337_trans__pair__less,axiom,
    trans @ ( product_prod @ nat @ nat ) @ fun_pair_less ).

% trans_pair_less
thf(fact_7338_pair__less__iff1,axiom,
    ! [X: nat,Y: nat,Z4: nat] :
      ( ( member @ ( product_prod @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) ) @ ( product_Pair @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) @ ( product_Pair @ nat @ nat @ X @ Y ) @ ( product_Pair @ nat @ nat @ X @ Z4 ) ) @ fun_pair_less )
      = ( ord_less @ nat @ Y @ Z4 ) ) ).

% pair_less_iff1
thf(fact_7339_wf__pair__less,axiom,
    wf @ ( product_prod @ nat @ nat ) @ fun_pair_less ).

% wf_pair_less
thf(fact_7340_pair__less__def,axiom,
    ( fun_pair_less
    = ( lex_prod @ nat @ nat @ less_than @ less_than ) ) ).

% pair_less_def
thf(fact_7341_less__multiset__def,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ( ( ord_less @ ( multiset @ A ) )
        = ( multp @ A @ ( ord_less @ A ) ) ) ) ).

% less_multiset_def
thf(fact_7342_pair__lessI1,axiom,
    ! [A3: nat,B2: nat,S2: nat,T5: nat] :
      ( ( ord_less @ nat @ A3 @ B2 )
     => ( member @ ( product_prod @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) ) @ ( product_Pair @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) @ ( product_Pair @ nat @ nat @ A3 @ S2 ) @ ( product_Pair @ nat @ nat @ B2 @ T5 ) ) @ fun_pair_less ) ) ).

% pair_lessI1
thf(fact_7343_one__step__implies__multp,axiom,
    ! [A: $tType,J4: multiset @ A,K5: multiset @ A,R3: A > A > $o,I5: multiset @ A] :
      ( ( J4
       != ( zero_zero @ ( multiset @ A ) ) )
     => ( ! [X3: A] :
            ( ( member @ A @ X3 @ ( set_mset @ A @ K5 ) )
           => ? [Xa3: A] :
                ( ( member @ A @ Xa3 @ ( set_mset @ A @ J4 ) )
                & ( R3 @ X3 @ Xa3 ) ) )
       => ( multp @ A @ R3 @ ( plus_plus @ ( multiset @ A ) @ I5 @ K5 ) @ ( plus_plus @ ( multiset @ A ) @ I5 @ J4 ) ) ) ) ).

% one_step_implies_multp
thf(fact_7344_mono__multp,axiom,
    ! [A: $tType,R3: A > A > $o,R7: A > A > $o] :
      ( ( ord_less_eq @ ( A > A > $o ) @ R3 @ R7 )
     => ( ord_less_eq @ ( ( multiset @ A ) > ( multiset @ A ) > $o ) @ ( multp @ A @ R3 ) @ ( multp @ A @ R7 ) ) ) ).

% mono_multp
thf(fact_7345_smin__insertI,axiom,
    ! [X: product_prod @ nat @ nat,XS2: set @ ( product_prod @ nat @ nat ),Y: product_prod @ nat @ nat,YS: set @ ( product_prod @ nat @ nat )] :
      ( ( member @ ( product_prod @ nat @ nat ) @ X @ XS2 )
     => ( ( member @ ( product_prod @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) ) @ ( product_Pair @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) @ X @ Y ) @ fun_pair_less )
       => ( ( member @ ( product_prod @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) @ XS2 @ YS ) @ fun_min_strict )
         => ( member @ ( product_prod @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) @ XS2 @ ( insert @ ( product_prod @ nat @ nat ) @ Y @ YS ) ) @ fun_min_strict ) ) ) ) ).

% smin_insertI
thf(fact_7346_pair__leqI2,axiom,
    ! [A3: nat,B2: nat,S2: nat,T5: nat] :
      ( ( ord_less_eq @ nat @ A3 @ B2 )
     => ( ( ord_less_eq @ nat @ S2 @ T5 )
       => ( member @ ( product_prod @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) ) @ ( product_Pair @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) @ ( product_Pair @ nat @ nat @ A3 @ S2 ) @ ( product_Pair @ nat @ nat @ B2 @ T5 ) ) @ fun_pair_leq ) ) ) ).

% pair_leqI2
thf(fact_7347_pair__leq__def,axiom,
    ( fun_pair_leq
    = ( sup_sup @ ( set @ ( product_prod @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) ) ) @ fun_pair_less @ ( id2 @ ( product_prod @ nat @ nat ) ) ) ) ).

% pair_leq_def
thf(fact_7348_smin__emptyI,axiom,
    ! [X7: set @ ( product_prod @ nat @ nat )] :
      ( ( X7
       != ( bot_bot @ ( set @ ( product_prod @ nat @ nat ) ) ) )
     => ( member @ ( product_prod @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) @ X7 @ ( bot_bot @ ( set @ ( product_prod @ nat @ nat ) ) ) ) @ fun_min_strict ) ) ).

% smin_emptyI
thf(fact_7349_min__strict__def,axiom,
    ( fun_min_strict
    = ( min_ext @ ( product_prod @ nat @ nat ) @ fun_pair_less ) ) ).

% min_strict_def
thf(fact_7350_pair__leqI1,axiom,
    ! [A3: nat,B2: nat,S2: nat,T5: nat] :
      ( ( ord_less @ nat @ A3 @ B2 )
     => ( member @ ( product_prod @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) ) @ ( product_Pair @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) @ ( product_Pair @ nat @ nat @ A3 @ S2 ) @ ( product_Pair @ nat @ nat @ B2 @ T5 ) ) @ fun_pair_leq ) ) ).

% pair_leqI1
thf(fact_7351_wmax__insertI,axiom,
    ! [Y: product_prod @ nat @ nat,YS: set @ ( product_prod @ nat @ nat ),X: product_prod @ nat @ nat,XS2: set @ ( product_prod @ nat @ nat )] :
      ( ( member @ ( product_prod @ nat @ nat ) @ Y @ YS )
     => ( ( member @ ( product_prod @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) ) @ ( product_Pair @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) @ X @ Y ) @ fun_pair_leq )
       => ( ( member @ ( product_prod @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) @ XS2 @ YS ) @ fun_max_weak )
         => ( member @ ( product_prod @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) @ ( insert @ ( product_prod @ nat @ nat ) @ X @ XS2 ) @ YS ) @ fun_max_weak ) ) ) ) ).

% wmax_insertI
thf(fact_7352_wmin__insertI,axiom,
    ! [X: product_prod @ nat @ nat,XS2: set @ ( product_prod @ nat @ nat ),Y: product_prod @ nat @ nat,YS: set @ ( product_prod @ nat @ nat )] :
      ( ( member @ ( product_prod @ nat @ nat ) @ X @ XS2 )
     => ( ( member @ ( product_prod @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) ) @ ( product_Pair @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) @ X @ Y ) @ fun_pair_leq )
       => ( ( member @ ( product_prod @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) @ XS2 @ YS ) @ fun_min_weak )
         => ( member @ ( product_prod @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) @ XS2 @ ( insert @ ( product_prod @ nat @ nat ) @ Y @ YS ) ) @ fun_min_weak ) ) ) ) ).

% wmin_insertI
thf(fact_7353_wmin__emptyI,axiom,
    ! [X7: set @ ( product_prod @ nat @ nat )] : ( member @ ( product_prod @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) @ X7 @ ( bot_bot @ ( set @ ( product_prod @ nat @ nat ) ) ) ) @ fun_min_weak ) ).

% wmin_emptyI
thf(fact_7354_wmax__emptyI,axiom,
    ! [X7: set @ ( product_prod @ nat @ nat )] :
      ( ( finite_finite2 @ ( product_prod @ nat @ nat ) @ X7 )
     => ( member @ ( product_prod @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) @ ( bot_bot @ ( set @ ( product_prod @ nat @ nat ) ) ) @ X7 ) @ fun_max_weak ) ) ).

% wmax_emptyI
thf(fact_7355_min__rpair__set,axiom,
    fun_reduction_pair @ ( set @ ( product_prod @ nat @ nat ) ) @ ( product_Pair @ ( set @ ( product_prod @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) ) ) @ ( set @ ( product_prod @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) ) ) @ fun_min_strict @ fun_min_weak ) ).

% min_rpair_set
thf(fact_7356_min__weak__def,axiom,
    ( fun_min_weak
    = ( sup_sup @ ( set @ ( product_prod @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) ) ) @ ( min_ext @ ( product_prod @ nat @ nat ) @ fun_pair_leq ) @ ( insert @ ( product_prod @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) @ ( bot_bot @ ( set @ ( product_prod @ nat @ nat ) ) ) @ ( bot_bot @ ( set @ ( product_prod @ nat @ nat ) ) ) ) @ ( bot_bot @ ( set @ ( product_prod @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) ) ) ) ) ) ) ).

% min_weak_def
thf(fact_7357_max__weak__def,axiom,
    ( fun_max_weak
    = ( sup_sup @ ( set @ ( product_prod @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) ) ) @ ( max_ext @ ( product_prod @ nat @ nat ) @ fun_pair_leq ) @ ( insert @ ( product_prod @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) @ ( bot_bot @ ( set @ ( product_prod @ nat @ nat ) ) ) @ ( bot_bot @ ( set @ ( product_prod @ nat @ nat ) ) ) ) @ ( bot_bot @ ( set @ ( product_prod @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) ) ) ) ) ) ) ).

% max_weak_def
thf(fact_7358_smax__insertI,axiom,
    ! [Y: product_prod @ nat @ nat,Y7: set @ ( product_prod @ nat @ nat ),X: product_prod @ nat @ nat,X7: set @ ( product_prod @ nat @ nat )] :
      ( ( member @ ( product_prod @ nat @ nat ) @ Y @ Y7 )
     => ( ( member @ ( product_prod @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) ) @ ( product_Pair @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) @ X @ Y ) @ fun_pair_less )
       => ( ( member @ ( product_prod @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) @ X7 @ Y7 ) @ fun_max_strict )
         => ( member @ ( product_prod @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) @ ( insert @ ( product_prod @ nat @ nat ) @ X @ X7 ) @ Y7 ) @ fun_max_strict ) ) ) ) ).

% smax_insertI
thf(fact_7359_euclidean__size__times__nonunit,axiom,
    ! [A: $tType] :
      ( ( euclid3725896446679973847miring @ A )
     => ! [A3: A,B2: A] :
          ( ( A3
           != ( zero_zero @ A ) )
         => ( ( B2
             != ( zero_zero @ A ) )
           => ( ~ ( dvd_dvd @ A @ A3 @ ( one_one @ A ) )
             => ( ord_less @ nat @ ( euclid6346220572633701492n_size @ A @ B2 ) @ ( euclid6346220572633701492n_size @ A @ ( times_times @ A @ A3 @ B2 ) ) ) ) ) ) ) ).

% euclidean_size_times_nonunit
thf(fact_7360_euclidean__size__greater__0__iff,axiom,
    ! [A: $tType] :
      ( ( euclid3725896446679973847miring @ A )
     => ! [B2: A] :
          ( ( ord_less @ nat @ ( zero_zero @ nat ) @ ( euclid6346220572633701492n_size @ A @ B2 ) )
          = ( B2
           != ( zero_zero @ A ) ) ) ) ).

% euclidean_size_greater_0_iff
thf(fact_7361_max__strict__def,axiom,
    ( fun_max_strict
    = ( max_ext @ ( product_prod @ nat @ nat ) @ fun_pair_less ) ) ).

% max_strict_def
thf(fact_7362_size__mult__mono,axiom,
    ! [A: $tType] :
      ( ( euclid3725896446679973847miring @ A )
     => ! [B2: A,A3: A] :
          ( ( B2
           != ( zero_zero @ A ) )
         => ( ord_less_eq @ nat @ ( euclid6346220572633701492n_size @ A @ A3 ) @ ( euclid6346220572633701492n_size @ A @ ( times_times @ A @ A3 @ B2 ) ) ) ) ) ).

% size_mult_mono
thf(fact_7363_size__mult__mono_H,axiom,
    ! [A: $tType] :
      ( ( euclid3725896446679973847miring @ A )
     => ! [B2: A,A3: A] :
          ( ( B2
           != ( zero_zero @ A ) )
         => ( ord_less_eq @ nat @ ( euclid6346220572633701492n_size @ A @ A3 ) @ ( euclid6346220572633701492n_size @ A @ ( times_times @ A @ B2 @ A3 ) ) ) ) ) ).

% size_mult_mono'
thf(fact_7364_dvd__proper__imp__size__less,axiom,
    ! [A: $tType] :
      ( ( euclid3725896446679973847miring @ A )
     => ! [A3: A,B2: A] :
          ( ( dvd_dvd @ A @ A3 @ B2 )
         => ( ~ ( dvd_dvd @ A @ B2 @ A3 )
           => ( ( B2
               != ( zero_zero @ A ) )
             => ( ord_less @ nat @ ( euclid6346220572633701492n_size @ A @ A3 ) @ ( euclid6346220572633701492n_size @ A @ B2 ) ) ) ) ) ) ).

% dvd_proper_imp_size_less
thf(fact_7365_max__rpair__set,axiom,
    fun_reduction_pair @ ( set @ ( product_prod @ nat @ nat ) ) @ ( product_Pair @ ( set @ ( product_prod @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) ) ) @ ( set @ ( product_prod @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) ) ) @ fun_max_strict @ fun_max_weak ) ).

% max_rpair_set
thf(fact_7366_dvd__imp__size__le,axiom,
    ! [A: $tType] :
      ( ( euclid3725896446679973847miring @ A )
     => ! [A3: A,B2: A] :
          ( ( dvd_dvd @ A @ A3 @ B2 )
         => ( ( B2
             != ( zero_zero @ A ) )
           => ( ord_less_eq @ nat @ ( euclid6346220572633701492n_size @ A @ A3 ) @ ( euclid6346220572633701492n_size @ A @ B2 ) ) ) ) ) ).

% dvd_imp_size_le
thf(fact_7367_mod__size__less,axiom,
    ! [A: $tType] :
      ( ( euclid3725896446679973847miring @ A )
     => ! [B2: A,A3: A] :
          ( ( B2
           != ( zero_zero @ A ) )
         => ( ord_less @ nat @ ( euclid6346220572633701492n_size @ A @ ( modulo_modulo @ A @ A3 @ B2 ) ) @ ( euclid6346220572633701492n_size @ A @ B2 ) ) ) ) ).

% mod_size_less
thf(fact_7368_smax__emptyI,axiom,
    ! [Y7: set @ ( product_prod @ nat @ nat )] :
      ( ( finite_finite2 @ ( product_prod @ nat @ nat ) @ Y7 )
     => ( ( Y7
         != ( bot_bot @ ( set @ ( product_prod @ nat @ nat ) ) ) )
       => ( member @ ( product_prod @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) @ ( bot_bot @ ( set @ ( product_prod @ nat @ nat ) ) ) @ Y7 ) @ fun_max_strict ) ) ) ).

% smax_emptyI
thf(fact_7369_divmod__cases,axiom,
    ! [A: $tType] :
      ( ( euclid3128863361964157862miring @ A )
     => ! [B2: A,A3: A] :
          ( ( ( B2
             != ( zero_zero @ A ) )
           => ( ( ( modulo_modulo @ A @ A3 @ B2 )
                = ( zero_zero @ A ) )
             => ( A3
               != ( times_times @ A @ ( divide_divide @ A @ A3 @ B2 ) @ B2 ) ) ) )
         => ( ( ( B2
               != ( zero_zero @ A ) )
             => ! [Q5: A,R: A] :
                  ( ( ( euclid7384307370059645450egment @ A @ R )
                    = ( euclid7384307370059645450egment @ A @ B2 ) )
                 => ( ( ord_less @ nat @ ( euclid6346220572633701492n_size @ A @ R ) @ ( euclid6346220572633701492n_size @ A @ B2 ) )
                   => ( ( R
                       != ( zero_zero @ A ) )
                     => ( ( ( divide_divide @ A @ A3 @ B2 )
                          = Q5 )
                       => ( ( ( modulo_modulo @ A @ A3 @ B2 )
                            = R )
                         => ( A3
                           != ( plus_plus @ A @ ( times_times @ A @ Q5 @ B2 ) @ R ) ) ) ) ) ) ) )
           => ( B2
              = ( zero_zero @ A ) ) ) ) ) ).

% divmod_cases
thf(fact_7370_mod__eqI,axiom,
    ! [A: $tType] :
      ( ( euclid3128863361964157862miring @ A )
     => ! [B2: A,R3: A,Q6: A,A3: A] :
          ( ( B2
           != ( zero_zero @ A ) )
         => ( ( ( euclid7384307370059645450egment @ A @ R3 )
              = ( euclid7384307370059645450egment @ A @ B2 ) )
           => ( ( ord_less @ nat @ ( euclid6346220572633701492n_size @ A @ R3 ) @ ( euclid6346220572633701492n_size @ A @ B2 ) )
             => ( ( ( plus_plus @ A @ ( times_times @ A @ Q6 @ B2 ) @ R3 )
                  = A3 )
               => ( ( modulo_modulo @ A @ A3 @ B2 )
                  = R3 ) ) ) ) ) ) ).

% mod_eqI
thf(fact_7371_division__segment__int__def,axiom,
    ( ( euclid7384307370059645450egment @ int )
    = ( ^ [K3: int] : ( if @ int @ ( ord_less_eq @ int @ ( zero_zero @ int ) @ K3 ) @ ( one_one @ int ) @ ( uminus_uminus @ int @ ( one_one @ int ) ) ) ) ) ).

% division_segment_int_def
thf(fact_7372_unique__euclidean__semiring__class_Odiv__eq__0__iff,axiom,
    ! [A: $tType] :
      ( ( euclid3128863361964157862miring @ A )
     => ! [A3: A,B2: A] :
          ( ( ( euclid7384307370059645450egment @ A @ A3 )
            = ( euclid7384307370059645450egment @ A @ B2 ) )
         => ( ( ( divide_divide @ A @ A3 @ B2 )
              = ( zero_zero @ A ) )
            = ( ( ord_less @ nat @ ( euclid6346220572633701492n_size @ A @ A3 ) @ ( euclid6346220572633701492n_size @ A @ B2 ) )
              | ( B2
                = ( zero_zero @ A ) ) ) ) ) ) ).

% unique_euclidean_semiring_class.div_eq_0_iff
thf(fact_7373_div__eqI,axiom,
    ! [A: $tType] :
      ( ( euclid3128863361964157862miring @ A )
     => ! [B2: A,R3: A,Q6: A,A3: A] :
          ( ( B2
           != ( zero_zero @ A ) )
         => ( ( ( euclid7384307370059645450egment @ A @ R3 )
              = ( euclid7384307370059645450egment @ A @ B2 ) )
           => ( ( ord_less @ nat @ ( euclid6346220572633701492n_size @ A @ R3 ) @ ( euclid6346220572633701492n_size @ A @ B2 ) )
             => ( ( ( plus_plus @ A @ ( times_times @ A @ Q6 @ B2 ) @ R3 )
                  = A3 )
               => ( ( divide_divide @ A @ A3 @ B2 )
                  = Q6 ) ) ) ) ) ) ).

% div_eqI
thf(fact_7374_div__bounded,axiom,
    ! [A: $tType] :
      ( ( euclid3128863361964157862miring @ A )
     => ! [B2: A,R3: A,Q6: A] :
          ( ( B2
           != ( zero_zero @ A ) )
         => ( ( ( euclid7384307370059645450egment @ A @ R3 )
              = ( euclid7384307370059645450egment @ A @ B2 ) )
           => ( ( ord_less @ nat @ ( euclid6346220572633701492n_size @ A @ R3 ) @ ( euclid6346220572633701492n_size @ A @ B2 ) )
             => ( ( divide_divide @ A @ ( plus_plus @ A @ ( times_times @ A @ Q6 @ B2 ) @ R3 ) @ B2 )
                = Q6 ) ) ) ) ) ).

% div_bounded
thf(fact_7375_smsI,axiom,
    ! [A6: multiset @ ( product_prod @ nat @ nat ),B6: multiset @ ( product_prod @ nat @ nat ),Z6: multiset @ ( product_prod @ nat @ nat )] :
      ( ( member @ ( product_prod @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set_mset @ ( product_prod @ nat @ nat ) @ A6 ) @ ( set_mset @ ( product_prod @ nat @ nat ) @ B6 ) ) @ fun_max_strict )
     => ( member @ ( product_prod @ ( multiset @ ( product_prod @ nat @ nat ) ) @ ( multiset @ ( product_prod @ nat @ nat ) ) ) @ ( product_Pair @ ( multiset @ ( product_prod @ nat @ nat ) ) @ ( multiset @ ( product_prod @ nat @ nat ) ) @ ( plus_plus @ ( multiset @ ( product_prod @ nat @ nat ) ) @ Z6 @ A6 ) @ ( plus_plus @ ( multiset @ ( product_prod @ nat @ nat ) ) @ Z6 @ B6 ) ) @ ms_strict ) ) ).

% smsI
thf(fact_7376_wmsI,axiom,
    ! [A6: multiset @ ( product_prod @ nat @ nat ),B6: multiset @ ( product_prod @ nat @ nat ),Z6: multiset @ ( product_prod @ nat @ nat )] :
      ( ( ( member @ ( product_prod @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set_mset @ ( product_prod @ nat @ nat ) @ A6 ) @ ( set_mset @ ( product_prod @ nat @ nat ) @ B6 ) ) @ fun_max_strict )
        | ( ( A6
            = ( zero_zero @ ( multiset @ ( product_prod @ nat @ nat ) ) ) )
          & ( B6
            = ( zero_zero @ ( multiset @ ( product_prod @ nat @ nat ) ) ) ) ) )
     => ( member @ ( product_prod @ ( multiset @ ( product_prod @ nat @ nat ) ) @ ( multiset @ ( product_prod @ nat @ nat ) ) ) @ ( product_Pair @ ( multiset @ ( product_prod @ nat @ nat ) ) @ ( multiset @ ( product_prod @ nat @ nat ) ) @ ( plus_plus @ ( multiset @ ( product_prod @ nat @ nat ) ) @ Z6 @ A6 ) @ ( plus_plus @ ( multiset @ ( product_prod @ nat @ nat ) ) @ Z6 @ B6 ) ) @ ms_weak ) ) ).

% wmsI
thf(fact_7377_ms__weak__def,axiom,
    ( ms_weak
    = ( sup_sup @ ( set @ ( product_prod @ ( multiset @ ( product_prod @ nat @ nat ) ) @ ( multiset @ ( product_prod @ nat @ nat ) ) ) ) @ ms_strict @ ( id2 @ ( multiset @ ( product_prod @ nat @ nat ) ) ) ) ) ).

% ms_weak_def
thf(fact_7378_ms__weakI1,axiom,
    ! [Z6: multiset @ ( product_prod @ nat @ nat ),Z14: multiset @ ( product_prod @ nat @ nat ),A6: multiset @ ( product_prod @ nat @ nat ),B6: multiset @ ( product_prod @ nat @ nat )] :
      ( ( pw_leq @ Z6 @ Z14 )
     => ( ( member @ ( product_prod @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set_mset @ ( product_prod @ nat @ nat ) @ A6 ) @ ( set_mset @ ( product_prod @ nat @ nat ) @ B6 ) ) @ fun_max_strict )
       => ( member @ ( product_prod @ ( multiset @ ( product_prod @ nat @ nat ) ) @ ( multiset @ ( product_prod @ nat @ nat ) ) ) @ ( product_Pair @ ( multiset @ ( product_prod @ nat @ nat ) ) @ ( multiset @ ( product_prod @ nat @ nat ) ) @ ( plus_plus @ ( multiset @ ( product_prod @ nat @ nat ) ) @ Z6 @ A6 ) @ ( plus_plus @ ( multiset @ ( product_prod @ nat @ nat ) ) @ Z14 @ B6 ) ) @ ms_weak ) ) ) ).

% ms_weakI1
thf(fact_7379_ms__strictI,axiom,
    ! [Z6: multiset @ ( product_prod @ nat @ nat ),Z14: multiset @ ( product_prod @ nat @ nat ),A6: multiset @ ( product_prod @ nat @ nat ),B6: multiset @ ( product_prod @ nat @ nat )] :
      ( ( pw_leq @ Z6 @ Z14 )
     => ( ( member @ ( product_prod @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set_mset @ ( product_prod @ nat @ nat ) @ A6 ) @ ( set_mset @ ( product_prod @ nat @ nat ) @ B6 ) ) @ fun_max_strict )
       => ( member @ ( product_prod @ ( multiset @ ( product_prod @ nat @ nat ) ) @ ( multiset @ ( product_prod @ nat @ nat ) ) ) @ ( product_Pair @ ( multiset @ ( product_prod @ nat @ nat ) ) @ ( multiset @ ( product_prod @ nat @ nat ) ) @ ( plus_plus @ ( multiset @ ( product_prod @ nat @ nat ) ) @ Z6 @ A6 ) @ ( plus_plus @ ( multiset @ ( product_prod @ nat @ nat ) ) @ Z14 @ B6 ) ) @ ms_strict ) ) ) ).

% ms_strictI
thf(fact_7380_pw__leq_Ocases,axiom,
    ! [A1: multiset @ ( product_prod @ nat @ nat ),A22: multiset @ ( product_prod @ nat @ nat )] :
      ( ( pw_leq @ A1 @ A22 )
     => ( ( ( A1
            = ( zero_zero @ ( multiset @ ( product_prod @ nat @ nat ) ) ) )
         => ( A22
           != ( zero_zero @ ( multiset @ ( product_prod @ nat @ nat ) ) ) ) )
       => ~ ! [X3: product_prod @ nat @ nat,Y3: product_prod @ nat @ nat,X15: multiset @ ( product_prod @ nat @ nat )] :
              ( ( A1
                = ( plus_plus @ ( multiset @ ( product_prod @ nat @ nat ) ) @ ( add_mset @ ( product_prod @ nat @ nat ) @ X3 @ ( zero_zero @ ( multiset @ ( product_prod @ nat @ nat ) ) ) ) @ X15 ) )
             => ! [Y14: multiset @ ( product_prod @ nat @ nat )] :
                  ( ( A22
                    = ( plus_plus @ ( multiset @ ( product_prod @ nat @ nat ) ) @ ( add_mset @ ( product_prod @ nat @ nat ) @ Y3 @ ( zero_zero @ ( multiset @ ( product_prod @ nat @ nat ) ) ) ) @ Y14 ) )
                 => ( ( member @ ( product_prod @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) ) @ ( product_Pair @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) @ X3 @ Y3 ) @ fun_pair_leq )
                   => ~ ( pw_leq @ X15 @ Y14 ) ) ) ) ) ) ).

% pw_leq.cases
thf(fact_7381_pw__leq_Osimps,axiom,
    ( pw_leq
    = ( ^ [A12: multiset @ ( product_prod @ nat @ nat ),A23: multiset @ ( product_prod @ nat @ nat )] :
          ( ( ( A12
              = ( zero_zero @ ( multiset @ ( product_prod @ nat @ nat ) ) ) )
            & ( A23
              = ( zero_zero @ ( multiset @ ( product_prod @ nat @ nat ) ) ) ) )
          | ? [X4: product_prod @ nat @ nat,Y4: product_prod @ nat @ nat,X11: multiset @ ( product_prod @ nat @ nat ),Y10: multiset @ ( product_prod @ nat @ nat )] :
              ( ( A12
                = ( plus_plus @ ( multiset @ ( product_prod @ nat @ nat ) ) @ ( add_mset @ ( product_prod @ nat @ nat ) @ X4 @ ( zero_zero @ ( multiset @ ( product_prod @ nat @ nat ) ) ) ) @ X11 ) )
              & ( A23
                = ( plus_plus @ ( multiset @ ( product_prod @ nat @ nat ) ) @ ( add_mset @ ( product_prod @ nat @ nat ) @ Y4 @ ( zero_zero @ ( multiset @ ( product_prod @ nat @ nat ) ) ) ) @ Y10 ) )
              & ( member @ ( product_prod @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) ) @ ( product_Pair @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) @ X4 @ Y4 ) @ fun_pair_leq )
              & ( pw_leq @ X11 @ Y10 ) ) ) ) ) ).

% pw_leq.simps
thf(fact_7382_pw__leq__step,axiom,
    ! [X: product_prod @ nat @ nat,Y: product_prod @ nat @ nat,X7: multiset @ ( product_prod @ nat @ nat ),Y7: multiset @ ( product_prod @ nat @ nat )] :
      ( ( member @ ( product_prod @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) ) @ ( product_Pair @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) @ X @ Y ) @ fun_pair_leq )
     => ( ( pw_leq @ X7 @ Y7 )
       => ( pw_leq @ ( plus_plus @ ( multiset @ ( product_prod @ nat @ nat ) ) @ ( add_mset @ ( product_prod @ nat @ nat ) @ X @ ( zero_zero @ ( multiset @ ( product_prod @ nat @ nat ) ) ) ) @ X7 ) @ ( plus_plus @ ( multiset @ ( product_prod @ nat @ nat ) ) @ ( add_mset @ ( product_prod @ nat @ nat ) @ Y @ ( zero_zero @ ( multiset @ ( product_prod @ nat @ nat ) ) ) ) @ Y7 ) ) ) ) ).

% pw_leq_step
thf(fact_7383_ms__weakI2,axiom,
    ! [Z6: multiset @ ( product_prod @ nat @ nat ),Z14: multiset @ ( product_prod @ nat @ nat )] :
      ( ( pw_leq @ Z6 @ Z14 )
     => ( member @ ( product_prod @ ( multiset @ ( product_prod @ nat @ nat ) ) @ ( multiset @ ( product_prod @ nat @ nat ) ) ) @ ( product_Pair @ ( multiset @ ( product_prod @ nat @ nat ) ) @ ( multiset @ ( product_prod @ nat @ nat ) ) @ ( plus_plus @ ( multiset @ ( product_prod @ nat @ nat ) ) @ Z6 @ ( zero_zero @ ( multiset @ ( product_prod @ nat @ nat ) ) ) ) @ ( plus_plus @ ( multiset @ ( product_prod @ nat @ nat ) ) @ Z14 @ ( zero_zero @ ( multiset @ ( product_prod @ nat @ nat ) ) ) ) ) @ ms_weak ) ) ).

% ms_weakI2
thf(fact_7384_pw__leq__split,axiom,
    ! [X7: multiset @ ( product_prod @ nat @ nat ),Y7: multiset @ ( product_prod @ nat @ nat )] :
      ( ( pw_leq @ X7 @ Y7 )
     => ? [A13: multiset @ ( product_prod @ nat @ nat ),B10: multiset @ ( product_prod @ nat @ nat ),Z10: multiset @ ( product_prod @ nat @ nat )] :
          ( ( X7
            = ( plus_plus @ ( multiset @ ( product_prod @ nat @ nat ) ) @ A13 @ Z10 ) )
          & ( Y7
            = ( plus_plus @ ( multiset @ ( product_prod @ nat @ nat ) ) @ B10 @ Z10 ) )
          & ( ( member @ ( product_prod @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set_mset @ ( product_prod @ nat @ nat ) @ A13 ) @ ( set_mset @ ( product_prod @ nat @ nat ) @ B10 ) ) @ fun_max_strict )
            | ( ( B10
                = ( zero_zero @ ( multiset @ ( product_prod @ nat @ nat ) ) ) )
              & ( A13
                = ( zero_zero @ ( multiset @ ( product_prod @ nat @ nat ) ) ) ) ) ) ) ) ).

% pw_leq_split
thf(fact_7385_coinduct3__lemma,axiom,
    ! [A: $tType,X7: set @ A,F3: ( set @ A ) > ( set @ A )] :
      ( ( ord_less_eq @ ( set @ A ) @ X7
        @ ( F3
          @ ( complete_lattice_lfp @ ( set @ A )
            @ ^ [X4: set @ A] : ( sup_sup @ ( set @ A ) @ ( sup_sup @ ( set @ A ) @ ( F3 @ X4 ) @ X7 ) @ ( complete_lattice_gfp @ ( set @ A ) @ F3 ) ) ) ) )
     => ( ( order_mono @ ( set @ A ) @ ( set @ A ) @ F3 )
       => ( ord_less_eq @ ( set @ A )
          @ ( complete_lattice_lfp @ ( set @ A )
            @ ^ [X4: set @ A] : ( sup_sup @ ( set @ A ) @ ( sup_sup @ ( set @ A ) @ ( F3 @ X4 ) @ X7 ) @ ( complete_lattice_gfp @ ( set @ A ) @ F3 ) ) )
          @ ( F3
            @ ( complete_lattice_lfp @ ( set @ A )
              @ ^ [X4: set @ A] : ( sup_sup @ ( set @ A ) @ ( sup_sup @ ( set @ A ) @ ( F3 @ X4 ) @ X7 ) @ ( complete_lattice_gfp @ ( set @ A ) @ F3 ) ) ) ) ) ) ) ).

% coinduct3_lemma
thf(fact_7386_def__coinduct3,axiom,
    ! [A: $tType,A6: set @ A,F3: ( set @ A ) > ( set @ A ),A3: A,X7: set @ A] :
      ( ( A6
        = ( complete_lattice_gfp @ ( set @ A ) @ F3 ) )
     => ( ( order_mono @ ( set @ A ) @ ( set @ A ) @ F3 )
       => ( ( member @ A @ A3 @ X7 )
         => ( ( ord_less_eq @ ( set @ A ) @ X7
              @ ( F3
                @ ( complete_lattice_lfp @ ( set @ A )
                  @ ^ [X4: set @ A] : ( sup_sup @ ( set @ A ) @ ( sup_sup @ ( set @ A ) @ ( F3 @ X4 ) @ X7 ) @ A6 ) ) ) )
           => ( member @ A @ A3 @ A6 ) ) ) ) ) ).

% def_coinduct3
thf(fact_7387_def__Collect__coinduct,axiom,
    ! [A: $tType,A6: set @ A,P2: ( set @ A ) > A > $o,A3: A,X7: set @ A] :
      ( ( A6
        = ( complete_lattice_gfp @ ( set @ A )
          @ ^ [W3: set @ A] : ( collect @ A @ ( P2 @ W3 ) ) ) )
     => ( ( order_mono @ ( set @ A ) @ ( set @ A )
          @ ^ [W3: set @ A] : ( collect @ A @ ( P2 @ W3 ) ) )
       => ( ( member @ A @ A3 @ X7 )
         => ( ! [Z3: A] :
                ( ( member @ A @ Z3 @ X7 )
               => ( P2 @ ( sup_sup @ ( set @ A ) @ X7 @ A6 ) @ Z3 ) )
           => ( member @ A @ A3 @ A6 ) ) ) ) ) ).

% def_Collect_coinduct
thf(fact_7388_gfp__fun__UnI2,axiom,
    ! [A: $tType,F3: ( set @ A ) > ( set @ A ),A3: A,X7: set @ A] :
      ( ( order_mono @ ( set @ A ) @ ( set @ A ) @ F3 )
     => ( ( member @ A @ A3 @ ( complete_lattice_gfp @ ( set @ A ) @ F3 ) )
       => ( member @ A @ A3 @ ( F3 @ ( sup_sup @ ( set @ A ) @ X7 @ ( complete_lattice_gfp @ ( set @ A ) @ F3 ) ) ) ) ) ) ).

% gfp_fun_UnI2
thf(fact_7389_gfp__const,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [T5: A] :
          ( ( complete_lattice_gfp @ A
            @ ^ [X4: A] : T5 )
          = T5 ) ) ).

% gfp_const
thf(fact_7390_gfp__rolling,axiom,
    ! [A: $tType,B: $tType] :
      ( ( ( comple6319245703460814977attice @ B )
        & ( comple6319245703460814977attice @ A ) )
     => ! [G3: A > B,F3: B > A] :
          ( ( order_mono @ A @ B @ G3 )
         => ( ( order_mono @ B @ A @ F3 )
           => ( ( G3
                @ ( complete_lattice_gfp @ A
                  @ ^ [X4: A] : ( F3 @ ( G3 @ X4 ) ) ) )
              = ( complete_lattice_gfp @ B
                @ ^ [X4: B] : ( G3 @ ( F3 @ X4 ) ) ) ) ) ) ) ).

% gfp_rolling
thf(fact_7391_gfp__def,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ( ( complete_lattice_gfp @ A )
        = ( ^ [F4: A > A] :
              ( complete_Sup_Sup @ A
              @ ( collect @ A
                @ ^ [U2: A] : ( ord_less_eq @ A @ U2 @ ( F4 @ U2 ) ) ) ) ) ) ) ).

% gfp_def
thf(fact_7392_gfp__eqI,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [F5: A > A,X: A] :
          ( ( order_mono @ A @ A @ F5 )
         => ( ( ( F5 @ X )
              = X )
           => ( ! [Z3: A] :
                  ( ( ( F5 @ Z3 )
                    = Z3 )
                 => ( ord_less_eq @ A @ Z3 @ X ) )
             => ( ( complete_lattice_gfp @ A @ F5 )
                = X ) ) ) ) ) ).

% gfp_eqI
thf(fact_7393_gfp__least,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [F3: A > A,X7: A] :
          ( ! [U4: A] :
              ( ( ord_less_eq @ A @ U4 @ ( F3 @ U4 ) )
             => ( ord_less_eq @ A @ U4 @ X7 ) )
         => ( ord_less_eq @ A @ ( complete_lattice_gfp @ A @ F3 ) @ X7 ) ) ) ).

% gfp_least
thf(fact_7394_gfp__upperbound,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [X7: A,F3: A > A] :
          ( ( ord_less_eq @ A @ X7 @ ( F3 @ X7 ) )
         => ( ord_less_eq @ A @ X7 @ ( complete_lattice_gfp @ A @ F3 ) ) ) ) ).

% gfp_upperbound
thf(fact_7395_gfp__mono,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [F3: A > A,G3: A > A] :
          ( ! [Z10: A] : ( ord_less_eq @ A @ ( F3 @ Z10 ) @ ( G3 @ Z10 ) )
         => ( ord_less_eq @ A @ ( complete_lattice_gfp @ A @ F3 ) @ ( complete_lattice_gfp @ A @ G3 ) ) ) ) ).

% gfp_mono
thf(fact_7396_weak__coinduct,axiom,
    ! [A: $tType,A3: A,X7: set @ A,F3: ( set @ A ) > ( set @ A )] :
      ( ( member @ A @ A3 @ X7 )
     => ( ( ord_less_eq @ ( set @ A ) @ X7 @ ( F3 @ X7 ) )
       => ( member @ A @ A3 @ ( complete_lattice_gfp @ ( set @ A ) @ F3 ) ) ) ) ).

% weak_coinduct
thf(fact_7397_gfp__gfp,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [F3: A > A > A] :
          ( ! [X3: A,Y3: A,W: A,Z3: A] :
              ( ( ord_less_eq @ A @ X3 @ Y3 )
             => ( ( ord_less_eq @ A @ W @ Z3 )
               => ( ord_less_eq @ A @ ( F3 @ X3 @ W ) @ ( F3 @ Y3 @ Z3 ) ) ) )
         => ( ( complete_lattice_gfp @ A
              @ ^ [X4: A] : ( complete_lattice_gfp @ A @ ( F3 @ X4 ) ) )
            = ( complete_lattice_gfp @ A
              @ ^ [X4: A] : ( F3 @ X4 @ X4 ) ) ) ) ) ).

% gfp_gfp
thf(fact_7398_weak__coinduct__image,axiom,
    ! [A: $tType,B: $tType,A3: A,X7: set @ A,G3: A > B,F3: ( set @ B ) > ( set @ B )] :
      ( ( member @ A @ A3 @ X7 )
     => ( ( ord_less_eq @ ( set @ B ) @ ( image2 @ A @ B @ G3 @ X7 ) @ ( F3 @ ( image2 @ A @ B @ G3 @ X7 ) ) )
       => ( member @ B @ ( G3 @ A3 ) @ ( complete_lattice_gfp @ ( set @ B ) @ F3 ) ) ) ) ).

% weak_coinduct_image
thf(fact_7399_coinduct__set,axiom,
    ! [A: $tType,F3: ( set @ A ) > ( set @ A ),A3: A,X7: set @ A] :
      ( ( order_mono @ ( set @ A ) @ ( set @ A ) @ F3 )
     => ( ( member @ A @ A3 @ X7 )
       => ( ( ord_less_eq @ ( set @ A ) @ X7 @ ( F3 @ ( sup_sup @ ( set @ A ) @ X7 @ ( complete_lattice_gfp @ ( set @ A ) @ F3 ) ) ) )
         => ( member @ A @ A3 @ ( complete_lattice_gfp @ ( set @ A ) @ F3 ) ) ) ) ) ).

% coinduct_set
thf(fact_7400_def__coinduct__set,axiom,
    ! [A: $tType,A6: set @ A,F3: ( set @ A ) > ( set @ A ),A3: A,X7: set @ A] :
      ( ( A6
        = ( complete_lattice_gfp @ ( set @ A ) @ F3 ) )
     => ( ( order_mono @ ( set @ A ) @ ( set @ A ) @ F3 )
       => ( ( member @ A @ A3 @ X7 )
         => ( ( ord_less_eq @ ( set @ A ) @ X7 @ ( F3 @ ( sup_sup @ ( set @ A ) @ X7 @ A6 ) ) )
           => ( member @ A @ A3 @ A6 ) ) ) ) ) ).

% def_coinduct_set
thf(fact_7401_coinduct,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [F3: A > A,X7: A] :
          ( ( order_mono @ A @ A @ F3 )
         => ( ( ord_less_eq @ A @ X7 @ ( F3 @ ( sup_sup @ A @ X7 @ ( complete_lattice_gfp @ A @ F3 ) ) ) )
           => ( ord_less_eq @ A @ X7 @ ( complete_lattice_gfp @ A @ F3 ) ) ) ) ) ).

% coinduct
thf(fact_7402_def__coinduct,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [A6: A,F3: A > A,X7: A] :
          ( ( A6
            = ( complete_lattice_gfp @ A @ F3 ) )
         => ( ( order_mono @ A @ A @ F3 )
           => ( ( ord_less_eq @ A @ X7 @ ( F3 @ ( sup_sup @ A @ X7 @ A6 ) ) )
             => ( ord_less_eq @ A @ X7 @ A6 ) ) ) ) ) ).

% def_coinduct
thf(fact_7403_coinduct__lemma,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [X7: A,F3: A > A] :
          ( ( ord_less_eq @ A @ X7 @ ( F3 @ ( sup_sup @ A @ X7 @ ( complete_lattice_gfp @ A @ F3 ) ) ) )
         => ( ( order_mono @ A @ A @ F3 )
           => ( ord_less_eq @ A @ ( sup_sup @ A @ X7 @ ( complete_lattice_gfp @ A @ F3 ) ) @ ( F3 @ ( sup_sup @ A @ X7 @ ( complete_lattice_gfp @ A @ F3 ) ) ) ) ) ) ) ).

% coinduct_lemma
thf(fact_7404_gfp__ordinal__induct,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [F3: A > A,P2: A > $o] :
          ( ( order_mono @ A @ A @ F3 )
         => ( ! [S8: A] :
                ( ( P2 @ S8 )
               => ( ( ord_less_eq @ A @ ( complete_lattice_gfp @ A @ F3 ) @ S8 )
                 => ( P2 @ ( F3 @ S8 ) ) ) )
           => ( ! [M13: set @ A] :
                  ( ! [X6: A] :
                      ( ( member @ A @ X6 @ M13 )
                     => ( P2 @ X6 ) )
                 => ( P2 @ ( complete_Inf_Inf @ A @ M13 ) ) )
             => ( P2 @ ( complete_lattice_gfp @ A @ F3 ) ) ) ) ) ) ).

% gfp_ordinal_induct
thf(fact_7405_gfp__funpow,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [F3: A > A,N: nat] :
          ( ( order_mono @ A @ A @ F3 )
         => ( ( complete_lattice_gfp @ A @ ( compow @ ( A > A ) @ ( suc @ N ) @ F3 ) )
            = ( complete_lattice_gfp @ A @ F3 ) ) ) ) ).

% gfp_funpow
thf(fact_7406_lfp__le__gfp,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [F3: A > A] :
          ( ( order_mono @ A @ A @ F3 )
         => ( ord_less_eq @ A @ ( complete_lattice_lfp @ A @ F3 ) @ ( complete_lattice_gfp @ A @ F3 ) ) ) ) ).

% lfp_le_gfp
thf(fact_7407_gfp__Kleene__iter,axiom,
    ! [A: $tType] :
      ( ( comple6319245703460814977attice @ A )
     => ! [F3: A > A,K2: nat] :
          ( ( order_mono @ A @ A @ F3 )
         => ( ( ( compow @ ( A > A ) @ ( suc @ K2 ) @ F3 @ ( top_top @ A ) )
              = ( compow @ ( A > A ) @ K2 @ F3 @ ( top_top @ A ) ) )
           => ( ( complete_lattice_gfp @ A @ F3 )
              = ( compow @ ( A > A ) @ K2 @ F3 @ ( top_top @ A ) ) ) ) ) ) ).

% gfp_Kleene_iter
thf(fact_7408_coinduct3,axiom,
    ! [A: $tType,F3: ( set @ A ) > ( set @ A ),A3: A,X7: set @ A] :
      ( ( order_mono @ ( set @ A ) @ ( set @ A ) @ F3 )
     => ( ( member @ A @ A3 @ X7 )
       => ( ( ord_less_eq @ ( set @ A ) @ X7
            @ ( F3
              @ ( complete_lattice_lfp @ ( set @ A )
                @ ^ [X4: set @ A] : ( sup_sup @ ( set @ A ) @ ( sup_sup @ ( set @ A ) @ ( F3 @ X4 ) @ X7 ) @ ( complete_lattice_gfp @ ( set @ A ) @ F3 ) ) ) ) )
         => ( member @ A @ A3 @ ( complete_lattice_gfp @ ( set @ A ) @ F3 ) ) ) ) ) ).

% coinduct3
thf(fact_7409_AboveS__def,axiom,
    ! [A: $tType] :
      ( ( order_AboveS @ A )
      = ( ^ [R5: set @ ( product_prod @ A @ A ),A8: set @ A] :
            ( collect @ A
            @ ^ [B5: A] :
                ( ( member @ A @ B5 @ ( field2 @ A @ R5 ) )
                & ! [X4: A] :
                    ( ( member @ A @ X4 @ A8 )
                   => ( ( B5 != X4 )
                      & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X4 @ B5 ) @ R5 ) ) ) ) ) ) ) ).

% AboveS_def
thf(fact_7410_right__total__relcompp__transfer,axiom,
    ! [C: $tType,A: $tType,E: $tType,F2: $tType,B: $tType,D: $tType,B6: A > B > $o,A6: C > D > $o,C5: E > F2 > $o] :
      ( ( right_total @ A @ B @ B6 )
     => ( bNF_rel_fun @ ( C > A > $o ) @ ( D > B > $o ) @ ( ( A > E > $o ) > C > E > $o ) @ ( ( B > F2 > $o ) > D > F2 > $o )
        @ ( bNF_rel_fun @ C @ D @ ( A > $o ) @ ( B > $o ) @ A6
          @ ( bNF_rel_fun @ A @ B @ $o @ $o @ B6
            @ ^ [Y6: $o,Z5: $o] : Y6 = Z5 ) )
        @ ( bNF_rel_fun @ ( A > E > $o ) @ ( B > F2 > $o ) @ ( C > E > $o ) @ ( D > F2 > $o )
          @ ( bNF_rel_fun @ A @ B @ ( E > $o ) @ ( F2 > $o ) @ B6
            @ ( bNF_rel_fun @ E @ F2 @ $o @ $o @ C5
              @ ^ [Y6: $o,Z5: $o] : Y6 = Z5 ) )
          @ ( bNF_rel_fun @ C @ D @ ( E > $o ) @ ( F2 > $o ) @ A6
            @ ( bNF_rel_fun @ E @ F2 @ $o @ $o @ C5
              @ ^ [Y6: $o,Z5: $o] : Y6 = Z5 ) ) )
        @ ^ [R2: C > A > $o,S4: A > E > $o,X4: C,Z2: E] :
          ? [Y4: A] :
            ( ( member @ A @ Y4 @ ( collect @ A @ ( domainp @ A @ B @ B6 ) ) )
            & ( R2 @ X4 @ Y4 )
            & ( S4 @ Y4 @ Z2 ) )
        @ ( relcompp @ D @ B @ F2 ) ) ) ).

% right_total_relcompp_transfer
thf(fact_7411_relcompp__distrib2,axiom,
    ! [A: $tType,B: $tType,C: $tType,S: A > C > $o,T8: A > C > $o,R4: C > B > $o] :
      ( ( relcompp @ A @ C @ B @ ( sup_sup @ ( A > C > $o ) @ S @ T8 ) @ R4 )
      = ( sup_sup @ ( A > B > $o ) @ ( relcompp @ A @ C @ B @ S @ R4 ) @ ( relcompp @ A @ C @ B @ T8 @ R4 ) ) ) ).

% relcompp_distrib2
thf(fact_7412_relcompp__distrib,axiom,
    ! [A: $tType,B: $tType,C: $tType,R4: A > C > $o,S: C > B > $o,T8: C > B > $o] :
      ( ( relcompp @ A @ C @ B @ R4 @ ( sup_sup @ ( C > B > $o ) @ S @ T8 ) )
      = ( sup_sup @ ( A > B > $o ) @ ( relcompp @ A @ C @ B @ R4 @ S ) @ ( relcompp @ A @ C @ B @ R4 @ T8 ) ) ) ).

% relcompp_distrib
thf(fact_7413_relpowp__add,axiom,
    ! [A: $tType,M: nat,N: nat,P2: A > A > $o] :
      ( ( compow @ ( A > A > $o ) @ ( plus_plus @ nat @ M @ N ) @ P2 )
      = ( relcompp @ A @ A @ A @ ( compow @ ( A > A > $o ) @ M @ P2 ) @ ( compow @ ( A > A > $o ) @ N @ P2 ) ) ) ).

% relpowp_add
thf(fact_7414_relcompp__relcomp__eq,axiom,
    ! [C: $tType,B: $tType,A: $tType,R3: set @ ( product_prod @ A @ B ),S2: set @ ( product_prod @ B @ C )] :
      ( ( relcompp @ A @ B @ C
        @ ^ [X4: A,Y4: B] : ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X4 @ Y4 ) @ R3 )
        @ ^ [X4: B,Y4: C] : ( member @ ( product_prod @ B @ C ) @ ( product_Pair @ B @ C @ X4 @ Y4 ) @ S2 ) )
      = ( ^ [X4: A,Y4: C] : ( member @ ( product_prod @ A @ C ) @ ( product_Pair @ A @ C @ X4 @ Y4 ) @ ( relcomp @ A @ B @ C @ R3 @ S2 ) ) ) ) ).

% relcompp_relcomp_eq
thf(fact_7415_pos__fun__distr,axiom,
    ! [E: $tType,C: $tType,A: $tType,B: $tType,D: $tType,F2: $tType,R4: A > E > $o,S: B > F2 > $o,R9: E > C > $o,S6: F2 > D > $o] : ( ord_less_eq @ ( ( A > B ) > ( C > D ) > $o ) @ ( relcompp @ ( A > B ) @ ( E > F2 ) @ ( C > D ) @ ( bNF_rel_fun @ A @ E @ B @ F2 @ R4 @ S ) @ ( bNF_rel_fun @ E @ C @ F2 @ D @ R9 @ S6 ) ) @ ( bNF_rel_fun @ A @ C @ B @ D @ ( relcompp @ A @ E @ C @ R4 @ R9 ) @ ( relcompp @ B @ F2 @ D @ S @ S6 ) ) ) ).

% pos_fun_distr
thf(fact_7416_relcompp__mono,axiom,
    ! [A: $tType,C: $tType,B: $tType,R7: A > B > $o,R3: A > B > $o,S3: B > C > $o,S2: B > C > $o] :
      ( ( ord_less_eq @ ( A > B > $o ) @ R7 @ R3 )
     => ( ( ord_less_eq @ ( B > C > $o ) @ S3 @ S2 )
       => ( ord_less_eq @ ( A > C > $o ) @ ( relcompp @ A @ B @ C @ R7 @ S3 ) @ ( relcompp @ A @ B @ C @ R3 @ S2 ) ) ) ) ).

% relcompp_mono
thf(fact_7417_leq__OOI,axiom,
    ! [A: $tType,R4: A > A > $o] :
      ( ( R4
        = ( ^ [Y6: A,Z5: A] : Y6 = Z5 ) )
     => ( ord_less_eq @ ( A > A > $o ) @ R4 @ ( relcompp @ A @ A @ A @ R4 @ R4 ) ) ) ).

% leq_OOI
thf(fact_7418_relcompp__SUP__distrib,axiom,
    ! [A: $tType,C: $tType,B: $tType,D: $tType,S2: A > C > $o,R3: D > C > B > $o,I5: set @ D] :
      ( ( relcompp @ A @ C @ B @ S2 @ ( complete_Sup_Sup @ ( C > B > $o ) @ ( image2 @ D @ ( C > B > $o ) @ R3 @ I5 ) ) )
      = ( complete_Sup_Sup @ ( A > B > $o )
        @ ( image2 @ D @ ( A > B > $o )
          @ ^ [I: D] : ( relcompp @ A @ C @ B @ S2 @ ( R3 @ I ) )
          @ I5 ) ) ) ).

% relcompp_SUP_distrib
thf(fact_7419_relcompp__SUP__distrib2,axiom,
    ! [A: $tType,B: $tType,C: $tType,D: $tType,R3: D > A > C > $o,I5: set @ D,S2: C > B > $o] :
      ( ( relcompp @ A @ C @ B @ ( complete_Sup_Sup @ ( A > C > $o ) @ ( image2 @ D @ ( A > C > $o ) @ R3 @ I5 ) ) @ S2 )
      = ( complete_Sup_Sup @ ( A > B > $o )
        @ ( image2 @ D @ ( A > B > $o )
          @ ^ [I: D] : ( relcompp @ A @ C @ B @ ( R3 @ I ) @ S2 )
          @ I5 ) ) ) ).

% relcompp_SUP_distrib2
thf(fact_7420_nchotomy__relcomppE,axiom,
    ! [C: $tType,B: $tType,A: $tType,D: $tType,F3: B > A,R3: C > A > $o,S2: A > D > $o,A3: C,C3: D] :
      ( ! [Y3: A] :
        ? [X6: B] :
          ( Y3
          = ( F3 @ X6 ) )
     => ( ( relcompp @ C @ A @ D @ R3 @ S2 @ A3 @ C3 )
       => ~ ! [B4: B] :
              ( ( R3 @ A3 @ ( F3 @ B4 ) )
             => ~ ( S2 @ ( F3 @ B4 ) @ C3 ) ) ) ) ).

% nchotomy_relcomppE
thf(fact_7421_pcr__Domainp,axiom,
    ! [B: $tType,A: $tType,C: $tType,B6: A > B > $o,P2: A > $o,A6: C > A > $o] :
      ( ( ( domainp @ A @ B @ B6 )
        = P2 )
     => ( ( domainp @ C @ B @ ( relcompp @ C @ A @ B @ A6 @ B6 ) )
        = ( ^ [X4: C] :
            ? [Y4: A] :
              ( ( A6 @ X4 @ Y4 )
              & ( P2 @ Y4 ) ) ) ) ) ).

% pcr_Domainp
thf(fact_7422_OO__def,axiom,
    ! [B: $tType,C: $tType,A: $tType] :
      ( ( relcompp @ A @ C @ B )
      = ( ^ [R2: A > C > $o,S4: C > B > $o,X4: A,Z2: B] :
          ? [Y4: C] :
            ( ( R2 @ X4 @ Y4 )
            & ( S4 @ Y4 @ Z2 ) ) ) ) ).

% OO_def
thf(fact_7423_relcomp__def,axiom,
    ! [C: $tType,B: $tType,A: $tType] :
      ( ( relcomp @ A @ B @ C )
      = ( ^ [R5: set @ ( product_prod @ A @ B ),S5: set @ ( product_prod @ B @ C )] :
            ( collect @ ( product_prod @ A @ C )
            @ ( product_case_prod @ A @ C @ $o
              @ ( relcompp @ A @ B @ C
                @ ^ [X4: A,Y4: B] : ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X4 @ Y4 ) @ R5 )
                @ ^ [X4: B,Y4: C] : ( member @ ( product_prod @ B @ C ) @ ( product_Pair @ B @ C @ X4 @ Y4 ) @ S5 ) ) ) ) ) ) ).

% relcomp_def
thf(fact_7424_AboveS__Field,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ A] : ( ord_less_eq @ ( set @ A ) @ ( order_AboveS @ A @ R3 @ A6 ) @ ( field2 @ A @ R3 ) ) ).

% AboveS_Field
thf(fact_7425_wo__rel_Osuc__greater,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),B6: set @ A,B2: A] :
      ( ( bNF_Wellorder_wo_rel @ A @ R3 )
     => ( ( ord_less_eq @ ( set @ A ) @ B6 @ ( field2 @ A @ R3 ) )
       => ( ( ( order_AboveS @ A @ R3 @ B6 )
           != ( bot_bot @ ( set @ A ) ) )
         => ( ( member @ A @ B2 @ B6 )
           => ( ( ( bNF_Wellorder_wo_suc @ A @ R3 @ B6 )
               != B2 )
              & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ B2 @ ( bNF_Wellorder_wo_suc @ A @ R3 @ B6 ) ) @ R3 ) ) ) ) ) ) ).

% wo_rel.suc_greater
thf(fact_7426_wo__rel_Osuc__AboveS,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),B6: set @ A] :
      ( ( bNF_Wellorder_wo_rel @ A @ R3 )
     => ( ( ord_less_eq @ ( set @ A ) @ B6 @ ( field2 @ A @ R3 ) )
       => ( ( ( order_AboveS @ A @ R3 @ B6 )
           != ( bot_bot @ ( set @ A ) ) )
         => ( member @ A @ ( bNF_Wellorder_wo_suc @ A @ R3 @ B6 ) @ ( order_AboveS @ A @ R3 @ B6 ) ) ) ) ) ).

% wo_rel.suc_AboveS
thf(fact_7427_wo__rel_Osuc__least__AboveS,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A3: A,B6: set @ A] :
      ( ( bNF_Wellorder_wo_rel @ A @ R3 )
     => ( ( member @ A @ A3 @ ( order_AboveS @ A @ R3 @ B6 ) )
       => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ ( bNF_Wellorder_wo_suc @ A @ R3 @ B6 ) @ A3 ) @ R3 ) ) ) ).

% wo_rel.suc_least_AboveS
thf(fact_7428_wo__rel_Oequals__suc__AboveS,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),B6: set @ A,A3: A] :
      ( ( bNF_Wellorder_wo_rel @ A @ R3 )
     => ( ( ord_less_eq @ ( set @ A ) @ B6 @ ( field2 @ A @ R3 ) )
       => ( ( member @ A @ A3 @ ( order_AboveS @ A @ R3 @ B6 ) )
         => ( ! [A10: A] :
                ( ( member @ A @ A10 @ ( order_AboveS @ A @ R3 @ B6 ) )
               => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ A10 ) @ R3 ) )
           => ( A3
              = ( bNF_Wellorder_wo_suc @ A @ R3 @ B6 ) ) ) ) ) ) ).

% wo_rel.equals_suc_AboveS
thf(fact_7429_wo__rel_Osuc__inField,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),B6: set @ A] :
      ( ( bNF_Wellorder_wo_rel @ A @ R3 )
     => ( ( ord_less_eq @ ( set @ A ) @ B6 @ ( field2 @ A @ R3 ) )
       => ( ( ( order_AboveS @ A @ R3 @ B6 )
           != ( bot_bot @ ( set @ A ) ) )
         => ( member @ A @ ( bNF_Wellorder_wo_suc @ A @ R3 @ B6 ) @ ( field2 @ A @ R3 ) ) ) ) ) ).

% wo_rel.suc_inField
thf(fact_7430_neg__fun__distr1,axiom,
    ! [D: $tType,A: $tType,B: $tType,C: $tType,E: $tType,F2: $tType,R4: A > B > $o,R9: B > C > $o,S: D > F2 > $o,S6: F2 > E > $o] :
      ( ( left_unique @ A @ B @ R4 )
     => ( ( right_total @ A @ B @ R4 )
       => ( ( right_unique @ B @ C @ R9 )
         => ( ( left_total @ B @ C @ R9 )
           => ( ord_less_eq @ ( ( A > D ) > ( C > E ) > $o ) @ ( bNF_rel_fun @ A @ C @ D @ E @ ( relcompp @ A @ B @ C @ R4 @ R9 ) @ ( relcompp @ D @ F2 @ E @ S @ S6 ) ) @ ( relcompp @ ( A > D ) @ ( B > F2 ) @ ( C > E ) @ ( bNF_rel_fun @ A @ B @ D @ F2 @ R4 @ S ) @ ( bNF_rel_fun @ B @ C @ F2 @ E @ R9 @ S6 ) ) ) ) ) ) ) ).

% neg_fun_distr1
thf(fact_7431_neg__fun__distr2,axiom,
    ! [F2: $tType,E: $tType,A: $tType,B: $tType,D: $tType,C: $tType,R9: A > B > $o,S6: C > D > $o,R4: E > A > $o,S: F2 > C > $o] :
      ( ( right_unique @ A @ B @ R9 )
     => ( ( left_total @ A @ B @ R9 )
       => ( ( left_unique @ C @ D @ S6 )
         => ( ( right_total @ C @ D @ S6 )
           => ( ord_less_eq @ ( ( E > F2 ) > ( B > D ) > $o ) @ ( bNF_rel_fun @ E @ B @ F2 @ D @ ( relcompp @ E @ A @ B @ R4 @ R9 ) @ ( relcompp @ F2 @ C @ D @ S @ S6 ) ) @ ( relcompp @ ( E > F2 ) @ ( A > C ) @ ( B > D ) @ ( bNF_rel_fun @ E @ A @ F2 @ C @ R4 @ S ) @ ( bNF_rel_fun @ A @ B @ C @ D @ R9 @ S6 ) ) ) ) ) ) ) ).

% neg_fun_distr2
thf(fact_7432_typedef__right__unique,axiom,
    ! [B: $tType,A: $tType,Rep: B > A,Abs: A > B,A6: set @ A,T8: A > B > $o] :
      ( ( type_definition @ B @ A @ Rep @ Abs @ A6 )
     => ( ( T8
          = ( ^ [X4: A,Y4: B] :
                ( X4
                = ( Rep @ Y4 ) ) ) )
       => ( right_unique @ A @ B @ T8 ) ) ) ).

% typedef_right_unique
thf(fact_7433_wo__rel_Osuc__ofilter__in,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ A,B2: A] :
      ( ( bNF_Wellorder_wo_rel @ A @ R3 )
     => ( ( order_ofilter @ A @ R3 @ A6 )
       => ( ( ( order_AboveS @ A @ R3 @ A6 )
           != ( bot_bot @ ( set @ A ) ) )
         => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ B2 @ ( bNF_Wellorder_wo_suc @ A @ R3 @ A6 ) ) @ R3 )
           => ( ( B2
               != ( bNF_Wellorder_wo_suc @ A @ R3 @ A6 ) )
             => ( member @ A @ B2 @ A6 ) ) ) ) ) ) ).

% wo_rel.suc_ofilter_in
thf(fact_7434_cSUP__UNION,axiom,
    ! [B: $tType,D: $tType,C: $tType] :
      ( ( condit1219197933456340205attice @ B )
     => ! [A6: set @ C,B6: C > ( set @ D ),F3: D > B] :
          ( ( A6
           != ( bot_bot @ ( set @ C ) ) )
         => ( ! [X3: C] :
                ( ( member @ C @ X3 @ A6 )
               => ( ( B6 @ X3 )
                 != ( bot_bot @ ( set @ D ) ) ) )
           => ( ( condit941137186595557371_above @ B
                @ ( complete_Sup_Sup @ ( set @ B )
                  @ ( image2 @ C @ ( set @ B )
                    @ ^ [X4: C] : ( image2 @ D @ B @ F3 @ ( B6 @ X4 ) )
                    @ A6 ) ) )
             => ( ( complete_Sup_Sup @ B @ ( image2 @ D @ B @ F3 @ ( complete_Sup_Sup @ ( set @ D ) @ ( image2 @ C @ ( set @ D ) @ B6 @ A6 ) ) ) )
                = ( complete_Sup_Sup @ B
                  @ ( image2 @ C @ B
                    @ ^ [X4: C] : ( complete_Sup_Sup @ B @ ( image2 @ D @ B @ F3 @ ( B6 @ X4 ) ) )
                    @ A6 ) ) ) ) ) ) ) ).

% cSUP_UNION
thf(fact_7435_bdd__above__top,axiom,
    ! [A: $tType] :
      ( ( order_top @ A )
     => ! [A6: set @ A] : ( condit941137186595557371_above @ A @ A6 ) ) ).

% bdd_above_top
thf(fact_7436_bdd__above_OI,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [A6: set @ A,M6: A] :
          ( ! [X3: A] :
              ( ( member @ A @ X3 @ A6 )
             => ( ord_less_eq @ A @ X3 @ M6 ) )
         => ( condit941137186595557371_above @ A @ A6 ) ) ) ).

% bdd_above.I
thf(fact_7437_bdd__above__empty,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ( condit941137186595557371_above @ A @ ( bot_bot @ ( set @ A ) ) ) ) ).

% bdd_above_empty
thf(fact_7438_bdd__above__insert,axiom,
    ! [A: $tType] :
      ( ( lattice @ A )
     => ! [A3: A,A6: set @ A] :
          ( ( condit941137186595557371_above @ A @ ( insert @ A @ A3 @ A6 ) )
          = ( condit941137186595557371_above @ A @ A6 ) ) ) ).

% bdd_above_insert
thf(fact_7439_bdd__above__Un,axiom,
    ! [A: $tType] :
      ( ( lattice @ A )
     => ! [A6: set @ A,B6: set @ A] :
          ( ( condit941137186595557371_above @ A @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) )
          = ( ( condit941137186595557371_above @ A @ A6 )
            & ( condit941137186595557371_above @ A @ B6 ) ) ) ) ).

% bdd_above_Un
thf(fact_7440_bdd__above__Icc,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [A3: A,B2: A] : ( condit941137186595557371_above @ A @ ( set_or1337092689740270186AtMost @ A @ A3 @ B2 ) ) ) ).

% bdd_above_Icc
thf(fact_7441_bdd__above__Ico,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [A3: A,B2: A] : ( condit941137186595557371_above @ A @ ( set_or7035219750837199246ssThan @ A @ A3 @ B2 ) ) ) ).

% bdd_above_Ico
thf(fact_7442_bdd__above__Iic,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [B2: A] : ( condit941137186595557371_above @ A @ ( set_ord_atMost @ A @ B2 ) ) ) ).

% bdd_above_Iic
thf(fact_7443_bdd__above__Iio,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [B2: A] : ( condit941137186595557371_above @ A @ ( set_ord_lessThan @ A @ B2 ) ) ) ).

% bdd_above_Iio
thf(fact_7444_bdd__above__Ioc,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [A3: A,B2: A] : ( condit941137186595557371_above @ A @ ( set_or3652927894154168847AtMost @ A @ A3 @ B2 ) ) ) ).

% bdd_above_Ioc
thf(fact_7445_bdd__above__Ioo,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [A3: A,B2: A] : ( condit941137186595557371_above @ A @ ( set_or5935395276787703475ssThan @ A @ A3 @ B2 ) ) ) ).

% bdd_above_Ioo
thf(fact_7446_bdd__above__image__sup,axiom,
    ! [A: $tType,B: $tType] :
      ( ( lattice @ A )
     => ! [F3: B > A,G3: B > A,A6: set @ B] :
          ( ( condit941137186595557371_above @ A
            @ ( image2 @ B @ A
              @ ^ [X4: B] : ( sup_sup @ A @ ( F3 @ X4 ) @ ( G3 @ X4 ) )
              @ A6 ) )
          = ( ( condit941137186595557371_above @ A @ ( image2 @ B @ A @ F3 @ A6 ) )
            & ( condit941137186595557371_above @ A @ ( image2 @ B @ A @ G3 @ A6 ) ) ) ) ) ).

% bdd_above_image_sup
thf(fact_7447_bdd__above__UN,axiom,
    ! [A: $tType,B: $tType] :
      ( ( lattice @ A )
     => ! [I5: set @ B,A6: B > ( set @ A )] :
          ( ( finite_finite2 @ B @ I5 )
         => ( ( condit941137186595557371_above @ A @ ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ A6 @ I5 ) ) )
            = ( ! [X4: B] :
                  ( ( member @ B @ X4 @ I5 )
                 => ( condit941137186595557371_above @ A @ ( A6 @ X4 ) ) ) ) ) ) ) ).

% bdd_above_UN
thf(fact_7448_cSUP__upper,axiom,
    ! [A: $tType,B: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [X: B,A6: set @ B,F3: B > A] :
          ( ( member @ B @ X @ A6 )
         => ( ( condit941137186595557371_above @ A @ ( image2 @ B @ A @ F3 @ A6 ) )
           => ( ord_less_eq @ A @ ( F3 @ X ) @ ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) ) ) ) ) ).

% cSUP_upper
thf(fact_7449_cSUP__upper2,axiom,
    ! [A: $tType,B: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [F3: B > A,A6: set @ B,X: B,U: A] :
          ( ( condit941137186595557371_above @ A @ ( image2 @ B @ A @ F3 @ A6 ) )
         => ( ( member @ B @ X @ A6 )
           => ( ( ord_less_eq @ A @ U @ ( F3 @ X ) )
             => ( ord_less_eq @ A @ U @ ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) ) ) ) ) ) ).

% cSUP_upper2
thf(fact_7450_bdd__above__image__mono,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ( order @ A )
        & ( order @ B ) )
     => ! [F3: A > B,A6: set @ A] :
          ( ( order_mono @ A @ B @ F3 )
         => ( ( condit941137186595557371_above @ A @ A6 )
           => ( condit941137186595557371_above @ B @ ( image2 @ A @ B @ F3 @ A6 ) ) ) ) ) ).

% bdd_above_image_mono
thf(fact_7451_bdd__above__Int1,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [A6: set @ A,B6: set @ A] :
          ( ( condit941137186595557371_above @ A @ A6 )
         => ( condit941137186595557371_above @ A @ ( inf_inf @ ( set @ A ) @ A6 @ B6 ) ) ) ) ).

% bdd_above_Int1
thf(fact_7452_bdd__above__Int2,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [B6: set @ A,A6: set @ A] :
          ( ( condit941137186595557371_above @ A @ B6 )
         => ( condit941137186595557371_above @ A @ ( inf_inf @ ( set @ A ) @ A6 @ B6 ) ) ) ) ).

% bdd_above_Int2
thf(fact_7453_bdd__above__mono,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [B6: set @ A,A6: set @ A] :
          ( ( condit941137186595557371_above @ A @ B6 )
         => ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
           => ( condit941137186595557371_above @ A @ A6 ) ) ) ) ).

% bdd_above_mono
thf(fact_7454_bdd__above_OE,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [A6: set @ A] :
          ( ( condit941137186595557371_above @ A @ A6 )
         => ~ ! [M13: A] :
                ~ ! [X6: A] :
                    ( ( member @ A @ X6 @ A6 )
                   => ( ord_less_eq @ A @ X6 @ M13 ) ) ) ) ).

% bdd_above.E
thf(fact_7455_bdd__above_Ounfold,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ( ( condit941137186595557371_above @ A )
        = ( ^ [A8: set @ A] :
            ? [M9: A] :
            ! [X4: A] :
              ( ( member @ A @ X4 @ A8 )
             => ( ord_less_eq @ A @ X4 @ M9 ) ) ) ) ) ).

% bdd_above.unfold
thf(fact_7456_cSup__upper2,axiom,
    ! [A: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [X: A,X7: set @ A,Y: A] :
          ( ( member @ A @ X @ X7 )
         => ( ( ord_less_eq @ A @ Y @ X )
           => ( ( condit941137186595557371_above @ A @ X7 )
             => ( ord_less_eq @ A @ Y @ ( complete_Sup_Sup @ A @ X7 ) ) ) ) ) ) ).

% cSup_upper2
thf(fact_7457_cSup__upper,axiom,
    ! [A: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [X: A,X7: set @ A] :
          ( ( member @ A @ X @ X7 )
         => ( ( condit941137186595557371_above @ A @ X7 )
           => ( ord_less_eq @ A @ X @ ( complete_Sup_Sup @ A @ X7 ) ) ) ) ) ).

% cSup_upper
thf(fact_7458_bdd__above_OI2,axiom,
    ! [A: $tType,B: $tType] :
      ( ( preorder @ A )
     => ! [A6: set @ B,F3: B > A,M6: A] :
          ( ! [X3: B] :
              ( ( member @ B @ X3 @ A6 )
             => ( ord_less_eq @ A @ ( F3 @ X3 ) @ M6 ) )
         => ( condit941137186595557371_above @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) ) ) ).

% bdd_above.I2
thf(fact_7459_wo__rel_Oofilter__linord,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ A,B6: set @ A] :
      ( ( bNF_Wellorder_wo_rel @ A @ R3 )
     => ( ( order_ofilter @ A @ R3 @ A6 )
       => ( ( order_ofilter @ A @ R3 @ B6 )
         => ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
            | ( ord_less_eq @ ( set @ A ) @ B6 @ A6 ) ) ) ) ) ).

% wo_rel.ofilter_linord
thf(fact_7460_bdd__above__nat,axiom,
    ( ( condit941137186595557371_above @ nat )
    = ( finite_finite2 @ nat ) ) ).

% bdd_above_nat
thf(fact_7461_bdd__above__finite,axiom,
    ! [A: $tType] :
      ( ( lattice @ A )
     => ! [A6: set @ A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( condit941137186595557371_above @ A @ A6 ) ) ) ).

% bdd_above_finite
thf(fact_7462_cSup__mono,axiom,
    ! [A: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [B6: set @ A,A6: set @ A] :
          ( ( B6
           != ( bot_bot @ ( set @ A ) ) )
         => ( ( condit941137186595557371_above @ A @ A6 )
           => ( ! [B4: A] :
                  ( ( member @ A @ B4 @ B6 )
                 => ? [X6: A] :
                      ( ( member @ A @ X6 @ A6 )
                      & ( ord_less_eq @ A @ B4 @ X6 ) ) )
             => ( ord_less_eq @ A @ ( complete_Sup_Sup @ A @ B6 ) @ ( complete_Sup_Sup @ A @ A6 ) ) ) ) ) ) ).

% cSup_mono
thf(fact_7463_cSup__le__iff,axiom,
    ! [A: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [S: set @ A,A3: A] :
          ( ( S
           != ( bot_bot @ ( set @ A ) ) )
         => ( ( condit941137186595557371_above @ A @ S )
           => ( ( ord_less_eq @ A @ ( complete_Sup_Sup @ A @ S ) @ A3 )
              = ( ! [X4: A] :
                    ( ( member @ A @ X4 @ S )
                   => ( ord_less_eq @ A @ X4 @ A3 ) ) ) ) ) ) ) ).

% cSup_le_iff
thf(fact_7464_less__cSup__iff,axiom,
    ! [A: $tType] :
      ( ( condit6923001295902523014norder @ A )
     => ! [X7: set @ A,Y: A] :
          ( ( X7
           != ( bot_bot @ ( set @ A ) ) )
         => ( ( condit941137186595557371_above @ A @ X7 )
           => ( ( ord_less @ A @ Y @ ( complete_Sup_Sup @ A @ X7 ) )
              = ( ? [X4: A] :
                    ( ( member @ A @ X4 @ X7 )
                    & ( ord_less @ A @ Y @ X4 ) ) ) ) ) ) ) ).

% less_cSup_iff
thf(fact_7465_cSUP__lessD,axiom,
    ! [B: $tType,A: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [F3: B > A,A6: set @ B,Y: A,I2: B] :
          ( ( condit941137186595557371_above @ A @ ( image2 @ B @ A @ F3 @ A6 ) )
         => ( ( ord_less @ A @ ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) @ Y )
           => ( ( member @ B @ I2 @ A6 )
             => ( ord_less @ A @ ( F3 @ I2 ) @ Y ) ) ) ) ) ).

% cSUP_lessD
thf(fact_7466_cSUP__le__iff,axiom,
    ! [A: $tType,B: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [A6: set @ B,F3: B > A,U: A] :
          ( ( A6
           != ( bot_bot @ ( set @ B ) ) )
         => ( ( condit941137186595557371_above @ A @ ( image2 @ B @ A @ F3 @ A6 ) )
           => ( ( ord_less_eq @ A @ ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) @ U )
              = ( ! [X4: B] :
                    ( ( member @ B @ X4 @ A6 )
                   => ( ord_less_eq @ A @ ( F3 @ X4 ) @ U ) ) ) ) ) ) ) ).

% cSUP_le_iff
thf(fact_7467_cSUP__mono,axiom,
    ! [B: $tType,A: $tType,C: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [A6: set @ B,G3: C > A,B6: set @ C,F3: B > A] :
          ( ( A6
           != ( bot_bot @ ( set @ B ) ) )
         => ( ( condit941137186595557371_above @ A @ ( image2 @ C @ A @ G3 @ B6 ) )
           => ( ! [N4: B] :
                  ( ( member @ B @ N4 @ A6 )
                 => ? [X6: C] :
                      ( ( member @ C @ X6 @ B6 )
                      & ( ord_less_eq @ A @ ( F3 @ N4 ) @ ( G3 @ X6 ) ) ) )
             => ( ord_less_eq @ A @ ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) @ ( complete_Sup_Sup @ A @ ( image2 @ C @ A @ G3 @ B6 ) ) ) ) ) ) ) ).

% cSUP_mono
thf(fact_7468_cSup__subset__mono,axiom,
    ! [A: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [A6: set @ A,B6: set @ A] :
          ( ( A6
           != ( bot_bot @ ( set @ A ) ) )
         => ( ( condit941137186595557371_above @ A @ B6 )
           => ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
             => ( ord_less_eq @ A @ ( complete_Sup_Sup @ A @ A6 ) @ ( complete_Sup_Sup @ A @ B6 ) ) ) ) ) ) ).

% cSup_subset_mono
thf(fact_7469_cSup__insert,axiom,
    ! [A: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [X7: set @ A,A3: A] :
          ( ( X7
           != ( bot_bot @ ( set @ A ) ) )
         => ( ( condit941137186595557371_above @ A @ X7 )
           => ( ( complete_Sup_Sup @ A @ ( insert @ A @ A3 @ X7 ) )
              = ( sup_sup @ A @ A3 @ ( complete_Sup_Sup @ A @ X7 ) ) ) ) ) ) ).

% cSup_insert
thf(fact_7470_cSup__insert__If,axiom,
    ! [A: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [X7: set @ A,A3: A] :
          ( ( condit941137186595557371_above @ A @ X7 )
         => ( ( ( X7
                = ( bot_bot @ ( set @ A ) ) )
             => ( ( complete_Sup_Sup @ A @ ( insert @ A @ A3 @ X7 ) )
                = A3 ) )
            & ( ( X7
               != ( bot_bot @ ( set @ A ) ) )
             => ( ( complete_Sup_Sup @ A @ ( insert @ A @ A3 @ X7 ) )
                = ( sup_sup @ A @ A3 @ ( complete_Sup_Sup @ A @ X7 ) ) ) ) ) ) ) ).

% cSup_insert_If
thf(fact_7471_cSup__union__distrib,axiom,
    ! [A: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [A6: set @ A,B6: set @ A] :
          ( ( A6
           != ( bot_bot @ ( set @ A ) ) )
         => ( ( condit941137186595557371_above @ A @ A6 )
           => ( ( B6
               != ( bot_bot @ ( set @ A ) ) )
             => ( ( condit941137186595557371_above @ A @ B6 )
               => ( ( complete_Sup_Sup @ A @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) )
                  = ( sup_sup @ A @ ( complete_Sup_Sup @ A @ A6 ) @ ( complete_Sup_Sup @ A @ B6 ) ) ) ) ) ) ) ) ).

% cSup_union_distrib
thf(fact_7472_wo__rel_Oofilter__UNION,axiom,
    ! [A: $tType,B: $tType,R3: set @ ( product_prod @ A @ A ),I5: set @ B,A6: B > ( set @ A )] :
      ( ( bNF_Wellorder_wo_rel @ A @ R3 )
     => ( ! [I3: B] :
            ( ( member @ B @ I3 @ I5 )
           => ( order_ofilter @ A @ R3 @ ( A6 @ I3 ) ) )
       => ( order_ofilter @ A @ R3 @ ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ A6 @ I5 ) ) ) ) ) ).

% wo_rel.ofilter_UNION
thf(fact_7473_less__cSUP__iff,axiom,
    ! [A: $tType,B: $tType] :
      ( ( condit6923001295902523014norder @ A )
     => ! [A6: set @ B,F3: B > A,A3: A] :
          ( ( A6
           != ( bot_bot @ ( set @ B ) ) )
         => ( ( condit941137186595557371_above @ A @ ( image2 @ B @ A @ F3 @ A6 ) )
           => ( ( ord_less @ A @ A3 @ ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) )
              = ( ? [X4: B] :
                    ( ( member @ B @ X4 @ A6 )
                    & ( ord_less @ A @ A3 @ ( F3 @ X4 ) ) ) ) ) ) ) ) ).

% less_cSUP_iff
thf(fact_7474_conditionally__complete__lattice__class_OSUP__sup__distrib,axiom,
    ! [A: $tType,B: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [A6: set @ B,F3: B > A,G3: B > A] :
          ( ( A6
           != ( bot_bot @ ( set @ B ) ) )
         => ( ( condit941137186595557371_above @ A @ ( image2 @ B @ A @ F3 @ A6 ) )
           => ( ( condit941137186595557371_above @ A @ ( image2 @ B @ A @ G3 @ A6 ) )
             => ( ( sup_sup @ A @ ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) @ ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ G3 @ A6 ) ) )
                = ( complete_Sup_Sup @ A
                  @ ( image2 @ B @ A
                    @ ^ [A7: B] : ( sup_sup @ A @ ( F3 @ A7 ) @ ( G3 @ A7 ) )
                    @ A6 ) ) ) ) ) ) ) ).

% conditionally_complete_lattice_class.SUP_sup_distrib
thf(fact_7475_cSUP__subset__mono,axiom,
    ! [A: $tType,B: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [A6: set @ B,G3: B > A,B6: set @ B,F3: B > A] :
          ( ( A6
           != ( bot_bot @ ( set @ B ) ) )
         => ( ( condit941137186595557371_above @ A @ ( image2 @ B @ A @ G3 @ B6 ) )
           => ( ( ord_less_eq @ ( set @ B ) @ A6 @ B6 )
             => ( ! [X3: B] :
                    ( ( member @ B @ X3 @ A6 )
                   => ( ord_less_eq @ A @ ( F3 @ X3 ) @ ( G3 @ X3 ) ) )
               => ( ord_less_eq @ A @ ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) @ ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ G3 @ B6 ) ) ) ) ) ) ) ) ).

% cSUP_subset_mono
thf(fact_7476_cSup__inter__less__eq,axiom,
    ! [A: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [A6: set @ A,B6: set @ A] :
          ( ( condit941137186595557371_above @ A @ A6 )
         => ( ( condit941137186595557371_above @ A @ B6 )
           => ( ( ( inf_inf @ ( set @ A ) @ A6 @ B6 )
               != ( bot_bot @ ( set @ A ) ) )
             => ( ord_less_eq @ A @ ( complete_Sup_Sup @ A @ ( inf_inf @ ( set @ A ) @ A6 @ B6 ) ) @ ( sup_sup @ A @ ( complete_Sup_Sup @ A @ A6 ) @ ( complete_Sup_Sup @ A @ B6 ) ) ) ) ) ) ) ).

% cSup_inter_less_eq
thf(fact_7477_cSUP__insert,axiom,
    ! [A: $tType,B: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [A6: set @ B,F3: B > A,A3: B] :
          ( ( A6
           != ( bot_bot @ ( set @ B ) ) )
         => ( ( condit941137186595557371_above @ A @ ( image2 @ B @ A @ F3 @ A6 ) )
           => ( ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ F3 @ ( insert @ B @ A3 @ A6 ) ) )
              = ( sup_sup @ A @ ( F3 @ A3 ) @ ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) ) ) ) ) ) ).

% cSUP_insert
thf(fact_7478_cSUP__union,axiom,
    ! [A: $tType,B: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [A6: set @ B,F3: B > A,B6: set @ B] :
          ( ( A6
           != ( bot_bot @ ( set @ B ) ) )
         => ( ( condit941137186595557371_above @ A @ ( image2 @ B @ A @ F3 @ A6 ) )
           => ( ( B6
               != ( bot_bot @ ( set @ B ) ) )
             => ( ( condit941137186595557371_above @ A @ ( image2 @ B @ A @ F3 @ B6 ) )
               => ( ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ F3 @ ( sup_sup @ ( set @ B ) @ A6 @ B6 ) ) )
                  = ( sup_sup @ A @ ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) @ ( complete_Sup_Sup @ A @ ( image2 @ B @ A @ F3 @ B6 ) ) ) ) ) ) ) ) ) ).

% cSUP_union
thf(fact_7479_wo__rel_Oofilter__AboveS__Field,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ A] :
      ( ( bNF_Wellorder_wo_rel @ A @ R3 )
     => ( ( order_ofilter @ A @ R3 @ A6 )
       => ( ( sup_sup @ ( set @ A ) @ A6 @ ( order_AboveS @ A @ R3 @ A6 ) )
          = ( field2 @ A @ R3 ) ) ) ) ).

% wo_rel.ofilter_AboveS_Field
thf(fact_7480_bdd__above__multiset__imp__bdd__above__count,axiom,
    ! [A: $tType,A6: set @ ( multiset @ A ),X: A] :
      ( ( condit8047198070973881523_above @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ A6 )
     => ( condit941137186595557371_above @ nat
        @ ( image2 @ ( multiset @ A ) @ nat
          @ ^ [X11: multiset @ A] : ( count @ A @ X11 @ X )
          @ A6 ) ) ) ).

% bdd_above_multiset_imp_bdd_above_count
thf(fact_7481_cSup__cInf,axiom,
    ! [A: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [S: set @ A] :
          ( ( S
           != ( bot_bot @ ( set @ A ) ) )
         => ( ( condit941137186595557371_above @ A @ S )
           => ( ( complete_Sup_Sup @ A @ S )
              = ( complete_Inf_Inf @ A
                @ ( collect @ A
                  @ ^ [X4: A] :
                    ! [Y4: A] :
                      ( ( member @ A @ Y4 @ S )
                     => ( ord_less_eq @ A @ Y4 @ X4 ) ) ) ) ) ) ) ) ).

% cSup_cInf
thf(fact_7482_mono__cSup,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ( condit1219197933456340205attice @ A )
        & ( condit1219197933456340205attice @ B ) )
     => ! [F3: A > B,A6: set @ A] :
          ( ( order_mono @ A @ B @ F3 )
         => ( ( condit941137186595557371_above @ A @ A6 )
           => ( ( A6
               != ( bot_bot @ ( set @ A ) ) )
             => ( ord_less_eq @ B @ ( complete_Sup_Sup @ B @ ( image2 @ A @ B @ F3 @ A6 ) ) @ ( F3 @ ( complete_Sup_Sup @ A @ A6 ) ) ) ) ) ) ) ).

% mono_cSup
thf(fact_7483_mono__cSUP,axiom,
    ! [B: $tType,A: $tType,C: $tType] :
      ( ( ( condit1219197933456340205attice @ A )
        & ( condit1219197933456340205attice @ B ) )
     => ! [F3: A > B,A6: C > A,I5: set @ C] :
          ( ( order_mono @ A @ B @ F3 )
         => ( ( condit941137186595557371_above @ A @ ( image2 @ C @ A @ A6 @ I5 ) )
           => ( ( I5
               != ( bot_bot @ ( set @ C ) ) )
             => ( ord_less_eq @ B
                @ ( complete_Sup_Sup @ B
                  @ ( image2 @ C @ B
                    @ ^ [X4: C] : ( F3 @ ( A6 @ X4 ) )
                    @ I5 ) )
                @ ( F3 @ ( complete_Sup_Sup @ A @ ( image2 @ C @ A @ A6 @ I5 ) ) ) ) ) ) ) ) ).

% mono_cSUP
thf(fact_7484_ofilterIncl__def,axiom,
    ! [A: $tType] :
      ( ( bNF_We413866401316099525erIncl @ A )
      = ( ^ [R5: set @ ( product_prod @ A @ A )] :
            ( collect @ ( product_prod @ ( set @ A ) @ ( set @ A ) )
            @ ( product_case_prod @ ( set @ A ) @ ( set @ A ) @ $o
              @ ^ [A8: set @ A,B7: set @ A] :
                  ( ( order_ofilter @ A @ R5 @ A8 )
                  & ( A8
                   != ( field2 @ A @ R5 ) )
                  & ( order_ofilter @ A @ R5 @ B7 )
                  & ( B7
                   != ( field2 @ A @ R5 ) )
                  & ( ord_less @ ( set @ A ) @ A8 @ B7 ) ) ) ) ) ) ).

% ofilterIncl_def
thf(fact_7485_wo__rel_Oofilter__under__UNION,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ A] :
      ( ( bNF_Wellorder_wo_rel @ A @ R3 )
     => ( ( order_ofilter @ A @ R3 @ A6 )
       => ( A6
          = ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ A @ ( set @ A ) @ ( order_under @ A @ R3 ) @ A6 ) ) ) ) ) ).

% wo_rel.ofilter_under_UNION
thf(fact_7486_under__def,axiom,
    ! [A: $tType] :
      ( ( order_under @ A )
      = ( ^ [R5: set @ ( product_prod @ A @ A ),A7: A] :
            ( collect @ A
            @ ^ [B5: A] : ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ B5 @ A7 ) @ R5 ) ) ) ) ).

% under_def
thf(fact_7487_under__Field,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A3: A] : ( ord_less_eq @ ( set @ A ) @ ( order_under @ A @ R3 @ A3 ) @ ( field2 @ A @ R3 ) ) ).

% under_Field
thf(fact_7488_under__incr,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A3: A,B2: A] :
      ( ( trans @ A @ R3 )
     => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ R3 )
       => ( ord_less_eq @ ( set @ A ) @ ( order_under @ A @ R3 @ A3 ) @ ( order_under @ A @ R3 @ B2 ) ) ) ) ).

% under_incr
thf(fact_7489_ofilter__def,axiom,
    ! [A: $tType] :
      ( ( order_ofilter @ A )
      = ( ^ [R5: set @ ( product_prod @ A @ A ),A8: set @ A] :
            ( ( ord_less_eq @ ( set @ A ) @ A8 @ ( field2 @ A @ R5 ) )
            & ! [X4: A] :
                ( ( member @ A @ X4 @ A8 )
               => ( ord_less_eq @ ( set @ A ) @ ( order_under @ A @ R5 @ X4 ) @ A8 ) ) ) ) ) ).

% ofilter_def
thf(fact_7490_wo__rel_Oofilter__def,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ A] :
      ( ( bNF_Wellorder_wo_rel @ A @ R3 )
     => ( ( order_ofilter @ A @ R3 @ A6 )
        = ( ( ord_less_eq @ ( set @ A ) @ A6 @ ( field2 @ A @ R3 ) )
          & ! [X4: A] :
              ( ( member @ A @ X4 @ A6 )
             => ( ord_less_eq @ ( set @ A ) @ ( order_under @ A @ R3 @ X4 ) @ A6 ) ) ) ) ) ).

% wo_rel.ofilter_def
thf(fact_7491_bsqr__ofilter,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),D5: set @ ( product_prod @ A @ A )] :
      ( ( order_well_order_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( order_ofilter @ ( product_prod @ A @ A ) @ ( bNF_Wellorder_bsqr @ A @ R3 ) @ D5 )
       => ( ( ord_less @ ( set @ ( product_prod @ A @ A ) ) @ D5
            @ ( product_Sigma @ A @ A @ ( field2 @ A @ R3 )
              @ ^ [Uu2: A] : ( field2 @ A @ R3 ) ) )
         => ( ~ ? [A5: A] :
                  ( ( field2 @ A @ R3 )
                  = ( order_under @ A @ R3 @ A5 ) )
           => ? [A13: set @ A] :
                ( ( order_ofilter @ A @ R3 @ A13 )
                & ( ord_less @ ( set @ A ) @ A13 @ ( field2 @ A @ R3 ) )
                & ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ D5
                  @ ( product_Sigma @ A @ A @ A13
                    @ ^ [Uu2: A] : A13 ) ) ) ) ) ) ) ).

% bsqr_ofilter
thf(fact_7492_Refl__under__underS,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A3: A] :
      ( ( refl_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( member @ A @ A3 @ ( field2 @ A @ R3 ) )
       => ( ( order_under @ A @ R3 @ A3 )
          = ( sup_sup @ ( set @ A ) @ ( order_underS @ A @ R3 @ A3 ) @ ( insert @ A @ A3 @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ) ).

% Refl_under_underS
thf(fact_7493_underS__subset__under,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A3: A] : ( ord_less_eq @ ( set @ A ) @ ( order_underS @ A @ R3 @ A3 ) @ ( order_under @ A @ R3 @ A3 ) ) ).

% underS_subset_under
thf(fact_7494_BNF__Least__Fixpoint_OunderS__Field,axiom,
    ! [A: $tType,I2: A,R4: set @ ( product_prod @ A @ A ),J2: A] :
      ( ( member @ A @ I2 @ ( order_underS @ A @ R4 @ J2 ) )
     => ( member @ A @ I2 @ ( field2 @ A @ R4 ) ) ) ).

% BNF_Least_Fixpoint.underS_Field
thf(fact_7495_underS__Field2,axiom,
    ! [A: $tType,A3: A,R3: set @ ( product_prod @ A @ A )] :
      ( ( member @ A @ A3 @ ( field2 @ A @ R3 ) )
     => ( ord_less @ ( set @ A ) @ ( order_underS @ A @ R3 @ A3 ) @ ( field2 @ A @ R3 ) ) ) ).

% underS_Field2
thf(fact_7496_Order__Relation_OunderS__Field,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A3: A] : ( ord_less_eq @ ( set @ A ) @ ( order_underS @ A @ R3 @ A3 ) @ ( field2 @ A @ R3 ) ) ).

% Order_Relation.underS_Field
thf(fact_7497_underS__I,axiom,
    ! [A: $tType,I2: A,J2: A,R4: set @ ( product_prod @ A @ A )] :
      ( ( I2 != J2 )
     => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ I2 @ J2 ) @ R4 )
       => ( member @ A @ I2 @ ( order_underS @ A @ R4 @ J2 ) ) ) ) ).

% underS_I
thf(fact_7498_underS__E,axiom,
    ! [A: $tType,I2: A,R4: set @ ( product_prod @ A @ A ),J2: A] :
      ( ( member @ A @ I2 @ ( order_underS @ A @ R4 @ J2 ) )
     => ( ( I2 != J2 )
        & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ I2 @ J2 ) @ R4 ) ) ) ).

% underS_E
thf(fact_7499_underS__def,axiom,
    ! [A: $tType] :
      ( ( order_underS @ A )
      = ( ^ [R5: set @ ( product_prod @ A @ A ),A7: A] :
            ( collect @ A
            @ ^ [B5: A] :
                ( ( B5 != A7 )
                & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ B5 @ A7 ) @ R5 ) ) ) ) ) ).

% underS_def
thf(fact_7500_well__order__on__domain,axiom,
    ! [A: $tType,A6: set @ A,R3: set @ ( product_prod @ A @ A ),A3: A,B2: A] :
      ( ( order_well_order_on @ A @ A6 @ R3 )
     => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ R3 )
       => ( ( member @ A @ A3 @ A6 )
          & ( member @ A @ B2 @ A6 ) ) ) ) ).

% well_order_on_domain
thf(fact_7501_Well__order__Restr,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ A] :
      ( ( order_well_order_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( order_well_order_on @ A
        @ ( field2 @ A
          @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
            @ ( product_Sigma @ A @ A @ A6
              @ ^ [Uu2: A] : A6 ) ) )
        @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
          @ ( product_Sigma @ A @ A @ A6
            @ ^ [Uu2: A] : A6 ) ) ) ) ).

% Well_order_Restr
thf(fact_7502_natLeq__on__well__order__on,axiom,
    ! [N: nat] :
      ( order_well_order_on @ nat
      @ ( collect @ nat
        @ ^ [X4: nat] : ( ord_less @ nat @ X4 @ N ) )
      @ ( collect @ ( product_prod @ nat @ nat )
        @ ( product_case_prod @ nat @ nat @ $o
          @ ^ [X4: nat,Y4: nat] :
              ( ( ord_less @ nat @ X4 @ N )
              & ( ord_less @ nat @ Y4 @ N )
              & ( ord_less_eq @ nat @ X4 @ Y4 ) ) ) ) ) ).

% natLeq_on_well_order_on
thf(fact_7503_underS__Field3,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A3: A] :
      ( ( ( field2 @ A @ R3 )
       != ( bot_bot @ ( set @ A ) ) )
     => ( ord_less @ ( set @ A ) @ ( order_underS @ A @ R3 @ A3 ) @ ( field2 @ A @ R3 ) ) ) ).

% underS_Field3
thf(fact_7504_well__order__on__Restr,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ A] :
      ( ( order_well_order_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( ord_less_eq @ ( set @ A ) @ A6 @ ( field2 @ A @ R3 ) )
       => ( order_well_order_on @ A @ A6
          @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
            @ ( product_Sigma @ A @ A @ A6
              @ ^ [Uu2: A] : A6 ) ) ) ) ) ).

% well_order_on_Restr
thf(fact_7505_Field__Restr__ofilter,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ A] :
      ( ( order_well_order_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( order_ofilter @ A @ R3 @ A6 )
       => ( ( field2 @ A
            @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
              @ ( product_Sigma @ A @ A @ A6
                @ ^ [Uu2: A] : A6 ) ) )
          = A6 ) ) ) ).

% Field_Restr_ofilter
thf(fact_7506_natLeq__on__Well__order,axiom,
    ! [N: nat] :
      ( order_well_order_on @ nat
      @ ( field2 @ nat
        @ ( collect @ ( product_prod @ nat @ nat )
          @ ( product_case_prod @ nat @ nat @ $o
            @ ^ [X4: nat,Y4: nat] :
                ( ( ord_less @ nat @ X4 @ N )
                & ( ord_less @ nat @ Y4 @ N )
                & ( ord_less_eq @ nat @ X4 @ Y4 ) ) ) ) )
      @ ( collect @ ( product_prod @ nat @ nat )
        @ ( product_case_prod @ nat @ nat @ $o
          @ ^ [X4: nat,Y4: nat] :
              ( ( ord_less @ nat @ X4 @ N )
              & ( ord_less @ nat @ Y4 @ N )
              & ( ord_less_eq @ nat @ X4 @ Y4 ) ) ) ) ) ).

% natLeq_on_Well_order
thf(fact_7507_underS__incl__iff,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A3: A,B2: A] :
      ( ( order_679001287576687338der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( member @ A @ A3 @ ( field2 @ A @ R3 ) )
       => ( ( member @ A @ B2 @ ( field2 @ A @ R3 ) )
         => ( ( ord_less_eq @ ( set @ A ) @ ( order_underS @ A @ R3 @ A3 ) @ ( order_underS @ A @ R3 @ B2 ) )
            = ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ R3 ) ) ) ) ) ).

% underS_incl_iff
thf(fact_7508_Linear__order__Well__order__iff,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] :
      ( ( order_679001287576687338der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( order_well_order_on @ A @ ( field2 @ A @ R3 ) @ R3 )
        = ( ! [A8: set @ A] :
              ( ( ord_less_eq @ ( set @ A ) @ A8 @ ( field2 @ A @ R3 ) )
             => ( ( A8
                 != ( bot_bot @ ( set @ A ) ) )
               => ? [X4: A] :
                    ( ( member @ A @ X4 @ A8 )
                    & ! [Y4: A] :
                        ( ( member @ A @ Y4 @ A8 )
                       => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X4 @ Y4 ) @ R3 ) ) ) ) ) ) ) ) ).

% Linear_order_Well_order_iff
thf(fact_7509_ofilter__Restr__subset,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ A,B6: set @ A] :
      ( ( order_well_order_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( order_ofilter @ A @ R3 @ A6 )
       => ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
         => ( order_ofilter @ A
            @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
              @ ( product_Sigma @ A @ A @ B6
                @ ^ [Uu2: A] : B6 ) )
            @ A6 ) ) ) ) ).

% ofilter_Restr_subset
thf(fact_7510_ofilter__Restr__Int,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ A,B6: set @ A] :
      ( ( order_well_order_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( order_ofilter @ A @ R3 @ A6 )
       => ( order_ofilter @ A
          @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
            @ ( product_Sigma @ A @ A @ B6
              @ ^ [Uu2: A] : B6 ) )
          @ ( inf_inf @ ( set @ A ) @ A6 @ B6 ) ) ) ) ).

% ofilter_Restr_Int
thf(fact_7511_bsqr__max2,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A1: A,A22: A,B1: A,B22: A] :
      ( ( order_well_order_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( member @ ( product_prod @ ( product_prod @ A @ A ) @ ( product_prod @ A @ A ) ) @ ( product_Pair @ ( product_prod @ A @ A ) @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A1 @ A22 ) @ ( product_Pair @ A @ A @ B1 @ B22 ) ) @ ( bNF_Wellorder_bsqr @ A @ R3 ) )
       => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ ( bNF_We1388413361240627857o_max2 @ A @ R3 @ A1 @ A22 ) @ ( bNF_We1388413361240627857o_max2 @ A @ R3 @ B1 @ B22 ) ) @ R3 ) ) ) ).

% bsqr_max2
thf(fact_7512_ofilter__Restr__under,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ A,A3: A] :
      ( ( order_well_order_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( order_ofilter @ A @ R3 @ A6 )
       => ( ( member @ A @ A3 @ A6 )
         => ( ( order_under @ A
              @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
                @ ( product_Sigma @ A @ A @ A6
                  @ ^ [Uu2: A] : A6 ) )
              @ A3 )
            = ( order_under @ A @ R3 @ A3 ) ) ) ) ) ).

% ofilter_Restr_under
thf(fact_7513_UNION__inj__on__ofilter,axiom,
    ! [C: $tType,A: $tType,B: $tType,R3: set @ ( product_prod @ A @ A ),I5: set @ B,A6: B > ( set @ A ),F3: A > C] :
      ( ( order_well_order_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ! [I3: B] :
            ( ( member @ B @ I3 @ I5 )
           => ( order_ofilter @ A @ R3 @ ( A6 @ I3 ) ) )
       => ( ! [I3: B] :
              ( ( member @ B @ I3 @ I5 )
             => ( inj_on @ A @ C @ F3 @ ( A6 @ I3 ) ) )
         => ( inj_on @ A @ C @ F3 @ ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ A6 @ I5 ) ) ) ) ) ) ).

% UNION_inj_on_ofilter
thf(fact_7514_ofilter__subset__embedS,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ A,B6: set @ A] :
      ( ( order_well_order_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( order_ofilter @ A @ R3 @ A6 )
       => ( ( order_ofilter @ A @ R3 @ B6 )
         => ( ( ord_less @ ( set @ A ) @ A6 @ B6 )
            = ( bNF_Wellorder_embedS @ A @ A
              @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
                @ ( product_Sigma @ A @ A @ A6
                  @ ^ [Uu2: A] : A6 ) )
              @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
                @ ( product_Sigma @ A @ A @ B6
                  @ ^ [Uu2: A] : B6 ) )
              @ ( id @ A ) ) ) ) ) ) ).

% ofilter_subset_embedS
thf(fact_7515_embedS__Field,axiom,
    ! [A: $tType,B: $tType,R3: set @ ( product_prod @ A @ A ),R7: set @ ( product_prod @ B @ B ),F3: A > B] :
      ( ( order_well_order_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( bNF_Wellorder_embedS @ A @ B @ R3 @ R7 @ F3 )
       => ( ord_less @ ( set @ B ) @ ( image2 @ A @ B @ F3 @ ( field2 @ A @ R3 ) ) @ ( field2 @ B @ R7 ) ) ) ) ).

% embedS_Field
thf(fact_7516_ofilter__subset__embedS__iso,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ A,B6: set @ A] :
      ( ( order_well_order_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( order_ofilter @ A @ R3 @ A6 )
       => ( ( order_ofilter @ A @ R3 @ B6 )
         => ( ( ( ord_less @ ( set @ A ) @ A6 @ B6 )
              = ( bNF_Wellorder_embedS @ A @ A
                @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
                  @ ( product_Sigma @ A @ A @ A6
                    @ ^ [Uu2: A] : A6 ) )
                @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
                  @ ( product_Sigma @ A @ A @ B6
                    @ ^ [Uu2: A] : B6 ) )
                @ ( id @ A ) ) )
            & ( ( A6 = B6 )
              = ( bNF_Wellorder_iso @ A @ A
                @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
                  @ ( product_Sigma @ A @ A @ A6
                    @ ^ [Uu2: A] : A6 ) )
                @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
                  @ ( product_Sigma @ A @ A @ B6
                    @ ^ [Uu2: A] : B6 ) )
                @ ( id @ A ) ) ) ) ) ) ) ).

% ofilter_subset_embedS_iso
thf(fact_7517_ofilter__ordLess,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ A] :
      ( ( order_well_order_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( order_ofilter @ A @ R3 @ A6 )
       => ( ( ord_less @ ( set @ A ) @ A6 @ ( field2 @ A @ R3 ) )
          = ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) )
            @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) )
              @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
                @ ( product_Sigma @ A @ A @ A6
                  @ ^ [Uu2: A] : A6 ) )
              @ R3 )
            @ ( bNF_We4044943003108391690rdLess @ A @ A ) ) ) ) ) ).

% ofilter_ordLess
thf(fact_7518_iso__forward,axiom,
    ! [A: $tType,B: $tType,X: A,Y: A,R3: set @ ( product_prod @ A @ A ),R7: set @ ( product_prod @ B @ B ),F3: A > B] :
      ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ R3 )
     => ( ( bNF_Wellorder_iso @ A @ B @ R3 @ R7 @ F3 )
       => ( member @ ( product_prod @ B @ B ) @ ( product_Pair @ B @ B @ ( F3 @ X ) @ ( F3 @ Y ) ) @ R7 ) ) ) ).

% iso_forward
thf(fact_7519_iso__iff2,axiom,
    ! [B: $tType,A: $tType] :
      ( ( bNF_Wellorder_iso @ A @ B )
      = ( ^ [R5: set @ ( product_prod @ A @ A ),R11: set @ ( product_prod @ B @ B ),F4: A > B] :
            ( ( bij_betw @ A @ B @ F4 @ ( field2 @ A @ R5 ) @ ( field2 @ B @ R11 ) )
            & ! [X4: A] :
                ( ( member @ A @ X4 @ ( field2 @ A @ R5 ) )
               => ! [Y4: A] :
                    ( ( member @ A @ Y4 @ ( field2 @ A @ R5 ) )
                   => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X4 @ Y4 ) @ R5 )
                      = ( member @ ( product_prod @ B @ B ) @ ( product_Pair @ B @ B @ ( F4 @ X4 ) @ ( F4 @ Y4 ) ) @ R11 ) ) ) ) ) ) ) ).

% iso_iff2
thf(fact_7520_ordLess__def,axiom,
    ! [A2: $tType,A: $tType] :
      ( ( bNF_We4044943003108391690rdLess @ A @ A2 )
      = ( collect @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A2 @ A2 ) ) )
        @ ( product_case_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A2 @ A2 ) ) @ $o
          @ ^ [R5: set @ ( product_prod @ A @ A ),R11: set @ ( product_prod @ A2 @ A2 )] :
              ( ( order_well_order_on @ A @ ( field2 @ A @ R5 ) @ R5 )
              & ( order_well_order_on @ A2 @ ( field2 @ A2 @ R11 ) @ R11 )
              & ? [X11: A > A2] : ( bNF_Wellorder_embedS @ A @ A2 @ R5 @ R11 @ X11 ) ) ) ) ) ).

% ordLess_def
thf(fact_7521_underS__Restr__ordLess,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A3: A] :
      ( ( order_well_order_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( ( field2 @ A @ R3 )
         != ( bot_bot @ ( set @ A ) ) )
       => ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) )
          @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) )
            @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
              @ ( product_Sigma @ A @ A @ ( order_underS @ A @ R3 @ A3 )
                @ ^ [Uu2: A] : ( order_underS @ A @ R3 @ A3 ) ) )
            @ R3 )
          @ ( bNF_We4044943003108391690rdLess @ A @ A ) ) ) ) ).

% underS_Restr_ordLess
thf(fact_7522_ofilter__subset__ordLess,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ A,B6: set @ A] :
      ( ( order_well_order_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( order_ofilter @ A @ R3 @ A6 )
       => ( ( order_ofilter @ A @ R3 @ B6 )
         => ( ( ord_less @ ( set @ A ) @ A6 @ B6 )
            = ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) )
              @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) )
                @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
                  @ ( product_Sigma @ A @ A @ A6
                    @ ^ [Uu2: A] : A6 ) )
                @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
                  @ ( product_Sigma @ A @ A @ B6
                    @ ^ [Uu2: A] : B6 ) ) )
              @ ( bNF_We4044943003108391690rdLess @ A @ A ) ) ) ) ) ) ).

% ofilter_subset_ordLess
thf(fact_7523_ordLess__iff__ordIso__Restr,axiom,
    ! [B: $tType,A: $tType,R3: set @ ( product_prod @ A @ A ),R7: set @ ( product_prod @ B @ B )] :
      ( ( order_well_order_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( order_well_order_on @ B @ ( field2 @ B @ R7 ) @ R7 )
       => ( ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) @ R7 @ R3 ) @ ( bNF_We4044943003108391690rdLess @ B @ A ) )
          = ( ? [X4: A] :
                ( ( member @ A @ X4 @ ( field2 @ A @ R3 ) )
                & ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) )
                  @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) @ R7
                    @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
                      @ ( product_Sigma @ A @ A @ ( order_underS @ A @ R3 @ X4 )
                        @ ^ [Uu2: A] : ( order_underS @ A @ R3 @ X4 ) ) ) )
                  @ ( bNF_Wellorder_ordIso @ B @ A ) ) ) ) ) ) ) ).

% ordLess_iff_ordIso_Restr
thf(fact_7524_ordLeq__iff__ordLess__Restr,axiom,
    ! [B: $tType,A: $tType,R3: set @ ( product_prod @ A @ A ),R7: set @ ( product_prod @ B @ B )] :
      ( ( order_well_order_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( order_well_order_on @ B @ ( field2 @ B @ R7 ) @ R7 )
       => ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ R3 @ R7 ) @ ( bNF_Wellorder_ordLeq @ A @ B ) )
          = ( ! [X4: A] :
                ( ( member @ A @ X4 @ ( field2 @ A @ R3 ) )
               => ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) )
                  @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) )
                    @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
                      @ ( product_Sigma @ A @ A @ ( order_underS @ A @ R3 @ X4 )
                        @ ^ [Uu2: A] : ( order_underS @ A @ R3 @ X4 ) ) )
                    @ R7 )
                  @ ( bNF_We4044943003108391690rdLess @ A @ B ) ) ) ) ) ) ) ).

% ordLeq_iff_ordLess_Restr
thf(fact_7525_internalize__ordLeq,axiom,
    ! [A: $tType,B: $tType,R7: set @ ( product_prod @ A @ A ),R3: set @ ( product_prod @ B @ B )] :
      ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ R7 @ R3 ) @ ( bNF_Wellorder_ordLeq @ A @ B ) )
      = ( ? [P7: set @ ( product_prod @ B @ B )] :
            ( ( ord_less_eq @ ( set @ B ) @ ( field2 @ B @ P7 ) @ ( field2 @ B @ R3 ) )
            & ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ R7 @ P7 ) @ ( bNF_Wellorder_ordIso @ A @ B ) )
            & ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ B @ B ) ) @ P7 @ R3 ) @ ( bNF_Wellorder_ordLeq @ B @ B ) ) ) ) ) ).

% internalize_ordLeq
thf(fact_7526_internalize__ordLess,axiom,
    ! [A: $tType,B: $tType,R7: set @ ( product_prod @ A @ A ),R3: set @ ( product_prod @ B @ B )] :
      ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ R7 @ R3 ) @ ( bNF_We4044943003108391690rdLess @ A @ B ) )
      = ( ? [P7: set @ ( product_prod @ B @ B )] :
            ( ( ord_less @ ( set @ B ) @ ( field2 @ B @ P7 ) @ ( field2 @ B @ R3 ) )
            & ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ R7 @ P7 ) @ ( bNF_Wellorder_ordIso @ A @ B ) )
            & ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ B @ B ) ) @ P7 @ R3 ) @ ( bNF_We4044943003108391690rdLess @ B @ B ) ) ) ) ) ).

% internalize_ordLess
thf(fact_7527_ordIso__def,axiom,
    ! [A2: $tType,A: $tType] :
      ( ( bNF_Wellorder_ordIso @ A @ A2 )
      = ( collect @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A2 @ A2 ) ) )
        @ ( product_case_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A2 @ A2 ) ) @ $o
          @ ^ [R5: set @ ( product_prod @ A @ A ),R11: set @ ( product_prod @ A2 @ A2 )] :
              ( ( order_well_order_on @ A @ ( field2 @ A @ R5 ) @ R5 )
              & ( order_well_order_on @ A2 @ ( field2 @ A2 @ R11 ) @ R11 )
              & ? [X11: A > A2] : ( bNF_Wellorder_iso @ A @ A2 @ R5 @ R11 @ X11 ) ) ) ) ) ).

% ordIso_def
thf(fact_7528_ofilter__subset__ordLeq,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ A,B6: set @ A] :
      ( ( order_well_order_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( order_ofilter @ A @ R3 @ A6 )
       => ( ( order_ofilter @ A @ R3 @ B6 )
         => ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
            = ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) )
              @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) )
                @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
                  @ ( product_Sigma @ A @ A @ A6
                    @ ^ [Uu2: A] : A6 ) )
                @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
                  @ ( product_Sigma @ A @ A @ B6
                    @ ^ [Uu2: A] : B6 ) ) )
              @ ( bNF_Wellorder_ordLeq @ A @ A ) ) ) ) ) ) ).

% ofilter_subset_ordLeq
thf(fact_7529_ofilter__embed,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ A] :
      ( ( order_well_order_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( order_ofilter @ A @ R3 @ A6 )
        = ( ( ord_less_eq @ ( set @ A ) @ A6 @ ( field2 @ A @ R3 ) )
          & ( bNF_Wellorder_embed @ A @ A
            @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
              @ ( product_Sigma @ A @ A @ A6
                @ ^ [Uu2: A] : A6 ) )
            @ R3
            @ ( id @ A ) ) ) ) ) ).

% ofilter_embed
thf(fact_7530_ofilter__subset__embed,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ A,B6: set @ A] :
      ( ( order_well_order_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( order_ofilter @ A @ R3 @ A6 )
       => ( ( order_ofilter @ A @ R3 @ B6 )
         => ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
            = ( bNF_Wellorder_embed @ A @ A
              @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
                @ ( product_Sigma @ A @ A @ A6
                  @ ^ [Uu2: A] : A6 ) )
              @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
                @ ( product_Sigma @ A @ A @ B6
                  @ ^ [Uu2: A] : B6 ) )
              @ ( id @ A ) ) ) ) ) ) ).

% ofilter_subset_embed
thf(fact_7531_embed__Field,axiom,
    ! [A: $tType,B: $tType,R3: set @ ( product_prod @ A @ A ),R7: set @ ( product_prod @ B @ B ),F3: A > B] :
      ( ( bNF_Wellorder_embed @ A @ B @ R3 @ R7 @ F3 )
     => ( ord_less_eq @ ( set @ B ) @ ( image2 @ A @ B @ F3 @ ( field2 @ A @ R3 ) ) @ ( field2 @ B @ R7 ) ) ) ).

% embed_Field
thf(fact_7532_iso__defs_I2_J,axiom,
    ! [A2: $tType,A: $tType] :
      ( ( bNF_Wellorder_iso @ A @ A2 )
      = ( ^ [R5: set @ ( product_prod @ A @ A ),R11: set @ ( product_prod @ A2 @ A2 ),F4: A > A2] :
            ( ( bNF_Wellorder_embed @ A @ A2 @ R5 @ R11 @ F4 )
            & ( bij_betw @ A @ A2 @ F4 @ ( field2 @ A @ R5 ) @ ( field2 @ A2 @ R11 ) ) ) ) ) ).

% iso_defs(2)
thf(fact_7533_embedS__defs_I2_J,axiom,
    ! [A2: $tType,A: $tType] :
      ( ( bNF_Wellorder_embedS @ A @ A2 )
      = ( ^ [R5: set @ ( product_prod @ A @ A ),R11: set @ ( product_prod @ A2 @ A2 ),F4: A > A2] :
            ( ( bNF_Wellorder_embed @ A @ A2 @ R5 @ R11 @ F4 )
            & ~ ( bij_betw @ A @ A2 @ F4 @ ( field2 @ A @ R5 ) @ ( field2 @ A2 @ R11 ) ) ) ) ) ).

% embedS_defs(2)
thf(fact_7534_embed__defs_I2_J,axiom,
    ! [A2: $tType,A: $tType] :
      ( ( bNF_Wellorder_embed @ A @ A2 )
      = ( ^ [R5: set @ ( product_prod @ A @ A ),R11: set @ ( product_prod @ A2 @ A2 ),F4: A > A2] :
          ! [X4: A] :
            ( ( member @ A @ X4 @ ( field2 @ A @ R5 ) )
           => ( bij_betw @ A @ A2 @ F4 @ ( order_under @ A @ R5 @ X4 ) @ ( order_under @ A2 @ R11 @ ( F4 @ X4 ) ) ) ) ) ) ).

% embed_defs(2)
thf(fact_7535_embedS__iff,axiom,
    ! [A: $tType,B: $tType,R3: set @ ( product_prod @ A @ A ),R7: set @ ( product_prod @ B @ B ),F3: A > B] :
      ( ( order_well_order_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( bNF_Wellorder_embed @ A @ B @ R3 @ R7 @ F3 )
       => ( ( bNF_Wellorder_embedS @ A @ B @ R3 @ R7 @ F3 )
          = ( ord_less @ ( set @ B ) @ ( image2 @ A @ B @ F3 @ ( field2 @ A @ R3 ) ) @ ( field2 @ B @ R7 ) ) ) ) ) ).

% embedS_iff
thf(fact_7536_ordLeq__def,axiom,
    ! [A2: $tType,A: $tType] :
      ( ( bNF_Wellorder_ordLeq @ A @ A2 )
      = ( collect @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A2 @ A2 ) ) )
        @ ( product_case_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A2 @ A2 ) ) @ $o
          @ ^ [R5: set @ ( product_prod @ A @ A ),R11: set @ ( product_prod @ A2 @ A2 )] :
              ( ( order_well_order_on @ A @ ( field2 @ A @ R5 ) @ R5 )
              & ( order_well_order_on @ A2 @ ( field2 @ A2 @ R11 ) @ R11 )
              & ? [X11: A > A2] : ( bNF_Wellorder_embed @ A @ A2 @ R5 @ R11 @ X11 ) ) ) ) ) ).

% ordLeq_def
thf(fact_7537_embed__implies__iso__Restr,axiom,
    ! [A: $tType,B: $tType,R3: set @ ( product_prod @ A @ A ),R7: set @ ( product_prod @ B @ B ),F3: B > A] :
      ( ( order_well_order_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( order_well_order_on @ B @ ( field2 @ B @ R7 ) @ R7 )
       => ( ( bNF_Wellorder_embed @ B @ A @ R7 @ R3 @ F3 )
         => ( bNF_Wellorder_iso @ B @ A @ R7
            @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
              @ ( product_Sigma @ A @ A @ ( image2 @ B @ A @ F3 @ ( field2 @ B @ R7 ) )
                @ ^ [Uu2: A] : ( image2 @ B @ A @ F3 @ ( field2 @ B @ R7 ) ) ) )
            @ F3 ) ) ) ) ).

% embed_implies_iso_Restr
thf(fact_7538_comp__set__bd__Union__o__collect,axiom,
    ! [C: $tType,B: $tType,A: $tType,X: C,X7: set @ ( C > ( set @ ( set @ A ) ) ),Hbd: set @ ( product_prod @ B @ B )] :
      ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) )
        @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) )
          @ ( bNF_Ca6860139660246222851ard_of @ A
            @ ( complete_Sup_Sup @ ( set @ A )
              @ ( complete_Sup_Sup @ ( set @ ( set @ A ) )
                @ ( image2 @ ( C > ( set @ ( set @ A ) ) ) @ ( set @ ( set @ A ) )
                  @ ^ [F4: C > ( set @ ( set @ A ) )] : ( F4 @ X )
                  @ X7 ) ) ) )
          @ Hbd )
        @ ( bNF_Wellorder_ordLeq @ A @ B ) )
     => ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ ( comp @ ( set @ ( set @ A ) ) @ ( set @ A ) @ C @ ( complete_Sup_Sup @ ( set @ A ) ) @ ( bNF_collect @ C @ ( set @ A ) @ X7 ) @ X ) ) @ Hbd ) @ ( bNF_Wellorder_ordLeq @ A @ B ) ) ) ).

% comp_set_bd_Union_o_collect
thf(fact_7539_underS__incr,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A3: A,B2: A] :
      ( ( trans @ A @ R3 )
     => ( ( antisym @ A @ R3 )
       => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ R3 )
         => ( ord_less_eq @ ( set @ A ) @ ( order_underS @ A @ R3 @ A3 ) @ ( order_underS @ A @ R3 @ B2 ) ) ) ) ) ).

% underS_incr
thf(fact_7540_antisym__reflcl,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] :
      ( ( antisym @ A @ ( sup_sup @ ( set @ ( product_prod @ A @ A ) ) @ R3 @ ( id2 @ A ) ) )
      = ( antisym @ A @ R3 ) ) ).

% antisym_reflcl
thf(fact_7541_card__of__Pow,axiom,
    ! [A: $tType,A6: set @ A] : ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) @ ( bNF_Ca6860139660246222851ard_of @ ( set @ A ) @ ( pow @ A @ A6 ) ) ) @ ( bNF_We4044943003108391690rdLess @ A @ ( set @ A ) ) ) ).

% card_of_Pow
thf(fact_7542_BNF__Cardinal__Order__Relation_OordLess__Field,axiom,
    ! [B: $tType,A: $tType,R3: set @ ( product_prod @ A @ A ),R7: set @ ( product_prod @ B @ B )] :
      ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ R3 @ R7 ) @ ( bNF_We4044943003108391690rdLess @ A @ B ) )
     => ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ ( field2 @ A @ R3 ) ) @ R7 ) @ ( bNF_We4044943003108391690rdLess @ A @ B ) ) ) ).

% BNF_Cardinal_Order_Relation.ordLess_Field
thf(fact_7543_antisym__def,axiom,
    ! [A: $tType] :
      ( ( antisym @ A )
      = ( ^ [R5: set @ ( product_prod @ A @ A )] :
          ! [X4: A,Y4: A] :
            ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X4 @ Y4 ) @ R5 )
           => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y4 @ X4 ) @ R5 )
             => ( X4 = Y4 ) ) ) ) ) ).

% antisym_def
thf(fact_7544_antisymI,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] :
      ( ! [X3: A,Y3: A] :
          ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X3 @ Y3 ) @ R3 )
         => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y3 @ X3 ) @ R3 )
           => ( X3 = Y3 ) ) )
     => ( antisym @ A @ R3 ) ) ).

% antisymI
thf(fact_7545_antisymD,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A3: A,B2: A] :
      ( ( antisym @ A @ R3 )
     => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ R3 )
       => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ B2 @ A3 ) @ R3 )
         => ( A3 = B2 ) ) ) ) ).

% antisymD
thf(fact_7546_antisym__subset,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),S2: set @ ( product_prod @ A @ A )] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ R3 @ S2 )
     => ( ( antisym @ A @ S2 )
       => ( antisym @ A @ R3 ) ) ) ).

% antisym_subset
thf(fact_7547_Field__card__of,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ( field2 @ A @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) )
      = A6 ) ).

% Field_card_of
thf(fact_7548_card__of__well__order__on,axiom,
    ! [A: $tType,A6: set @ A] : ( order_well_order_on @ A @ A6 @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) ) ).

% card_of_well_order_on
thf(fact_7549_card__of__Well__order,axiom,
    ! [A: $tType,A6: set @ A] : ( order_well_order_on @ A @ ( field2 @ A @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) ) ).

% card_of_Well_order
thf(fact_7550_card__of__least,axiom,
    ! [A: $tType,A6: set @ A,R3: set @ ( product_prod @ A @ A )] :
      ( ( order_well_order_on @ A @ A6 @ R3 )
     => ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) @ R3 ) @ ( bNF_Wellorder_ordLeq @ A @ A ) ) ) ).

% card_of_least
thf(fact_7551_card__of__Times2,axiom,
    ! [A: $tType,B: $tType,A6: set @ A,B6: set @ B] :
      ( ( A6
       != ( bot_bot @ ( set @ A ) ) )
     => ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) ) ) )
        @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ B @ B6 )
          @ ( bNF_Ca6860139660246222851ard_of @ ( product_prod @ A @ B )
            @ ( product_Sigma @ A @ B @ A6
              @ ^ [Uu2: A] : B6 ) ) )
        @ ( bNF_Wellorder_ordLeq @ B @ ( product_prod @ A @ B ) ) ) ) ).

% card_of_Times2
thf(fact_7552_card__of__Times1,axiom,
    ! [A: $tType,B: $tType,A6: set @ A,B6: set @ B] :
      ( ( A6
       != ( bot_bot @ ( set @ A ) ) )
     => ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ ( product_prod @ B @ A ) @ ( product_prod @ B @ A ) ) ) )
        @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ ( product_prod @ B @ A ) @ ( product_prod @ B @ A ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ B @ B6 )
          @ ( bNF_Ca6860139660246222851ard_of @ ( product_prod @ B @ A )
            @ ( product_Sigma @ B @ A @ B6
              @ ^ [Uu2: B] : A6 ) ) )
        @ ( bNF_Wellorder_ordLeq @ B @ ( product_prod @ B @ A ) ) ) ) ).

% card_of_Times1
thf(fact_7553_card__of__Times__infinite__simps_I4_J,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,B6: set @ B] :
      ( ~ ( finite_finite2 @ A @ A6 )
     => ( ( B6
         != ( bot_bot @ ( set @ B ) ) )
       => ( ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ B @ B6 ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) ) @ ( bNF_Wellorder_ordLeq @ B @ A ) )
         => ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ ( product_prod @ B @ A ) @ ( product_prod @ B @ A ) ) ) )
            @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ ( product_prod @ B @ A ) @ ( product_prod @ B @ A ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 )
              @ ( bNF_Ca6860139660246222851ard_of @ ( product_prod @ B @ A )
                @ ( product_Sigma @ B @ A @ B6
                  @ ^ [Uu2: B] : A6 ) ) )
            @ ( bNF_Wellorder_ordIso @ A @ ( product_prod @ B @ A ) ) ) ) ) ) ).

% card_of_Times_infinite_simps(4)
thf(fact_7554_card__of__Times__infinite__simps_I3_J,axiom,
    ! [A: $tType,B: $tType,A6: set @ A,B6: set @ B] :
      ( ~ ( finite_finite2 @ A @ A6 )
     => ( ( B6
         != ( bot_bot @ ( set @ B ) ) )
       => ( ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ B @ B6 ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) ) @ ( bNF_Wellorder_ordLeq @ B @ A ) )
         => ( member @ ( product_prod @ ( set @ ( product_prod @ ( product_prod @ B @ A ) @ ( product_prod @ B @ A ) ) ) @ ( set @ ( product_prod @ A @ A ) ) )
            @ ( product_Pair @ ( set @ ( product_prod @ ( product_prod @ B @ A ) @ ( product_prod @ B @ A ) ) ) @ ( set @ ( product_prod @ A @ A ) )
              @ ( bNF_Ca6860139660246222851ard_of @ ( product_prod @ B @ A )
                @ ( product_Sigma @ B @ A @ B6
                  @ ^ [Uu2: B] : A6 ) )
              @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) )
            @ ( bNF_Wellorder_ordIso @ ( product_prod @ B @ A ) @ A ) ) ) ) ) ).

% card_of_Times_infinite_simps(3)
thf(fact_7555_card__of__Times__infinite__simps_I2_J,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,B6: set @ B] :
      ( ~ ( finite_finite2 @ A @ A6 )
     => ( ( B6
         != ( bot_bot @ ( set @ B ) ) )
       => ( ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ B @ B6 ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) ) @ ( bNF_Wellorder_ordLeq @ B @ A ) )
         => ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) ) ) )
            @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 )
              @ ( bNF_Ca6860139660246222851ard_of @ ( product_prod @ A @ B )
                @ ( product_Sigma @ A @ B @ A6
                  @ ^ [Uu2: A] : B6 ) ) )
            @ ( bNF_Wellorder_ordIso @ A @ ( product_prod @ A @ B ) ) ) ) ) ) ).

% card_of_Times_infinite_simps(2)
thf(fact_7556_card__of__Times__infinite__simps_I1_J,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,B6: set @ B] :
      ( ~ ( finite_finite2 @ A @ A6 )
     => ( ( B6
         != ( bot_bot @ ( set @ B ) ) )
       => ( ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ B @ B6 ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) ) @ ( bNF_Wellorder_ordLeq @ B @ A ) )
         => ( member @ ( product_prod @ ( set @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) ) ) @ ( set @ ( product_prod @ A @ A ) ) )
            @ ( product_Pair @ ( set @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) ) ) @ ( set @ ( product_prod @ A @ A ) )
              @ ( bNF_Ca6860139660246222851ard_of @ ( product_prod @ A @ B )
                @ ( product_Sigma @ A @ B @ A6
                  @ ^ [Uu2: A] : B6 ) )
              @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) )
            @ ( bNF_Wellorder_ordIso @ ( product_prod @ A @ B ) @ A ) ) ) ) ) ).

% card_of_Times_infinite_simps(1)
thf(fact_7557_card__of__Times__infinite,axiom,
    ! [A: $tType,B: $tType,A6: set @ A,B6: set @ B] :
      ( ~ ( finite_finite2 @ A @ A6 )
     => ( ( B6
         != ( bot_bot @ ( set @ B ) ) )
       => ( ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ B @ B6 ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) ) @ ( bNF_Wellorder_ordLeq @ B @ A ) )
         => ( ( member @ ( product_prod @ ( set @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) ) ) @ ( set @ ( product_prod @ A @ A ) ) )
              @ ( product_Pair @ ( set @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) ) ) @ ( set @ ( product_prod @ A @ A ) )
                @ ( bNF_Ca6860139660246222851ard_of @ ( product_prod @ A @ B )
                  @ ( product_Sigma @ A @ B @ A6
                    @ ^ [Uu2: A] : B6 ) )
                @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) )
              @ ( bNF_Wellorder_ordIso @ ( product_prod @ A @ B ) @ A ) )
            & ( member @ ( product_prod @ ( set @ ( product_prod @ ( product_prod @ B @ A ) @ ( product_prod @ B @ A ) ) ) @ ( set @ ( product_prod @ A @ A ) ) )
              @ ( product_Pair @ ( set @ ( product_prod @ ( product_prod @ B @ A ) @ ( product_prod @ B @ A ) ) ) @ ( set @ ( product_prod @ A @ A ) )
                @ ( bNF_Ca6860139660246222851ard_of @ ( product_prod @ B @ A )
                  @ ( product_Sigma @ B @ A @ B6
                    @ ^ [Uu2: B] : A6 ) )
                @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) )
              @ ( bNF_Wellorder_ordIso @ ( product_prod @ B @ A ) @ A ) ) ) ) ) ) ).

% card_of_Times_infinite
thf(fact_7558_card__of__empty,axiom,
    ! [B: $tType,A: $tType,A6: set @ B] : ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ ( bot_bot @ ( set @ A ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ B @ A6 ) ) @ ( bNF_Wellorder_ordLeq @ A @ B ) ) ).

% card_of_empty
thf(fact_7559_card__of__empty2,axiom,
    ! [B: $tType,A: $tType,A6: set @ A] :
      ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) @ ( bNF_Ca6860139660246222851ard_of @ B @ ( bot_bot @ ( set @ B ) ) ) ) @ ( bNF_Wellorder_ordIso @ A @ B ) )
     => ( A6
        = ( bot_bot @ ( set @ A ) ) ) ) ).

% card_of_empty2
thf(fact_7560_card__of__empty3,axiom,
    ! [B: $tType,A: $tType,A6: set @ A] :
      ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) @ ( bNF_Ca6860139660246222851ard_of @ B @ ( bot_bot @ ( set @ B ) ) ) ) @ ( bNF_Wellorder_ordLeq @ A @ B ) )
     => ( A6
        = ( bot_bot @ ( set @ A ) ) ) ) ).

% card_of_empty3
thf(fact_7561_card__of__empty__ordIso,axiom,
    ! [B: $tType,A: $tType] : ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ ( bot_bot @ ( set @ A ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ B @ ( bot_bot @ ( set @ B ) ) ) ) @ ( bNF_Wellorder_ordIso @ A @ B ) ) ).

% card_of_empty_ordIso
thf(fact_7562_card__of__bool,axiom,
    ! [A: $tType,A1: A,A22: A] :
      ( ( A1 != A22 )
     => ( member @ ( product_prod @ ( set @ ( product_prod @ $o @ $o ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ $o @ $o ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ $o @ ( top_top @ ( set @ $o ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ ( insert @ A @ A1 @ ( insert @ A @ A22 @ ( bot_bot @ ( set @ A ) ) ) ) ) ) @ ( bNF_Wellorder_ordIso @ $o @ A ) ) ) ).

% card_of_bool
thf(fact_7563_card__of__mono1,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] :
      ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
     => ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) @ ( bNF_Ca6860139660246222851ard_of @ A @ B6 ) ) @ ( bNF_Wellorder_ordLeq @ A @ A ) ) ) ).

% card_of_mono1
thf(fact_7564_Func__Times__Range,axiom,
    ! [C: $tType,B: $tType,A: $tType,A6: set @ A,B6: set @ B,C5: set @ C] :
      ( member @ ( product_prod @ ( set @ ( product_prod @ ( A > ( product_prod @ B @ C ) ) @ ( A > ( product_prod @ B @ C ) ) ) ) @ ( set @ ( product_prod @ ( product_prod @ ( A > B ) @ ( A > C ) ) @ ( product_prod @ ( A > B ) @ ( A > C ) ) ) ) )
      @ ( product_Pair @ ( set @ ( product_prod @ ( A > ( product_prod @ B @ C ) ) @ ( A > ( product_prod @ B @ C ) ) ) ) @ ( set @ ( product_prod @ ( product_prod @ ( A > B ) @ ( A > C ) ) @ ( product_prod @ ( A > B ) @ ( A > C ) ) ) )
        @ ( bNF_Ca6860139660246222851ard_of @ ( A > ( product_prod @ B @ C ) )
          @ ( bNF_Wellorder_Func @ A @ ( product_prod @ B @ C ) @ A6
            @ ( product_Sigma @ B @ C @ B6
              @ ^ [Uu2: B] : C5 ) ) )
        @ ( bNF_Ca6860139660246222851ard_of @ ( product_prod @ ( A > B ) @ ( A > C ) )
          @ ( product_Sigma @ ( A > B ) @ ( A > C ) @ ( bNF_Wellorder_Func @ A @ B @ A6 @ B6 )
            @ ^ [Uu2: A > B] : ( bNF_Wellorder_Func @ A @ C @ A6 @ C5 ) ) ) )
      @ ( bNF_Wellorder_ordIso @ ( A > ( product_prod @ B @ C ) ) @ ( product_prod @ ( A > B ) @ ( A > C ) ) ) ) ).

% Func_Times_Range
thf(fact_7565_card__of__Func__Times,axiom,
    ! [C: $tType,B: $tType,A: $tType,A6: set @ A,B6: set @ B,C5: set @ C] :
      ( member @ ( product_prod @ ( set @ ( product_prod @ ( ( product_prod @ A @ B ) > C ) @ ( ( product_prod @ A @ B ) > C ) ) ) @ ( set @ ( product_prod @ ( A > B > C ) @ ( A > B > C ) ) ) )
      @ ( product_Pair @ ( set @ ( product_prod @ ( ( product_prod @ A @ B ) > C ) @ ( ( product_prod @ A @ B ) > C ) ) ) @ ( set @ ( product_prod @ ( A > B > C ) @ ( A > B > C ) ) )
        @ ( bNF_Ca6860139660246222851ard_of @ ( ( product_prod @ A @ B ) > C )
          @ ( bNF_Wellorder_Func @ ( product_prod @ A @ B ) @ C
            @ ( product_Sigma @ A @ B @ A6
              @ ^ [Uu2: A] : B6 )
            @ C5 ) )
        @ ( bNF_Ca6860139660246222851ard_of @ ( A > B > C ) @ ( bNF_Wellorder_Func @ A @ ( B > C ) @ A6 @ ( bNF_Wellorder_Func @ B @ C @ B6 @ C5 ) ) ) )
      @ ( bNF_Wellorder_ordIso @ ( ( product_prod @ A @ B ) > C ) @ ( A > B > C ) ) ) ).

% card_of_Func_Times
thf(fact_7566_card__of__UNION__Sigma,axiom,
    ! [B: $tType,A: $tType,A6: B > ( set @ A ),I5: set @ B] : ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ ( product_prod @ B @ A ) @ ( product_prod @ B @ A ) ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ ( product_prod @ B @ A ) @ ( product_prod @ B @ A ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ A6 @ I5 ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( product_prod @ B @ A ) @ ( product_Sigma @ B @ A @ I5 @ A6 ) ) ) @ ( bNF_Wellorder_ordLeq @ A @ ( product_prod @ B @ A ) ) ) ).

% card_of_UNION_Sigma
thf(fact_7567_card__of__Times3,axiom,
    ! [A: $tType,A6: set @ A] :
      ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ ( product_prod @ A @ A ) @ ( product_prod @ A @ A ) ) ) )
      @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ ( product_prod @ A @ A ) @ ( product_prod @ A @ A ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 )
        @ ( bNF_Ca6860139660246222851ard_of @ ( product_prod @ A @ A )
          @ ( product_Sigma @ A @ A @ A6
            @ ^ [Uu2: A] : A6 ) ) )
      @ ( bNF_Wellorder_ordLeq @ A @ ( product_prod @ A @ A ) ) ) ).

% card_of_Times3
thf(fact_7568_card__of__Sigma__mono1,axiom,
    ! [C: $tType,B: $tType,A: $tType,I5: set @ A,A6: A > ( set @ B ),B6: A > ( set @ C )] :
      ( ! [X3: A] :
          ( ( member @ A @ X3 @ I5 )
         => ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ C @ C ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ C @ C ) ) @ ( bNF_Ca6860139660246222851ard_of @ B @ ( A6 @ X3 ) ) @ ( bNF_Ca6860139660246222851ard_of @ C @ ( B6 @ X3 ) ) ) @ ( bNF_Wellorder_ordLeq @ B @ C ) ) )
     => ( member @ ( product_prod @ ( set @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) ) ) @ ( set @ ( product_prod @ ( product_prod @ A @ C ) @ ( product_prod @ A @ C ) ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) ) ) @ ( set @ ( product_prod @ ( product_prod @ A @ C ) @ ( product_prod @ A @ C ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( product_prod @ A @ B ) @ ( product_Sigma @ A @ B @ I5 @ A6 ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( product_prod @ A @ C ) @ ( product_Sigma @ A @ C @ I5 @ B6 ) ) ) @ ( bNF_Wellorder_ordLeq @ ( product_prod @ A @ B ) @ ( product_prod @ A @ C ) ) ) ) ).

% card_of_Sigma_mono1
thf(fact_7569_card__of__Times__mono1,axiom,
    ! [B: $tType,C: $tType,A: $tType,A6: set @ A,B6: set @ B,C5: set @ C] :
      ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) @ ( bNF_Ca6860139660246222851ard_of @ B @ B6 ) ) @ ( bNF_Wellorder_ordLeq @ A @ B ) )
     => ( member @ ( product_prod @ ( set @ ( product_prod @ ( product_prod @ A @ C ) @ ( product_prod @ A @ C ) ) ) @ ( set @ ( product_prod @ ( product_prod @ B @ C ) @ ( product_prod @ B @ C ) ) ) )
        @ ( product_Pair @ ( set @ ( product_prod @ ( product_prod @ A @ C ) @ ( product_prod @ A @ C ) ) ) @ ( set @ ( product_prod @ ( product_prod @ B @ C ) @ ( product_prod @ B @ C ) ) )
          @ ( bNF_Ca6860139660246222851ard_of @ ( product_prod @ A @ C )
            @ ( product_Sigma @ A @ C @ A6
              @ ^ [Uu2: A] : C5 ) )
          @ ( bNF_Ca6860139660246222851ard_of @ ( product_prod @ B @ C )
            @ ( product_Sigma @ B @ C @ B6
              @ ^ [Uu2: B] : C5 ) ) )
        @ ( bNF_Wellorder_ordLeq @ ( product_prod @ A @ C ) @ ( product_prod @ B @ C ) ) ) ) ).

% card_of_Times_mono1
thf(fact_7570_card__of__Times__mono2,axiom,
    ! [B: $tType,A: $tType,C: $tType,A6: set @ A,B6: set @ B,C5: set @ C] :
      ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) @ ( bNF_Ca6860139660246222851ard_of @ B @ B6 ) ) @ ( bNF_Wellorder_ordLeq @ A @ B ) )
     => ( member @ ( product_prod @ ( set @ ( product_prod @ ( product_prod @ C @ A ) @ ( product_prod @ C @ A ) ) ) @ ( set @ ( product_prod @ ( product_prod @ C @ B ) @ ( product_prod @ C @ B ) ) ) )
        @ ( product_Pair @ ( set @ ( product_prod @ ( product_prod @ C @ A ) @ ( product_prod @ C @ A ) ) ) @ ( set @ ( product_prod @ ( product_prod @ C @ B ) @ ( product_prod @ C @ B ) ) )
          @ ( bNF_Ca6860139660246222851ard_of @ ( product_prod @ C @ A )
            @ ( product_Sigma @ C @ A @ C5
              @ ^ [Uu2: C] : A6 ) )
          @ ( bNF_Ca6860139660246222851ard_of @ ( product_prod @ C @ B )
            @ ( product_Sigma @ C @ B @ C5
              @ ^ [Uu2: C] : B6 ) ) )
        @ ( bNF_Wellorder_ordLeq @ ( product_prod @ C @ A ) @ ( product_prod @ C @ B ) ) ) ) ).

% card_of_Times_mono2
thf(fact_7571_card__of__Times__commute,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,B6: set @ B] :
      ( member @ ( product_prod @ ( set @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) ) ) @ ( set @ ( product_prod @ ( product_prod @ B @ A ) @ ( product_prod @ B @ A ) ) ) )
      @ ( product_Pair @ ( set @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) ) ) @ ( set @ ( product_prod @ ( product_prod @ B @ A ) @ ( product_prod @ B @ A ) ) )
        @ ( bNF_Ca6860139660246222851ard_of @ ( product_prod @ A @ B )
          @ ( product_Sigma @ A @ B @ A6
            @ ^ [Uu2: A] : B6 ) )
        @ ( bNF_Ca6860139660246222851ard_of @ ( product_prod @ B @ A )
          @ ( product_Sigma @ B @ A @ B6
            @ ^ [Uu2: B] : A6 ) ) )
      @ ( bNF_Wellorder_ordIso @ ( product_prod @ A @ B ) @ ( product_prod @ B @ A ) ) ) ).

% card_of_Times_commute
thf(fact_7572_card__of__Sigma__ordLeq__infinite,axiom,
    ! [A: $tType,C: $tType,B: $tType,B6: set @ A,I5: set @ B,A6: B > ( set @ C )] :
      ( ~ ( finite_finite2 @ A @ B6 )
     => ( ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ B @ I5 ) @ ( bNF_Ca6860139660246222851ard_of @ A @ B6 ) ) @ ( bNF_Wellorder_ordLeq @ B @ A ) )
       => ( ! [X3: B] :
              ( ( member @ B @ X3 @ I5 )
             => ( member @ ( product_prod @ ( set @ ( product_prod @ C @ C ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ C @ C ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ C @ ( A6 @ X3 ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ B6 ) ) @ ( bNF_Wellorder_ordLeq @ C @ A ) ) )
         => ( member @ ( product_prod @ ( set @ ( product_prod @ ( product_prod @ B @ C ) @ ( product_prod @ B @ C ) ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ ( product_prod @ B @ C ) @ ( product_prod @ B @ C ) ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( product_prod @ B @ C ) @ ( product_Sigma @ B @ C @ I5 @ A6 ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ B6 ) ) @ ( bNF_Wellorder_ordLeq @ ( product_prod @ B @ C ) @ A ) ) ) ) ) ).

% card_of_Sigma_ordLeq_infinite
thf(fact_7573_card__of__Times__same__infinite,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ~ ( finite_finite2 @ A @ A6 )
     => ( member @ ( product_prod @ ( set @ ( product_prod @ ( product_prod @ A @ A ) @ ( product_prod @ A @ A ) ) ) @ ( set @ ( product_prod @ A @ A ) ) )
        @ ( product_Pair @ ( set @ ( product_prod @ ( product_prod @ A @ A ) @ ( product_prod @ A @ A ) ) ) @ ( set @ ( product_prod @ A @ A ) )
          @ ( bNF_Ca6860139660246222851ard_of @ ( product_prod @ A @ A )
            @ ( product_Sigma @ A @ A @ A6
              @ ^ [Uu2: A] : A6 ) )
          @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) )
        @ ( bNF_Wellorder_ordIso @ ( product_prod @ A @ A ) @ A ) ) ) ).

% card_of_Times_same_infinite
thf(fact_7574_card__of__ordIso,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,B6: set @ B] :
      ( ( ? [F4: A > B] : ( bij_betw @ A @ B @ F4 @ A6 @ B6 ) )
      = ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) @ ( bNF_Ca6860139660246222851ard_of @ B @ B6 ) ) @ ( bNF_Wellorder_ordIso @ A @ B ) ) ) ).

% card_of_ordIso
thf(fact_7575_card__of__ordIsoI,axiom,
    ! [B: $tType,A: $tType,F3: A > B,A6: set @ A,B6: set @ B] :
      ( ( bij_betw @ A @ B @ F3 @ A6 @ B6 )
     => ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) @ ( bNF_Ca6860139660246222851ard_of @ B @ B6 ) ) @ ( bNF_Wellorder_ordIso @ A @ B ) ) ) ).

% card_of_ordIsoI
thf(fact_7576_ex__bij__betw,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,R3: set @ ( product_prod @ B @ B )] :
      ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) @ R3 ) @ ( bNF_Wellorder_ordLeq @ A @ B ) )
     => ? [F: B > A,B10: set @ B] : ( bij_betw @ B @ A @ F @ B10 @ A6 ) ) ).

% ex_bij_betw
thf(fact_7577_infinite__iff__card__of__nat,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ( ~ ( finite_finite2 @ A @ A6 ) )
      = ( member @ ( product_prod @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ nat @ ( top_top @ ( set @ nat ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) ) @ ( bNF_Wellorder_ordLeq @ nat @ A ) ) ) ).

% infinite_iff_card_of_nat
thf(fact_7578_card__of__ordIso__finite,axiom,
    ! [A: $tType,B: $tType,A6: set @ A,B6: set @ B] :
      ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) @ ( bNF_Ca6860139660246222851ard_of @ B @ B6 ) ) @ ( bNF_Wellorder_ordIso @ A @ B ) )
     => ( ( finite_finite2 @ A @ A6 )
        = ( finite_finite2 @ B @ B6 ) ) ) ).

% card_of_ordIso_finite
thf(fact_7579_card__of__ordLeq__finite,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,B6: set @ B] :
      ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) @ ( bNF_Ca6860139660246222851ard_of @ B @ B6 ) ) @ ( bNF_Wellorder_ordLeq @ A @ B ) )
     => ( ( finite_finite2 @ B @ B6 )
       => ( finite_finite2 @ A @ A6 ) ) ) ).

% card_of_ordLeq_finite
thf(fact_7580_card__of__ordLeq__infinite,axiom,
    ! [A: $tType,B: $tType,A6: set @ A,B6: set @ B] :
      ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) @ ( bNF_Ca6860139660246222851ard_of @ B @ B6 ) ) @ ( bNF_Wellorder_ordLeq @ A @ B ) )
     => ( ~ ( finite_finite2 @ A @ A6 )
       => ~ ( finite_finite2 @ B @ B6 ) ) ) ).

% card_of_ordLeq_infinite
thf(fact_7581_card__of__refl,axiom,
    ! [A: $tType,A6: set @ A] : ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) ) @ ( bNF_Wellorder_ordIso @ A @ A ) ) ).

% card_of_refl
thf(fact_7582_card__of__ordLeqI,axiom,
    ! [B: $tType,A: $tType,F3: A > B,A6: set @ A,B6: set @ B] :
      ( ( inj_on @ A @ B @ F3 @ A6 )
     => ( ! [A5: A] :
            ( ( member @ A @ A5 @ A6 )
           => ( member @ B @ ( F3 @ A5 ) @ B6 ) )
       => ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) @ ( bNF_Ca6860139660246222851ard_of @ B @ B6 ) ) @ ( bNF_Wellorder_ordLeq @ A @ B ) ) ) ) ).

% card_of_ordLeqI
thf(fact_7583_card__of__cong,axiom,
    ! [B: $tType,A: $tType,R3: set @ ( product_prod @ A @ A ),R7: set @ ( product_prod @ B @ B )] :
      ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ R3 @ R7 ) @ ( bNF_Wellorder_ordIso @ A @ B ) )
     => ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ ( field2 @ A @ R3 ) ) @ ( bNF_Ca6860139660246222851ard_of @ B @ ( field2 @ B @ R7 ) ) ) @ ( bNF_Wellorder_ordIso @ A @ B ) ) ) ).

% card_of_cong
thf(fact_7584_card__of__mono2,axiom,
    ! [B: $tType,A: $tType,R3: set @ ( product_prod @ A @ A ),R7: set @ ( product_prod @ B @ B )] :
      ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ R3 @ R7 ) @ ( bNF_Wellorder_ordLeq @ A @ B ) )
     => ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ ( field2 @ A @ R3 ) ) @ ( bNF_Ca6860139660246222851ard_of @ B @ ( field2 @ B @ R7 ) ) ) @ ( bNF_Wellorder_ordLeq @ A @ B ) ) ) ).

% card_of_mono2
thf(fact_7585_card__of__image,axiom,
    ! [B: $tType,A: $tType,F3: B > A,A6: set @ B] : ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) @ ( bNF_Ca6860139660246222851ard_of @ B @ A6 ) ) @ ( bNF_Wellorder_ordLeq @ A @ B ) ) ).

% card_of_image
thf(fact_7586_card__of__Pow__Func,axiom,
    ! [A: $tType,A6: set @ A] : ( member @ ( product_prod @ ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) @ ( set @ ( product_prod @ ( A > $o ) @ ( A > $o ) ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) @ ( set @ ( product_prod @ ( A > $o ) @ ( A > $o ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( set @ A ) @ ( pow @ A @ A6 ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( A > $o ) @ ( bNF_Wellorder_Func @ A @ $o @ A6 @ ( top_top @ ( set @ $o ) ) ) ) ) @ ( bNF_Wellorder_ordIso @ ( set @ A ) @ ( A > $o ) ) ) ).

% card_of_Pow_Func
thf(fact_7587_type__copy__set__bd,axiom,
    ! [A: $tType,D: $tType,C: $tType,B: $tType,S: A > ( set @ B ),Bd: set @ ( product_prod @ C @ C ),Rep: D > A,X: D] :
      ( ! [Y3: A] : ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ C @ C ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ C @ C ) ) @ ( bNF_Ca6860139660246222851ard_of @ B @ ( S @ Y3 ) ) @ Bd ) @ ( bNF_Wellorder_ordLeq @ B @ C ) )
     => ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ C @ C ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ C @ C ) ) @ ( bNF_Ca6860139660246222851ard_of @ B @ ( comp @ A @ ( set @ B ) @ D @ S @ Rep @ X ) ) @ Bd ) @ ( bNF_Wellorder_ordLeq @ B @ C ) ) ) ).

% type_copy_set_bd
thf(fact_7588_antisym__Restr,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ A] :
      ( ( antisym @ A @ R3 )
     => ( antisym @ A
        @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
          @ ( product_Sigma @ A @ A @ A6
            @ ^ [Uu2: A] : A6 ) ) ) ) ).

% antisym_Restr
thf(fact_7589_card__of__ordLeq2,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,B6: set @ B] :
      ( ( A6
       != ( bot_bot @ ( set @ A ) ) )
     => ( ( ? [G4: B > A] :
              ( ( image2 @ B @ A @ G4 @ B6 )
              = A6 ) )
        = ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) @ ( bNF_Ca6860139660246222851ard_of @ B @ B6 ) ) @ ( bNF_Wellorder_ordLeq @ A @ B ) ) ) ) ).

% card_of_ordLeq2
thf(fact_7590_surj__imp__ordLeq,axiom,
    ! [B: $tType,A: $tType,B6: set @ A,F3: B > A,A6: set @ B] :
      ( ( ord_less_eq @ ( set @ A ) @ B6 @ ( image2 @ B @ A @ F3 @ A6 ) )
     => ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ B6 ) @ ( bNF_Ca6860139660246222851ard_of @ B @ A6 ) ) @ ( bNF_Wellorder_ordLeq @ A @ B ) ) ) ).

% surj_imp_ordLeq
thf(fact_7591_card__of__singl__ordLeq,axiom,
    ! [A: $tType,B: $tType,A6: set @ A,B2: B] :
      ( ( A6
       != ( bot_bot @ ( set @ A ) ) )
     => ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ B @ ( insert @ B @ B2 @ ( bot_bot @ ( set @ B ) ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) ) @ ( bNF_Wellorder_ordLeq @ B @ A ) ) ) ).

% card_of_singl_ordLeq
thf(fact_7592_card__of__ordLess2,axiom,
    ! [A: $tType,B: $tType,B6: set @ A,A6: set @ B] :
      ( ( B6
       != ( bot_bot @ ( set @ A ) ) )
     => ( ( ~ ? [F4: B > A] :
                ( ( image2 @ B @ A @ F4 @ A6 )
                = B6 ) )
        = ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ B @ A6 ) @ ( bNF_Ca6860139660246222851ard_of @ A @ B6 ) ) @ ( bNF_We4044943003108391690rdLess @ B @ A ) ) ) ) ).

% card_of_ordLess2
thf(fact_7593_internalize__card__of__ordLeq2,axiom,
    ! [A: $tType,B: $tType,A6: set @ A,C5: set @ B] :
      ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) @ ( bNF_Ca6860139660246222851ard_of @ B @ C5 ) ) @ ( bNF_Wellorder_ordLeq @ A @ B ) )
      = ( ? [B7: set @ B] :
            ( ( ord_less_eq @ ( set @ B ) @ B7 @ C5 )
            & ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) @ ( bNF_Ca6860139660246222851ard_of @ B @ B7 ) ) @ ( bNF_Wellorder_ordIso @ A @ B ) )
            & ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca6860139660246222851ard_of @ B @ B7 ) @ ( bNF_Ca6860139660246222851ard_of @ B @ C5 ) ) @ ( bNF_Wellorder_ordLeq @ B @ B ) ) ) ) ) ).

% internalize_card_of_ordLeq2
thf(fact_7594_card__of__Field__ordLess,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] :
      ( ( order_well_order_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ ( field2 @ A @ R3 ) ) @ R3 ) @ ( bNF_Wellorder_ordLeq @ A @ A ) ) ) ).

% card_of_Field_ordLess
thf(fact_7595_card__of__Func__UNIV,axiom,
    ! [B: $tType,A: $tType,B6: set @ B] :
      ( member @ ( product_prod @ ( set @ ( product_prod @ ( A > B ) @ ( A > B ) ) ) @ ( set @ ( product_prod @ ( A > B ) @ ( A > B ) ) ) )
      @ ( product_Pair @ ( set @ ( product_prod @ ( A > B ) @ ( A > B ) ) ) @ ( set @ ( product_prod @ ( A > B ) @ ( A > B ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( A > B ) @ ( bNF_Wellorder_Func @ A @ B @ ( top_top @ ( set @ A ) ) @ B6 ) )
        @ ( bNF_Ca6860139660246222851ard_of @ ( A > B )
          @ ( collect @ ( A > B )
            @ ^ [F4: A > B] : ( ord_less_eq @ ( set @ B ) @ ( image2 @ A @ B @ F4 @ ( top_top @ ( set @ A ) ) ) @ B6 ) ) ) )
      @ ( bNF_Wellorder_ordIso @ ( A > B ) @ ( A > B ) ) ) ).

% card_of_Func_UNIV
thf(fact_7596_ordLeq__Times__mono1,axiom,
    ! [B: $tType,C: $tType,A: $tType,R3: set @ ( product_prod @ A @ A ),R7: set @ ( product_prod @ B @ B ),C5: set @ C] :
      ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ R3 @ R7 ) @ ( bNF_Wellorder_ordLeq @ A @ B ) )
     => ( member @ ( product_prod @ ( set @ ( product_prod @ ( product_prod @ A @ C ) @ ( product_prod @ A @ C ) ) ) @ ( set @ ( product_prod @ ( product_prod @ B @ C ) @ ( product_prod @ B @ C ) ) ) )
        @ ( product_Pair @ ( set @ ( product_prod @ ( product_prod @ A @ C ) @ ( product_prod @ A @ C ) ) ) @ ( set @ ( product_prod @ ( product_prod @ B @ C ) @ ( product_prod @ B @ C ) ) )
          @ ( bNF_Ca6860139660246222851ard_of @ ( product_prod @ A @ C )
            @ ( product_Sigma @ A @ C @ ( field2 @ A @ R3 )
              @ ^ [Uu2: A] : C5 ) )
          @ ( bNF_Ca6860139660246222851ard_of @ ( product_prod @ B @ C )
            @ ( product_Sigma @ B @ C @ ( field2 @ B @ R7 )
              @ ^ [Uu2: B] : C5 ) ) )
        @ ( bNF_Wellorder_ordLeq @ ( product_prod @ A @ C ) @ ( product_prod @ B @ C ) ) ) ) ).

% ordLeq_Times_mono1
thf(fact_7597_ordLeq__Times__mono2,axiom,
    ! [B: $tType,A: $tType,C: $tType,R3: set @ ( product_prod @ A @ A ),R7: set @ ( product_prod @ B @ B ),A6: set @ C] :
      ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ R3 @ R7 ) @ ( bNF_Wellorder_ordLeq @ A @ B ) )
     => ( member @ ( product_prod @ ( set @ ( product_prod @ ( product_prod @ C @ A ) @ ( product_prod @ C @ A ) ) ) @ ( set @ ( product_prod @ ( product_prod @ C @ B ) @ ( product_prod @ C @ B ) ) ) )
        @ ( product_Pair @ ( set @ ( product_prod @ ( product_prod @ C @ A ) @ ( product_prod @ C @ A ) ) ) @ ( set @ ( product_prod @ ( product_prod @ C @ B ) @ ( product_prod @ C @ B ) ) )
          @ ( bNF_Ca6860139660246222851ard_of @ ( product_prod @ C @ A )
            @ ( product_Sigma @ C @ A @ A6
              @ ^ [Uu2: C] : ( field2 @ A @ R3 ) ) )
          @ ( bNF_Ca6860139660246222851ard_of @ ( product_prod @ C @ B )
            @ ( product_Sigma @ C @ B @ A6
              @ ^ [Uu2: C] : ( field2 @ B @ R7 ) ) ) )
        @ ( bNF_Wellorder_ordLeq @ ( product_prod @ C @ A ) @ ( product_prod @ C @ B ) ) ) ) ).

% ordLeq_Times_mono2
thf(fact_7598_card__of__ordLeq,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,B6: set @ B] :
      ( ( ? [F4: A > B] :
            ( ( inj_on @ A @ B @ F4 @ A6 )
            & ( ord_less_eq @ ( set @ B ) @ ( image2 @ A @ B @ F4 @ A6 ) @ B6 ) ) )
      = ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) @ ( bNF_Ca6860139660246222851ard_of @ B @ B6 ) ) @ ( bNF_Wellorder_ordLeq @ A @ B ) ) ) ).

% card_of_ordLeq
thf(fact_7599_internalize__card__of__ordLeq,axiom,
    ! [A: $tType,B: $tType,A6: set @ A,R3: set @ ( product_prod @ B @ B )] :
      ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) @ R3 ) @ ( bNF_Wellorder_ordLeq @ A @ B ) )
      = ( ? [B7: set @ B] :
            ( ( ord_less_eq @ ( set @ B ) @ B7 @ ( field2 @ B @ R3 ) )
            & ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) @ ( bNF_Ca6860139660246222851ard_of @ B @ B7 ) ) @ ( bNF_Wellorder_ordIso @ A @ B ) )
            & ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca6860139660246222851ard_of @ B @ B7 ) @ R3 ) @ ( bNF_Wellorder_ordLeq @ B @ B ) ) ) ) ) ).

% internalize_card_of_ordLeq
thf(fact_7600_card__of__ordLess,axiom,
    ! [A: $tType,B: $tType,A6: set @ A,B6: set @ B] :
      ( ( ~ ? [F4: A > B] :
              ( ( inj_on @ A @ B @ F4 @ A6 )
              & ( ord_less_eq @ ( set @ B ) @ ( image2 @ A @ B @ F4 @ A6 ) @ B6 ) ) )
      = ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ B @ B6 ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) ) @ ( bNF_We4044943003108391690rdLess @ B @ A ) ) ) ).

% card_of_ordLess
thf(fact_7601_card__of__UNION__ordLeq__infinite,axiom,
    ! [B: $tType,A: $tType,C: $tType,B6: set @ A,I5: set @ B,A6: B > ( set @ C )] :
      ( ~ ( finite_finite2 @ A @ B6 )
     => ( ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ B @ I5 ) @ ( bNF_Ca6860139660246222851ard_of @ A @ B6 ) ) @ ( bNF_Wellorder_ordLeq @ B @ A ) )
       => ( ! [X3: B] :
              ( ( member @ B @ X3 @ I5 )
             => ( member @ ( product_prod @ ( set @ ( product_prod @ C @ C ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ C @ C ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ C @ ( A6 @ X3 ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ B6 ) ) @ ( bNF_Wellorder_ordLeq @ C @ A ) ) )
         => ( member @ ( product_prod @ ( set @ ( product_prod @ C @ C ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ C @ C ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ C @ ( complete_Sup_Sup @ ( set @ C ) @ ( image2 @ B @ ( set @ C ) @ A6 @ I5 ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ B6 ) ) @ ( bNF_Wellorder_ordLeq @ C @ A ) ) ) ) ) ).

% card_of_UNION_ordLeq_infinite
thf(fact_7602_regularCard__def,axiom,
    ! [A: $tType] :
      ( ( bNF_Ca7133664381575040944arCard @ A )
      = ( ^ [R5: set @ ( product_prod @ A @ A )] :
          ! [K7: set @ A] :
            ( ( ( ord_less_eq @ ( set @ A ) @ K7 @ ( field2 @ A @ R5 ) )
              & ( bNF_Ca7293521722713021262ofinal @ A @ K7 @ R5 ) )
           => ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ K7 ) @ R5 ) @ ( bNF_Wellorder_ordIso @ A @ A ) ) ) ) ) ).

% regularCard_def
thf(fact_7603_Card__order__iff__Restr__underS,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] :
      ( ( order_well_order_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
        = ( ! [X4: A] :
              ( ( member @ A @ X4 @ ( field2 @ A @ R3 ) )
             => ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) )
                @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) )
                  @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
                    @ ( product_Sigma @ A @ A @ ( order_underS @ A @ R3 @ X4 )
                      @ ^ [Uu2: A] : ( order_underS @ A @ R3 @ X4 ) ) )
                  @ ( bNF_Ca6860139660246222851ard_of @ A @ ( field2 @ A @ R3 ) ) )
                @ ( bNF_We4044943003108391690rdLess @ A @ A ) ) ) ) ) ) ).

% Card_order_iff_Restr_underS
thf(fact_7604_card__of__card__order__on,axiom,
    ! [A: $tType,A6: set @ A] : ( bNF_Ca8970107618336181345der_on @ A @ A6 @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) ) ).

% card_of_card_order_on
thf(fact_7605_card__of__Card__order,axiom,
    ! [A: $tType,A6: set @ A] : ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) ) ).

% card_of_Card_order
thf(fact_7606_card__of__unique,axiom,
    ! [A: $tType,A6: set @ A,R3: set @ ( product_prod @ A @ A )] :
      ( ( bNF_Ca8970107618336181345der_on @ A @ A6 @ R3 )
     => ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) @ R3 @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) ) @ ( bNF_Wellorder_ordIso @ A @ A ) ) ) ).

% card_of_unique
thf(fact_7607_Card__order__ordIso2,axiom,
    ! [A: $tType,B: $tType,R3: set @ ( product_prod @ A @ A ),R7: set @ ( product_prod @ B @ B )] :
      ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ R3 @ R7 ) @ ( bNF_Wellorder_ordIso @ A @ B ) )
       => ( bNF_Ca8970107618336181345der_on @ B @ ( field2 @ B @ R7 ) @ R7 ) ) ) ).

% Card_order_ordIso2
thf(fact_7608_Card__order__ordIso,axiom,
    ! [A: $tType,B: $tType,R3: set @ ( product_prod @ A @ A ),R7: set @ ( product_prod @ B @ B )] :
      ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) @ R7 @ R3 ) @ ( bNF_Wellorder_ordIso @ B @ A ) )
       => ( bNF_Ca8970107618336181345der_on @ B @ ( field2 @ B @ R7 ) @ R7 ) ) ) ).

% Card_order_ordIso
thf(fact_7609_card__order__on__ordIso,axiom,
    ! [A: $tType,A6: set @ A,R3: set @ ( product_prod @ A @ A ),R7: set @ ( product_prod @ A @ A )] :
      ( ( bNF_Ca8970107618336181345der_on @ A @ A6 @ R3 )
     => ( ( bNF_Ca8970107618336181345der_on @ A @ A6 @ R7 )
       => ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) @ R3 @ R7 ) @ ( bNF_Wellorder_ordIso @ A @ A ) ) ) ) ).

% card_order_on_ordIso
thf(fact_7610_exists__minim__Card__order,axiom,
    ! [A: $tType,R4: set @ ( set @ ( product_prod @ A @ A ) )] :
      ( ( R4
       != ( bot_bot @ ( set @ ( set @ ( product_prod @ A @ A ) ) ) ) )
     => ( ! [X3: set @ ( product_prod @ A @ A )] :
            ( ( member @ ( set @ ( product_prod @ A @ A ) ) @ X3 @ R4 )
           => ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ X3 ) @ X3 ) )
       => ? [X3: set @ ( product_prod @ A @ A )] :
            ( ( member @ ( set @ ( product_prod @ A @ A ) ) @ X3 @ R4 )
            & ! [Xa3: set @ ( product_prod @ A @ A )] :
                ( ( member @ ( set @ ( product_prod @ A @ A ) ) @ Xa3 @ R4 )
               => ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) @ X3 @ Xa3 ) @ ( bNF_Wellorder_ordLeq @ A @ A ) ) ) ) ) ) ).

% exists_minim_Card_order
thf(fact_7611_card__order__on__def,axiom,
    ! [A: $tType] :
      ( ( bNF_Ca8970107618336181345der_on @ A )
      = ( ^ [A8: set @ A,R5: set @ ( product_prod @ A @ A )] :
            ( ( order_well_order_on @ A @ A8 @ R5 )
            & ! [R11: set @ ( product_prod @ A @ A )] :
                ( ( order_well_order_on @ A @ A8 @ R11 )
               => ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) @ R5 @ R11 ) @ ( bNF_Wellorder_ordLeq @ A @ A ) ) ) ) ) ) ).

% card_order_on_def
thf(fact_7612_card__order__on__well__order__on,axiom,
    ! [A: $tType,A6: set @ A,R3: set @ ( product_prod @ A @ A )] :
      ( ( bNF_Ca8970107618336181345der_on @ A @ A6 @ R3 )
     => ( order_well_order_on @ A @ A6 @ R3 ) ) ).

% card_order_on_well_order_on
thf(fact_7613_Card__order__infinite__not__under,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] :
      ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ~ ( finite_finite2 @ A @ ( field2 @ A @ R3 ) )
       => ~ ? [A17: A] :
              ( ( field2 @ A @ R3 )
              = ( order_under @ A @ R3 @ A17 ) ) ) ) ).

% Card_order_infinite_not_under
thf(fact_7614_card__order__on__Card__order,axiom,
    ! [A: $tType,A6: set @ A,R3: set @ ( product_prod @ A @ A )] :
      ( ( bNF_Ca8970107618336181345der_on @ A @ A6 @ R3 )
     => ( ( A6
          = ( field2 @ A @ R3 ) )
        & ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 ) ) ) ).

% card_order_on_Card_order
thf(fact_7615_card__order__on,axiom,
    ! [A: $tType,A6: set @ A] :
    ? [X_1: set @ ( product_prod @ A @ A )] : ( bNF_Ca8970107618336181345der_on @ A @ A6 @ X_1 ) ).

% card_order_on
thf(fact_7616_Card__order__wo__rel,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] :
      ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( bNF_Wellorder_wo_rel @ A @ R3 ) ) ).

% Card_order_wo_rel
thf(fact_7617_Card__order__trans,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),X: A,Y: A,Z4: A] :
      ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( X != Y )
       => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ R3 )
         => ( ( Y != Z4 )
           => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y @ Z4 ) @ R3 )
             => ( ( X != Z4 )
                & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Z4 ) @ R3 ) ) ) ) ) ) ) ).

% Card_order_trans
thf(fact_7618_infinite__Card__order__limit,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A3: A] :
      ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ~ ( finite_finite2 @ A @ ( field2 @ A @ R3 ) )
       => ( ( member @ A @ A3 @ ( field2 @ A @ R3 ) )
         => ? [X3: A] :
              ( ( member @ A @ X3 @ ( field2 @ A @ R3 ) )
              & ( A3 != X3 )
              & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ X3 ) @ R3 ) ) ) ) ) ).

% infinite_Card_order_limit
thf(fact_7619_Card__order__Times2,axiom,
    ! [B: $tType,A: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ B] :
      ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( A6
         != ( bot_bot @ ( set @ B ) ) )
       => ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ ( product_prod @ B @ A ) @ ( product_prod @ B @ A ) ) ) )
          @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ ( product_prod @ B @ A ) @ ( product_prod @ B @ A ) ) ) @ R3
            @ ( bNF_Ca6860139660246222851ard_of @ ( product_prod @ B @ A )
              @ ( product_Sigma @ B @ A @ A6
                @ ^ [Uu2: B] : ( field2 @ A @ R3 ) ) ) )
          @ ( bNF_Wellorder_ordLeq @ A @ ( product_prod @ B @ A ) ) ) ) ) ).

% Card_order_Times2
thf(fact_7620_Card__order__Times1,axiom,
    ! [B: $tType,A: $tType,R3: set @ ( product_prod @ A @ A ),B6: set @ B] :
      ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( B6
         != ( bot_bot @ ( set @ B ) ) )
       => ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) ) ) )
          @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) ) ) @ R3
            @ ( bNF_Ca6860139660246222851ard_of @ ( product_prod @ A @ B )
              @ ( product_Sigma @ A @ B @ ( field2 @ A @ R3 )
                @ ^ [Uu2: A] : B6 ) ) )
          @ ( bNF_Wellorder_ordLeq @ A @ ( product_prod @ A @ B ) ) ) ) ) ).

% Card_order_Times1
thf(fact_7621_Card__order__Times__same__infinite,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] :
      ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ~ ( finite_finite2 @ A @ ( field2 @ A @ R3 ) )
       => ( member @ ( product_prod @ ( set @ ( product_prod @ ( product_prod @ A @ A ) @ ( product_prod @ A @ A ) ) ) @ ( set @ ( product_prod @ A @ A ) ) )
          @ ( product_Pair @ ( set @ ( product_prod @ ( product_prod @ A @ A ) @ ( product_prod @ A @ A ) ) ) @ ( set @ ( product_prod @ A @ A ) )
            @ ( bNF_Ca6860139660246222851ard_of @ ( product_prod @ A @ A )
              @ ( product_Sigma @ A @ A @ ( field2 @ A @ R3 )
                @ ^ [Uu2: A] : ( field2 @ A @ R3 ) ) )
            @ R3 )
          @ ( bNF_Wellorder_ordLeq @ ( product_prod @ A @ A ) @ A ) ) ) ) ).

% Card_order_Times_same_infinite
thf(fact_7622_Card__order__Pow,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] :
      ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) @ R3 @ ( bNF_Ca6860139660246222851ard_of @ ( set @ A ) @ ( pow @ A @ ( field2 @ A @ R3 ) ) ) ) @ ( bNF_We4044943003108391690rdLess @ A @ ( set @ A ) ) ) ) ).

% Card_order_Pow
thf(fact_7623_Card__order__iff__ordLeq__card__of,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] :
      ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
      = ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) @ R3 @ ( bNF_Ca6860139660246222851ard_of @ A @ ( field2 @ A @ R3 ) ) ) @ ( bNF_Wellorder_ordLeq @ A @ A ) ) ) ).

% Card_order_iff_ordLeq_card_of
thf(fact_7624_ordIso__card__of__imp__Card__order,axiom,
    ! [B: $tType,A: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ B] :
      ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ R3 @ ( bNF_Ca6860139660246222851ard_of @ B @ A6 ) ) @ ( bNF_Wellorder_ordIso @ A @ B ) )
     => ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 ) ) ).

% ordIso_card_of_imp_Card_order
thf(fact_7625_Card__order__iff__ordIso__card__of,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] :
      ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
      = ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) @ R3 @ ( bNF_Ca6860139660246222851ard_of @ A @ ( field2 @ A @ R3 ) ) ) @ ( bNF_Wellorder_ordIso @ A @ A ) ) ) ).

% Card_order_iff_ordIso_card_of
thf(fact_7626_card__of__Field__ordIso,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] :
      ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ ( field2 @ A @ R3 ) ) @ R3 ) @ ( bNF_Wellorder_ordIso @ A @ A ) ) ) ).

% card_of_Field_ordIso
thf(fact_7627_Card__order__empty,axiom,
    ! [A: $tType,B: $tType,R3: set @ ( product_prod @ A @ A )] :
      ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ B @ ( bot_bot @ ( set @ B ) ) ) @ R3 ) @ ( bNF_Wellorder_ordLeq @ B @ A ) ) ) ).

% Card_order_empty
thf(fact_7628_card__of__ordIso__finite__Field,axiom,
    ! [A: $tType,B: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ B] :
      ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ R3 @ ( bNF_Ca6860139660246222851ard_of @ B @ A6 ) ) @ ( bNF_Wellorder_ordIso @ A @ B ) )
       => ( ( finite_finite2 @ A @ ( field2 @ A @ R3 ) )
          = ( finite_finite2 @ B @ A6 ) ) ) ) ).

% card_of_ordIso_finite_Field
thf(fact_7629_card__of__underS,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A3: A] :
      ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( member @ A @ A3 @ ( field2 @ A @ R3 ) )
       => ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ ( order_underS @ A @ R3 @ A3 ) ) @ R3 ) @ ( bNF_We4044943003108391690rdLess @ A @ A ) ) ) ) ).

% card_of_underS
thf(fact_7630_regularCard__UNION,axiom,
    ! [B: $tType,A: $tType,R3: set @ ( product_prod @ A @ A ),As9: A > ( set @ B ),B6: set @ B] :
      ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( bNF_Ca7133664381575040944arCard @ A @ R3 )
       => ( ( bNF_Ca3754400796208372196lChain @ A @ ( set @ B ) @ R3 @ As9 )
         => ( ( ord_less_eq @ ( set @ B ) @ B6 @ ( complete_Sup_Sup @ ( set @ B ) @ ( image2 @ A @ ( set @ B ) @ As9 @ ( field2 @ A @ R3 ) ) ) )
           => ( ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ B @ B6 ) @ R3 ) @ ( bNF_We4044943003108391690rdLess @ B @ A ) )
             => ? [X3: A] :
                  ( ( member @ A @ X3 @ ( field2 @ A @ R3 ) )
                  & ( ord_less_eq @ ( set @ B ) @ B6 @ ( As9 @ X3 ) ) ) ) ) ) ) ) ).

% regularCard_UNION
thf(fact_7631_Card__order__singl__ordLeq,axiom,
    ! [A: $tType,B: $tType,R3: set @ ( product_prod @ A @ A ),B2: B] :
      ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( ( field2 @ A @ R3 )
         != ( bot_bot @ ( set @ A ) ) )
       => ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ B @ ( insert @ B @ B2 @ ( bot_bot @ ( set @ B ) ) ) ) @ R3 ) @ ( bNF_Wellorder_ordLeq @ B @ A ) ) ) ) ).

% Card_order_singl_ordLeq
thf(fact_7632_card__of__Un__ordLeq__infinite__Field,axiom,
    ! [A: $tType,B: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ B,B6: set @ B] :
      ( ~ ( finite_finite2 @ A @ ( field2 @ A @ R3 ) )
     => ( ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ B @ A6 ) @ R3 ) @ ( bNF_Wellorder_ordLeq @ B @ A ) )
       => ( ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ B @ B6 ) @ R3 ) @ ( bNF_Wellorder_ordLeq @ B @ A ) )
         => ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
           => ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ B @ ( sup_sup @ ( set @ B ) @ A6 @ B6 ) ) @ R3 ) @ ( bNF_Wellorder_ordLeq @ B @ A ) ) ) ) ) ) ).

% card_of_Un_ordLeq_infinite_Field
thf(fact_7633_card__of__empty1,axiom,
    ! [A: $tType,B: $tType,R3: set @ ( product_prod @ A @ A )] :
      ( ( ( order_well_order_on @ A @ ( field2 @ A @ R3 ) @ R3 )
        | ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 ) )
     => ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ B @ ( bot_bot @ ( set @ B ) ) ) @ R3 ) @ ( bNF_Wellorder_ordLeq @ B @ A ) ) ) ).

% card_of_empty1
thf(fact_7634_Card__order__Times__infinite,axiom,
    ! [A: $tType,B: $tType,R3: set @ ( product_prod @ A @ A ),P3: set @ ( product_prod @ B @ B )] :
      ( ~ ( finite_finite2 @ A @ ( field2 @ A @ R3 ) )
     => ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
       => ( ( ( field2 @ B @ P3 )
           != ( bot_bot @ ( set @ B ) ) )
         => ( ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) @ P3 @ R3 ) @ ( bNF_Wellorder_ordLeq @ B @ A ) )
           => ( ( member @ ( product_prod @ ( set @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) ) ) @ ( set @ ( product_prod @ A @ A ) ) )
                @ ( product_Pair @ ( set @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) ) ) @ ( set @ ( product_prod @ A @ A ) )
                  @ ( bNF_Ca6860139660246222851ard_of @ ( product_prod @ A @ B )
                    @ ( product_Sigma @ A @ B @ ( field2 @ A @ R3 )
                      @ ^ [Uu2: A] : ( field2 @ B @ P3 ) ) )
                  @ R3 )
                @ ( bNF_Wellorder_ordIso @ ( product_prod @ A @ B ) @ A ) )
              & ( member @ ( product_prod @ ( set @ ( product_prod @ ( product_prod @ B @ A ) @ ( product_prod @ B @ A ) ) ) @ ( set @ ( product_prod @ A @ A ) ) )
                @ ( product_Pair @ ( set @ ( product_prod @ ( product_prod @ B @ A ) @ ( product_prod @ B @ A ) ) ) @ ( set @ ( product_prod @ A @ A ) )
                  @ ( bNF_Ca6860139660246222851ard_of @ ( product_prod @ B @ A )
                    @ ( product_Sigma @ B @ A @ ( field2 @ B @ P3 )
                      @ ^ [Uu2: B] : ( field2 @ A @ R3 ) ) )
                  @ R3 )
                @ ( bNF_Wellorder_ordIso @ ( product_prod @ B @ A ) @ A ) ) ) ) ) ) ) ).

% Card_order_Times_infinite
thf(fact_7635_card__of__Times__ordLeq__infinite__Field,axiom,
    ! [A: $tType,C: $tType,B: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ B,B6: set @ C] :
      ( ~ ( finite_finite2 @ A @ ( field2 @ A @ R3 ) )
     => ( ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ B @ A6 ) @ R3 ) @ ( bNF_Wellorder_ordLeq @ B @ A ) )
       => ( ( member @ ( product_prod @ ( set @ ( product_prod @ C @ C ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ C @ C ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ C @ B6 ) @ R3 ) @ ( bNF_Wellorder_ordLeq @ C @ A ) )
         => ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
           => ( member @ ( product_prod @ ( set @ ( product_prod @ ( product_prod @ B @ C ) @ ( product_prod @ B @ C ) ) ) @ ( set @ ( product_prod @ A @ A ) ) )
              @ ( product_Pair @ ( set @ ( product_prod @ ( product_prod @ B @ C ) @ ( product_prod @ B @ C ) ) ) @ ( set @ ( product_prod @ A @ A ) )
                @ ( bNF_Ca6860139660246222851ard_of @ ( product_prod @ B @ C )
                  @ ( product_Sigma @ B @ C @ A6
                    @ ^ [Uu2: B] : B6 ) )
                @ R3 )
              @ ( bNF_Wellorder_ordLeq @ ( product_prod @ B @ C ) @ A ) ) ) ) ) ) ).

% card_of_Times_ordLeq_infinite_Field
thf(fact_7636_card__of__Sigma__ordLeq__infinite__Field,axiom,
    ! [A: $tType,C: $tType,B: $tType,R3: set @ ( product_prod @ A @ A ),I5: set @ B,A6: B > ( set @ C )] :
      ( ~ ( finite_finite2 @ A @ ( field2 @ A @ R3 ) )
     => ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
       => ( ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ B @ I5 ) @ R3 ) @ ( bNF_Wellorder_ordLeq @ B @ A ) )
         => ( ! [X3: B] :
                ( ( member @ B @ X3 @ I5 )
               => ( member @ ( product_prod @ ( set @ ( product_prod @ C @ C ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ C @ C ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ C @ ( A6 @ X3 ) ) @ R3 ) @ ( bNF_Wellorder_ordLeq @ C @ A ) ) )
           => ( member @ ( product_prod @ ( set @ ( product_prod @ ( product_prod @ B @ C ) @ ( product_prod @ B @ C ) ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ ( product_prod @ B @ C ) @ ( product_prod @ B @ C ) ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( product_prod @ B @ C ) @ ( product_Sigma @ B @ C @ I5 @ A6 ) ) @ R3 ) @ ( bNF_Wellorder_ordLeq @ ( product_prod @ B @ C ) @ A ) ) ) ) ) ) ).

% card_of_Sigma_ordLeq_infinite_Field
thf(fact_7637_card__of__UNION__ordLeq__infinite__Field,axiom,
    ! [B: $tType,A: $tType,C: $tType,R3: set @ ( product_prod @ A @ A ),I5: set @ B,A6: B > ( set @ C )] :
      ( ~ ( finite_finite2 @ A @ ( field2 @ A @ R3 ) )
     => ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
       => ( ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ B @ I5 ) @ R3 ) @ ( bNF_Wellorder_ordLeq @ B @ A ) )
         => ( ! [X3: B] :
                ( ( member @ B @ X3 @ I5 )
               => ( member @ ( product_prod @ ( set @ ( product_prod @ C @ C ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ C @ C ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ C @ ( A6 @ X3 ) ) @ R3 ) @ ( bNF_Wellorder_ordLeq @ C @ A ) ) )
           => ( member @ ( product_prod @ ( set @ ( product_prod @ C @ C ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ C @ C ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ C @ ( complete_Sup_Sup @ ( set @ C ) @ ( image2 @ B @ ( set @ C ) @ A6 @ I5 ) ) ) @ R3 ) @ ( bNF_Wellorder_ordLeq @ C @ A ) ) ) ) ) ) ).

% card_of_UNION_ordLeq_infinite_Field
thf(fact_7638_ex__toCard__pred,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,R3: set @ ( product_prod @ B @ B )] :
      ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) @ R3 ) @ ( bNF_Wellorder_ordLeq @ A @ B ) )
     => ( ( bNF_Ca8970107618336181345der_on @ B @ ( field2 @ B @ R3 ) @ R3 )
       => ? [X_1: A > B] : ( bNF_Gr1419584066657907630d_pred @ A @ B @ A6 @ R3 @ X_1 ) ) ) ).

% ex_toCard_pred
thf(fact_7639_toCard__pred__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( bNF_Gr1419584066657907630d_pred @ A @ B )
      = ( ^ [A8: set @ A,R5: set @ ( product_prod @ B @ B ),F4: A > B] :
            ( ( inj_on @ A @ B @ F4 @ A8 )
            & ( ord_less_eq @ ( set @ B ) @ ( image2 @ A @ B @ F4 @ A8 ) @ ( field2 @ B @ R5 ) )
            & ( bNF_Ca8970107618336181345der_on @ B @ ( field2 @ B @ R5 ) @ R5 ) ) ) ) ).

% toCard_pred_def
thf(fact_7640_toCard__pred__toCard,axiom,
    ! [A: $tType,B: $tType,A6: set @ A,R3: set @ ( product_prod @ B @ B )] :
      ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) @ R3 ) @ ( bNF_Wellorder_ordLeq @ A @ B ) )
     => ( ( bNF_Ca8970107618336181345der_on @ B @ ( field2 @ B @ R3 ) @ R3 )
       => ( bNF_Gr1419584066657907630d_pred @ A @ B @ A6 @ R3 @ ( bNF_Greatest_toCard @ A @ B @ A6 @ R3 ) ) ) ) ).

% toCard_pred_toCard
thf(fact_7641_cardSuc__UNION,axiom,
    ! [B: $tType,A: $tType,R3: set @ ( product_prod @ A @ A ),As9: ( set @ A ) > ( set @ B ),B6: set @ B] :
      ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ~ ( finite_finite2 @ A @ ( field2 @ A @ R3 ) )
       => ( ( bNF_Ca3754400796208372196lChain @ ( set @ A ) @ ( set @ B ) @ ( bNF_Ca8387033319878233205ardSuc @ A @ R3 ) @ As9 )
         => ( ( ord_less_eq @ ( set @ B ) @ B6 @ ( complete_Sup_Sup @ ( set @ B ) @ ( image2 @ ( set @ A ) @ ( set @ B ) @ As9 @ ( field2 @ ( set @ A ) @ ( bNF_Ca8387033319878233205ardSuc @ A @ R3 ) ) ) ) )
           => ( ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ B @ B6 ) @ R3 ) @ ( bNF_Wellorder_ordLeq @ B @ A ) )
             => ? [X3: set @ A] :
                  ( ( member @ ( set @ A ) @ X3 @ ( field2 @ ( set @ A ) @ ( bNF_Ca8387033319878233205ardSuc @ A @ R3 ) ) )
                  & ( ord_less_eq @ ( set @ B ) @ B6 @ ( As9 @ X3 ) ) ) ) ) ) ) ) ).

% cardSuc_UNION
thf(fact_7642_cardSuc__Card__order,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] :
      ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( bNF_Ca8970107618336181345der_on @ ( set @ A ) @ ( field2 @ ( set @ A ) @ ( bNF_Ca8387033319878233205ardSuc @ A @ R3 ) ) @ ( bNF_Ca8387033319878233205ardSuc @ A @ R3 ) ) ) ).

% cardSuc_Card_order
thf(fact_7643_infinite__cardSuc__regularCard,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] :
      ( ~ ( finite_finite2 @ A @ ( field2 @ A @ R3 ) )
     => ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
       => ( bNF_Ca7133664381575040944arCard @ ( set @ A ) @ ( bNF_Ca8387033319878233205ardSuc @ A @ R3 ) ) ) ) ).

% infinite_cardSuc_regularCard
thf(fact_7644_card__of__cardSuc__finite,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ( finite_finite2 @ ( set @ A ) @ ( field2 @ ( set @ A ) @ ( bNF_Ca8387033319878233205ardSuc @ A @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) ) ) )
      = ( finite_finite2 @ A @ A6 ) ) ).

% card_of_cardSuc_finite
thf(fact_7645_cardSuc__ordLeq,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] :
      ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) @ R3 @ ( bNF_Ca8387033319878233205ardSuc @ A @ R3 ) ) @ ( bNF_Wellorder_ordLeq @ A @ ( set @ A ) ) ) ) ).

% cardSuc_ordLeq
thf(fact_7646_cardSuc__finite,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] :
      ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( finite_finite2 @ ( set @ A ) @ ( field2 @ ( set @ A ) @ ( bNF_Ca8387033319878233205ardSuc @ A @ R3 ) ) )
        = ( finite_finite2 @ A @ ( field2 @ A @ R3 ) ) ) ) ).

% cardSuc_finite
thf(fact_7647_cardSuc__greater,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] :
      ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) @ R3 @ ( bNF_Ca8387033319878233205ardSuc @ A @ R3 ) ) @ ( bNF_We4044943003108391690rdLess @ A @ ( set @ A ) ) ) ) ).

% cardSuc_greater
thf(fact_7648_cardSuc__least,axiom,
    ! [B: $tType,A: $tType,R3: set @ ( product_prod @ A @ A ),R7: set @ ( product_prod @ B @ B )] :
      ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( bNF_Ca8970107618336181345der_on @ B @ ( field2 @ B @ R7 ) @ R7 )
       => ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ R3 @ R7 ) @ ( bNF_We4044943003108391690rdLess @ A @ B ) )
         => ( member @ ( product_prod @ ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca8387033319878233205ardSuc @ A @ R3 ) @ R7 ) @ ( bNF_Wellorder_ordLeq @ ( set @ A ) @ B ) ) ) ) ) ).

% cardSuc_least
thf(fact_7649_cardSuc__ordLess__ordLeq,axiom,
    ! [B: $tType,A: $tType,R3: set @ ( product_prod @ A @ A ),R7: set @ ( product_prod @ B @ B )] :
      ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( bNF_Ca8970107618336181345der_on @ B @ ( field2 @ B @ R7 ) @ R7 )
       => ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ R3 @ R7 ) @ ( bNF_We4044943003108391690rdLess @ A @ B ) )
          = ( member @ ( product_prod @ ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca8387033319878233205ardSuc @ A @ R3 ) @ R7 ) @ ( bNF_Wellorder_ordLeq @ ( set @ A ) @ B ) ) ) ) ) ).

% cardSuc_ordLess_ordLeq
thf(fact_7650_cardSuc__mono__ordLeq,axiom,
    ! [B: $tType,A: $tType,R3: set @ ( product_prod @ A @ A ),R7: set @ ( product_prod @ B @ B )] :
      ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( bNF_Ca8970107618336181345der_on @ B @ ( field2 @ B @ R7 ) @ R7 )
       => ( ( member @ ( product_prod @ ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) @ ( set @ ( product_prod @ ( set @ B ) @ ( set @ B ) ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) @ ( set @ ( product_prod @ ( set @ B ) @ ( set @ B ) ) ) @ ( bNF_Ca8387033319878233205ardSuc @ A @ R3 ) @ ( bNF_Ca8387033319878233205ardSuc @ B @ R7 ) ) @ ( bNF_Wellorder_ordLeq @ ( set @ A ) @ ( set @ B ) ) )
          = ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ R3 @ R7 ) @ ( bNF_Wellorder_ordLeq @ A @ B ) ) ) ) ) ).

% cardSuc_mono_ordLeq
thf(fact_7651_cardSuc__invar__ordIso,axiom,
    ! [B: $tType,A: $tType,R3: set @ ( product_prod @ A @ A ),R7: set @ ( product_prod @ B @ B )] :
      ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( bNF_Ca8970107618336181345der_on @ B @ ( field2 @ B @ R7 ) @ R7 )
       => ( ( member @ ( product_prod @ ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) @ ( set @ ( product_prod @ ( set @ B ) @ ( set @ B ) ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) @ ( set @ ( product_prod @ ( set @ B ) @ ( set @ B ) ) ) @ ( bNF_Ca8387033319878233205ardSuc @ A @ R3 ) @ ( bNF_Ca8387033319878233205ardSuc @ B @ R7 ) ) @ ( bNF_Wellorder_ordIso @ ( set @ A ) @ ( set @ B ) ) )
          = ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ R3 @ R7 ) @ ( bNF_Wellorder_ordIso @ A @ B ) ) ) ) ) ).

% cardSuc_invar_ordIso
thf(fact_7652_cardSuc__least__aux,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),R7: set @ ( product_prod @ ( set @ A ) @ ( set @ A ) )] :
      ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( bNF_Ca8970107618336181345der_on @ ( set @ A ) @ ( field2 @ ( set @ A ) @ R7 ) @ R7 )
       => ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) @ R3 @ R7 ) @ ( bNF_We4044943003108391690rdLess @ A @ ( set @ A ) ) )
         => ( member @ ( product_prod @ ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) @ ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) @ ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) @ ( bNF_Ca8387033319878233205ardSuc @ A @ R3 ) @ R7 ) @ ( bNF_Wellorder_ordLeq @ ( set @ A ) @ ( set @ A ) ) ) ) ) ) ).

% cardSuc_least_aux
thf(fact_7653_cardSuc__ordLeq__ordLess,axiom,
    ! [A: $tType,B: $tType,R3: set @ ( product_prod @ A @ A ),R7: set @ ( product_prod @ B @ B )] :
      ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ( bNF_Ca8970107618336181345der_on @ B @ ( field2 @ B @ R7 ) @ R7 )
       => ( ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) @ R7 @ ( bNF_Ca8387033319878233205ardSuc @ A @ R3 ) ) @ ( bNF_We4044943003108391690rdLess @ B @ ( set @ A ) ) )
          = ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) @ R7 @ R3 ) @ ( bNF_Wellorder_ordLeq @ B @ A ) ) ) ) ) ).

% cardSuc_ordLeq_ordLess
thf(fact_7654_toCard__inj,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,R3: set @ ( product_prod @ B @ B ),X: A,Y: A] :
      ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) @ R3 ) @ ( bNF_Wellorder_ordLeq @ A @ B ) )
     => ( ( bNF_Ca8970107618336181345der_on @ B @ ( field2 @ B @ R3 ) @ R3 )
       => ( ( member @ A @ X @ A6 )
         => ( ( member @ A @ Y @ A6 )
           => ( ( ( bNF_Greatest_toCard @ A @ B @ A6 @ R3 @ X )
                = ( bNF_Greatest_toCard @ A @ B @ A6 @ R3 @ Y ) )
              = ( X = Y ) ) ) ) ) ) ).

% toCard_inj
thf(fact_7655_fromCard__toCard,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,R3: set @ ( product_prod @ B @ B ),B2: A] :
      ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) @ R3 ) @ ( bNF_Wellorder_ordLeq @ A @ B ) )
     => ( ( bNF_Ca8970107618336181345der_on @ B @ ( field2 @ B @ R3 ) @ R3 )
       => ( ( member @ A @ B2 @ A6 )
         => ( ( bNF_Gr5436034075474128252omCard @ A @ B @ A6 @ R3 @ ( bNF_Greatest_toCard @ A @ B @ A6 @ R3 @ B2 ) )
            = B2 ) ) ) ) ).

% fromCard_toCard
thf(fact_7656_isCardSuc__def,axiom,
    ! [A: $tType] :
      ( ( bNF_Ca6246979054910435723ardSuc @ A )
      = ( ^ [R5: set @ ( product_prod @ A @ A ),R11: set @ ( product_prod @ ( set @ A ) @ ( set @ A ) )] :
            ( ( bNF_Ca8970107618336181345der_on @ ( set @ A ) @ ( field2 @ ( set @ A ) @ R11 ) @ R11 )
            & ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) @ R5 @ R11 ) @ ( bNF_We4044943003108391690rdLess @ A @ ( set @ A ) ) )
            & ! [R14: set @ ( product_prod @ ( set @ A ) @ ( set @ A ) )] :
                ( ( ( bNF_Ca8970107618336181345der_on @ ( set @ A ) @ ( field2 @ ( set @ A ) @ R14 ) @ R14 )
                  & ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) @ R5 @ R14 ) @ ( bNF_We4044943003108391690rdLess @ A @ ( set @ A ) ) ) )
               => ( member @ ( product_prod @ ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) @ ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) @ ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) @ R11 @ R14 ) @ ( bNF_Wellorder_ordLeq @ ( set @ A ) @ ( set @ A ) ) ) ) ) ) ) ).

% isCardSuc_def
thf(fact_7657_exists__isCardSuc,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] :
      ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ? [X_1: set @ ( product_prod @ ( set @ A ) @ ( set @ A ) )] : ( bNF_Ca6246979054910435723ardSuc @ A @ R3 @ X_1 ) ) ).

% exists_isCardSuc
thf(fact_7658_cardSuc__isCardSuc,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] :
      ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( bNF_Ca6246979054910435723ardSuc @ A @ R3 @ ( bNF_Ca8387033319878233205ardSuc @ A @ R3 ) ) ) ).

% cardSuc_isCardSuc
thf(fact_7659_comp__single__set__bd,axiom,
    ! [B: $tType,D: $tType,A: $tType,E: $tType,C: $tType,Fbd: set @ ( product_prod @ A @ A ),Fset: B > ( set @ C ),Gset: D > ( set @ B ),Gbd: set @ ( product_prod @ E @ E ),X: D] :
      ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ Fbd ) @ Fbd )
     => ( ! [X3: B] : ( member @ ( product_prod @ ( set @ ( product_prod @ C @ C ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ C @ C ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ C @ ( Fset @ X3 ) ) @ Fbd ) @ ( bNF_Wellorder_ordLeq @ C @ A ) )
       => ( ! [X3: D] : ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ E @ E ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ E @ E ) ) @ ( bNF_Ca6860139660246222851ard_of @ B @ ( Gset @ X3 ) ) @ Gbd ) @ ( bNF_Wellorder_ordLeq @ B @ E ) )
         => ( member @ ( product_prod @ ( set @ ( product_prod @ C @ C ) ) @ ( set @ ( product_prod @ ( product_prod @ E @ A ) @ ( product_prod @ E @ A ) ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ C @ C ) ) @ ( set @ ( product_prod @ ( product_prod @ E @ A ) @ ( product_prod @ E @ A ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ C @ ( complete_Sup_Sup @ ( set @ C ) @ ( image2 @ B @ ( set @ C ) @ Fset @ ( Gset @ X ) ) ) ) @ ( bNF_Cardinal_cprod @ E @ A @ Gbd @ Fbd ) ) @ ( bNF_Wellorder_ordLeq @ C @ ( product_prod @ E @ A ) ) ) ) ) ) ).

% comp_single_set_bd
thf(fact_7660_cardSuc__UNION__Cinfinite,axiom,
    ! [B: $tType,A: $tType,R3: set @ ( product_prod @ A @ A ),As9: ( set @ A ) > ( set @ B ),B6: set @ B] :
      ( ( ( bNF_Ca4139267488887388095finite @ A @ R3 )
        & ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 ) )
     => ( ( bNF_Ca3754400796208372196lChain @ ( set @ A ) @ ( set @ B ) @ ( bNF_Ca8387033319878233205ardSuc @ A @ R3 ) @ As9 )
       => ( ( ord_less_eq @ ( set @ B ) @ B6 @ ( complete_Sup_Sup @ ( set @ B ) @ ( image2 @ ( set @ A ) @ ( set @ B ) @ As9 @ ( field2 @ ( set @ A ) @ ( bNF_Ca8387033319878233205ardSuc @ A @ R3 ) ) ) ) )
         => ( ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ B @ B6 ) @ R3 ) @ ( bNF_Wellorder_ordLeq @ B @ A ) )
           => ? [X3: set @ A] :
                ( ( member @ ( set @ A ) @ X3 @ ( field2 @ ( set @ A ) @ ( bNF_Ca8387033319878233205ardSuc @ A @ R3 ) ) )
                & ( ord_less_eq @ ( set @ B ) @ B6 @ ( As9 @ X3 ) ) ) ) ) ) ) ).

% cardSuc_UNION_Cinfinite
thf(fact_7661_cprod__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( bNF_Cardinal_cprod @ A @ B )
      = ( ^ [R13: set @ ( product_prod @ A @ A ),R24: set @ ( product_prod @ B @ B )] :
            ( bNF_Ca6860139660246222851ard_of @ ( product_prod @ A @ B )
            @ ( product_Sigma @ A @ B @ ( field2 @ A @ R13 )
              @ ^ [Uu2: A] : ( field2 @ B @ R24 ) ) ) ) ) ).

% cprod_def
thf(fact_7662_Cinfinite__limit2,axiom,
    ! [A: $tType,X1: A,R3: set @ ( product_prod @ A @ A ),X2: A] :
      ( ( member @ A @ X1 @ ( field2 @ A @ R3 ) )
     => ( ( member @ A @ X2 @ ( field2 @ A @ R3 ) )
       => ( ( ( bNF_Ca4139267488887388095finite @ A @ R3 )
            & ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 ) )
         => ? [X3: A] :
              ( ( member @ A @ X3 @ ( field2 @ A @ R3 ) )
              & ( X1 != X3 )
              & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X1 @ X3 ) @ R3 )
              & ( X2 != X3 )
              & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X2 @ X3 ) @ R3 ) ) ) ) ) ).

% Cinfinite_limit2
thf(fact_7663_Cinfinite__limit,axiom,
    ! [A: $tType,X: A,R3: set @ ( product_prod @ A @ A )] :
      ( ( member @ A @ X @ ( field2 @ A @ R3 ) )
     => ( ( ( bNF_Ca4139267488887388095finite @ A @ R3 )
          & ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 ) )
       => ? [X3: A] :
            ( ( member @ A @ X3 @ ( field2 @ A @ R3 ) )
            & ( X != X3 )
            & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ X3 ) @ R3 ) ) ) ) ).

% Cinfinite_limit
thf(fact_7664_cprod__dup,axiom,
    ! [A: $tType,C: $tType,B: $tType,R3: set @ ( product_prod @ A @ A ),P3: set @ ( product_prod @ B @ B ),P10: set @ ( product_prod @ C @ C )] :
      ( ( bNF_Ca4139267488887388095finite @ A @ R3 )
     => ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
       => ( ( member @ ( product_prod @ ( set @ ( product_prod @ ( product_prod @ B @ C ) @ ( product_prod @ B @ C ) ) ) @ ( set @ ( product_prod @ ( product_prod @ A @ A ) @ ( product_prod @ A @ A ) ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ ( product_prod @ B @ C ) @ ( product_prod @ B @ C ) ) ) @ ( set @ ( product_prod @ ( product_prod @ A @ A ) @ ( product_prod @ A @ A ) ) ) @ ( bNF_Cardinal_cprod @ B @ C @ P3 @ P10 ) @ ( bNF_Cardinal_cprod @ A @ A @ R3 @ R3 ) ) @ ( bNF_Wellorder_ordIso @ ( product_prod @ B @ C ) @ ( product_prod @ A @ A ) ) )
         => ( member @ ( product_prod @ ( set @ ( product_prod @ ( product_prod @ B @ C ) @ ( product_prod @ B @ C ) ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ ( product_prod @ B @ C ) @ ( product_prod @ B @ C ) ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Cardinal_cprod @ B @ C @ P3 @ P10 ) @ R3 ) @ ( bNF_Wellorder_ordIso @ ( product_prod @ B @ C ) @ A ) ) ) ) ) ).

% cprod_dup
thf(fact_7665_Un__Cinfinite__bound,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,R3: set @ ( product_prod @ B @ B ),B6: set @ A] :
      ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) @ R3 ) @ ( bNF_Wellorder_ordLeq @ A @ B ) )
     => ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ B6 ) @ R3 ) @ ( bNF_Wellorder_ordLeq @ A @ B ) )
       => ( ( ( bNF_Ca4139267488887388095finite @ B @ R3 )
            & ( bNF_Ca8970107618336181345der_on @ B @ ( field2 @ B @ R3 ) @ R3 ) )
         => ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) ) @ R3 ) @ ( bNF_Wellorder_ordLeq @ A @ B ) ) ) ) ) ).

% Un_Cinfinite_bound
thf(fact_7666_Cinfinite__limit__finite,axiom,
    ! [A: $tType,X7: set @ A,R3: set @ ( product_prod @ A @ A )] :
      ( ( finite_finite2 @ A @ X7 )
     => ( ( ord_less_eq @ ( set @ A ) @ X7 @ ( field2 @ A @ R3 ) )
       => ( ( ( bNF_Ca4139267488887388095finite @ A @ R3 )
            & ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 ) )
         => ? [X3: A] :
              ( ( member @ A @ X3 @ ( field2 @ A @ R3 ) )
              & ! [Xa3: A] :
                  ( ( member @ A @ Xa3 @ X7 )
                 => ( ( Xa3 != X3 )
                    & ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Xa3 @ X3 ) @ R3 ) ) ) ) ) ) ) ).

% Cinfinite_limit_finite
thf(fact_7667_UNION__Cinfinite__bound,axiom,
    ! [A: $tType,B: $tType,C: $tType,I5: set @ A,R3: set @ ( product_prod @ B @ B ),A6: A > ( set @ C )] :
      ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ I5 ) @ R3 ) @ ( bNF_Wellorder_ordLeq @ A @ B ) )
     => ( ! [X3: A] :
            ( ( member @ A @ X3 @ I5 )
           => ( member @ ( product_prod @ ( set @ ( product_prod @ C @ C ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ C @ C ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca6860139660246222851ard_of @ C @ ( A6 @ X3 ) ) @ R3 ) @ ( bNF_Wellorder_ordLeq @ C @ B ) ) )
       => ( ( ( bNF_Ca4139267488887388095finite @ B @ R3 )
            & ( bNF_Ca8970107618336181345der_on @ B @ ( field2 @ B @ R3 ) @ R3 ) )
         => ( member @ ( product_prod @ ( set @ ( product_prod @ C @ C ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ C @ C ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca6860139660246222851ard_of @ C @ ( complete_Sup_Sup @ ( set @ C ) @ ( image2 @ A @ ( set @ C ) @ A6 @ I5 ) ) ) @ R3 ) @ ( bNF_Wellorder_ordLeq @ C @ B ) ) ) ) ) ).

% UNION_Cinfinite_bound
thf(fact_7668_card__of__Csum__Times_H,axiom,
    ! [A: $tType,C: $tType,B: $tType,R3: set @ ( product_prod @ A @ A ),I5: set @ B,A6: B > ( set @ C )] :
      ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ! [X3: B] :
            ( ( member @ B @ X3 @ I5 )
           => ( member @ ( product_prod @ ( set @ ( product_prod @ C @ C ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ C @ C ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ C @ ( A6 @ X3 ) ) @ R3 ) @ ( bNF_Wellorder_ordLeq @ C @ A ) ) )
       => ( member @ ( product_prod @ ( set @ ( product_prod @ ( product_prod @ B @ C ) @ ( product_prod @ B @ C ) ) ) @ ( set @ ( product_prod @ ( product_prod @ B @ A ) @ ( product_prod @ B @ A ) ) ) )
          @ ( product_Pair @ ( set @ ( product_prod @ ( product_prod @ B @ C ) @ ( product_prod @ B @ C ) ) ) @ ( set @ ( product_prod @ ( product_prod @ B @ A ) @ ( product_prod @ B @ A ) ) )
            @ ( bNF_Cardinal_Csum @ B @ C @ ( bNF_Ca6860139660246222851ard_of @ B @ I5 )
              @ ^ [I: B] : ( bNF_Ca6860139660246222851ard_of @ C @ ( A6 @ I ) ) )
            @ ( bNF_Cardinal_cprod @ B @ A @ ( bNF_Ca6860139660246222851ard_of @ B @ I5 ) @ R3 ) )
          @ ( bNF_Wellorder_ordLeq @ ( product_prod @ B @ C ) @ ( product_prod @ B @ A ) ) ) ) ) ).

% card_of_Csum_Times'
thf(fact_7669_card__of__Csum__Times,axiom,
    ! [C: $tType,B: $tType,A: $tType,I5: set @ A,A6: A > ( set @ B ),B6: set @ C] :
      ( ! [X3: A] :
          ( ( member @ A @ X3 @ I5 )
         => ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ C @ C ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ C @ C ) ) @ ( bNF_Ca6860139660246222851ard_of @ B @ ( A6 @ X3 ) ) @ ( bNF_Ca6860139660246222851ard_of @ C @ B6 ) ) @ ( bNF_Wellorder_ordLeq @ B @ C ) ) )
     => ( member @ ( product_prod @ ( set @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) ) ) @ ( set @ ( product_prod @ ( product_prod @ A @ C ) @ ( product_prod @ A @ C ) ) ) )
        @ ( product_Pair @ ( set @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) ) ) @ ( set @ ( product_prod @ ( product_prod @ A @ C ) @ ( product_prod @ A @ C ) ) )
          @ ( bNF_Cardinal_Csum @ A @ B @ ( bNF_Ca6860139660246222851ard_of @ A @ I5 )
            @ ^ [I: A] : ( bNF_Ca6860139660246222851ard_of @ B @ ( A6 @ I ) ) )
          @ ( bNF_Cardinal_cprod @ A @ C @ ( bNF_Ca6860139660246222851ard_of @ A @ I5 ) @ ( bNF_Ca6860139660246222851ard_of @ C @ B6 ) ) )
        @ ( bNF_Wellorder_ordLeq @ ( product_prod @ A @ B ) @ ( product_prod @ A @ C ) ) ) ) ).

% card_of_Csum_Times
thf(fact_7670_Csum__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( bNF_Cardinal_Csum @ A @ B )
      = ( ^ [R5: set @ ( product_prod @ A @ A ),Rs: A > ( set @ ( product_prod @ B @ B ) )] :
            ( bNF_Ca6860139660246222851ard_of @ ( product_prod @ A @ B )
            @ ( product_Sigma @ A @ B @ ( field2 @ A @ R5 )
              @ ^ [I: A] : ( field2 @ B @ ( Rs @ I ) ) ) ) ) ) ).

% Csum_def
thf(fact_7671_SIGMA__CSUM,axiom,
    ! [B: $tType,A: $tType,I5: set @ A,As9: A > ( set @ B )] :
      ( ( bNF_Ca6860139660246222851ard_of @ ( product_prod @ A @ B ) @ ( product_Sigma @ A @ B @ I5 @ As9 ) )
      = ( bNF_Cardinal_Csum @ A @ B @ ( bNF_Ca6860139660246222851ard_of @ A @ I5 )
        @ ^ [I: A] : ( bNF_Ca6860139660246222851ard_of @ B @ ( As9 @ I ) ) ) ) ).

% SIGMA_CSUM
thf(fact_7672_card__of__Plus__Times__aux,axiom,
    ! [B: $tType,A: $tType,A1: A,A22: A,A6: set @ A,B6: set @ B] :
      ( ( ( A1 != A22 )
        & ( ord_less_eq @ ( set @ A ) @ ( insert @ A @ A1 @ ( insert @ A @ A22 @ ( bot_bot @ ( set @ A ) ) ) ) @ A6 ) )
     => ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) @ ( bNF_Ca6860139660246222851ard_of @ B @ B6 ) ) @ ( bNF_Wellorder_ordLeq @ A @ B ) )
       => ( member @ ( product_prod @ ( set @ ( product_prod @ ( sum_sum @ A @ B ) @ ( sum_sum @ A @ B ) ) ) @ ( set @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) ) ) )
          @ ( product_Pair @ ( set @ ( product_prod @ ( sum_sum @ A @ B ) @ ( sum_sum @ A @ B ) ) ) @ ( set @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ A @ B ) @ ( sum_Plus @ A @ B @ A6 @ B6 ) )
            @ ( bNF_Ca6860139660246222851ard_of @ ( product_prod @ A @ B )
              @ ( product_Sigma @ A @ B @ A6
                @ ^ [Uu2: A] : B6 ) ) )
          @ ( bNF_Wellorder_ordLeq @ ( sum_sum @ A @ B ) @ ( product_prod @ A @ B ) ) ) ) ) ).

% card_of_Plus_Times_aux
thf(fact_7673_infinite__iff__natLeq__ordLeq,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ( finite_finite2 @ A @ A6 )
     != ( member @ ( product_prod @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ A @ A ) ) @ bNF_Ca8665028551170535155natLeq @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) ) @ ( bNF_Wellorder_ordLeq @ nat @ A ) ) ) ).

% infinite_iff_natLeq_ordLeq
thf(fact_7674_ordIso__Plus__cong,axiom,
    ! [D: $tType,B: $tType,C: $tType,A: $tType,R3: set @ ( product_prod @ A @ A ),R7: set @ ( product_prod @ B @ B ),P3: set @ ( product_prod @ C @ C ),P10: set @ ( product_prod @ D @ D )] :
      ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ R3 @ R7 ) @ ( bNF_Wellorder_ordIso @ A @ B ) )
     => ( ( member @ ( product_prod @ ( set @ ( product_prod @ C @ C ) ) @ ( set @ ( product_prod @ D @ D ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ C @ C ) ) @ ( set @ ( product_prod @ D @ D ) ) @ P3 @ P10 ) @ ( bNF_Wellorder_ordIso @ C @ D ) )
       => ( member @ ( product_prod @ ( set @ ( product_prod @ ( sum_sum @ A @ C ) @ ( sum_sum @ A @ C ) ) ) @ ( set @ ( product_prod @ ( sum_sum @ B @ D ) @ ( sum_sum @ B @ D ) ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ ( sum_sum @ A @ C ) @ ( sum_sum @ A @ C ) ) ) @ ( set @ ( product_prod @ ( sum_sum @ B @ D ) @ ( sum_sum @ B @ D ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ A @ C ) @ ( sum_Plus @ A @ C @ ( field2 @ A @ R3 ) @ ( field2 @ C @ P3 ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ B @ D ) @ ( sum_Plus @ B @ D @ ( field2 @ B @ R7 ) @ ( field2 @ D @ P10 ) ) ) ) @ ( bNF_Wellorder_ordIso @ ( sum_sum @ A @ C ) @ ( sum_sum @ B @ D ) ) ) ) ) ).

% ordIso_Plus_cong
thf(fact_7675_ordIso__Plus__cong1,axiom,
    ! [B: $tType,C: $tType,A: $tType,R3: set @ ( product_prod @ A @ A ),R7: set @ ( product_prod @ B @ B ),C5: set @ C] :
      ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ R3 @ R7 ) @ ( bNF_Wellorder_ordIso @ A @ B ) )
     => ( member @ ( product_prod @ ( set @ ( product_prod @ ( sum_sum @ A @ C ) @ ( sum_sum @ A @ C ) ) ) @ ( set @ ( product_prod @ ( sum_sum @ B @ C ) @ ( sum_sum @ B @ C ) ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ ( sum_sum @ A @ C ) @ ( sum_sum @ A @ C ) ) ) @ ( set @ ( product_prod @ ( sum_sum @ B @ C ) @ ( sum_sum @ B @ C ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ A @ C ) @ ( sum_Plus @ A @ C @ ( field2 @ A @ R3 ) @ C5 ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ B @ C ) @ ( sum_Plus @ B @ C @ ( field2 @ B @ R7 ) @ C5 ) ) ) @ ( bNF_Wellorder_ordIso @ ( sum_sum @ A @ C ) @ ( sum_sum @ B @ C ) ) ) ) ).

% ordIso_Plus_cong1
thf(fact_7676_ordIso__Plus__cong2,axiom,
    ! [B: $tType,A: $tType,C: $tType,R3: set @ ( product_prod @ A @ A ),R7: set @ ( product_prod @ B @ B ),A6: set @ C] :
      ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ R3 @ R7 ) @ ( bNF_Wellorder_ordIso @ A @ B ) )
     => ( member @ ( product_prod @ ( set @ ( product_prod @ ( sum_sum @ C @ A ) @ ( sum_sum @ C @ A ) ) ) @ ( set @ ( product_prod @ ( sum_sum @ C @ B ) @ ( sum_sum @ C @ B ) ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ ( sum_sum @ C @ A ) @ ( sum_sum @ C @ A ) ) ) @ ( set @ ( product_prod @ ( sum_sum @ C @ B ) @ ( sum_sum @ C @ B ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ C @ A ) @ ( sum_Plus @ C @ A @ A6 @ ( field2 @ A @ R3 ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ C @ B ) @ ( sum_Plus @ C @ B @ A6 @ ( field2 @ B @ R7 ) ) ) ) @ ( bNF_Wellorder_ordIso @ ( sum_sum @ C @ A ) @ ( sum_sum @ C @ B ) ) ) ) ).

% ordIso_Plus_cong2
thf(fact_7677_ordLeq__Plus__mono,axiom,
    ! [D: $tType,B: $tType,C: $tType,A: $tType,R3: set @ ( product_prod @ A @ A ),R7: set @ ( product_prod @ B @ B ),P3: set @ ( product_prod @ C @ C ),P10: set @ ( product_prod @ D @ D )] :
      ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ R3 @ R7 ) @ ( bNF_Wellorder_ordLeq @ A @ B ) )
     => ( ( member @ ( product_prod @ ( set @ ( product_prod @ C @ C ) ) @ ( set @ ( product_prod @ D @ D ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ C @ C ) ) @ ( set @ ( product_prod @ D @ D ) ) @ P3 @ P10 ) @ ( bNF_Wellorder_ordLeq @ C @ D ) )
       => ( member @ ( product_prod @ ( set @ ( product_prod @ ( sum_sum @ A @ C ) @ ( sum_sum @ A @ C ) ) ) @ ( set @ ( product_prod @ ( sum_sum @ B @ D ) @ ( sum_sum @ B @ D ) ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ ( sum_sum @ A @ C ) @ ( sum_sum @ A @ C ) ) ) @ ( set @ ( product_prod @ ( sum_sum @ B @ D ) @ ( sum_sum @ B @ D ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ A @ C ) @ ( sum_Plus @ A @ C @ ( field2 @ A @ R3 ) @ ( field2 @ C @ P3 ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ B @ D ) @ ( sum_Plus @ B @ D @ ( field2 @ B @ R7 ) @ ( field2 @ D @ P10 ) ) ) ) @ ( bNF_Wellorder_ordLeq @ ( sum_sum @ A @ C ) @ ( sum_sum @ B @ D ) ) ) ) ) ).

% ordLeq_Plus_mono
thf(fact_7678_ordLeq__Plus__mono1,axiom,
    ! [B: $tType,C: $tType,A: $tType,R3: set @ ( product_prod @ A @ A ),R7: set @ ( product_prod @ B @ B ),C5: set @ C] :
      ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ R3 @ R7 ) @ ( bNF_Wellorder_ordLeq @ A @ B ) )
     => ( member @ ( product_prod @ ( set @ ( product_prod @ ( sum_sum @ A @ C ) @ ( sum_sum @ A @ C ) ) ) @ ( set @ ( product_prod @ ( sum_sum @ B @ C ) @ ( sum_sum @ B @ C ) ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ ( sum_sum @ A @ C ) @ ( sum_sum @ A @ C ) ) ) @ ( set @ ( product_prod @ ( sum_sum @ B @ C ) @ ( sum_sum @ B @ C ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ A @ C ) @ ( sum_Plus @ A @ C @ ( field2 @ A @ R3 ) @ C5 ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ B @ C ) @ ( sum_Plus @ B @ C @ ( field2 @ B @ R7 ) @ C5 ) ) ) @ ( bNF_Wellorder_ordLeq @ ( sum_sum @ A @ C ) @ ( sum_sum @ B @ C ) ) ) ) ).

% ordLeq_Plus_mono1
thf(fact_7679_ordLeq__Plus__mono2,axiom,
    ! [B: $tType,A: $tType,C: $tType,R3: set @ ( product_prod @ A @ A ),R7: set @ ( product_prod @ B @ B ),A6: set @ C] :
      ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ R3 @ R7 ) @ ( bNF_Wellorder_ordLeq @ A @ B ) )
     => ( member @ ( product_prod @ ( set @ ( product_prod @ ( sum_sum @ C @ A ) @ ( sum_sum @ C @ A ) ) ) @ ( set @ ( product_prod @ ( sum_sum @ C @ B ) @ ( sum_sum @ C @ B ) ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ ( sum_sum @ C @ A ) @ ( sum_sum @ C @ A ) ) ) @ ( set @ ( product_prod @ ( sum_sum @ C @ B ) @ ( sum_sum @ C @ B ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ C @ A ) @ ( sum_Plus @ C @ A @ A6 @ ( field2 @ A @ R3 ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ C @ B ) @ ( sum_Plus @ C @ B @ A6 @ ( field2 @ B @ R7 ) ) ) ) @ ( bNF_Wellorder_ordLeq @ ( sum_sum @ C @ A ) @ ( sum_sum @ C @ B ) ) ) ) ).

% ordLeq_Plus_mono2
thf(fact_7680_natLeq__Card__order,axiom,
    bNF_Ca8970107618336181345der_on @ nat @ ( field2 @ nat @ bNF_Ca8665028551170535155natLeq ) @ bNF_Ca8665028551170535155natLeq ).

% natLeq_Card_order
thf(fact_7681_Card__order__Plus2,axiom,
    ! [B: $tType,A: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ B] :
      ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ ( sum_sum @ B @ A ) @ ( sum_sum @ B @ A ) ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ ( sum_sum @ B @ A ) @ ( sum_sum @ B @ A ) ) ) @ R3 @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ B @ A ) @ ( sum_Plus @ B @ A @ A6 @ ( field2 @ A @ R3 ) ) ) ) @ ( bNF_Wellorder_ordLeq @ A @ ( sum_sum @ B @ A ) ) ) ) ).

% Card_order_Plus2
thf(fact_7682_Card__order__Plus1,axiom,
    ! [B: $tType,A: $tType,R3: set @ ( product_prod @ A @ A ),B6: set @ B] :
      ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ ( sum_sum @ A @ B ) @ ( sum_sum @ A @ B ) ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ ( sum_sum @ A @ B ) @ ( sum_sum @ A @ B ) ) ) @ R3 @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ A @ B ) @ ( sum_Plus @ A @ B @ ( field2 @ A @ R3 ) @ B6 ) ) ) @ ( bNF_Wellorder_ordLeq @ A @ ( sum_sum @ A @ B ) ) ) ) ).

% Card_order_Plus1
thf(fact_7683_card__of__Un__Plus__ordLeq,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] : ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ ( sum_sum @ A @ A ) @ ( sum_sum @ A @ A ) ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ ( sum_sum @ A @ A ) @ ( sum_sum @ A @ A ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ A @ A ) @ ( sum_Plus @ A @ A @ A6 @ B6 ) ) ) @ ( bNF_Wellorder_ordLeq @ A @ ( sum_sum @ A @ A ) ) ) ).

% card_of_Un_Plus_ordLeq
thf(fact_7684_card__of__Times__Plus__distrib,axiom,
    ! [C: $tType,B: $tType,A: $tType,A6: set @ A,B6: set @ B,C5: set @ C] :
      ( member @ ( product_prod @ ( set @ ( product_prod @ ( product_prod @ A @ ( sum_sum @ B @ C ) ) @ ( product_prod @ A @ ( sum_sum @ B @ C ) ) ) ) @ ( set @ ( product_prod @ ( sum_sum @ ( product_prod @ A @ B ) @ ( product_prod @ A @ C ) ) @ ( sum_sum @ ( product_prod @ A @ B ) @ ( product_prod @ A @ C ) ) ) ) )
      @ ( product_Pair @ ( set @ ( product_prod @ ( product_prod @ A @ ( sum_sum @ B @ C ) ) @ ( product_prod @ A @ ( sum_sum @ B @ C ) ) ) ) @ ( set @ ( product_prod @ ( sum_sum @ ( product_prod @ A @ B ) @ ( product_prod @ A @ C ) ) @ ( sum_sum @ ( product_prod @ A @ B ) @ ( product_prod @ A @ C ) ) ) )
        @ ( bNF_Ca6860139660246222851ard_of @ ( product_prod @ A @ ( sum_sum @ B @ C ) )
          @ ( product_Sigma @ A @ ( sum_sum @ B @ C ) @ A6
            @ ^ [Uu2: A] : ( sum_Plus @ B @ C @ B6 @ C5 ) ) )
        @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ ( product_prod @ A @ B ) @ ( product_prod @ A @ C ) )
          @ ( sum_Plus @ ( product_prod @ A @ B ) @ ( product_prod @ A @ C )
            @ ( product_Sigma @ A @ B @ A6
              @ ^ [Uu2: A] : B6 )
            @ ( product_Sigma @ A @ C @ A6
              @ ^ [Uu2: A] : C5 ) ) ) )
      @ ( bNF_Wellorder_ordIso @ ( product_prod @ A @ ( sum_sum @ B @ C ) ) @ ( sum_sum @ ( product_prod @ A @ B ) @ ( product_prod @ A @ C ) ) ) ) ).

% card_of_Times_Plus_distrib
thf(fact_7685_card__of__Plus__Times__bool,axiom,
    ! [A: $tType,A6: set @ A] :
      ( member @ ( product_prod @ ( set @ ( product_prod @ ( sum_sum @ A @ A ) @ ( sum_sum @ A @ A ) ) ) @ ( set @ ( product_prod @ ( product_prod @ A @ $o ) @ ( product_prod @ A @ $o ) ) ) )
      @ ( product_Pair @ ( set @ ( product_prod @ ( sum_sum @ A @ A ) @ ( sum_sum @ A @ A ) ) ) @ ( set @ ( product_prod @ ( product_prod @ A @ $o ) @ ( product_prod @ A @ $o ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ A @ A ) @ ( sum_Plus @ A @ A @ A6 @ A6 ) )
        @ ( bNF_Ca6860139660246222851ard_of @ ( product_prod @ A @ $o )
          @ ( product_Sigma @ A @ $o @ A6
            @ ^ [Uu2: A] : ( top_top @ ( set @ $o ) ) ) ) )
      @ ( bNF_Wellorder_ordIso @ ( sum_sum @ A @ A ) @ ( product_prod @ A @ $o ) ) ) ).

% card_of_Plus_Times_bool
thf(fact_7686_card__of__Plus__commute,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,B6: set @ B] : ( member @ ( product_prod @ ( set @ ( product_prod @ ( sum_sum @ A @ B ) @ ( sum_sum @ A @ B ) ) ) @ ( set @ ( product_prod @ ( sum_sum @ B @ A ) @ ( sum_sum @ B @ A ) ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ ( sum_sum @ A @ B ) @ ( sum_sum @ A @ B ) ) ) @ ( set @ ( product_prod @ ( sum_sum @ B @ A ) @ ( sum_sum @ B @ A ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ A @ B ) @ ( sum_Plus @ A @ B @ A6 @ B6 ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ B @ A ) @ ( sum_Plus @ B @ A @ B6 @ A6 ) ) ) @ ( bNF_Wellorder_ordIso @ ( sum_sum @ A @ B ) @ ( sum_sum @ B @ A ) ) ) ).

% card_of_Plus_commute
thf(fact_7687_card__of__Plus__assoc,axiom,
    ! [C: $tType,B: $tType,A: $tType,A6: set @ A,B6: set @ B,C5: set @ C] : ( member @ ( product_prod @ ( set @ ( product_prod @ ( sum_sum @ ( sum_sum @ A @ B ) @ C ) @ ( sum_sum @ ( sum_sum @ A @ B ) @ C ) ) ) @ ( set @ ( product_prod @ ( sum_sum @ A @ ( sum_sum @ B @ C ) ) @ ( sum_sum @ A @ ( sum_sum @ B @ C ) ) ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ ( sum_sum @ ( sum_sum @ A @ B ) @ C ) @ ( sum_sum @ ( sum_sum @ A @ B ) @ C ) ) ) @ ( set @ ( product_prod @ ( sum_sum @ A @ ( sum_sum @ B @ C ) ) @ ( sum_sum @ A @ ( sum_sum @ B @ C ) ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ ( sum_sum @ A @ B ) @ C ) @ ( sum_Plus @ ( sum_sum @ A @ B ) @ C @ ( sum_Plus @ A @ B @ A6 @ B6 ) @ C5 ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ A @ ( sum_sum @ B @ C ) ) @ ( sum_Plus @ A @ ( sum_sum @ B @ C ) @ A6 @ ( sum_Plus @ B @ C @ B6 @ C5 ) ) ) ) @ ( bNF_Wellorder_ordIso @ ( sum_sum @ ( sum_sum @ A @ B ) @ C ) @ ( sum_sum @ A @ ( sum_sum @ B @ C ) ) ) ) ).

% card_of_Plus_assoc
thf(fact_7688_card__of__Plus2,axiom,
    ! [B: $tType,A: $tType,B6: set @ A,A6: set @ B] : ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ ( sum_sum @ B @ A ) @ ( sum_sum @ B @ A ) ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ ( sum_sum @ B @ A ) @ ( sum_sum @ B @ A ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ B6 ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ B @ A ) @ ( sum_Plus @ B @ A @ A6 @ B6 ) ) ) @ ( bNF_Wellorder_ordLeq @ A @ ( sum_sum @ B @ A ) ) ) ).

% card_of_Plus2
thf(fact_7689_card__of__Plus1,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,B6: set @ B] : ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ ( sum_sum @ A @ B ) @ ( sum_sum @ A @ B ) ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ ( sum_sum @ A @ B ) @ ( sum_sum @ A @ B ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ A @ B ) @ ( sum_Plus @ A @ B @ A6 @ B6 ) ) ) @ ( bNF_Wellorder_ordLeq @ A @ ( sum_sum @ A @ B ) ) ) ).

% card_of_Plus1
thf(fact_7690_card__of__Plus__mono,axiom,
    ! [D: $tType,B: $tType,C: $tType,A: $tType,A6: set @ A,B6: set @ B,C5: set @ C,D5: set @ D] :
      ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) @ ( bNF_Ca6860139660246222851ard_of @ B @ B6 ) ) @ ( bNF_Wellorder_ordLeq @ A @ B ) )
     => ( ( member @ ( product_prod @ ( set @ ( product_prod @ C @ C ) ) @ ( set @ ( product_prod @ D @ D ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ C @ C ) ) @ ( set @ ( product_prod @ D @ D ) ) @ ( bNF_Ca6860139660246222851ard_of @ C @ C5 ) @ ( bNF_Ca6860139660246222851ard_of @ D @ D5 ) ) @ ( bNF_Wellorder_ordLeq @ C @ D ) )
       => ( member @ ( product_prod @ ( set @ ( product_prod @ ( sum_sum @ A @ C ) @ ( sum_sum @ A @ C ) ) ) @ ( set @ ( product_prod @ ( sum_sum @ B @ D ) @ ( sum_sum @ B @ D ) ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ ( sum_sum @ A @ C ) @ ( sum_sum @ A @ C ) ) ) @ ( set @ ( product_prod @ ( sum_sum @ B @ D ) @ ( sum_sum @ B @ D ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ A @ C ) @ ( sum_Plus @ A @ C @ A6 @ C5 ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ B @ D ) @ ( sum_Plus @ B @ D @ B6 @ D5 ) ) ) @ ( bNF_Wellorder_ordLeq @ ( sum_sum @ A @ C ) @ ( sum_sum @ B @ D ) ) ) ) ) ).

% card_of_Plus_mono
thf(fact_7691_card__of__Plus__mono1,axiom,
    ! [B: $tType,C: $tType,A: $tType,A6: set @ A,B6: set @ B,C5: set @ C] :
      ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) @ ( bNF_Ca6860139660246222851ard_of @ B @ B6 ) ) @ ( bNF_Wellorder_ordLeq @ A @ B ) )
     => ( member @ ( product_prod @ ( set @ ( product_prod @ ( sum_sum @ A @ C ) @ ( sum_sum @ A @ C ) ) ) @ ( set @ ( product_prod @ ( sum_sum @ B @ C ) @ ( sum_sum @ B @ C ) ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ ( sum_sum @ A @ C ) @ ( sum_sum @ A @ C ) ) ) @ ( set @ ( product_prod @ ( sum_sum @ B @ C ) @ ( sum_sum @ B @ C ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ A @ C ) @ ( sum_Plus @ A @ C @ A6 @ C5 ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ B @ C ) @ ( sum_Plus @ B @ C @ B6 @ C5 ) ) ) @ ( bNF_Wellorder_ordLeq @ ( sum_sum @ A @ C ) @ ( sum_sum @ B @ C ) ) ) ) ).

% card_of_Plus_mono1
thf(fact_7692_card__of__Plus__mono2,axiom,
    ! [B: $tType,A: $tType,C: $tType,A6: set @ A,B6: set @ B,C5: set @ C] :
      ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) @ ( bNF_Ca6860139660246222851ard_of @ B @ B6 ) ) @ ( bNF_Wellorder_ordLeq @ A @ B ) )
     => ( member @ ( product_prod @ ( set @ ( product_prod @ ( sum_sum @ C @ A ) @ ( sum_sum @ C @ A ) ) ) @ ( set @ ( product_prod @ ( sum_sum @ C @ B ) @ ( sum_sum @ C @ B ) ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ ( sum_sum @ C @ A ) @ ( sum_sum @ C @ A ) ) ) @ ( set @ ( product_prod @ ( sum_sum @ C @ B ) @ ( sum_sum @ C @ B ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ C @ A ) @ ( sum_Plus @ C @ A @ C5 @ A6 ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ C @ B ) @ ( sum_Plus @ C @ B @ C5 @ B6 ) ) ) @ ( bNF_Wellorder_ordLeq @ ( sum_sum @ C @ A ) @ ( sum_sum @ C @ B ) ) ) ) ).

% card_of_Plus_mono2
thf(fact_7693_card__of__Plus__cong,axiom,
    ! [D: $tType,B: $tType,C: $tType,A: $tType,A6: set @ A,B6: set @ B,C5: set @ C,D5: set @ D] :
      ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) @ ( bNF_Ca6860139660246222851ard_of @ B @ B6 ) ) @ ( bNF_Wellorder_ordIso @ A @ B ) )
     => ( ( member @ ( product_prod @ ( set @ ( product_prod @ C @ C ) ) @ ( set @ ( product_prod @ D @ D ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ C @ C ) ) @ ( set @ ( product_prod @ D @ D ) ) @ ( bNF_Ca6860139660246222851ard_of @ C @ C5 ) @ ( bNF_Ca6860139660246222851ard_of @ D @ D5 ) ) @ ( bNF_Wellorder_ordIso @ C @ D ) )
       => ( member @ ( product_prod @ ( set @ ( product_prod @ ( sum_sum @ A @ C ) @ ( sum_sum @ A @ C ) ) ) @ ( set @ ( product_prod @ ( sum_sum @ B @ D ) @ ( sum_sum @ B @ D ) ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ ( sum_sum @ A @ C ) @ ( sum_sum @ A @ C ) ) ) @ ( set @ ( product_prod @ ( sum_sum @ B @ D ) @ ( sum_sum @ B @ D ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ A @ C ) @ ( sum_Plus @ A @ C @ A6 @ C5 ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ B @ D ) @ ( sum_Plus @ B @ D @ B6 @ D5 ) ) ) @ ( bNF_Wellorder_ordIso @ ( sum_sum @ A @ C ) @ ( sum_sum @ B @ D ) ) ) ) ) ).

% card_of_Plus_cong
thf(fact_7694_card__of__Plus__cong1,axiom,
    ! [B: $tType,C: $tType,A: $tType,A6: set @ A,B6: set @ B,C5: set @ C] :
      ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) @ ( bNF_Ca6860139660246222851ard_of @ B @ B6 ) ) @ ( bNF_Wellorder_ordIso @ A @ B ) )
     => ( member @ ( product_prod @ ( set @ ( product_prod @ ( sum_sum @ A @ C ) @ ( sum_sum @ A @ C ) ) ) @ ( set @ ( product_prod @ ( sum_sum @ B @ C ) @ ( sum_sum @ B @ C ) ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ ( sum_sum @ A @ C ) @ ( sum_sum @ A @ C ) ) ) @ ( set @ ( product_prod @ ( sum_sum @ B @ C ) @ ( sum_sum @ B @ C ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ A @ C ) @ ( sum_Plus @ A @ C @ A6 @ C5 ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ B @ C ) @ ( sum_Plus @ B @ C @ B6 @ C5 ) ) ) @ ( bNF_Wellorder_ordIso @ ( sum_sum @ A @ C ) @ ( sum_sum @ B @ C ) ) ) ) ).

% card_of_Plus_cong1
thf(fact_7695_card__of__Plus__cong2,axiom,
    ! [B: $tType,A: $tType,C: $tType,A6: set @ A,B6: set @ B,C5: set @ C] :
      ( ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ B @ B ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) @ ( bNF_Ca6860139660246222851ard_of @ B @ B6 ) ) @ ( bNF_Wellorder_ordIso @ A @ B ) )
     => ( member @ ( product_prod @ ( set @ ( product_prod @ ( sum_sum @ C @ A ) @ ( sum_sum @ C @ A ) ) ) @ ( set @ ( product_prod @ ( sum_sum @ C @ B ) @ ( sum_sum @ C @ B ) ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ ( sum_sum @ C @ A ) @ ( sum_sum @ C @ A ) ) ) @ ( set @ ( product_prod @ ( sum_sum @ C @ B ) @ ( sum_sum @ C @ B ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ C @ A ) @ ( sum_Plus @ C @ A @ C5 @ A6 ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ C @ B ) @ ( sum_Plus @ C @ B @ C5 @ B6 ) ) ) @ ( bNF_Wellorder_ordIso @ ( sum_sum @ C @ A ) @ ( sum_sum @ C @ B ) ) ) ) ).

% card_of_Plus_cong2
thf(fact_7696_card__of__Plus__empty2,axiom,
    ! [B: $tType,A: $tType,A6: set @ A] : ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ ( sum_sum @ B @ A ) @ ( sum_sum @ B @ A ) ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ ( sum_sum @ B @ A ) @ ( sum_sum @ B @ A ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ B @ A ) @ ( sum_Plus @ B @ A @ ( bot_bot @ ( set @ B ) ) @ A6 ) ) ) @ ( bNF_Wellorder_ordIso @ A @ ( sum_sum @ B @ A ) ) ) ).

% card_of_Plus_empty2
thf(fact_7697_card__of__Plus__empty1,axiom,
    ! [B: $tType,A: $tType,A6: set @ A] : ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ ( sum_sum @ A @ B ) @ ( sum_sum @ A @ B ) ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ ( sum_sum @ A @ B ) @ ( sum_sum @ A @ B ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ A @ B ) @ ( sum_Plus @ A @ B @ A6 @ ( bot_bot @ ( set @ B ) ) ) ) ) @ ( bNF_Wellorder_ordIso @ A @ ( sum_sum @ A @ B ) ) ) ).

% card_of_Plus_empty1
thf(fact_7698_natLeq__antisym,axiom,
    antisym @ nat @ bNF_Ca8665028551170535155natLeq ).

% natLeq_antisym
thf(fact_7699_card__Plus,axiom,
    ! [A: $tType,B: $tType,A6: set @ A,B6: set @ B] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( finite_finite2 @ B @ B6 )
       => ( ( finite_card @ ( sum_sum @ A @ B ) @ ( sum_Plus @ A @ B @ A6 @ B6 ) )
          = ( plus_plus @ nat @ ( finite_card @ A @ A6 ) @ ( finite_card @ B @ B6 ) ) ) ) ) ).

% card_Plus
thf(fact_7700_natLeq__natLess__Id,axiom,
    ( bNF_Ca8459412986667044542atLess
    = ( minus_minus @ ( set @ ( product_prod @ nat @ nat ) ) @ bNF_Ca8665028551170535155natLeq @ ( id2 @ nat ) ) ) ).

% natLeq_natLess_Id
thf(fact_7701_natLeq__trans,axiom,
    trans @ nat @ bNF_Ca8665028551170535155natLeq ).

% natLeq_trans
thf(fact_7702_natLeq__underS__less,axiom,
    ! [N: nat] :
      ( ( order_underS @ nat @ bNF_Ca8665028551170535155natLeq @ N )
      = ( collect @ nat
        @ ^ [X4: nat] : ( ord_less @ nat @ X4 @ N ) ) ) ).

% natLeq_underS_less
thf(fact_7703_natLeq__Total,axiom,
    total_on @ nat @ ( field2 @ nat @ bNF_Ca8665028551170535155natLeq ) @ bNF_Ca8665028551170535155natLeq ).

% natLeq_Total
thf(fact_7704_natLeq__Linear__order,axiom,
    order_679001287576687338der_on @ nat @ ( field2 @ nat @ bNF_Ca8665028551170535155natLeq ) @ bNF_Ca8665028551170535155natLeq ).

% natLeq_Linear_order
thf(fact_7705_natLeq__Preorder,axiom,
    order_preorder_on @ nat @ ( field2 @ nat @ bNF_Ca8665028551170535155natLeq ) @ bNF_Ca8665028551170535155natLeq ).

% natLeq_Preorder
thf(fact_7706_natLeq__Refl,axiom,
    refl_on @ nat @ ( field2 @ nat @ bNF_Ca8665028551170535155natLeq ) @ bNF_Ca8665028551170535155natLeq ).

% natLeq_Refl
thf(fact_7707_Field__natLeq,axiom,
    ( ( field2 @ nat @ bNF_Ca8665028551170535155natLeq )
    = ( top_top @ ( set @ nat ) ) ) ).

% Field_natLeq
thf(fact_7708_natLeq__def,axiom,
    ( bNF_Ca8665028551170535155natLeq
    = ( collect @ ( product_prod @ nat @ nat ) @ ( product_case_prod @ nat @ nat @ $o @ ( ord_less_eq @ nat ) ) ) ) ).

% natLeq_def
thf(fact_7709_card__Plus__conv__if,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,B6: set @ B] :
      ( ( ( ( finite_finite2 @ A @ A6 )
          & ( finite_finite2 @ B @ B6 ) )
       => ( ( finite_card @ ( sum_sum @ A @ B ) @ ( sum_Plus @ A @ B @ A6 @ B6 ) )
          = ( plus_plus @ nat @ ( finite_card @ A @ A6 ) @ ( finite_card @ B @ B6 ) ) ) )
      & ( ~ ( ( finite_finite2 @ A @ A6 )
            & ( finite_finite2 @ B @ B6 ) )
       => ( ( finite_card @ ( sum_sum @ A @ B ) @ ( sum_Plus @ A @ B @ A6 @ B6 ) )
          = ( zero_zero @ nat ) ) ) ) ).

% card_Plus_conv_if
thf(fact_7710_card__of__Plus__infinite2,axiom,
    ! [A: $tType,B: $tType,A6: set @ A,B6: set @ B] :
      ( ~ ( finite_finite2 @ A @ A6 )
     => ( ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ B @ B6 ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) ) @ ( bNF_Wellorder_ordLeq @ B @ A ) )
       => ( member @ ( product_prod @ ( set @ ( product_prod @ ( sum_sum @ B @ A ) @ ( sum_sum @ B @ A ) ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ ( sum_sum @ B @ A ) @ ( sum_sum @ B @ A ) ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ B @ A ) @ ( sum_Plus @ B @ A @ B6 @ A6 ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) ) @ ( bNF_Wellorder_ordIso @ ( sum_sum @ B @ A ) @ A ) ) ) ) ).

% card_of_Plus_infinite2
thf(fact_7711_card__of__Plus__infinite1,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,B6: set @ B] :
      ( ~ ( finite_finite2 @ A @ A6 )
     => ( ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ B @ B6 ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) ) @ ( bNF_Wellorder_ordLeq @ B @ A ) )
       => ( member @ ( product_prod @ ( set @ ( product_prod @ ( sum_sum @ A @ B ) @ ( sum_sum @ A @ B ) ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ ( sum_sum @ A @ B ) @ ( sum_sum @ A @ B ) ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ A @ B ) @ ( sum_Plus @ A @ B @ A6 @ B6 ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) ) @ ( bNF_Wellorder_ordIso @ ( sum_sum @ A @ B ) @ A ) ) ) ) ).

% card_of_Plus_infinite1
thf(fact_7712_card__of__Plus__infinite,axiom,
    ! [A: $tType,B: $tType,A6: set @ A,B6: set @ B] :
      ( ~ ( finite_finite2 @ A @ A6 )
     => ( ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ B @ B6 ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) ) @ ( bNF_Wellorder_ordLeq @ B @ A ) )
       => ( ( member @ ( product_prod @ ( set @ ( product_prod @ ( sum_sum @ A @ B ) @ ( sum_sum @ A @ B ) ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ ( sum_sum @ A @ B ) @ ( sum_sum @ A @ B ) ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ A @ B ) @ ( sum_Plus @ A @ B @ A6 @ B6 ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) ) @ ( bNF_Wellorder_ordIso @ ( sum_sum @ A @ B ) @ A ) )
          & ( member @ ( product_prod @ ( set @ ( product_prod @ ( sum_sum @ B @ A ) @ ( sum_sum @ B @ A ) ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ ( sum_sum @ B @ A ) @ ( sum_sum @ B @ A ) ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ B @ A ) @ ( sum_Plus @ B @ A @ B6 @ A6 ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) ) @ ( bNF_Wellorder_ordIso @ ( sum_sum @ B @ A ) @ A ) ) ) ) ) ).

% card_of_Plus_infinite
thf(fact_7713_card__of__Plus__ordLess__infinite,axiom,
    ! [A: $tType,C: $tType,B: $tType,C5: set @ A,A6: set @ B,B6: set @ C] :
      ( ~ ( finite_finite2 @ A @ C5 )
     => ( ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ B @ A6 ) @ ( bNF_Ca6860139660246222851ard_of @ A @ C5 ) ) @ ( bNF_We4044943003108391690rdLess @ B @ A ) )
       => ( ( member @ ( product_prod @ ( set @ ( product_prod @ C @ C ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ C @ C ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ C @ B6 ) @ ( bNF_Ca6860139660246222851ard_of @ A @ C5 ) ) @ ( bNF_We4044943003108391690rdLess @ C @ A ) )
         => ( member @ ( product_prod @ ( set @ ( product_prod @ ( sum_sum @ B @ C ) @ ( sum_sum @ B @ C ) ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ ( sum_sum @ B @ C ) @ ( sum_sum @ B @ C ) ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ B @ C ) @ ( sum_Plus @ B @ C @ A6 @ B6 ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ C5 ) ) @ ( bNF_We4044943003108391690rdLess @ ( sum_sum @ B @ C ) @ A ) ) ) ) ) ).

% card_of_Plus_ordLess_infinite
thf(fact_7714_natLeq__Well__order,axiom,
    order_well_order_on @ nat @ ( field2 @ nat @ bNF_Ca8665028551170535155natLeq ) @ bNF_Ca8665028551170535155natLeq ).

% natLeq_Well_order
thf(fact_7715_finite__iff__ordLess__natLeq,axiom,
    ! [A: $tType] :
      ( ( finite_finite2 @ A )
      = ( ^ [A8: set @ A] : ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ nat @ nat ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ nat @ nat ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ A8 ) @ bNF_Ca8665028551170535155natLeq ) @ ( bNF_We4044943003108391690rdLess @ A @ nat ) ) ) ) ).

% finite_iff_ordLess_natLeq
thf(fact_7716_Restr__natLeq2,axiom,
    ! [N: nat] :
      ( ( inf_inf @ ( set @ ( product_prod @ nat @ nat ) ) @ bNF_Ca8665028551170535155natLeq
        @ ( product_Sigma @ nat @ nat @ ( order_underS @ nat @ bNF_Ca8665028551170535155natLeq @ N )
          @ ^ [Uu2: nat] : ( order_underS @ nat @ bNF_Ca8665028551170535155natLeq @ N ) ) )
      = ( collect @ ( product_prod @ nat @ nat )
        @ ( product_case_prod @ nat @ nat @ $o
          @ ^ [X4: nat,Y4: nat] :
              ( ( ord_less @ nat @ X4 @ N )
              & ( ord_less @ nat @ Y4 @ N )
              & ( ord_less_eq @ nat @ X4 @ Y4 ) ) ) ) ) ).

% Restr_natLeq2
thf(fact_7717_Restr__natLeq,axiom,
    ! [N: nat] :
      ( ( inf_inf @ ( set @ ( product_prod @ nat @ nat ) ) @ bNF_Ca8665028551170535155natLeq
        @ ( product_Sigma @ nat @ nat
          @ ( collect @ nat
            @ ^ [X4: nat] : ( ord_less @ nat @ X4 @ N ) )
          @ ^ [Uu2: nat] :
              ( collect @ nat
              @ ^ [X4: nat] : ( ord_less @ nat @ X4 @ N ) ) ) )
      = ( collect @ ( product_prod @ nat @ nat )
        @ ( product_case_prod @ nat @ nat @ $o
          @ ^ [X4: nat,Y4: nat] :
              ( ( ord_less @ nat @ X4 @ N )
              & ( ord_less @ nat @ Y4 @ N )
              & ( ord_less_eq @ nat @ X4 @ Y4 ) ) ) ) ) ).

% Restr_natLeq
thf(fact_7718_Card__order__Plus__infinite,axiom,
    ! [A: $tType,B: $tType,R3: set @ ( product_prod @ A @ A ),P3: set @ ( product_prod @ B @ B )] :
      ( ~ ( finite_finite2 @ A @ ( field2 @ A @ R3 ) )
     => ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
       => ( ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) @ P3 @ R3 ) @ ( bNF_Wellorder_ordLeq @ B @ A ) )
         => ( ( member @ ( product_prod @ ( set @ ( product_prod @ ( sum_sum @ A @ B ) @ ( sum_sum @ A @ B ) ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ ( sum_sum @ A @ B ) @ ( sum_sum @ A @ B ) ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ A @ B ) @ ( sum_Plus @ A @ B @ ( field2 @ A @ R3 ) @ ( field2 @ B @ P3 ) ) ) @ R3 ) @ ( bNF_Wellorder_ordIso @ ( sum_sum @ A @ B ) @ A ) )
            & ( member @ ( product_prod @ ( set @ ( product_prod @ ( sum_sum @ B @ A ) @ ( sum_sum @ B @ A ) ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ ( sum_sum @ B @ A ) @ ( sum_sum @ B @ A ) ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ B @ A ) @ ( sum_Plus @ B @ A @ ( field2 @ B @ P3 ) @ ( field2 @ A @ R3 ) ) ) @ R3 ) @ ( bNF_Wellorder_ordIso @ ( sum_sum @ B @ A ) @ A ) ) ) ) ) ) ).

% Card_order_Plus_infinite
thf(fact_7719_card__of__nat,axiom,
    member @ ( product_prod @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) @ ( bNF_Ca6860139660246222851ard_of @ nat @ ( top_top @ ( set @ nat ) ) ) @ bNF_Ca8665028551170535155natLeq ) @ ( bNF_Wellorder_ordIso @ nat @ nat ) ).

% card_of_nat
thf(fact_7720_card__of__Plus__Times,axiom,
    ! [B: $tType,A: $tType,A1: A,A22: A,A6: set @ A,B1: B,B22: B,B6: set @ B] :
      ( ( ( A1 != A22 )
        & ( ord_less_eq @ ( set @ A ) @ ( insert @ A @ A1 @ ( insert @ A @ A22 @ ( bot_bot @ ( set @ A ) ) ) ) @ A6 ) )
     => ( ( ( B1 != B22 )
          & ( ord_less_eq @ ( set @ B ) @ ( insert @ B @ B1 @ ( insert @ B @ B22 @ ( bot_bot @ ( set @ B ) ) ) ) @ B6 ) )
       => ( member @ ( product_prod @ ( set @ ( product_prod @ ( sum_sum @ A @ B ) @ ( sum_sum @ A @ B ) ) ) @ ( set @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) ) ) )
          @ ( product_Pair @ ( set @ ( product_prod @ ( sum_sum @ A @ B ) @ ( sum_sum @ A @ B ) ) ) @ ( set @ ( product_prod @ ( product_prod @ A @ B ) @ ( product_prod @ A @ B ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ A @ B ) @ ( sum_Plus @ A @ B @ A6 @ B6 ) )
            @ ( bNF_Ca6860139660246222851ard_of @ ( product_prod @ A @ B )
              @ ( product_Sigma @ A @ B @ A6
                @ ^ [Uu2: A] : B6 ) ) )
          @ ( bNF_Wellorder_ordLeq @ ( sum_sum @ A @ B ) @ ( product_prod @ A @ B ) ) ) ) ) ).

% card_of_Plus_Times
thf(fact_7721_card__of__Field__natLeq,axiom,
    member @ ( product_prod @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ nat @ nat ) ) @ ( set @ ( product_prod @ nat @ nat ) ) @ ( bNF_Ca6860139660246222851ard_of @ nat @ ( field2 @ nat @ bNF_Ca8665028551170535155natLeq ) ) @ bNF_Ca8665028551170535155natLeq ) @ ( bNF_Wellorder_ordIso @ nat @ nat ) ).

% card_of_Field_natLeq
thf(fact_7722_card__of__Plus__ordLeq__infinite__Field,axiom,
    ! [A: $tType,C: $tType,B: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ B,B6: set @ C] :
      ( ~ ( finite_finite2 @ A @ ( field2 @ A @ R3 ) )
     => ( ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ B @ A6 ) @ R3 ) @ ( bNF_Wellorder_ordLeq @ B @ A ) )
       => ( ( member @ ( product_prod @ ( set @ ( product_prod @ C @ C ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ C @ C ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ C @ B6 ) @ R3 ) @ ( bNF_Wellorder_ordLeq @ C @ A ) )
         => ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
           => ( member @ ( product_prod @ ( set @ ( product_prod @ ( sum_sum @ B @ C ) @ ( sum_sum @ B @ C ) ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ ( sum_sum @ B @ C ) @ ( sum_sum @ B @ C ) ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ B @ C ) @ ( sum_Plus @ B @ C @ A6 @ B6 ) ) @ R3 ) @ ( bNF_Wellorder_ordLeq @ ( sum_sum @ B @ C ) @ A ) ) ) ) ) ) ).

% card_of_Plus_ordLeq_infinite_Field
thf(fact_7723_card__of__Plus__ordLess__infinite__Field,axiom,
    ! [A: $tType,C: $tType,B: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ B,B6: set @ C] :
      ( ~ ( finite_finite2 @ A @ ( field2 @ A @ R3 ) )
     => ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
       => ( ( member @ ( product_prod @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ B @ B ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ B @ A6 ) @ R3 ) @ ( bNF_We4044943003108391690rdLess @ B @ A ) )
         => ( ( member @ ( product_prod @ ( set @ ( product_prod @ C @ C ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ C @ C ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ C @ B6 ) @ R3 ) @ ( bNF_We4044943003108391690rdLess @ C @ A ) )
           => ( member @ ( product_prod @ ( set @ ( product_prod @ ( sum_sum @ B @ C ) @ ( sum_sum @ B @ C ) ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ ( sum_sum @ B @ C ) @ ( sum_sum @ B @ C ) ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca6860139660246222851ard_of @ ( sum_sum @ B @ C ) @ ( sum_Plus @ B @ C @ A6 @ B6 ) ) @ R3 ) @ ( bNF_We4044943003108391690rdLess @ ( sum_sum @ B @ C ) @ A ) ) ) ) ) ) ).

% card_of_Plus_ordLess_infinite_Field
thf(fact_7724_ord__to__filter__compat,axiom,
    ! [A: $tType,R0: set @ ( product_prod @ A @ A )] :
      ( bNF_Wellorder_compat @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ A )
      @ ( inf_inf @ ( set @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) ) ) @ ( bNF_We4044943003108391690rdLess @ A @ A )
        @ ( product_Sigma @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( image @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( converse @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_We4044943003108391690rdLess @ A @ A ) ) @ ( insert @ ( set @ ( product_prod @ A @ A ) ) @ R0 @ ( bot_bot @ ( set @ ( set @ ( product_prod @ A @ A ) ) ) ) ) )
          @ ^ [Uu2: set @ ( product_prod @ A @ A )] : ( image @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( converse @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_We4044943003108391690rdLess @ A @ A ) ) @ ( insert @ ( set @ ( product_prod @ A @ A ) ) @ R0 @ ( bot_bot @ ( set @ ( set @ ( product_prod @ A @ A ) ) ) ) ) ) ) )
      @ ( bNF_We413866401316099525erIncl @ A @ R0 )
      @ ( bNF_We8469521843155493636filter @ A @ R0 ) ) ).

% ord_to_filter_compat
thf(fact_7725_cINF__UNION,axiom,
    ! [B: $tType,D: $tType,C: $tType] :
      ( ( condit1219197933456340205attice @ B )
     => ! [A6: set @ C,B6: C > ( set @ D ),F3: D > B] :
          ( ( A6
           != ( bot_bot @ ( set @ C ) ) )
         => ( ! [X3: C] :
                ( ( member @ C @ X3 @ A6 )
               => ( ( B6 @ X3 )
                 != ( bot_bot @ ( set @ D ) ) ) )
           => ( ( condit1013018076250108175_below @ B
                @ ( complete_Sup_Sup @ ( set @ B )
                  @ ( image2 @ C @ ( set @ B )
                    @ ^ [X4: C] : ( image2 @ D @ B @ F3 @ ( B6 @ X4 ) )
                    @ A6 ) ) )
             => ( ( complete_Inf_Inf @ B @ ( image2 @ D @ B @ F3 @ ( complete_Sup_Sup @ ( set @ D ) @ ( image2 @ C @ ( set @ D ) @ B6 @ A6 ) ) ) )
                = ( complete_Inf_Inf @ B
                  @ ( image2 @ C @ B
                    @ ^ [X4: C] : ( complete_Inf_Inf @ B @ ( image2 @ D @ B @ F3 @ ( B6 @ X4 ) ) )
                    @ A6 ) ) ) ) ) ) ) ).

% cINF_UNION
thf(fact_7726_bdd__below__bot,axiom,
    ! [A: $tType] :
      ( ( order_bot @ A )
     => ! [A6: set @ A] : ( condit1013018076250108175_below @ A @ A6 ) ) ).

% bdd_below_bot
thf(fact_7727_bdd__below_OI,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [A6: set @ A,M6: A] :
          ( ! [X3: A] :
              ( ( member @ A @ X3 @ A6 )
             => ( ord_less_eq @ A @ M6 @ X3 ) )
         => ( condit1013018076250108175_below @ A @ A6 ) ) ) ).

% bdd_below.I
thf(fact_7728_bdd__belowI,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [A6: set @ A,M: A] :
          ( ! [X3: A] :
              ( ( member @ A @ X3 @ A6 )
             => ( ord_less_eq @ A @ M @ X3 ) )
         => ( condit1013018076250108175_below @ A @ A6 ) ) ) ).

% bdd_belowI
thf(fact_7729_bdd__below__empty,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ( condit1013018076250108175_below @ A @ ( bot_bot @ ( set @ A ) ) ) ) ).

% bdd_below_empty
thf(fact_7730_bdd__below__insert,axiom,
    ! [A: $tType] :
      ( ( lattice @ A )
     => ! [A3: A,A6: set @ A] :
          ( ( condit1013018076250108175_below @ A @ ( insert @ A @ A3 @ A6 ) )
          = ( condit1013018076250108175_below @ A @ A6 ) ) ) ).

% bdd_below_insert
thf(fact_7731_bdd__below__Un,axiom,
    ! [A: $tType] :
      ( ( lattice @ A )
     => ! [A6: set @ A,B6: set @ A] :
          ( ( condit1013018076250108175_below @ A @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) )
          = ( ( condit1013018076250108175_below @ A @ A6 )
            & ( condit1013018076250108175_below @ A @ B6 ) ) ) ) ).

% bdd_below_Un
thf(fact_7732_bdd__below__Icc,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [A3: A,B2: A] : ( condit1013018076250108175_below @ A @ ( set_or1337092689740270186AtMost @ A @ A3 @ B2 ) ) ) ).

% bdd_below_Icc
thf(fact_7733_bdd__below__Ico,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [A3: A,B2: A] : ( condit1013018076250108175_below @ A @ ( set_or7035219750837199246ssThan @ A @ A3 @ B2 ) ) ) ).

% bdd_below_Ico
thf(fact_7734_bdd__below__Ioc,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [A3: A,B2: A] : ( condit1013018076250108175_below @ A @ ( set_or3652927894154168847AtMost @ A @ A3 @ B2 ) ) ) ).

% bdd_below_Ioc
thf(fact_7735_bdd__below__Ioo,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [A3: A,B2: A] : ( condit1013018076250108175_below @ A @ ( set_or5935395276787703475ssThan @ A @ A3 @ B2 ) ) ) ).

% bdd_below_Ioo
thf(fact_7736_bdd__below__Ici,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [A3: A] : ( condit1013018076250108175_below @ A @ ( set_ord_atLeast @ A @ A3 ) ) ) ).

% bdd_below_Ici
thf(fact_7737_bdd__below__Ioi,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [A3: A] : ( condit1013018076250108175_below @ A @ ( set_ord_greaterThan @ A @ A3 ) ) ) ).

% bdd_below_Ioi
thf(fact_7738_bdd__below__image__inf,axiom,
    ! [A: $tType,B: $tType] :
      ( ( lattice @ A )
     => ! [F3: B > A,G3: B > A,A6: set @ B] :
          ( ( condit1013018076250108175_below @ A
            @ ( image2 @ B @ A
              @ ^ [X4: B] : ( inf_inf @ A @ ( F3 @ X4 ) @ ( G3 @ X4 ) )
              @ A6 ) )
          = ( ( condit1013018076250108175_below @ A @ ( image2 @ B @ A @ F3 @ A6 ) )
            & ( condit1013018076250108175_below @ A @ ( image2 @ B @ A @ G3 @ A6 ) ) ) ) ) ).

% bdd_below_image_inf
thf(fact_7739_bdd__below__uminus,axiom,
    ! [A: $tType] :
      ( ( ordered_ab_group_add @ A )
     => ! [X7: set @ A] :
          ( ( condit1013018076250108175_below @ A @ ( image2 @ A @ A @ ( uminus_uminus @ A ) @ X7 ) )
          = ( condit941137186595557371_above @ A @ X7 ) ) ) ).

% bdd_below_uminus
thf(fact_7740_bdd__above__uminus,axiom,
    ! [A: $tType] :
      ( ( ordered_ab_group_add @ A )
     => ! [X7: set @ A] :
          ( ( condit941137186595557371_above @ A @ ( image2 @ A @ A @ ( uminus_uminus @ A ) @ X7 ) )
          = ( condit1013018076250108175_below @ A @ X7 ) ) ) ).

% bdd_above_uminus
thf(fact_7741_bdd__below__UN,axiom,
    ! [A: $tType,B: $tType] :
      ( ( lattice @ A )
     => ! [I5: set @ B,A6: B > ( set @ A )] :
          ( ( finite_finite2 @ B @ I5 )
         => ( ( condit1013018076250108175_below @ A @ ( complete_Sup_Sup @ ( set @ A ) @ ( image2 @ B @ ( set @ A ) @ A6 @ I5 ) ) )
            = ( ! [X4: B] :
                  ( ( member @ B @ X4 @ I5 )
                 => ( condit1013018076250108175_below @ A @ ( A6 @ X4 ) ) ) ) ) ) ) ).

% bdd_below_UN
thf(fact_7742_compat__def,axiom,
    ! [A2: $tType,A: $tType] :
      ( ( bNF_Wellorder_compat @ A @ A2 )
      = ( ^ [R5: set @ ( product_prod @ A @ A ),R11: set @ ( product_prod @ A2 @ A2 ),F4: A > A2] :
          ! [A7: A,B5: A] :
            ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A7 @ B5 ) @ R5 )
           => ( member @ ( product_prod @ A2 @ A2 ) @ ( product_Pair @ A2 @ A2 @ ( F4 @ A7 ) @ ( F4 @ B5 ) ) @ R11 ) ) ) ) ).

% compat_def
thf(fact_7743_bdd__below__finite,axiom,
    ! [A: $tType] :
      ( ( lattice @ A )
     => ! [A6: set @ A] :
          ( ( finite_finite2 @ A @ A6 )
         => ( condit1013018076250108175_below @ A @ A6 ) ) ) ).

% bdd_below_finite
thf(fact_7744_cInf__lower,axiom,
    ! [A: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [X: A,X7: set @ A] :
          ( ( member @ A @ X @ X7 )
         => ( ( condit1013018076250108175_below @ A @ X7 )
           => ( ord_less_eq @ A @ ( complete_Inf_Inf @ A @ X7 ) @ X ) ) ) ) ).

% cInf_lower
thf(fact_7745_cInf__lower2,axiom,
    ! [A: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [X: A,X7: set @ A,Y: A] :
          ( ( member @ A @ X @ X7 )
         => ( ( ord_less_eq @ A @ X @ Y )
           => ( ( condit1013018076250108175_below @ A @ X7 )
             => ( ord_less_eq @ A @ ( complete_Inf_Inf @ A @ X7 ) @ Y ) ) ) ) ) ).

% cInf_lower2
thf(fact_7746_bdd__below__mono,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [B6: set @ A,A6: set @ A] :
          ( ( condit1013018076250108175_below @ A @ B6 )
         => ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
           => ( condit1013018076250108175_below @ A @ A6 ) ) ) ) ).

% bdd_below_mono
thf(fact_7747_bdd__below_Ounfold,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ( ( condit1013018076250108175_below @ A )
        = ( ^ [A8: set @ A] :
            ? [M9: A] :
            ! [X4: A] :
              ( ( member @ A @ X4 @ A8 )
             => ( ord_less_eq @ A @ M9 @ X4 ) ) ) ) ) ).

% bdd_below.unfold
thf(fact_7748_bdd__below_OE,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [A6: set @ A] :
          ( ( condit1013018076250108175_below @ A @ A6 )
         => ~ ! [M13: A] :
                ~ ! [X6: A] :
                    ( ( member @ A @ X6 @ A6 )
                   => ( ord_less_eq @ A @ M13 @ X6 ) ) ) ) ).

% bdd_below.E
thf(fact_7749_bdd__below__Int2,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [B6: set @ A,A6: set @ A] :
          ( ( condit1013018076250108175_below @ A @ B6 )
         => ( condit1013018076250108175_below @ A @ ( inf_inf @ ( set @ A ) @ A6 @ B6 ) ) ) ) ).

% bdd_below_Int2
thf(fact_7750_bdd__below__Int1,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ! [A6: set @ A,B6: set @ A] :
          ( ( condit1013018076250108175_below @ A @ A6 )
         => ( condit1013018076250108175_below @ A @ ( inf_inf @ ( set @ A ) @ A6 @ B6 ) ) ) ) ).

% bdd_below_Int1
thf(fact_7751_cINF__lower2,axiom,
    ! [B: $tType,A: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [F3: B > A,A6: set @ B,X: B,U: A] :
          ( ( condit1013018076250108175_below @ A @ ( image2 @ B @ A @ F3 @ A6 ) )
         => ( ( member @ B @ X @ A6 )
           => ( ( ord_less_eq @ A @ ( F3 @ X ) @ U )
             => ( ord_less_eq @ A @ ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) @ U ) ) ) ) ) ).

% cINF_lower2
thf(fact_7752_cINF__lower,axiom,
    ! [A: $tType,B: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [F3: B > A,A6: set @ B,X: B] :
          ( ( condit1013018076250108175_below @ A @ ( image2 @ B @ A @ F3 @ A6 ) )
         => ( ( member @ B @ X @ A6 )
           => ( ord_less_eq @ A @ ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) @ ( F3 @ X ) ) ) ) ) ).

% cINF_lower
thf(fact_7753_bdd__below__image__mono,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ( order @ A )
        & ( order @ B ) )
     => ! [F3: A > B,A6: set @ A] :
          ( ( order_mono @ A @ B @ F3 )
         => ( ( condit1013018076250108175_below @ A @ A6 )
           => ( condit1013018076250108175_below @ B @ ( image2 @ A @ B @ F3 @ A6 ) ) ) ) ) ).

% bdd_below_image_mono
thf(fact_7754_bdd__belowI2,axiom,
    ! [A: $tType,B: $tType] :
      ( ( preorder @ A )
     => ! [A6: set @ B,M: A,F3: B > A] :
          ( ! [X3: B] :
              ( ( member @ B @ X3 @ A6 )
             => ( ord_less_eq @ A @ M @ ( F3 @ X3 ) ) )
         => ( condit1013018076250108175_below @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) ) ) ).

% bdd_belowI2
thf(fact_7755_bdd__below_OI2,axiom,
    ! [A: $tType,B: $tType] :
      ( ( preorder @ A )
     => ! [A6: set @ B,M6: A,F3: B > A] :
          ( ! [X3: B] :
              ( ( member @ B @ X3 @ A6 )
             => ( ord_less_eq @ A @ M6 @ ( F3 @ X3 ) ) )
         => ( condit1013018076250108175_below @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) ) ) ).

% bdd_below.I2
thf(fact_7756_cInf__mono,axiom,
    ! [A: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [B6: set @ A,A6: set @ A] :
          ( ( B6
           != ( bot_bot @ ( set @ A ) ) )
         => ( ( condit1013018076250108175_below @ A @ A6 )
           => ( ! [B4: A] :
                  ( ( member @ A @ B4 @ B6 )
                 => ? [X6: A] :
                      ( ( member @ A @ X6 @ A6 )
                      & ( ord_less_eq @ A @ X6 @ B4 ) ) )
             => ( ord_less_eq @ A @ ( complete_Inf_Inf @ A @ A6 ) @ ( complete_Inf_Inf @ A @ B6 ) ) ) ) ) ) ).

% cInf_mono
thf(fact_7757_le__cInf__iff,axiom,
    ! [A: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [S: set @ A,A3: A] :
          ( ( S
           != ( bot_bot @ ( set @ A ) ) )
         => ( ( condit1013018076250108175_below @ A @ S )
           => ( ( ord_less_eq @ A @ A3 @ ( complete_Inf_Inf @ A @ S ) )
              = ( ! [X4: A] :
                    ( ( member @ A @ X4 @ S )
                   => ( ord_less_eq @ A @ A3 @ X4 ) ) ) ) ) ) ) ).

% le_cInf_iff
thf(fact_7758_cInf__less__iff,axiom,
    ! [A: $tType] :
      ( ( condit6923001295902523014norder @ A )
     => ! [X7: set @ A,Y: A] :
          ( ( X7
           != ( bot_bot @ ( set @ A ) ) )
         => ( ( condit1013018076250108175_below @ A @ X7 )
           => ( ( ord_less @ A @ ( complete_Inf_Inf @ A @ X7 ) @ Y )
              = ( ? [X4: A] :
                    ( ( member @ A @ X4 @ X7 )
                    & ( ord_less @ A @ X4 @ Y ) ) ) ) ) ) ) ).

% cInf_less_iff
thf(fact_7759_less__cINF__D,axiom,
    ! [A: $tType,B: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [F3: B > A,A6: set @ B,Y: A,I2: B] :
          ( ( condit1013018076250108175_below @ A @ ( image2 @ B @ A @ F3 @ A6 ) )
         => ( ( ord_less @ A @ Y @ ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) )
           => ( ( member @ B @ I2 @ A6 )
             => ( ord_less @ A @ Y @ ( F3 @ I2 ) ) ) ) ) ) ).

% less_cINF_D
thf(fact_7760_bdd__below__image__antimono,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ( order @ A )
        & ( order @ B ) )
     => ! [F3: A > B,A6: set @ A] :
          ( ( order_antimono @ A @ B @ F3 )
         => ( ( condit941137186595557371_above @ A @ A6 )
           => ( condit1013018076250108175_below @ B @ ( image2 @ A @ B @ F3 @ A6 ) ) ) ) ) ).

% bdd_below_image_antimono
thf(fact_7761_bdd__above__image__antimono,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ( order @ A )
        & ( order @ B ) )
     => ! [F3: A > B,A6: set @ A] :
          ( ( order_antimono @ A @ B @ F3 )
         => ( ( condit1013018076250108175_below @ A @ A6 )
           => ( condit941137186595557371_above @ B @ ( image2 @ A @ B @ F3 @ A6 ) ) ) ) ) ).

% bdd_above_image_antimono
thf(fact_7762_le__cINF__iff,axiom,
    ! [A: $tType,B: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [A6: set @ B,F3: B > A,U: A] :
          ( ( A6
           != ( bot_bot @ ( set @ B ) ) )
         => ( ( condit1013018076250108175_below @ A @ ( image2 @ B @ A @ F3 @ A6 ) )
           => ( ( ord_less_eq @ A @ U @ ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) )
              = ( ! [X4: B] :
                    ( ( member @ B @ X4 @ A6 )
                   => ( ord_less_eq @ A @ U @ ( F3 @ X4 ) ) ) ) ) ) ) ) ).

% le_cINF_iff
thf(fact_7763_cINF__mono,axiom,
    ! [C: $tType,A: $tType,B: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [B6: set @ B,F3: C > A,A6: set @ C,G3: B > A] :
          ( ( B6
           != ( bot_bot @ ( set @ B ) ) )
         => ( ( condit1013018076250108175_below @ A @ ( image2 @ C @ A @ F3 @ A6 ) )
           => ( ! [M5: B] :
                  ( ( member @ B @ M5 @ B6 )
                 => ? [X6: C] :
                      ( ( member @ C @ X6 @ A6 )
                      & ( ord_less_eq @ A @ ( F3 @ X6 ) @ ( G3 @ M5 ) ) ) )
             => ( ord_less_eq @ A @ ( complete_Inf_Inf @ A @ ( image2 @ C @ A @ F3 @ A6 ) ) @ ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ G3 @ B6 ) ) ) ) ) ) ) ).

% cINF_mono
thf(fact_7764_cInf__superset__mono,axiom,
    ! [A: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [A6: set @ A,B6: set @ A] :
          ( ( A6
           != ( bot_bot @ ( set @ A ) ) )
         => ( ( condit1013018076250108175_below @ A @ B6 )
           => ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
             => ( ord_less_eq @ A @ ( complete_Inf_Inf @ A @ B6 ) @ ( complete_Inf_Inf @ A @ A6 ) ) ) ) ) ) ).

% cInf_superset_mono
thf(fact_7765_cInf__insert,axiom,
    ! [A: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [X7: set @ A,A3: A] :
          ( ( X7
           != ( bot_bot @ ( set @ A ) ) )
         => ( ( condit1013018076250108175_below @ A @ X7 )
           => ( ( complete_Inf_Inf @ A @ ( insert @ A @ A3 @ X7 ) )
              = ( inf_inf @ A @ A3 @ ( complete_Inf_Inf @ A @ X7 ) ) ) ) ) ) ).

% cInf_insert
thf(fact_7766_cInf__insert__If,axiom,
    ! [A: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [X7: set @ A,A3: A] :
          ( ( condit1013018076250108175_below @ A @ X7 )
         => ( ( ( X7
                = ( bot_bot @ ( set @ A ) ) )
             => ( ( complete_Inf_Inf @ A @ ( insert @ A @ A3 @ X7 ) )
                = A3 ) )
            & ( ( X7
               != ( bot_bot @ ( set @ A ) ) )
             => ( ( complete_Inf_Inf @ A @ ( insert @ A @ A3 @ X7 ) )
                = ( inf_inf @ A @ A3 @ ( complete_Inf_Inf @ A @ X7 ) ) ) ) ) ) ) ).

% cInf_insert_If
thf(fact_7767_cInf__union__distrib,axiom,
    ! [A: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [A6: set @ A,B6: set @ A] :
          ( ( A6
           != ( bot_bot @ ( set @ A ) ) )
         => ( ( condit1013018076250108175_below @ A @ A6 )
           => ( ( B6
               != ( bot_bot @ ( set @ A ) ) )
             => ( ( condit1013018076250108175_below @ A @ B6 )
               => ( ( complete_Inf_Inf @ A @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) )
                  = ( inf_inf @ A @ ( complete_Inf_Inf @ A @ A6 ) @ ( complete_Inf_Inf @ A @ B6 ) ) ) ) ) ) ) ) ).

% cInf_union_distrib
thf(fact_7768_cINF__less__iff,axiom,
    ! [A: $tType,B: $tType] :
      ( ( condit6923001295902523014norder @ A )
     => ! [A6: set @ B,F3: B > A,A3: A] :
          ( ( A6
           != ( bot_bot @ ( set @ B ) ) )
         => ( ( condit1013018076250108175_below @ A @ ( image2 @ B @ A @ F3 @ A6 ) )
           => ( ( ord_less @ A @ ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) @ A3 )
              = ( ? [X4: B] :
                    ( ( member @ B @ X4 @ A6 )
                    & ( ord_less @ A @ ( F3 @ X4 ) @ A3 ) ) ) ) ) ) ) ).

% cINF_less_iff
thf(fact_7769_cINF__inf__distrib,axiom,
    ! [A: $tType,B: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [A6: set @ B,F3: B > A,G3: B > A] :
          ( ( A6
           != ( bot_bot @ ( set @ B ) ) )
         => ( ( condit1013018076250108175_below @ A @ ( image2 @ B @ A @ F3 @ A6 ) )
           => ( ( condit1013018076250108175_below @ A @ ( image2 @ B @ A @ G3 @ A6 ) )
             => ( ( inf_inf @ A @ ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) @ ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ G3 @ A6 ) ) )
                = ( complete_Inf_Inf @ A
                  @ ( image2 @ B @ A
                    @ ^ [A7: B] : ( inf_inf @ A @ ( F3 @ A7 ) @ ( G3 @ A7 ) )
                    @ A6 ) ) ) ) ) ) ) ).

% cINF_inf_distrib
thf(fact_7770_cSUP__eq__cINF__D,axiom,
    ! [B: $tType,C: $tType] :
      ( ( condit1219197933456340205attice @ B )
     => ! [F3: C > B,A6: set @ C,A3: C] :
          ( ( ( complete_Sup_Sup @ B @ ( image2 @ C @ B @ F3 @ A6 ) )
            = ( complete_Inf_Inf @ B @ ( image2 @ C @ B @ F3 @ A6 ) ) )
         => ( ( condit941137186595557371_above @ B @ ( image2 @ C @ B @ F3 @ A6 ) )
           => ( ( condit1013018076250108175_below @ B @ ( image2 @ C @ B @ F3 @ A6 ) )
             => ( ( member @ C @ A3 @ A6 )
               => ( ( F3 @ A3 )
                  = ( complete_Inf_Inf @ B @ ( image2 @ C @ B @ F3 @ A6 ) ) ) ) ) ) ) ) ).

% cSUP_eq_cINF_D
thf(fact_7771_cINF__superset__mono,axiom,
    ! [A: $tType,B: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [A6: set @ B,G3: B > A,B6: set @ B,F3: B > A] :
          ( ( A6
           != ( bot_bot @ ( set @ B ) ) )
         => ( ( condit1013018076250108175_below @ A @ ( image2 @ B @ A @ G3 @ B6 ) )
           => ( ( ord_less_eq @ ( set @ B ) @ A6 @ B6 )
             => ( ! [X3: B] :
                    ( ( member @ B @ X3 @ B6 )
                   => ( ord_less_eq @ A @ ( G3 @ X3 ) @ ( F3 @ X3 ) ) )
               => ( ord_less_eq @ A @ ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ G3 @ B6 ) ) @ ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) ) ) ) ) ) ) ).

% cINF_superset_mono
thf(fact_7772_less__eq__cInf__inter,axiom,
    ! [A: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [A6: set @ A,B6: set @ A] :
          ( ( condit1013018076250108175_below @ A @ A6 )
         => ( ( condit1013018076250108175_below @ A @ B6 )
           => ( ( ( inf_inf @ ( set @ A ) @ A6 @ B6 )
               != ( bot_bot @ ( set @ A ) ) )
             => ( ord_less_eq @ A @ ( inf_inf @ A @ ( complete_Inf_Inf @ A @ A6 ) @ ( complete_Inf_Inf @ A @ B6 ) ) @ ( complete_Inf_Inf @ A @ ( inf_inf @ ( set @ A ) @ A6 @ B6 ) ) ) ) ) ) ) ).

% less_eq_cInf_inter
thf(fact_7773_cINF__insert,axiom,
    ! [A: $tType,B: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [A6: set @ B,F3: B > A,A3: B] :
          ( ( A6
           != ( bot_bot @ ( set @ B ) ) )
         => ( ( condit1013018076250108175_below @ A @ ( image2 @ B @ A @ F3 @ A6 ) )
           => ( ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ F3 @ ( insert @ B @ A3 @ A6 ) ) )
              = ( inf_inf @ A @ ( F3 @ A3 ) @ ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) ) ) ) ) ) ).

% cINF_insert
thf(fact_7774_cINF__union,axiom,
    ! [A: $tType,B: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [A6: set @ B,F3: B > A,B6: set @ B] :
          ( ( A6
           != ( bot_bot @ ( set @ B ) ) )
         => ( ( condit1013018076250108175_below @ A @ ( image2 @ B @ A @ F3 @ A6 ) )
           => ( ( B6
               != ( bot_bot @ ( set @ B ) ) )
             => ( ( condit1013018076250108175_below @ A @ ( image2 @ B @ A @ F3 @ B6 ) )
               => ( ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ F3 @ ( sup_sup @ ( set @ B ) @ A6 @ B6 ) ) )
                  = ( inf_inf @ A @ ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ F3 @ A6 ) ) @ ( complete_Inf_Inf @ A @ ( image2 @ B @ A @ F3 @ B6 ) ) ) ) ) ) ) ) ) ).

% cINF_union
thf(fact_7775_cInf__le__cSup,axiom,
    ! [A: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [A6: set @ A] :
          ( ( A6
           != ( bot_bot @ ( set @ A ) ) )
         => ( ( condit941137186595557371_above @ A @ A6 )
           => ( ( condit1013018076250108175_below @ A @ A6 )
             => ( ord_less_eq @ A @ ( complete_Inf_Inf @ A @ A6 ) @ ( complete_Sup_Sup @ A @ A6 ) ) ) ) ) ) ).

% cInf_le_cSup
thf(fact_7776_cInf__cSup,axiom,
    ! [A: $tType] :
      ( ( condit1219197933456340205attice @ A )
     => ! [S: set @ A] :
          ( ( S
           != ( bot_bot @ ( set @ A ) ) )
         => ( ( condit1013018076250108175_below @ A @ S )
           => ( ( complete_Inf_Inf @ A @ S )
              = ( complete_Sup_Sup @ A
                @ ( collect @ A
                  @ ^ [X4: A] :
                    ! [Y4: A] :
                      ( ( member @ A @ Y4 @ S )
                     => ( ord_less_eq @ A @ X4 @ Y4 ) ) ) ) ) ) ) ) ).

% cInf_cSup
thf(fact_7777_mono__cInf,axiom,
    ! [B: $tType,A: $tType] :
      ( ( ( condit1219197933456340205attice @ A )
        & ( condit1219197933456340205attice @ B ) )
     => ! [F3: A > B,A6: set @ A] :
          ( ( order_mono @ A @ B @ F3 )
         => ( ( condit1013018076250108175_below @ A @ A6 )
           => ( ( A6
               != ( bot_bot @ ( set @ A ) ) )
             => ( ord_less_eq @ B @ ( F3 @ ( complete_Inf_Inf @ A @ A6 ) ) @ ( complete_Inf_Inf @ B @ ( image2 @ A @ B @ F3 @ A6 ) ) ) ) ) ) ) ).

% mono_cInf
thf(fact_7778_mono__cINF,axiom,
    ! [B: $tType,A: $tType,C: $tType] :
      ( ( ( condit1219197933456340205attice @ A )
        & ( condit1219197933456340205attice @ B ) )
     => ! [F3: A > B,A6: C > A,I5: set @ C] :
          ( ( order_mono @ A @ B @ F3 )
         => ( ( condit1013018076250108175_below @ A @ ( image2 @ C @ A @ A6 @ I5 ) )
           => ( ( I5
               != ( bot_bot @ ( set @ C ) ) )
             => ( ord_less_eq @ B @ ( F3 @ ( complete_Inf_Inf @ A @ ( image2 @ C @ A @ A6 @ I5 ) ) )
                @ ( complete_Inf_Inf @ B
                  @ ( image2 @ C @ B
                    @ ^ [X4: C] : ( F3 @ ( A6 @ X4 ) )
                    @ I5 ) ) ) ) ) ) ) ).

% mono_cINF
thf(fact_7779_csum__dup,axiom,
    ! [A: $tType,C: $tType,B: $tType,R3: set @ ( product_prod @ A @ A ),P3: set @ ( product_prod @ B @ B ),P10: set @ ( product_prod @ C @ C )] :
      ( ( bNF_Ca4139267488887388095finite @ A @ R3 )
     => ( ( bNF_Ca8970107618336181345der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
       => ( ( member @ ( product_prod @ ( set @ ( product_prod @ ( sum_sum @ B @ C ) @ ( sum_sum @ B @ C ) ) ) @ ( set @ ( product_prod @ ( sum_sum @ A @ A ) @ ( sum_sum @ A @ A ) ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ ( sum_sum @ B @ C ) @ ( sum_sum @ B @ C ) ) ) @ ( set @ ( product_prod @ ( sum_sum @ A @ A ) @ ( sum_sum @ A @ A ) ) ) @ ( bNF_Cardinal_csum @ B @ C @ P3 @ P10 ) @ ( bNF_Cardinal_csum @ A @ A @ R3 @ R3 ) ) @ ( bNF_Wellorder_ordIso @ ( sum_sum @ B @ C ) @ ( sum_sum @ A @ A ) ) )
         => ( member @ ( product_prod @ ( set @ ( product_prod @ ( sum_sum @ B @ C ) @ ( sum_sum @ B @ C ) ) ) @ ( set @ ( product_prod @ A @ A ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ ( sum_sum @ B @ C ) @ ( sum_sum @ B @ C ) ) ) @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Cardinal_csum @ B @ C @ P3 @ P10 ) @ R3 ) @ ( bNF_Wellorder_ordIso @ ( sum_sum @ B @ C ) @ A ) ) ) ) ) ).

% csum_dup
thf(fact_7780_ord__to__filter__def,axiom,
    ! [A: $tType] :
      ( ( bNF_We8469521843155493636filter @ A )
      = ( ^ [R02: set @ ( product_prod @ A @ A ),R5: set @ ( product_prod @ A @ A )] : ( image2 @ A @ A @ ( fChoice @ ( A > A ) @ ( bNF_Wellorder_embed @ A @ A @ R5 @ R02 ) ) @ ( field2 @ A @ R5 ) ) ) ) ).

% ord_to_filter_def
thf(fact_7781_some__sym__eq__trivial,axiom,
    ! [A: $tType,X: A] :
      ( ( fChoice @ A
        @ ( ^ [Y6: A,Z5: A] : Y6 = Z5
          @ X ) )
      = X ) ).

% some_sym_eq_trivial
thf(fact_7782_some__eq__trivial,axiom,
    ! [A: $tType,X: A] :
      ( ( fChoice @ A
        @ ^ [Y4: A] : Y4 = X )
      = X ) ).

% some_eq_trivial
thf(fact_7783_some__equality,axiom,
    ! [A: $tType,P2: A > $o,A3: A] :
      ( ( P2 @ A3 )
     => ( ! [X3: A] :
            ( ( P2 @ X3 )
           => ( X3 = A3 ) )
       => ( ( fChoice @ A @ P2 )
          = A3 ) ) ) ).

% some_equality
thf(fact_7784_some__insert__self,axiom,
    ! [A: $tType,S: set @ A] :
      ( ( S
       != ( bot_bot @ ( set @ A ) ) )
     => ( ( insert @ A
          @ ( fChoice @ A
            @ ^ [X4: A] : ( member @ A @ X4 @ S ) )
          @ S )
        = S ) ) ).

% some_insert_self
thf(fact_7785_some__elem,axiom,
    ! [A: $tType,S: set @ A] :
      ( ( S
       != ( bot_bot @ ( set @ A ) ) )
     => ( member @ A
        @ ( fChoice @ A
          @ ^ [X4: A] : ( member @ A @ X4 @ S ) )
        @ S ) ) ).

% some_elem
thf(fact_7786_some__in__eq,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ( member @ A
        @ ( fChoice @ A
          @ ^ [X4: A] : ( member @ A @ X4 @ A6 ) )
        @ A6 )
      = ( A6
       != ( bot_bot @ ( set @ A ) ) ) ) ).

% some_in_eq
thf(fact_7787_some__theI,axiom,
    ! [A: $tType,B: $tType,P2: A > B > $o] :
      ( ? [A17: A,X_12: B] : ( P2 @ A17 @ X_12 )
     => ( ! [B17: B,B25: B] :
            ( ? [A5: A] : ( P2 @ A5 @ B17 )
           => ( ? [A5: A] : ( P2 @ A5 @ B25 )
             => ( B17 = B25 ) ) )
       => ( P2
          @ ( fChoice @ A
            @ ^ [A7: A] :
              ? [X11: B] : ( P2 @ A7 @ X11 ) )
          @ ( the @ B
            @ ^ [B5: B] :
              ? [A7: A] : ( P2 @ A7 @ B5 ) ) ) ) ) ).

% some_theI
thf(fact_7788_univ__def,axiom,
    ! [A: $tType,B: $tType] :
      ( ( bNF_Greatest_univ @ B @ A )
      = ( ^ [F4: B > A,X11: set @ B] :
            ( F4
            @ ( fChoice @ B
              @ ^ [X4: B] : ( member @ B @ X4 @ X11 ) ) ) ) ) ).

% univ_def
thf(fact_7789_inv__on__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( inv_on @ A @ B )
      = ( ^ [F4: A > B,A8: set @ A,X4: B] :
            ( fChoice @ A
            @ ^ [Y4: A] :
                ( ( member @ A @ Y4 @ A8 )
                & ( ( F4 @ Y4 )
                  = X4 ) ) ) ) ) ).

% inv_on_def
thf(fact_7790_some1__equality,axiom,
    ! [A: $tType,P2: A > $o,A3: A] :
      ( ? [X6: A] :
          ( ( P2 @ X6 )
          & ! [Y3: A] :
              ( ( P2 @ Y3 )
             => ( Y3 = X6 ) ) )
     => ( ( P2 @ A3 )
       => ( ( fChoice @ A @ P2 )
          = A3 ) ) ) ).

% some1_equality
thf(fact_7791_some__eq__ex,axiom,
    ! [A: $tType,P2: A > $o] :
      ( ( P2 @ ( fChoice @ A @ P2 ) )
      = ( ? [X11: A] : ( P2 @ X11 ) ) ) ).

% some_eq_ex
thf(fact_7792_someI2__bex,axiom,
    ! [A: $tType,A6: set @ A,P2: A > $o,Q2: A > $o] :
      ( ? [X6: A] :
          ( ( member @ A @ X6 @ A6 )
          & ( P2 @ X6 ) )
     => ( ! [X3: A] :
            ( ( ( member @ A @ X3 @ A6 )
              & ( P2 @ X3 ) )
           => ( Q2 @ X3 ) )
       => ( Q2
          @ ( fChoice @ A
            @ ^ [X4: A] :
                ( ( member @ A @ X4 @ A6 )
                & ( P2 @ X4 ) ) ) ) ) ) ).

% someI2_bex
thf(fact_7793_someI2__ex,axiom,
    ! [A: $tType,P2: A > $o,Q2: A > $o] :
      ( ? [X_12: A] : ( P2 @ X_12 )
     => ( ! [X3: A] :
            ( ( P2 @ X3 )
           => ( Q2 @ X3 ) )
       => ( Q2 @ ( fChoice @ A @ P2 ) ) ) ) ).

% someI2_ex
thf(fact_7794_someI__ex,axiom,
    ! [A: $tType,P2: A > $o] :
      ( ? [X_12: A] : ( P2 @ X_12 )
     => ( P2 @ ( fChoice @ A @ P2 ) ) ) ).

% someI_ex
thf(fact_7795_someI2,axiom,
    ! [A: $tType,P2: A > $o,A3: A,Q2: A > $o] :
      ( ( P2 @ A3 )
     => ( ! [X3: A] :
            ( ( P2 @ X3 )
           => ( Q2 @ X3 ) )
       => ( Q2 @ ( fChoice @ A @ P2 ) ) ) ) ).

% someI2
thf(fact_7796_verit__sko__forall__indirect2,axiom,
    ! [A: $tType,X: A,P2: A > $o,P6: A > $o] :
      ( ( X
        = ( fChoice @ A
          @ ^ [X4: A] :
              ~ ( P2 @ X4 ) ) )
     => ( ! [X3: A] :
            ( ( P2 @ X3 )
            = ( P6 @ X3 ) )
       => ( ( ! [X11: A] : ( P6 @ X11 ) )
          = ( P2 @ X ) ) ) ) ).

% verit_sko_forall_indirect2
thf(fact_7797_verit__sko__forall__indirect,axiom,
    ! [A: $tType,X: A,P2: A > $o] :
      ( ( X
        = ( fChoice @ A
          @ ^ [X4: A] :
              ~ ( P2 @ X4 ) ) )
     => ( ( ! [X11: A] : ( P2 @ X11 ) )
        = ( P2 @ X ) ) ) ).

% verit_sko_forall_indirect
thf(fact_7798_verit__sko__ex__indirect2,axiom,
    ! [A: $tType,X: A,P2: A > $o,P6: A > $o] :
      ( ( X
        = ( fChoice @ A @ P2 ) )
     => ( ! [X3: A] :
            ( ( P2 @ X3 )
            = ( P6 @ X3 ) )
       => ( ( ? [X11: A] : ( P6 @ X11 ) )
          = ( P2 @ X ) ) ) ) ).

% verit_sko_ex_indirect2
thf(fact_7799_verit__sko__ex__indirect,axiom,
    ! [A: $tType,X: A,P2: A > $o] :
      ( ( X
        = ( fChoice @ A @ P2 ) )
     => ( ( ? [X11: A] : ( P2 @ X11 ) )
        = ( P2 @ X ) ) ) ).

% verit_sko_ex_indirect
thf(fact_7800_verit__sko__forall_H_H,axiom,
    ! [A: $tType,B6: A,A6: A,P2: A > $o] :
      ( ( B6 = A6 )
     => ( ( ( fChoice @ A @ P2 )
          = A6 )
        = ( ( fChoice @ A @ P2 )
          = B6 ) ) ) ).

% verit_sko_forall''
thf(fact_7801_verit__sko__forall_H,axiom,
    ! [A: $tType,P2: A > $o,A6: $o] :
      ( ( ( P2
          @ ( fChoice @ A
            @ ^ [X4: A] :
                ~ ( P2 @ X4 ) ) )
        = A6 )
     => ( ( ! [X11: A] : ( P2 @ X11 ) )
        = A6 ) ) ).

% verit_sko_forall'
thf(fact_7802_verit__sko__forall,axiom,
    ! [A: $tType] :
      ( ( ^ [P4: A > $o] :
          ! [X5: A] : ( P4 @ X5 ) )
      = ( ^ [P5: A > $o] :
            ( P5
            @ ( fChoice @ A
              @ ^ [X4: A] :
                  ~ ( P5 @ X4 ) ) ) ) ) ).

% verit_sko_forall
thf(fact_7803_verit__sko__ex_H,axiom,
    ! [A: $tType,P2: A > $o,A6: $o] :
      ( ( ( P2 @ ( fChoice @ A @ P2 ) )
        = A6 )
     => ( ( ? [X11: A] : ( P2 @ X11 ) )
        = A6 ) ) ).

% verit_sko_ex'
thf(fact_7804_equiv__Eps__preserves,axiom,
    ! [A: $tType,A6: set @ A,R3: set @ ( product_prod @ A @ A ),X7: set @ A] :
      ( ( equiv_equiv @ A @ A6 @ R3 )
     => ( ( member @ ( set @ A ) @ X7 @ ( equiv_quotient @ A @ A6 @ R3 ) )
       => ( member @ A
          @ ( fChoice @ A
            @ ^ [X4: A] : ( member @ A @ X4 @ X7 ) )
          @ A6 ) ) ) ).

% equiv_Eps_preserves
thf(fact_7805_equiv__Eps__in,axiom,
    ! [A: $tType,A6: set @ A,R3: set @ ( product_prod @ A @ A ),X7: set @ A] :
      ( ( equiv_equiv @ A @ A6 @ R3 )
     => ( ( member @ ( set @ A ) @ X7 @ ( equiv_quotient @ A @ A6 @ R3 ) )
       => ( member @ A
          @ ( fChoice @ A
            @ ^ [X4: A] : ( member @ A @ X4 @ X7 ) )
          @ X7 ) ) ) ).

% equiv_Eps_in
thf(fact_7806_toCard__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( bNF_Greatest_toCard @ A @ B )
      = ( ^ [A8: set @ A,R5: set @ ( product_prod @ B @ B )] : ( fChoice @ ( A > B ) @ ( bNF_Gr1419584066657907630d_pred @ A @ B @ A8 @ R5 ) ) ) ) ).

% toCard_def
thf(fact_7807_proj__Eps,axiom,
    ! [A: $tType,A6: set @ A,R3: set @ ( product_prod @ A @ A ),X7: set @ A] :
      ( ( equiv_equiv @ A @ A6 @ R3 )
     => ( ( member @ ( set @ A ) @ X7 @ ( equiv_quotient @ A @ A6 @ R3 ) )
       => ( ( equiv_proj @ A @ A @ R3
            @ ( fChoice @ A
              @ ^ [X4: A] : ( member @ A @ X4 @ X7 ) ) )
          = X7 ) ) ) ).

% proj_Eps
thf(fact_7808_fromCard__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( bNF_Gr5436034075474128252omCard @ A @ B )
      = ( ^ [A8: set @ A,R5: set @ ( product_prod @ B @ B ),K3: B] :
            ( fChoice @ A
            @ ^ [B5: A] :
                ( ( member @ A @ B5 @ A8 )
                & ( ( bNF_Greatest_toCard @ A @ B @ A8 @ R5 @ B5 )
                  = K3 ) ) ) ) ) ).

% fromCard_def
thf(fact_7809_Un__csum,axiom,
    ! [A: $tType,A6: set @ A,B6: set @ A] : ( member @ ( product_prod @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ ( sum_sum @ A @ A ) @ ( sum_sum @ A @ A ) ) ) ) @ ( product_Pair @ ( set @ ( product_prod @ A @ A ) ) @ ( set @ ( product_prod @ ( sum_sum @ A @ A ) @ ( sum_sum @ A @ A ) ) ) @ ( bNF_Ca6860139660246222851ard_of @ A @ ( sup_sup @ ( set @ A ) @ A6 @ B6 ) ) @ ( bNF_Cardinal_csum @ A @ A @ ( bNF_Ca6860139660246222851ard_of @ A @ A6 ) @ ( bNF_Ca6860139660246222851ard_of @ A @ B6 ) ) ) @ ( bNF_Wellorder_ordLeq @ A @ ( sum_sum @ A @ A ) ) ) ).

% Un_csum
thf(fact_7810_Eps__Opt__def,axiom,
    ! [A: $tType] :
      ( ( eps_Opt @ A )
      = ( ^ [P5: A > $o] :
            ( if @ ( option @ A )
            @ ? [X11: A] : ( P5 @ X11 )
            @ ( some @ A @ ( fChoice @ A @ P5 ) )
            @ ( none @ A ) ) ) ) ).

% Eps_Opt_def
thf(fact_7811_arg__min__SOME__Min,axiom,
    ! [B: $tType,A: $tType] :
      ( ( linorder @ B )
     => ! [S: set @ A,F3: A > B] :
          ( ( finite_finite2 @ A @ S )
         => ( ( lattic7623131987881927897min_on @ A @ B @ F3 @ S )
            = ( fChoice @ A
              @ ^ [Y4: A] :
                  ( ( member @ A @ Y4 @ S )
                  & ( ( F3 @ Y4 )
                    = ( lattic643756798350308766er_Min @ B @ ( image2 @ A @ B @ F3 @ S ) ) ) ) ) ) ) ) ).

% arg_min_SOME_Min
thf(fact_7812_fun__of__rel__def,axiom,
    ! [A: $tType,B: $tType] :
      ( ( fun_of_rel @ B @ A )
      = ( ^ [R2: set @ ( product_prod @ B @ A ),X4: B] :
            ( fChoice @ A
            @ ^ [Y4: A] : ( member @ ( product_prod @ B @ A ) @ ( product_Pair @ B @ A @ X4 @ Y4 ) @ R2 ) ) ) ) ).

% fun_of_rel_def
thf(fact_7813_arg__max__def,axiom,
    ! [A: $tType,B: $tType] :
      ( ( ord @ A )
     => ( ( lattices_ord_arg_max @ B @ A )
        = ( ^ [F4: B > A,P5: B > $o] : ( fChoice @ B @ ( lattic501386751176901750rg_max @ B @ A @ F4 @ P5 ) ) ) ) ) ).

% arg_max_def
thf(fact_7814_Eps__case__prod__eq,axiom,
    ! [A: $tType,B: $tType,X: A,Y: B] :
      ( ( fChoice @ ( product_prod @ A @ B )
        @ ( product_case_prod @ A @ B @ $o
          @ ^ [X8: A,Y9: B] :
              ( ( X = X8 )
              & ( Y = Y9 ) ) ) )
      = ( product_Pair @ A @ B @ X @ Y ) ) ).

% Eps_case_prod_eq
thf(fact_7815_card__of__def,axiom,
    ! [A: $tType] :
      ( ( bNF_Ca6860139660246222851ard_of @ A )
      = ( ^ [A8: set @ A] : ( fChoice @ ( set @ ( product_prod @ A @ A ) ) @ ( bNF_Ca8970107618336181345der_on @ A @ A8 ) ) ) ) ).

% card_of_def
thf(fact_7816_split__paired__Eps,axiom,
    ! [B: $tType,A: $tType] :
      ( ( fChoice @ ( product_prod @ A @ B ) )
      = ( ^ [P5: ( product_prod @ A @ B ) > $o] :
            ( fChoice @ ( product_prod @ A @ B )
            @ ( product_case_prod @ A @ B @ $o
              @ ^ [A7: A,B5: B] : ( P5 @ ( product_Pair @ A @ B @ A7 @ B5 ) ) ) ) ) ) ).

% split_paired_Eps
thf(fact_7817_cardSuc__def,axiom,
    ! [A: $tType] :
      ( ( bNF_Ca8387033319878233205ardSuc @ A )
      = ( ^ [R5: set @ ( product_prod @ A @ A )] : ( fChoice @ ( set @ ( product_prod @ ( set @ A ) @ ( set @ A ) ) ) @ ( bNF_Ca6246979054910435723ardSuc @ A @ R5 ) ) ) ) ).

% cardSuc_def
thf(fact_7818_Eps__case__prod,axiom,
    ! [B: $tType,A: $tType,P2: A > B > $o] :
      ( ( fChoice @ ( product_prod @ A @ B ) @ ( product_case_prod @ A @ B @ $o @ P2 ) )
      = ( fChoice @ ( product_prod @ A @ B )
        @ ^ [Xy2: product_prod @ A @ B] : ( P2 @ ( product_fst @ A @ B @ Xy2 ) @ ( product_snd @ A @ B @ Xy2 ) ) ) ) ).

% Eps_case_prod
thf(fact_7819_is__arg__max__linorder,axiom,
    ! [B: $tType,A: $tType] :
      ( ( linorder @ B )
     => ( ( lattic501386751176901750rg_max @ A @ B )
        = ( ^ [F4: A > B,P5: A > $o,X4: A] :
              ( ( P5 @ X4 )
              & ! [Y4: A] :
                  ( ( P5 @ Y4 )
                 => ( ord_less_eq @ B @ ( F4 @ Y4 ) @ ( F4 @ X4 ) ) ) ) ) ) ) ).

% is_arg_max_linorder
thf(fact_7820_is__arg__max__def,axiom,
    ! [A: $tType,B: $tType] :
      ( ( ord @ A )
     => ( ( lattic501386751176901750rg_max @ B @ A )
        = ( ^ [F4: B > A,P5: B > $o,X4: B] :
              ( ( P5 @ X4 )
              & ~ ? [Y4: B] :
                    ( ( P5 @ Y4 )
                    & ( ord_less @ A @ ( F4 @ X4 ) @ ( F4 @ Y4 ) ) ) ) ) ) ) ).

% is_arg_max_def
thf(fact_7821_arg__min__def,axiom,
    ! [A: $tType,B: $tType] :
      ( ( ord @ A )
     => ( ( lattices_ord_arg_min @ B @ A )
        = ( ^ [F4: B > A,P5: B > $o] : ( fChoice @ B @ ( lattic501386751177426532rg_min @ B @ A @ F4 @ P5 ) ) ) ) ) ).

% arg_min_def
thf(fact_7822_filterlim__INF__INF,axiom,
    ! [A: $tType,C: $tType,D: $tType,B: $tType,J4: set @ A,I5: set @ B,F3: D > C,F5: B > ( filter @ D ),G6: A > ( filter @ C )] :
      ( ! [M5: A] :
          ( ( member @ A @ M5 @ J4 )
         => ? [X6: B] :
              ( ( member @ B @ X6 @ I5 )
              & ( ord_less_eq @ ( filter @ C ) @ ( filtermap @ D @ C @ F3 @ ( F5 @ X6 ) ) @ ( G6 @ M5 ) ) ) )
     => ( filterlim @ D @ C @ F3 @ ( complete_Inf_Inf @ ( filter @ C ) @ ( image2 @ A @ ( filter @ C ) @ G6 @ J4 ) ) @ ( complete_Inf_Inf @ ( filter @ D ) @ ( image2 @ B @ ( filter @ D ) @ F5 @ I5 ) ) ) ) ).

% filterlim_INF_INF
thf(fact_7823_filtermap__id_H,axiom,
    ! [A: $tType] :
      ( ( filtermap @ A @ A
        @ ^ [X4: A] : X4 )
      = ( ^ [F10: filter @ A] : F10 ) ) ).

% filtermap_id'
thf(fact_7824_filtermap__inf,axiom,
    ! [A: $tType,B: $tType,F3: B > A,F15: filter @ B,F24: filter @ B] : ( ord_less_eq @ ( filter @ A ) @ ( filtermap @ B @ A @ F3 @ ( inf_inf @ ( filter @ B ) @ F15 @ F24 ) ) @ ( inf_inf @ ( filter @ A ) @ ( filtermap @ B @ A @ F3 @ F15 ) @ ( filtermap @ B @ A @ F3 @ F24 ) ) ) ).

% filtermap_inf
thf(fact_7825_filtermap__SUP,axiom,
    ! [A: $tType,B: $tType,C: $tType,F3: B > A,F5: C > ( filter @ B ),B6: set @ C] :
      ( ( filtermap @ B @ A @ F3 @ ( complete_Sup_Sup @ ( filter @ B ) @ ( image2 @ C @ ( filter @ B ) @ F5 @ B6 ) ) )
      = ( complete_Sup_Sup @ ( filter @ A )
        @ ( image2 @ C @ ( filter @ A )
          @ ^ [B5: C] : ( filtermap @ B @ A @ F3 @ ( F5 @ B5 ) )
          @ B6 ) ) ) ).

% filtermap_SUP
thf(fact_7826_filtermap__sup,axiom,
    ! [A: $tType,B: $tType,F3: B > A,F15: filter @ B,F24: filter @ B] :
      ( ( filtermap @ B @ A @ F3 @ ( sup_sup @ ( filter @ B ) @ F15 @ F24 ) )
      = ( sup_sup @ ( filter @ A ) @ ( filtermap @ B @ A @ F3 @ F15 ) @ ( filtermap @ B @ A @ F3 @ F24 ) ) ) ).

% filtermap_sup
thf(fact_7827_filtermap__filtermap,axiom,
    ! [A: $tType,B: $tType,C: $tType,F3: B > A,G3: C > B,F5: filter @ C] :
      ( ( filtermap @ B @ A @ F3 @ ( filtermap @ C @ B @ G3 @ F5 ) )
      = ( filtermap @ C @ A
        @ ^ [X4: C] : ( F3 @ ( G3 @ X4 ) )
        @ F5 ) ) ).

% filtermap_filtermap
thf(fact_7828_filtermap__ident,axiom,
    ! [A: $tType,F5: filter @ A] :
      ( ( filtermap @ A @ A
        @ ^ [X4: A] : X4
        @ F5 )
      = F5 ) ).

% filtermap_ident
thf(fact_7829_filterlim__filtermap,axiom,
    ! [B: $tType,A: $tType,C: $tType,F3: A > B,F15: filter @ B,G3: C > A,F24: filter @ C] :
      ( ( filterlim @ A @ B @ F3 @ F15 @ ( filtermap @ C @ A @ G3 @ F24 ) )
      = ( filterlim @ C @ B
        @ ^ [X4: C] : ( F3 @ ( G3 @ X4 ) )
        @ F15
        @ F24 ) ) ).

% filterlim_filtermap
thf(fact_7830_filterlim__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( filterlim @ A @ B )
      = ( ^ [F4: A > B,F26: filter @ B,F17: filter @ A] : ( ord_less_eq @ ( filter @ B ) @ ( filtermap @ A @ B @ F4 @ F17 ) @ F26 ) ) ) ).

% filterlim_def
thf(fact_7831_filtermap__mono,axiom,
    ! [B: $tType,A: $tType,F5: filter @ A,F7: filter @ A,F3: A > B] :
      ( ( ord_less_eq @ ( filter @ A ) @ F5 @ F7 )
     => ( ord_less_eq @ ( filter @ B ) @ ( filtermap @ A @ B @ F3 @ F5 ) @ ( filtermap @ A @ B @ F3 @ F7 ) ) ) ).

% filtermap_mono
thf(fact_7832_is__arg__min__linorder,axiom,
    ! [B: $tType,A: $tType] :
      ( ( linorder @ B )
     => ( ( lattic501386751177426532rg_min @ A @ B )
        = ( ^ [F4: A > B,P5: A > $o,X4: A] :
              ( ( P5 @ X4 )
              & ! [Y4: A] :
                  ( ( P5 @ Y4 )
                 => ( ord_less_eq @ B @ ( F4 @ X4 ) @ ( F4 @ Y4 ) ) ) ) ) ) ) ).

% is_arg_min_linorder
thf(fact_7833_is__arg__min__antimono,axiom,
    ! [B: $tType,A: $tType] :
      ( ( order @ B )
     => ! [F3: A > B,P2: A > $o,X: A,Y: A] :
          ( ( lattic501386751177426532rg_min @ A @ B @ F3 @ P2 @ X )
         => ( ( ord_less_eq @ B @ ( F3 @ Y ) @ ( F3 @ X ) )
           => ( ( P2 @ Y )
             => ( lattic501386751177426532rg_min @ A @ B @ F3 @ P2 @ Y ) ) ) ) ) ).

% is_arg_min_antimono
thf(fact_7834_filtermap__fun__inverse,axiom,
    ! [B: $tType,A: $tType,G3: A > B,F5: filter @ B,G6: filter @ A,F3: B > A] :
      ( ( filterlim @ A @ B @ G3 @ F5 @ G6 )
     => ( ( filterlim @ B @ A @ F3 @ G6 @ F5 )
       => ( ( eventually @ A
            @ ^ [X4: A] :
                ( ( F3 @ ( G3 @ X4 ) )
                = X4 )
            @ G6 )
         => ( ( filtermap @ B @ A @ F3 @ F5 )
            = G6 ) ) ) ) ).

% filtermap_fun_inverse
thf(fact_7835_eventually__filtermap,axiom,
    ! [A: $tType,B: $tType,P2: A > $o,F3: B > A,F5: filter @ B] :
      ( ( eventually @ A @ P2 @ ( filtermap @ B @ A @ F3 @ F5 ) )
      = ( eventually @ B
        @ ^ [X4: B] : ( P2 @ ( F3 @ X4 ) )
        @ F5 ) ) ).

% eventually_filtermap
thf(fact_7836_filtermap__le__iff__le__filtercomap,axiom,
    ! [B: $tType,A: $tType,F3: B > A,F5: filter @ B,G6: filter @ A] :
      ( ( ord_less_eq @ ( filter @ A ) @ ( filtermap @ B @ A @ F3 @ F5 ) @ G6 )
      = ( ord_less_eq @ ( filter @ B ) @ F5 @ ( filtercomap @ B @ A @ F3 @ G6 ) ) ) ).

% filtermap_le_iff_le_filtercomap
thf(fact_7837_filtermap__filtercomap,axiom,
    ! [B: $tType,A: $tType,F3: B > A,F5: filter @ A] : ( ord_less_eq @ ( filter @ A ) @ ( filtermap @ B @ A @ F3 @ ( filtercomap @ B @ A @ F3 @ F5 ) ) @ F5 ) ).

% filtermap_filtercomap
thf(fact_7838_filtercomap__filtermap,axiom,
    ! [B: $tType,A: $tType,F5: filter @ A,F3: A > B] : ( ord_less_eq @ ( filter @ A ) @ F5 @ ( filtercomap @ A @ B @ F3 @ ( filtermap @ A @ B @ F3 @ F5 ) ) ) ).

% filtercomap_filtermap
thf(fact_7839_is__arg__min__def,axiom,
    ! [A: $tType,B: $tType] :
      ( ( ord @ A )
     => ( ( lattic501386751177426532rg_min @ B @ A )
        = ( ^ [F4: B > A,P5: B > $o,X4: B] :
              ( ( P5 @ X4 )
              & ~ ? [Y4: B] :
                    ( ( P5 @ Y4 )
                    & ( ord_less @ A @ ( F4 @ Y4 ) @ ( F4 @ X4 ) ) ) ) ) ) ) ).

% is_arg_min_def
thf(fact_7840_filtermap__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( filtermap @ A @ B )
      = ( ^ [F4: A > B,F10: filter @ A] :
            ( abs_filter @ B
            @ ^ [P5: B > $o] :
                ( eventually @ A
                @ ^ [X4: A] : ( P5 @ ( F4 @ X4 ) )
                @ F10 ) ) ) ) ).

% filtermap_def
thf(fact_7841_filtermap__mono__strong,axiom,
    ! [B: $tType,A: $tType,F3: A > B,F5: filter @ A,G6: filter @ A] :
      ( ( inj_on @ A @ B @ F3 @ ( top_top @ ( set @ A ) ) )
     => ( ( ord_less_eq @ ( filter @ B ) @ ( filtermap @ A @ B @ F3 @ F5 ) @ ( filtermap @ A @ B @ F3 @ G6 ) )
        = ( ord_less_eq @ ( filter @ A ) @ F5 @ G6 ) ) ) ).

% filtermap_mono_strong
thf(fact_7842_is__arg__min__arg__min__nat,axiom,
    ! [A: $tType,P2: A > $o,X: A,M: A > nat] :
      ( ( P2 @ X )
     => ( lattic501386751177426532rg_min @ A @ nat @ M @ P2 @ ( lattices_ord_arg_min @ A @ nat @ M @ P2 ) ) ) ).

% is_arg_min_arg_min_nat
thf(fact_7843_filtermap__INF,axiom,
    ! [A: $tType,B: $tType,C: $tType,F3: B > A,F5: C > ( filter @ B ),B6: set @ C] :
      ( ord_less_eq @ ( filter @ A ) @ ( filtermap @ B @ A @ F3 @ ( complete_Inf_Inf @ ( filter @ B ) @ ( image2 @ C @ ( filter @ B ) @ F5 @ B6 ) ) )
      @ ( complete_Inf_Inf @ ( filter @ A )
        @ ( image2 @ C @ ( filter @ A )
          @ ^ [B5: C] : ( filtermap @ B @ A @ F3 @ ( F5 @ B5 ) )
          @ B6 ) ) ) ).

% filtermap_INF
thf(fact_7844_ex__is__arg__min__if__finite,axiom,
    ! [B: $tType,A: $tType] :
      ( ( order @ B )
     => ! [S: set @ A,F3: A > B] :
          ( ( finite_finite2 @ A @ S )
         => ( ( S
             != ( bot_bot @ ( set @ A ) ) )
           => ? [X_1: A] :
                ( lattic501386751177426532rg_min @ A @ B @ F3
                @ ^ [X4: A] : ( member @ A @ X4 @ S )
                @ X_1 ) ) ) ) ).

% ex_is_arg_min_if_finite
thf(fact_7845_prod__filter__principal__singleton2,axiom,
    ! [B: $tType,A: $tType,F5: filter @ A,X: B] :
      ( ( prod_filter @ A @ B @ F5 @ ( principal @ B @ ( insert @ B @ X @ ( bot_bot @ ( set @ B ) ) ) ) )
      = ( filtermap @ A @ ( product_prod @ A @ B )
        @ ^ [A7: A] : ( product_Pair @ A @ B @ A7 @ X )
        @ F5 ) ) ).

% prod_filter_principal_singleton2
thf(fact_7846_char__of__take__bit__eq,axiom,
    ! [A: $tType] :
      ( ( bit_un5681908812861735899ations @ A )
     => ! [N: nat,M: A] :
          ( ( ord_less_eq @ nat @ ( numeral_numeral @ nat @ ( bit0 @ ( bit0 @ ( bit0 @ one ) ) ) ) @ N )
         => ( ( unique5772411509450598832har_of @ A @ ( bit_se2584673776208193580ke_bit @ A @ N @ M ) )
            = ( unique5772411509450598832har_of @ A @ M ) ) ) ) ).

% char_of_take_bit_eq
thf(fact_7847_filtermap__Pair,axiom,
    ! [A: $tType,B: $tType,C: $tType,F3: C > A,G3: C > B,F5: filter @ C] :
      ( ord_less_eq @ ( filter @ ( product_prod @ A @ B ) )
      @ ( filtermap @ C @ ( product_prod @ A @ B )
        @ ^ [X4: C] : ( product_Pair @ A @ B @ ( F3 @ X4 ) @ ( G3 @ X4 ) )
        @ F5 )
      @ ( prod_filter @ A @ B @ ( filtermap @ C @ A @ F3 @ F5 ) @ ( filtermap @ C @ B @ G3 @ F5 ) ) ) ).

% filtermap_Pair
thf(fact_7848_prod__filter__assoc,axiom,
    ! [A: $tType,B: $tType,C: $tType,F5: filter @ A,G6: filter @ B,H11: filter @ C] :
      ( ( prod_filter @ ( product_prod @ A @ B ) @ C @ ( prod_filter @ A @ B @ F5 @ G6 ) @ H11 )
      = ( filtermap @ ( product_prod @ A @ ( product_prod @ B @ C ) ) @ ( product_prod @ ( product_prod @ A @ B ) @ C )
        @ ( product_case_prod @ A @ ( product_prod @ B @ C ) @ ( product_prod @ ( product_prod @ A @ B ) @ C )
          @ ^ [X4: A] :
              ( product_case_prod @ B @ C @ ( product_prod @ ( product_prod @ A @ B ) @ C )
              @ ^ [Y4: B] : ( product_Pair @ ( product_prod @ A @ B ) @ C @ ( product_Pair @ A @ B @ X4 @ Y4 ) ) ) )
        @ ( prod_filter @ A @ ( product_prod @ B @ C ) @ F5 @ ( prod_filter @ B @ C @ G6 @ H11 ) ) ) ) ).

% prod_filter_assoc
thf(fact_7849_filtermap__snd__prod__filter,axiom,
    ! [B: $tType,A: $tType,A6: filter @ B,B6: filter @ A] : ( ord_less_eq @ ( filter @ A ) @ ( filtermap @ ( product_prod @ B @ A ) @ A @ ( product_snd @ B @ A ) @ ( prod_filter @ B @ A @ A6 @ B6 ) ) @ B6 ) ).

% filtermap_snd_prod_filter
thf(fact_7850_filtermap__fst__prod__filter,axiom,
    ! [B: $tType,A: $tType,A6: filter @ A,B6: filter @ B] : ( ord_less_eq @ ( filter @ A ) @ ( filtermap @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) @ ( prod_filter @ A @ B @ A6 @ B6 ) ) @ A6 ) ).

% filtermap_fst_prod_filter
thf(fact_7851_prod__filter__mono,axiom,
    ! [A: $tType,B: $tType,F5: filter @ A,F7: filter @ A,G6: filter @ B,G8: filter @ B] :
      ( ( ord_less_eq @ ( filter @ A ) @ F5 @ F7 )
     => ( ( ord_less_eq @ ( filter @ B ) @ G6 @ G8 )
       => ( ord_less_eq @ ( filter @ ( product_prod @ A @ B ) ) @ ( prod_filter @ A @ B @ F5 @ G6 ) @ ( prod_filter @ A @ B @ F7 @ G8 ) ) ) ) ).

% prod_filter_mono
thf(fact_7852_prod__filter__mono__iff,axiom,
    ! [A: $tType,B: $tType,A6: filter @ A,B6: filter @ B,C5: filter @ A,D5: filter @ B] :
      ( ( A6
       != ( bot_bot @ ( filter @ A ) ) )
     => ( ( B6
         != ( bot_bot @ ( filter @ B ) ) )
       => ( ( ord_less_eq @ ( filter @ ( product_prod @ A @ B ) ) @ ( prod_filter @ A @ B @ A6 @ B6 ) @ ( prod_filter @ A @ B @ C5 @ D5 ) )
          = ( ( ord_less_eq @ ( filter @ A ) @ A6 @ C5 )
            & ( ord_less_eq @ ( filter @ B ) @ B6 @ D5 ) ) ) ) ) ).

% prod_filter_mono_iff
thf(fact_7853_principal__prod__principal,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,B6: set @ B] :
      ( ( prod_filter @ A @ B @ ( principal @ A @ A6 ) @ ( principal @ B @ B6 ) )
      = ( principal @ ( product_prod @ A @ B )
        @ ( product_Sigma @ A @ B @ A6
          @ ^ [Uu2: A] : B6 ) ) ) ).

% principal_prod_principal
thf(fact_7854_filterlim__Pair,axiom,
    ! [C: $tType,B: $tType,A: $tType,F3: A > B,G6: filter @ B,F5: filter @ A,G3: A > C,H11: filter @ C] :
      ( ( filterlim @ A @ B @ F3 @ G6 @ F5 )
     => ( ( filterlim @ A @ C @ G3 @ H11 @ F5 )
       => ( filterlim @ A @ ( product_prod @ B @ C )
          @ ^ [X4: A] : ( product_Pair @ B @ C @ ( F3 @ X4 ) @ ( G3 @ X4 ) )
          @ ( prod_filter @ B @ C @ G6 @ H11 )
          @ F5 ) ) ) ).

% filterlim_Pair
thf(fact_7855_eventually__prod__same,axiom,
    ! [A: $tType,P2: ( product_prod @ A @ A ) > $o,F5: filter @ A] :
      ( ( eventually @ ( product_prod @ A @ A ) @ P2 @ ( prod_filter @ A @ A @ F5 @ F5 ) )
      = ( ? [Q3: A > $o] :
            ( ( eventually @ A @ Q3 @ F5 )
            & ! [X4: A,Y4: A] :
                ( ( Q3 @ X4 )
               => ( ( Q3 @ Y4 )
                 => ( P2 @ ( product_Pair @ A @ A @ X4 @ Y4 ) ) ) ) ) ) ) ).

% eventually_prod_same
thf(fact_7856_eventually__prod__filter,axiom,
    ! [B: $tType,A: $tType,P2: ( product_prod @ A @ B ) > $o,F5: filter @ A,G6: filter @ B] :
      ( ( eventually @ ( product_prod @ A @ B ) @ P2 @ ( prod_filter @ A @ B @ F5 @ G6 ) )
      = ( ? [Pf: A > $o,Pg: B > $o] :
            ( ( eventually @ A @ Pf @ F5 )
            & ( eventually @ B @ Pg @ G6 )
            & ! [X4: A,Y4: B] :
                ( ( Pf @ X4 )
               => ( ( Pg @ Y4 )
                 => ( P2 @ ( product_Pair @ A @ B @ X4 @ Y4 ) ) ) ) ) ) ) ).

% eventually_prod_filter
thf(fact_7857_prod__filter__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( prod_filter @ A @ B )
      = ( ^ [F10: filter @ A,G9: filter @ B] :
            ( complete_Inf_Inf @ ( filter @ ( product_prod @ A @ B ) )
            @ ( image2 @ ( product_prod @ ( A > $o ) @ ( B > $o ) ) @ ( filter @ ( product_prod @ A @ B ) )
              @ ( product_case_prod @ ( A > $o ) @ ( B > $o ) @ ( filter @ ( product_prod @ A @ B ) )
                @ ^ [P5: A > $o,Q3: B > $o] :
                    ( principal @ ( product_prod @ A @ B )
                    @ ( collect @ ( product_prod @ A @ B )
                      @ ( product_case_prod @ A @ B @ $o
                        @ ^ [X4: A,Y4: B] :
                            ( ( P5 @ X4 )
                            & ( Q3 @ Y4 ) ) ) ) ) )
              @ ( collect @ ( product_prod @ ( A > $o ) @ ( B > $o ) )
                @ ( product_case_prod @ ( A > $o ) @ ( B > $o ) @ $o
                  @ ^ [P5: A > $o,Q3: B > $o] :
                      ( ( eventually @ A @ P5 @ F10 )
                      & ( eventually @ B @ Q3 @ G9 ) ) ) ) ) ) ) ) ).

% prod_filter_def
thf(fact_7858_le__prod__filterI,axiom,
    ! [A: $tType,B: $tType,F5: filter @ ( product_prod @ A @ B ),A6: filter @ A,B6: filter @ B] :
      ( ( ord_less_eq @ ( filter @ A ) @ ( filtermap @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) @ F5 ) @ A6 )
     => ( ( ord_less_eq @ ( filter @ B ) @ ( filtermap @ ( product_prod @ A @ B ) @ B @ ( product_snd @ A @ B ) @ F5 ) @ B6 )
       => ( ord_less_eq @ ( filter @ ( product_prod @ A @ B ) ) @ F5 @ ( prod_filter @ A @ B @ A6 @ B6 ) ) ) ) ).

% le_prod_filterI
thf(fact_7859_eventually__prod__sequentially,axiom,
    ! [P2: ( product_prod @ nat @ nat ) > $o] :
      ( ( eventually @ ( product_prod @ nat @ nat ) @ P2 @ ( prod_filter @ nat @ nat @ ( at_top @ nat ) @ ( at_top @ nat ) ) )
      = ( ? [N8: nat] :
          ! [M3: nat] :
            ( ( ord_less_eq @ nat @ N8 @ M3 )
           => ! [N3: nat] :
                ( ( ord_less_eq @ nat @ N8 @ N3 )
               => ( P2 @ ( product_Pair @ nat @ nat @ N3 @ M3 ) ) ) ) ) ) ).

% eventually_prod_sequentially
thf(fact_7860_eventually__prodI,axiom,
    ! [A: $tType,B: $tType,P2: A > $o,F5: filter @ A,Q2: B > $o,G6: filter @ B] :
      ( ( eventually @ A @ P2 @ F5 )
     => ( ( eventually @ B @ Q2 @ G6 )
       => ( eventually @ ( product_prod @ A @ B )
          @ ^ [X4: product_prod @ A @ B] :
              ( ( P2 @ ( product_fst @ A @ B @ X4 ) )
              & ( Q2 @ ( product_snd @ A @ B @ X4 ) ) )
          @ ( prod_filter @ A @ B @ F5 @ G6 ) ) ) ) ).

% eventually_prodI
thf(fact_7861_eventually__prod2,axiom,
    ! [A: $tType,B: $tType,A6: filter @ A,P2: B > $o,B6: filter @ B] :
      ( ( A6
       != ( bot_bot @ ( filter @ A ) ) )
     => ( ( eventually @ ( product_prod @ A @ B )
          @ ( product_case_prod @ A @ B @ $o
            @ ^ [X4: A] : P2 )
          @ ( prod_filter @ A @ B @ A6 @ B6 ) )
        = ( eventually @ B @ P2 @ B6 ) ) ) ).

% eventually_prod2
thf(fact_7862_eventually__prod1,axiom,
    ! [A: $tType,B: $tType,B6: filter @ A,P2: B > $o,A6: filter @ B] :
      ( ( B6
       != ( bot_bot @ ( filter @ A ) ) )
     => ( ( eventually @ ( product_prod @ B @ A )
          @ ( product_case_prod @ B @ A @ $o
            @ ^ [X4: B,Y4: A] : ( P2 @ X4 ) )
          @ ( prod_filter @ B @ A @ A6 @ B6 ) )
        = ( eventually @ B @ P2 @ A6 ) ) ) ).

% eventually_prod1
thf(fact_7863_prod__filter__INF,axiom,
    ! [C: $tType,D: $tType,B: $tType,A: $tType,I5: set @ A,J4: set @ B,A6: A > ( filter @ C ),B6: B > ( filter @ D )] :
      ( ( I5
       != ( bot_bot @ ( set @ A ) ) )
     => ( ( J4
         != ( bot_bot @ ( set @ B ) ) )
       => ( ( prod_filter @ C @ D @ ( complete_Inf_Inf @ ( filter @ C ) @ ( image2 @ A @ ( filter @ C ) @ A6 @ I5 ) ) @ ( complete_Inf_Inf @ ( filter @ D ) @ ( image2 @ B @ ( filter @ D ) @ B6 @ J4 ) ) )
          = ( complete_Inf_Inf @ ( filter @ ( product_prod @ C @ D ) )
            @ ( image2 @ A @ ( filter @ ( product_prod @ C @ D ) )
              @ ^ [I: A] :
                  ( complete_Inf_Inf @ ( filter @ ( product_prod @ C @ D ) )
                  @ ( image2 @ B @ ( filter @ ( product_prod @ C @ D ) )
                    @ ^ [J: B] : ( prod_filter @ C @ D @ ( A6 @ I ) @ ( B6 @ J ) )
                    @ J4 ) )
              @ I5 ) ) ) ) ) ).

% prod_filter_INF
thf(fact_7864_prod__filter__INF1,axiom,
    ! [B: $tType,C: $tType,A: $tType,I5: set @ A,A6: A > ( filter @ B ),B6: filter @ C] :
      ( ( I5
       != ( bot_bot @ ( set @ A ) ) )
     => ( ( prod_filter @ B @ C @ ( complete_Inf_Inf @ ( filter @ B ) @ ( image2 @ A @ ( filter @ B ) @ A6 @ I5 ) ) @ B6 )
        = ( complete_Inf_Inf @ ( filter @ ( product_prod @ B @ C ) )
          @ ( image2 @ A @ ( filter @ ( product_prod @ B @ C ) )
            @ ^ [I: A] : ( prod_filter @ B @ C @ ( A6 @ I ) @ B6 )
            @ I5 ) ) ) ) ).

% prod_filter_INF1
thf(fact_7865_prod__filter__INF2,axiom,
    ! [B: $tType,C: $tType,A: $tType,J4: set @ A,A6: filter @ B,B6: A > ( filter @ C )] :
      ( ( J4
       != ( bot_bot @ ( set @ A ) ) )
     => ( ( prod_filter @ B @ C @ A6 @ ( complete_Inf_Inf @ ( filter @ C ) @ ( image2 @ A @ ( filter @ C ) @ B6 @ J4 ) ) )
        = ( complete_Inf_Inf @ ( filter @ ( product_prod @ B @ C ) )
          @ ( image2 @ A @ ( filter @ ( product_prod @ B @ C ) )
            @ ^ [I: A] : ( prod_filter @ B @ C @ A6 @ ( B6 @ I ) )
            @ J4 ) ) ) ) ).

% prod_filter_INF2
thf(fact_7866_prod__filter__principal__singleton,axiom,
    ! [A: $tType,B: $tType,X: A,F5: filter @ B] :
      ( ( prod_filter @ A @ B @ ( principal @ A @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) ) @ F5 )
      = ( filtermap @ B @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X ) @ F5 ) ) ).

% prod_filter_principal_singleton
thf(fact_7867_sym__trans__comp__subset,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] :
      ( ( sym @ A @ R3 )
     => ( ( trans @ A @ R3 )
       => ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ ( relcomp @ A @ A @ A @ ( converse @ A @ A @ R3 ) @ R3 ) @ R3 ) ) ) ).

% sym_trans_comp_subset
thf(fact_7868_snga__assn__raw_Opelims_I3_J,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [X: array @ A,Xa: list @ A,Xb: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
          ( ~ ( snga_assn_raw @ A @ X @ Xa @ Xb )
         => ( ( accp @ ( product_prod @ ( array @ A ) @ ( product_prod @ ( list @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) ) @ ( snga_assn_raw_rel @ A ) @ ( product_Pair @ ( array @ A ) @ ( product_prod @ ( list @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) @ X @ ( product_Pair @ ( list @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) @ Xa @ Xb ) ) )
           => ~ ! [H2: heap_ext @ product_unit,As2: set @ nat] :
                  ( ( Xb
                    = ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
                 => ( ( accp @ ( product_prod @ ( array @ A ) @ ( product_prod @ ( list @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) ) @ ( snga_assn_raw_rel @ A ) @ ( product_Pair @ ( array @ A ) @ ( product_prod @ ( list @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) @ X @ ( product_Pair @ ( list @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) @ Xa @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) ) ) )
                   => ( ( ( array_get @ A @ H2 @ X )
                        = Xa )
                      & ( As2
                        = ( insert @ nat @ ( addr_of_array @ A @ X ) @ ( bot_bot @ ( set @ nat ) ) ) )
                      & ( ord_less @ nat @ ( addr_of_array @ A @ X ) @ ( lim @ product_unit @ H2 ) ) ) ) ) ) ) ) ).

% snga_assn_raw.pelims(3)
thf(fact_7869_sym__def,axiom,
    ! [A: $tType] :
      ( ( sym @ A )
      = ( ^ [R5: set @ ( product_prod @ A @ A )] :
          ! [X4: A,Y4: A] :
            ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X4 @ Y4 ) @ R5 )
           => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y4 @ X4 ) @ R5 ) ) ) ) ).

% sym_def
thf(fact_7870_symI,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] :
      ( ! [A5: A,B4: A] :
          ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A5 @ B4 ) @ R3 )
         => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ B4 @ A5 ) @ R3 ) )
     => ( sym @ A @ R3 ) ) ).

% symI
thf(fact_7871_symE,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),B2: A,A3: A] :
      ( ( sym @ A @ R3 )
     => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ B2 @ A3 ) @ R3 )
       => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ R3 ) ) ) ).

% symE
thf(fact_7872_symD,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),B2: A,A3: A] :
      ( ( sym @ A @ R3 )
     => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ B2 @ A3 ) @ R3 )
       => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A3 @ B2 ) @ R3 ) ) ) ).

% symD
thf(fact_7873_sym__Un__converse,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] : ( sym @ A @ ( sup_sup @ ( set @ ( product_prod @ A @ A ) ) @ R3 @ ( converse @ A @ A @ R3 ) ) ) ).

% sym_Un_converse
thf(fact_7874_sym__Un,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),S2: set @ ( product_prod @ A @ A )] :
      ( ( sym @ A @ R3 )
     => ( ( sym @ A @ S2 )
       => ( sym @ A @ ( sup_sup @ ( set @ ( product_prod @ A @ A ) ) @ R3 @ S2 ) ) ) ) ).

% sym_Un
thf(fact_7875_relH__array,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [As: set @ nat,H: heap_ext @ product_unit,H5: heap_ext @ product_unit,R3: array @ A] :
          ( ( relH @ As @ H @ H5 )
         => ( ( member @ nat @ ( addr_of_array @ A @ R3 ) @ As )
           => ( ( array_get @ A @ H @ R3 )
              = ( array_get @ A @ H5 @ R3 ) ) ) ) ) ).

% relH_array
thf(fact_7876_Array__Time_Opresent__def,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ( ( array_present @ A )
        = ( ^ [H7: heap_ext @ product_unit,A7: array @ A] : ( ord_less @ nat @ ( addr_of_array @ A @ A7 ) @ ( lim @ product_unit @ H7 ) ) ) ) ) ).

% Array_Time.present_def
thf(fact_7877_snga__assn__raw_Osimps,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [R3: array @ A,X: list @ A,H: heap_ext @ product_unit,As: set @ nat] :
          ( ( snga_assn_raw @ A @ R3 @ X @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ As ) )
          = ( ( ( array_get @ A @ H @ R3 )
              = X )
            & ( As
              = ( insert @ nat @ ( addr_of_array @ A @ R3 ) @ ( bot_bot @ ( set @ nat ) ) ) )
            & ( ord_less @ nat @ ( addr_of_array @ A @ R3 ) @ ( lim @ product_unit @ H ) ) ) ) ) ).

% snga_assn_raw.simps
thf(fact_7878_snga__assn__raw_Oelims_I1_J,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [X: array @ A,Xa: list @ A,Xb: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ),Y: $o] :
          ( ( ( snga_assn_raw @ A @ X @ Xa @ Xb )
            = Y )
         => ~ ! [H2: heap_ext @ product_unit,As2: set @ nat] :
                ( ( Xb
                  = ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
               => ( Y
                  = ( ~ ( ( ( array_get @ A @ H2 @ X )
                          = Xa )
                        & ( As2
                          = ( insert @ nat @ ( addr_of_array @ A @ X ) @ ( bot_bot @ ( set @ nat ) ) ) )
                        & ( ord_less @ nat @ ( addr_of_array @ A @ X ) @ ( lim @ product_unit @ H2 ) ) ) ) ) ) ) ) ).

% snga_assn_raw.elims(1)
thf(fact_7879_snga__assn__raw_Oelims_I2_J,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [X: array @ A,Xa: list @ A,Xb: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
          ( ( snga_assn_raw @ A @ X @ Xa @ Xb )
         => ~ ! [H2: heap_ext @ product_unit,As2: set @ nat] :
                ( ( Xb
                  = ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
               => ~ ( ( ( array_get @ A @ H2 @ X )
                      = Xa )
                    & ( As2
                      = ( insert @ nat @ ( addr_of_array @ A @ X ) @ ( bot_bot @ ( set @ nat ) ) ) )
                    & ( ord_less @ nat @ ( addr_of_array @ A @ X ) @ ( lim @ product_unit @ H2 ) ) ) ) ) ) ).

% snga_assn_raw.elims(2)
thf(fact_7880_snga__assn__raw_Oelims_I3_J,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [X: array @ A,Xa: list @ A,Xb: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
          ( ~ ( snga_assn_raw @ A @ X @ Xa @ Xb )
         => ~ ! [H2: heap_ext @ product_unit,As2: set @ nat] :
                ( ( Xb
                  = ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
               => ( ( ( array_get @ A @ H2 @ X )
                    = Xa )
                  & ( As2
                    = ( insert @ nat @ ( addr_of_array @ A @ X ) @ ( bot_bot @ ( set @ nat ) ) ) )
                  & ( ord_less @ nat @ ( addr_of_array @ A @ X ) @ ( lim @ product_unit @ H2 ) ) ) ) ) ) ).

% snga_assn_raw.elims(3)
thf(fact_7881_snga__assn__def,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ( ( snga_assn @ A )
        = ( ^ [R5: array @ A,A7: list @ A] : ( abs_assn @ ( snga_assn_raw @ A @ R5 @ A7 ) ) ) ) ) ).

% snga_assn_def
thf(fact_7882_snga__assn__raw_Opelims_I1_J,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [X: array @ A,Xa: list @ A,Xb: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ),Y: $o] :
          ( ( ( snga_assn_raw @ A @ X @ Xa @ Xb )
            = Y )
         => ( ( accp @ ( product_prod @ ( array @ A ) @ ( product_prod @ ( list @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) ) @ ( snga_assn_raw_rel @ A ) @ ( product_Pair @ ( array @ A ) @ ( product_prod @ ( list @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) @ X @ ( product_Pair @ ( list @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) @ Xa @ Xb ) ) )
           => ~ ! [H2: heap_ext @ product_unit,As2: set @ nat] :
                  ( ( Xb
                    = ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
                 => ( ( Y
                      = ( ( ( array_get @ A @ H2 @ X )
                          = Xa )
                        & ( As2
                          = ( insert @ nat @ ( addr_of_array @ A @ X ) @ ( bot_bot @ ( set @ nat ) ) ) )
                        & ( ord_less @ nat @ ( addr_of_array @ A @ X ) @ ( lim @ product_unit @ H2 ) ) ) )
                   => ~ ( accp @ ( product_prod @ ( array @ A ) @ ( product_prod @ ( list @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) ) @ ( snga_assn_raw_rel @ A ) @ ( product_Pair @ ( array @ A ) @ ( product_prod @ ( list @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) @ X @ ( product_Pair @ ( list @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) @ Xa @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) ) ) ) ) ) ) ) ) ).

% snga_assn_raw.pelims(1)
thf(fact_7883_snga__assn__raw_Opelims_I2_J,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [X: array @ A,Xa: list @ A,Xb: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
          ( ( snga_assn_raw @ A @ X @ Xa @ Xb )
         => ( ( accp @ ( product_prod @ ( array @ A ) @ ( product_prod @ ( list @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) ) @ ( snga_assn_raw_rel @ A ) @ ( product_Pair @ ( array @ A ) @ ( product_prod @ ( list @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) @ X @ ( product_Pair @ ( list @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) @ Xa @ Xb ) ) )
           => ~ ! [H2: heap_ext @ product_unit,As2: set @ nat] :
                  ( ( Xb
                    = ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
                 => ( ( accp @ ( product_prod @ ( array @ A ) @ ( product_prod @ ( list @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) ) @ ( snga_assn_raw_rel @ A ) @ ( product_Pair @ ( array @ A ) @ ( product_prod @ ( list @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) ) @ X @ ( product_Pair @ ( list @ A ) @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) @ Xa @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) ) ) )
                   => ~ ( ( ( array_get @ A @ H2 @ X )
                          = Xa )
                        & ( As2
                          = ( insert @ nat @ ( addr_of_array @ A @ X ) @ ( bot_bot @ ( set @ nat ) ) ) )
                        & ( ord_less @ nat @ ( addr_of_array @ A @ X ) @ ( lim @ product_unit @ H2 ) ) ) ) ) ) ) ) ).

% snga_assn_raw.pelims(2)
thf(fact_7884_relH__set__array,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ! [R3: array @ A,As: set @ nat,H: heap_ext @ product_unit,X: list @ A] :
          ( ~ ( member @ nat @ ( addr_of_array @ A @ R3 ) @ As )
         => ( ( in_range @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ As ) )
           => ( relH @ As @ H @ ( array_set @ A @ R3 @ X @ H ) ) ) ) ) ).

% relH_set_array
thf(fact_7885_subset__singleton__iff__Uniq,axiom,
    ! [A: $tType,A6: set @ A] :
      ( ( ? [A7: A] : ( ord_less_eq @ ( set @ A ) @ A6 @ ( insert @ A @ A7 @ ( bot_bot @ ( set @ A ) ) ) ) )
      = ( uniq @ A
        @ ^ [X4: A] : ( member @ A @ X4 @ A6 ) ) ) ).

% subset_singleton_iff_Uniq
thf(fact_7886_left__unique__iff,axiom,
    ! [B: $tType,A: $tType] :
      ( ( left_unique @ A @ B )
      = ( ^ [R2: A > B > $o] :
          ! [Z2: B] :
            ( uniq @ A
            @ ^ [X4: A] : ( R2 @ X4 @ Z2 ) ) ) ) ).

% left_unique_iff
thf(fact_7887_the1__equality_H,axiom,
    ! [A: $tType,P2: A > $o,A3: A] :
      ( ( uniq @ A @ P2 )
     => ( ( P2 @ A3 )
       => ( ( the @ A @ P2 )
          = A3 ) ) ) ).

% the1_equality'
thf(fact_7888_alt__ex1E_H,axiom,
    ! [A: $tType,P2: A > $o] :
      ( ? [X6: A] :
          ( ( P2 @ X6 )
          & ! [Y3: A] :
              ( ( P2 @ Y3 )
             => ( Y3 = X6 ) ) )
     => ~ ( ? [X_1: A] : ( P2 @ X_1 )
         => ~ ( uniq @ A @ P2 ) ) ) ).

% alt_ex1E'
thf(fact_7889_ex1__iff__ex__Uniq,axiom,
    ! [A: $tType] :
      ( ( ex1 @ A )
      = ( ^ [P5: A > $o] :
            ( ? [X11: A] : ( P5 @ X11 )
            & ( uniq @ A @ P5 ) ) ) ) ).

% ex1_iff_ex_Uniq
thf(fact_7890_inj__on__iff__Uniq,axiom,
    ! [B: $tType,A: $tType] :
      ( ( inj_on @ A @ B )
      = ( ^ [F4: A > B,A8: set @ A] :
          ! [X4: A] :
            ( ( member @ A @ X4 @ A8 )
           => ( uniq @ A
              @ ^ [Y4: A] :
                  ( ( member @ A @ Y4 @ A8 )
                  & ( ( F4 @ X4 )
                    = ( F4 @ Y4 ) ) ) ) ) ) ) ).

% inj_on_iff_Uniq
thf(fact_7891_bi__unique__iff,axiom,
    ! [B: $tType,A: $tType] :
      ( ( bi_unique @ A @ B )
      = ( ^ [R2: A > B > $o] :
            ( ! [Z2: B] :
                ( uniq @ A
                @ ^ [X4: A] : ( R2 @ X4 @ Z2 ) )
            & ! [Z2: A] : ( uniq @ B @ ( R2 @ Z2 ) ) ) ) ) ).

% bi_unique_iff
thf(fact_7892_right__unique__iff,axiom,
    ! [B: $tType,A: $tType] :
      ( ( right_unique @ A @ B )
      = ( ^ [R2: A > B > $o] :
          ! [Z2: A] : ( uniq @ B @ ( R2 @ Z2 ) ) ) ) ).

% right_unique_iff
thf(fact_7893_pairwise__disjnt__iff,axiom,
    ! [A: $tType,A20: set @ ( set @ A )] :
      ( ( pairwise @ ( set @ A ) @ ( disjnt @ A ) @ A20 )
      = ( ! [X4: A] :
            ( uniq @ ( set @ A )
            @ ^ [X11: set @ A] :
                ( ( member @ ( set @ A ) @ X11 @ A20 )
                & ( member @ A @ X4 @ X11 ) ) ) ) ) ).

% pairwise_disjnt_iff
thf(fact_7894_strict__sorted__equal__Uniq,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ! [A6: set @ A] :
          ( uniq @ ( list @ A )
          @ ^ [Xs3: list @ A] :
              ( ( sorted_wrt @ A @ ( ord_less @ A ) @ Xs3 )
              & ( ( set2 @ A @ Xs3 )
                = A6 ) ) ) ) ).

% strict_sorted_equal_Uniq
thf(fact_7895_Array__Time_Oalloc__def,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ( ( array_alloc @ A )
        = ( ^ [Xs3: list @ A,H7: heap_ext @ product_unit] :
              ( product_Pair @ ( array @ A ) @ ( heap_ext @ product_unit ) @ ( array2 @ A @ ( lim @ product_unit @ H7 ) )
              @ ( array_set @ A @ ( array2 @ A @ ( lim @ product_unit @ H7 ) ) @ Xs3
                @ ( lim_update @ product_unit
                  @ ^ [Uu2: nat] : ( plus_plus @ nat @ ( lim @ product_unit @ H7 ) @ ( one_one @ nat ) )
                  @ H7 ) ) ) ) ) ) ).

% Array_Time.alloc_def
thf(fact_7896_prod__decode__triangle__add,axiom,
    ! [K2: nat,M: nat] :
      ( ( nat_prod_decode @ ( plus_plus @ nat @ ( nat_triangle @ K2 ) @ M ) )
      = ( nat_prod_decode_aux @ K2 @ M ) ) ).

% prod_decode_triangle_add
thf(fact_7897_Ref__Time_Oalloc__def,axiom,
    ! [A: $tType] :
      ( ( heap @ A )
     => ( ( ref_alloc @ A )
        = ( ^ [X4: A,H7: heap_ext @ product_unit] :
              ( product_Pair @ ( ref @ A ) @ ( heap_ext @ product_unit ) @ ( ref2 @ A @ ( lim @ product_unit @ H7 ) )
              @ ( ref_set @ A @ ( ref2 @ A @ ( lim @ product_unit @ H7 ) ) @ X4
                @ ( lim_update @ product_unit
                  @ ^ [Uu2: nat] : ( plus_plus @ nat @ ( lim @ product_unit @ H7 ) @ ( one_one @ nat ) )
                  @ H7 ) ) ) ) ) ) ).

% Ref_Time.alloc_def
thf(fact_7898_unfold__congs_I3_J,axiom,
    ! [Z15: $tType,R3: heap_ext @ Z15,R7: heap_ext @ Z15,V7: nat,F3: nat > nat,F6: nat > nat] :
      ( ( R3 = R7 )
     => ( ( ( lim @ Z15 @ R7 )
          = V7 )
       => ( ! [V5: nat] :
              ( ( V5 = V7 )
             => ( ( F3 @ V5 )
                = ( F6 @ V5 ) ) )
         => ( ( lim_update @ Z15 @ F3 @ R3 )
            = ( lim_update @ Z15 @ F6 @ R7 ) ) ) ) ) ).

% unfold_congs(3)
thf(fact_7899_fold__congs_I3_J,axiom,
    ! [Z15: $tType,R3: heap_ext @ Z15,R7: heap_ext @ Z15,V7: nat,F3: nat > nat,F6: nat > nat] :
      ( ( R3 = R7 )
     => ( ( ( lim @ Z15 @ R7 )
          = V7 )
       => ( ! [V5: nat] :
              ( ( V7 = V5 )
             => ( ( F3 @ V5 )
                = ( F6 @ V5 ) ) )
         => ( ( lim_update @ Z15 @ F3 @ R3 )
            = ( lim_update @ Z15 @ F6 @ R7 ) ) ) ) ) ).

% fold_congs(3)
thf(fact_7900_list__decode_Oelims,axiom,
    ! [X: nat,Y: list @ nat] :
      ( ( ( nat_list_decode @ X )
        = Y )
     => ( ( ( X
            = ( zero_zero @ nat ) )
         => ( Y
           != ( nil @ nat ) ) )
       => ~ ! [N4: nat] :
              ( ( X
                = ( suc @ N4 ) )
             => ( Y
               != ( product_case_prod @ nat @ nat @ ( list @ nat )
                  @ ^ [X4: nat,Y4: nat] : ( cons @ nat @ X4 @ ( nat_list_decode @ Y4 ) )
                  @ ( nat_prod_decode @ N4 ) ) ) ) ) ) ).

% list_decode.elims
thf(fact_7901_list__decode_Osimps_I2_J,axiom,
    ! [N: nat] :
      ( ( nat_list_decode @ ( suc @ N ) )
      = ( product_case_prod @ nat @ nat @ ( list @ nat )
        @ ^ [X4: nat,Y4: nat] : ( cons @ nat @ X4 @ ( nat_list_decode @ Y4 ) )
        @ ( nat_prod_decode @ N ) ) ) ).

% list_decode.simps(2)
thf(fact_7902_list__decode_Opelims,axiom,
    ! [X: nat,Y: list @ nat] :
      ( ( ( nat_list_decode @ X )
        = Y )
     => ( ( accp @ nat @ nat_list_decode_rel @ X )
       => ( ( ( X
              = ( zero_zero @ nat ) )
           => ( ( Y
                = ( nil @ nat ) )
             => ~ ( accp @ nat @ nat_list_decode_rel @ ( zero_zero @ nat ) ) ) )
         => ~ ! [N4: nat] :
                ( ( X
                  = ( suc @ N4 ) )
               => ( ( Y
                    = ( product_case_prod @ nat @ nat @ ( list @ nat )
                      @ ^ [X4: nat,Y4: nat] : ( cons @ nat @ X4 @ ( nat_list_decode @ Y4 ) )
                      @ ( nat_prod_decode @ N4 ) ) )
                 => ~ ( accp @ nat @ nat_list_decode_rel @ ( suc @ N4 ) ) ) ) ) ) ) ).

% list_decode.pelims
thf(fact_7903_list__decode_Opsimps_I2_J,axiom,
    ! [N: nat] :
      ( ( accp @ nat @ nat_list_decode_rel @ ( suc @ N ) )
     => ( ( nat_list_decode @ ( suc @ N ) )
        = ( product_case_prod @ nat @ nat @ ( list @ nat )
          @ ^ [X4: nat,Y4: nat] : ( cons @ nat @ X4 @ ( nat_list_decode @ Y4 ) )
          @ ( nat_prod_decode @ N ) ) ) ) ).

% list_decode.psimps(2)
thf(fact_7904_gen__length__def,axiom,
    ! [A: $tType] :
      ( ( gen_length @ A )
      = ( ^ [N3: nat,Xs3: list @ A] : ( plus_plus @ nat @ N3 @ ( size_size @ ( list @ A ) @ Xs3 ) ) ) ) ).

% gen_length_def
thf(fact_7905_CHAR__pos__iff,axiom,
    ! [A: $tType] :
      ( ( semiring_1 @ A )
     => ( ( ord_less @ nat @ ( zero_zero @ nat ) @ ( semiri4206861660011772517g_char @ A @ ( type2 @ A ) ) )
        = ( ? [N3: nat] :
              ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N3 )
              & ( ( semiring_1_of_nat @ A @ N3 )
                = ( zero_zero @ A ) ) ) ) ) ) ).

% CHAR_pos_iff
thf(fact_7906_CHAR__eq0__iff,axiom,
    ! [A: $tType] :
      ( ( semiring_1 @ A )
     => ( ( ( semiri4206861660011772517g_char @ A @ ( type2 @ A ) )
          = ( zero_zero @ nat ) )
        = ( ! [N3: nat] :
              ( ( ord_less @ nat @ ( zero_zero @ nat ) @ N3 )
             => ( ( semiring_1_of_nat @ A @ N3 )
               != ( zero_zero @ A ) ) ) ) ) ) ).

% CHAR_eq0_iff
thf(fact_7907_CHAR__eq__posI,axiom,
    ! [A: $tType] :
      ( ( semiring_1 @ A )
     => ! [C3: nat] :
          ( ( ord_less @ nat @ ( zero_zero @ nat ) @ C3 )
         => ( ( ( semiring_1_of_nat @ A @ C3 )
              = ( zero_zero @ A ) )
           => ( ! [X3: nat] :
                  ( ( ord_less @ nat @ ( zero_zero @ nat ) @ X3 )
                 => ( ( ord_less @ nat @ X3 @ C3 )
                   => ( ( semiring_1_of_nat @ A @ X3 )
                     != ( zero_zero @ A ) ) ) )
             => ( ( semiri4206861660011772517g_char @ A @ ( type2 @ A ) )
                = C3 ) ) ) ) ) ).

% CHAR_eq_posI
thf(fact_7908_drop__bit__exp__eq,axiom,
    ! [A: $tType] :
      ( ( bit_se359711467146920520ations @ A )
     => ! [M: nat,N: nat] :
          ( ( bit_se4197421643247451524op_bit @ A @ M @ ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ N ) )
          = ( times_times @ A
            @ ( zero_neq_one_of_bool @ A
              @ ( ( ord_less_eq @ nat @ M @ N )
                & ( bit_se6407376104438227557le_bit @ A @ ( type2 @ A ) @ N ) ) )
            @ ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ ( minus_minus @ nat @ N @ M ) ) ) ) ) ).

% drop_bit_exp_eq
thf(fact_7909_bit__minus__2__iff,axiom,
    ! [A: $tType] :
      ( ( bit_ri3973907225187159222ations @ A )
     => ! [N: nat] :
          ( ( bit_se5641148757651400278ts_bit @ A @ ( uminus_uminus @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) ) @ N )
          = ( ( bit_se6407376104438227557le_bit @ A @ ( type2 @ A ) @ N )
            & ( ord_less @ nat @ ( zero_zero @ nat ) @ N ) ) ) ) ).

% bit_minus_2_iff
thf(fact_7910_possible__bit__less__imp,axiom,
    ! [A: $tType] :
      ( ( bit_semiring_bits @ A )
     => ! [Tyrep: itself @ A,I2: nat,J2: nat] :
          ( ( bit_se6407376104438227557le_bit @ A @ Tyrep @ I2 )
         => ( ( ord_less_eq @ nat @ J2 @ I2 )
           => ( bit_se6407376104438227557le_bit @ A @ Tyrep @ J2 ) ) ) ) ).

% possible_bit_less_imp
thf(fact_7911_bit__mask__iff,axiom,
    ! [A: $tType] :
      ( ( bit_se359711467146920520ations @ A )
     => ! [M: nat,N: nat] :
          ( ( bit_se5641148757651400278ts_bit @ A @ ( bit_se2239418461657761734s_mask @ A @ M ) @ N )
          = ( ( bit_se6407376104438227557le_bit @ A @ ( type2 @ A ) @ N )
            & ( ord_less @ nat @ N @ M ) ) ) ) ).

% bit_mask_iff
thf(fact_7912_bit__push__bit__iff,axiom,
    ! [A: $tType] :
      ( ( bit_se359711467146920520ations @ A )
     => ! [M: nat,A3: A,N: nat] :
          ( ( bit_se5641148757651400278ts_bit @ A @ ( bit_se4730199178511100633sh_bit @ A @ M @ A3 ) @ N )
          = ( ( ord_less_eq @ nat @ M @ N )
            & ( bit_se6407376104438227557le_bit @ A @ ( type2 @ A ) @ N )
            & ( bit_se5641148757651400278ts_bit @ A @ A3 @ ( minus_minus @ nat @ N @ M ) ) ) ) ) ).

% bit_push_bit_iff
thf(fact_7913_bit__minus__exp__iff,axiom,
    ! [A: $tType] :
      ( ( bit_ri3973907225187159222ations @ A )
     => ! [M: nat,N: nat] :
          ( ( bit_se5641148757651400278ts_bit @ A @ ( uminus_uminus @ A @ ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ M ) ) @ N )
          = ( ( bit_se6407376104438227557le_bit @ A @ ( type2 @ A ) @ N )
            & ( ord_less_eq @ nat @ M @ N ) ) ) ) ).

% bit_minus_exp_iff
thf(fact_7914_bit__mask__sub__iff,axiom,
    ! [A: $tType] :
      ( ( bit_semiring_bits @ A )
     => ! [M: nat,N: nat] :
          ( ( bit_se5641148757651400278ts_bit @ A @ ( minus_minus @ A @ ( power_power @ A @ ( numeral_numeral @ A @ ( bit0 @ one ) ) @ M ) @ ( one_one @ A ) ) @ N )
          = ( ( bit_se6407376104438227557le_bit @ A @ ( type2 @ A ) @ N )
            & ( ord_less @ nat @ N @ M ) ) ) ) ).

% bit_mask_sub_iff
thf(fact_7915_subset__mset_Osum__pos2,axiom,
    ! [A: $tType,B: $tType,I5: set @ B,I2: B,F3: B > ( multiset @ A )] :
      ( ( finite_finite2 @ B @ I5 )
     => ( ( member @ B @ I2 @ I5 )
       => ( ( subset_mset @ A @ ( zero_zero @ ( multiset @ A ) ) @ ( F3 @ I2 ) )
         => ( ! [I3: B] :
                ( ( member @ B @ I3 @ I5 )
               => ( subseteq_mset @ A @ ( zero_zero @ ( multiset @ A ) ) @ ( F3 @ I3 ) ) )
           => ( subset_mset @ A @ ( zero_zero @ ( multiset @ A ) ) @ ( groups3894954378712506084id_sum @ ( multiset @ A ) @ B @ ( plus_plus @ ( multiset @ A ) ) @ ( zero_zero @ ( multiset @ A ) ) @ F3 @ I5 ) ) ) ) ) ) ).

% subset_mset.sum_pos2
thf(fact_7916_card__def,axiom,
    ! [B: $tType] :
      ( ( finite_card @ B )
      = ( finite_folding_F @ B @ nat
        @ ^ [Uu2: B] : suc
        @ ( zero_zero @ nat ) ) ) ).

% card_def
thf(fact_7917_subset__mset_Oadd__less__cancel__right,axiom,
    ! [A: $tType,A3: multiset @ A,C3: multiset @ A,B2: multiset @ A] :
      ( ( subset_mset @ A @ ( plus_plus @ ( multiset @ A ) @ A3 @ C3 ) @ ( plus_plus @ ( multiset @ A ) @ B2 @ C3 ) )
      = ( subset_mset @ A @ A3 @ B2 ) ) ).

% subset_mset.add_less_cancel_right
thf(fact_7918_subset__mset_Oadd__less__cancel__left,axiom,
    ! [A: $tType,C3: multiset @ A,A3: multiset @ A,B2: multiset @ A] :
      ( ( subset_mset @ A @ ( plus_plus @ ( multiset @ A ) @ C3 @ A3 ) @ ( plus_plus @ ( multiset @ A ) @ C3 @ B2 ) )
      = ( subset_mset @ A @ A3 @ B2 ) ) ).

% subset_mset.add_less_cancel_left
thf(fact_7919_subset__mset_Oless__add__same__cancel2,axiom,
    ! [A: $tType,A3: multiset @ A,B2: multiset @ A] :
      ( ( subset_mset @ A @ A3 @ ( plus_plus @ ( multiset @ A ) @ B2 @ A3 ) )
      = ( subset_mset @ A @ ( zero_zero @ ( multiset @ A ) ) @ B2 ) ) ).

% subset_mset.less_add_same_cancel2
thf(fact_7920_subset__mset_Oless__add__same__cancel1,axiom,
    ! [A: $tType,A3: multiset @ A,B2: multiset @ A] :
      ( ( subset_mset @ A @ A3 @ ( plus_plus @ ( multiset @ A ) @ A3 @ B2 ) )
      = ( subset_mset @ A @ ( zero_zero @ ( multiset @ A ) ) @ B2 ) ) ).

% subset_mset.less_add_same_cancel1
thf(fact_7921_subset__mset_Oadd__less__same__cancel2,axiom,
    ! [A: $tType,A3: multiset @ A,B2: multiset @ A] :
      ( ( subset_mset @ A @ ( plus_plus @ ( multiset @ A ) @ A3 @ B2 ) @ B2 )
      = ( subset_mset @ A @ A3 @ ( zero_zero @ ( multiset @ A ) ) ) ) ).

% subset_mset.add_less_same_cancel2
thf(fact_7922_subset__mset_Oadd__less__same__cancel1,axiom,
    ! [A: $tType,B2: multiset @ A,A3: multiset @ A] :
      ( ( subset_mset @ A @ ( plus_plus @ ( multiset @ A ) @ B2 @ A3 ) @ B2 )
      = ( subset_mset @ A @ A3 @ ( zero_zero @ ( multiset @ A ) ) ) ) ).

% subset_mset.add_less_same_cancel1
thf(fact_7923_subset__mset_Olexordp_Omono,axiom,
    ! [A: $tType] :
      ( order_mono @ ( ( list @ ( multiset @ A ) ) > ( list @ ( multiset @ A ) ) > $o ) @ ( ( list @ ( multiset @ A ) ) > ( list @ ( multiset @ A ) ) > $o )
      @ ^ [P7: ( list @ ( multiset @ A ) ) > ( list @ ( multiset @ A ) ) > $o,X12: list @ ( multiset @ A ),X23: list @ ( multiset @ A )] :
          ( ? [Y4: multiset @ A,Ys2: list @ ( multiset @ A )] :
              ( ( X12
                = ( nil @ ( multiset @ A ) ) )
              & ( X23
                = ( cons @ ( multiset @ A ) @ Y4 @ Ys2 ) ) )
          | ? [X4: multiset @ A,Y4: multiset @ A,Xs3: list @ ( multiset @ A ),Ys2: list @ ( multiset @ A )] :
              ( ( X12
                = ( cons @ ( multiset @ A ) @ X4 @ Xs3 ) )
              & ( X23
                = ( cons @ ( multiset @ A ) @ Y4 @ Ys2 ) )
              & ( subset_mset @ A @ X4 @ Y4 ) )
          | ? [X4: multiset @ A,Y4: multiset @ A,Xs3: list @ ( multiset @ A ),Ys2: list @ ( multiset @ A )] :
              ( ( X12
                = ( cons @ ( multiset @ A ) @ X4 @ Xs3 ) )
              & ( X23
                = ( cons @ ( multiset @ A ) @ Y4 @ Ys2 ) )
              & ~ ( subset_mset @ A @ X4 @ Y4 )
              & ~ ( subset_mset @ A @ Y4 @ X4 )
              & ( P7 @ Xs3 @ Ys2 ) ) ) ) ).

% subset_mset.lexordp.mono
thf(fact_7924_subset__mset_Olexordp__def,axiom,
    ! [A: $tType] :
      ( ( lexordp2 @ ( multiset @ A ) @ ( subset_mset @ A ) )
      = ( complete_lattice_lfp @ ( ( list @ ( multiset @ A ) ) > ( list @ ( multiset @ A ) ) > $o )
        @ ^ [P7: ( list @ ( multiset @ A ) ) > ( list @ ( multiset @ A ) ) > $o,X12: list @ ( multiset @ A ),X23: list @ ( multiset @ A )] :
            ( ? [Y4: multiset @ A,Ys2: list @ ( multiset @ A )] :
                ( ( X12
                  = ( nil @ ( multiset @ A ) ) )
                & ( X23
                  = ( cons @ ( multiset @ A ) @ Y4 @ Ys2 ) ) )
            | ? [X4: multiset @ A,Y4: multiset @ A,Xs3: list @ ( multiset @ A ),Ys2: list @ ( multiset @ A )] :
                ( ( X12
                  = ( cons @ ( multiset @ A ) @ X4 @ Xs3 ) )
                & ( X23
                  = ( cons @ ( multiset @ A ) @ Y4 @ Ys2 ) )
                & ( subset_mset @ A @ X4 @ Y4 ) )
            | ? [X4: multiset @ A,Y4: multiset @ A,Xs3: list @ ( multiset @ A ),Ys2: list @ ( multiset @ A )] :
                ( ( X12
                  = ( cons @ ( multiset @ A ) @ X4 @ Xs3 ) )
                & ( X23
                  = ( cons @ ( multiset @ A ) @ Y4 @ Ys2 ) )
                & ~ ( subset_mset @ A @ X4 @ Y4 )
                & ~ ( subset_mset @ A @ Y4 @ X4 )
                & ( P7 @ Xs3 @ Ys2 ) ) ) ) ) ).

% subset_mset.lexordp_def
thf(fact_7925_size__psubset,axiom,
    ! [A: $tType,M6: multiset @ A,M10: multiset @ A] :
      ( ( subseteq_mset @ A @ M6 @ M10 )
     => ( ( ord_less @ nat @ ( size_size @ ( multiset @ A ) @ M6 ) @ ( size_size @ ( multiset @ A ) @ M10 ) )
       => ( subset_mset @ A @ M6 @ M10 ) ) ) ).

% size_psubset
thf(fact_7926_subset__mset_Oadd__neg__nonpos,axiom,
    ! [A: $tType,A3: multiset @ A,B2: multiset @ A] :
      ( ( subset_mset @ A @ A3 @ ( zero_zero @ ( multiset @ A ) ) )
     => ( ( subseteq_mset @ A @ B2 @ ( zero_zero @ ( multiset @ A ) ) )
       => ( subset_mset @ A @ ( plus_plus @ ( multiset @ A ) @ A3 @ B2 ) @ ( zero_zero @ ( multiset @ A ) ) ) ) ) ).

% subset_mset.add_neg_nonpos
thf(fact_7927_subset__mset_Oadd__nonneg__pos,axiom,
    ! [A: $tType,A3: multiset @ A,B2: multiset @ A] :
      ( ( subseteq_mset @ A @ ( zero_zero @ ( multiset @ A ) ) @ A3 )
     => ( ( subset_mset @ A @ ( zero_zero @ ( multiset @ A ) ) @ B2 )
       => ( subset_mset @ A @ ( zero_zero @ ( multiset @ A ) ) @ ( plus_plus @ ( multiset @ A ) @ A3 @ B2 ) ) ) ) ).

% subset_mset.add_nonneg_pos
thf(fact_7928_subset__mset_Oadd__nonpos__neg,axiom,
    ! [A: $tType,A3: multiset @ A,B2: multiset @ A] :
      ( ( subseteq_mset @ A @ A3 @ ( zero_zero @ ( multiset @ A ) ) )
     => ( ( subset_mset @ A @ B2 @ ( zero_zero @ ( multiset @ A ) ) )
       => ( subset_mset @ A @ ( plus_plus @ ( multiset @ A ) @ A3 @ B2 ) @ ( zero_zero @ ( multiset @ A ) ) ) ) ) ).

% subset_mset.add_nonpos_neg
thf(fact_7929_subset__mset_Oadd__pos__nonneg,axiom,
    ! [A: $tType,A3: multiset @ A,B2: multiset @ A] :
      ( ( subset_mset @ A @ ( zero_zero @ ( multiset @ A ) ) @ A3 )
     => ( ( subseteq_mset @ A @ ( zero_zero @ ( multiset @ A ) ) @ B2 )
       => ( subset_mset @ A @ ( zero_zero @ ( multiset @ A ) ) @ ( plus_plus @ ( multiset @ A ) @ A3 @ B2 ) ) ) ) ).

% subset_mset.add_pos_nonneg
thf(fact_7930_subset__mset_Oadd__strict__increasing,axiom,
    ! [A: $tType,A3: multiset @ A,B2: multiset @ A,C3: multiset @ A] :
      ( ( subset_mset @ A @ ( zero_zero @ ( multiset @ A ) ) @ A3 )
     => ( ( subseteq_mset @ A @ B2 @ C3 )
       => ( subset_mset @ A @ B2 @ ( plus_plus @ ( multiset @ A ) @ A3 @ C3 ) ) ) ) ).

% subset_mset.add_strict_increasing
thf(fact_7931_subset__mset_Oadd__strict__increasing2,axiom,
    ! [A: $tType,A3: multiset @ A,B2: multiset @ A,C3: multiset @ A] :
      ( ( subseteq_mset @ A @ ( zero_zero @ ( multiset @ A ) ) @ A3 )
     => ( ( subset_mset @ A @ B2 @ C3 )
       => ( subset_mset @ A @ B2 @ ( plus_plus @ ( multiset @ A ) @ A3 @ C3 ) ) ) ) ).

% subset_mset.add_strict_increasing2
thf(fact_7932_subset__mset_OSup__fin_Osemilattice__order__set__axioms,axiom,
    ! [A: $tType] :
      ( lattic4895041142388067077er_set @ ( multiset @ A ) @ ( union_mset @ A )
      @ ^ [X4: multiset @ A,Y4: multiset @ A] : ( subseteq_mset @ A @ Y4 @ X4 )
      @ ^ [X4: multiset @ A,Y4: multiset @ A] : ( subset_mset @ A @ Y4 @ X4 ) ) ).

% subset_mset.Sup_fin.semilattice_order_set_axioms
thf(fact_7933_subset__mset_Oasymp__greater,axiom,
    ! [A: $tType] :
      ( asymp @ ( multiset @ A )
      @ ^ [X4: multiset @ A,Y4: multiset @ A] : ( subset_mset @ A @ Y4 @ X4 ) ) ).

% subset_mset.asymp_greater
thf(fact_7934_subset__mset_Oadd__strict__mono,axiom,
    ! [A: $tType,A3: multiset @ A,B2: multiset @ A,C3: multiset @ A,D3: multiset @ A] :
      ( ( subset_mset @ A @ A3 @ B2 )
     => ( ( subset_mset @ A @ C3 @ D3 )
       => ( subset_mset @ A @ ( plus_plus @ ( multiset @ A ) @ A3 @ C3 ) @ ( plus_plus @ ( multiset @ A ) @ B2 @ D3 ) ) ) ) ).

% subset_mset.add_strict_mono
thf(fact_7935_subset__mset_Oadd__strict__left__mono,axiom,
    ! [A: $tType,A3: multiset @ A,B2: multiset @ A,C3: multiset @ A] :
      ( ( subset_mset @ A @ A3 @ B2 )
     => ( subset_mset @ A @ ( plus_plus @ ( multiset @ A ) @ C3 @ A3 ) @ ( plus_plus @ ( multiset @ A ) @ C3 @ B2 ) ) ) ).

% subset_mset.add_strict_left_mono
thf(fact_7936_subset__mset_Oadd__strict__right__mono,axiom,
    ! [A: $tType,A3: multiset @ A,B2: multiset @ A,C3: multiset @ A] :
      ( ( subset_mset @ A @ A3 @ B2 )
     => ( subset_mset @ A @ ( plus_plus @ ( multiset @ A ) @ A3 @ C3 ) @ ( plus_plus @ ( multiset @ A ) @ B2 @ C3 ) ) ) ).

% subset_mset.add_strict_right_mono
thf(fact_7937_subset__mset_Oadd__less__imp__less__left,axiom,
    ! [A: $tType,C3: multiset @ A,A3: multiset @ A,B2: multiset @ A] :
      ( ( subset_mset @ A @ ( plus_plus @ ( multiset @ A ) @ C3 @ A3 ) @ ( plus_plus @ ( multiset @ A ) @ C3 @ B2 ) )
     => ( subset_mset @ A @ A3 @ B2 ) ) ).

% subset_mset.add_less_imp_less_left
thf(fact_7938_subset__mset_Oadd__less__imp__less__right,axiom,
    ! [A: $tType,A3: multiset @ A,C3: multiset @ A,B2: multiset @ A] :
      ( ( subset_mset @ A @ ( plus_plus @ ( multiset @ A ) @ A3 @ C3 ) @ ( plus_plus @ ( multiset @ A ) @ B2 @ C3 ) )
     => ( subset_mset @ A @ A3 @ B2 ) ) ).

% subset_mset.add_less_imp_less_right
thf(fact_7939_subset__mset_Oadd__less__le__mono,axiom,
    ! [A: $tType,A3: multiset @ A,B2: multiset @ A,C3: multiset @ A,D3: multiset @ A] :
      ( ( subset_mset @ A @ A3 @ B2 )
     => ( ( subseteq_mset @ A @ C3 @ D3 )
       => ( subset_mset @ A @ ( plus_plus @ ( multiset @ A ) @ A3 @ C3 ) @ ( plus_plus @ ( multiset @ A ) @ B2 @ D3 ) ) ) ) ).

% subset_mset.add_less_le_mono
thf(fact_7940_subset__mset_Oadd__le__less__mono,axiom,
    ! [A: $tType,A3: multiset @ A,B2: multiset @ A,C3: multiset @ A,D3: multiset @ A] :
      ( ( subseteq_mset @ A @ A3 @ B2 )
     => ( ( subset_mset @ A @ C3 @ D3 )
       => ( subset_mset @ A @ ( plus_plus @ ( multiset @ A ) @ A3 @ C3 ) @ ( plus_plus @ ( multiset @ A ) @ B2 @ D3 ) ) ) ) ).

% subset_mset.add_le_less_mono
thf(fact_7941_subset__mset_Opos__add__strict,axiom,
    ! [A: $tType,A3: multiset @ A,B2: multiset @ A,C3: multiset @ A] :
      ( ( subset_mset @ A @ ( zero_zero @ ( multiset @ A ) ) @ A3 )
     => ( ( subset_mset @ A @ B2 @ C3 )
       => ( subset_mset @ A @ B2 @ ( plus_plus @ ( multiset @ A ) @ A3 @ C3 ) ) ) ) ).

% subset_mset.pos_add_strict
thf(fact_7942_subset__mset_Oadd__pos__pos,axiom,
    ! [A: $tType,A3: multiset @ A,B2: multiset @ A] :
      ( ( subset_mset @ A @ ( zero_zero @ ( multiset @ A ) ) @ A3 )
     => ( ( subset_mset @ A @ ( zero_zero @ ( multiset @ A ) ) @ B2 )
       => ( subset_mset @ A @ ( zero_zero @ ( multiset @ A ) ) @ ( plus_plus @ ( multiset @ A ) @ A3 @ B2 ) ) ) ) ).

% subset_mset.add_pos_pos
thf(fact_7943_subset__mset_Oadd__neg__neg,axiom,
    ! [A: $tType,A3: multiset @ A,B2: multiset @ A] :
      ( ( subset_mset @ A @ A3 @ ( zero_zero @ ( multiset @ A ) ) )
     => ( ( subset_mset @ A @ B2 @ ( zero_zero @ ( multiset @ A ) ) )
       => ( subset_mset @ A @ ( plus_plus @ ( multiset @ A ) @ A3 @ B2 ) @ ( zero_zero @ ( multiset @ A ) ) ) ) ) ).

% subset_mset.add_neg_neg
thf(fact_7944_subset__mset_OlessE,axiom,
    ! [A: $tType,A3: multiset @ A,B2: multiset @ A] :
      ( ( subset_mset @ A @ A3 @ B2 )
     => ~ ! [C2: multiset @ A] :
            ( ( B2
              = ( plus_plus @ ( multiset @ A ) @ A3 @ C2 ) )
           => ( C2
              = ( zero_zero @ ( multiset @ A ) ) ) ) ) ).

% subset_mset.lessE
thf(fact_7945_subset__mset_Oordering__top__axioms,axiom,
    ! [A: $tType] :
      ( ordering_top @ ( multiset @ A )
      @ ^ [A8: multiset @ A,B7: multiset @ A] : ( subseteq_mset @ A @ B7 @ A8 )
      @ ^ [A8: multiset @ A,B7: multiset @ A] : ( subset_mset @ A @ B7 @ A8 )
      @ ( zero_zero @ ( multiset @ A ) ) ) ).

% subset_mset.ordering_top_axioms
thf(fact_7946_mset__subset__size,axiom,
    ! [A: $tType,A6: multiset @ A,B6: multiset @ A] :
      ( ( subset_mset @ A @ A6 @ B6 )
     => ( ord_less @ nat @ ( size_size @ ( multiset @ A ) @ A6 ) @ ( size_size @ ( multiset @ A ) @ B6 ) ) ) ).

% mset_subset_size
thf(fact_7947_subset__mset_Olift__Suc__mono__less__iff,axiom,
    ! [A: $tType,F3: nat > ( multiset @ A ),N: nat,M: nat] :
      ( ! [N4: nat] : ( subset_mset @ A @ ( F3 @ N4 ) @ ( F3 @ ( suc @ N4 ) ) )
     => ( ( subset_mset @ A @ ( F3 @ N ) @ ( F3 @ M ) )
        = ( ord_less @ nat @ N @ M ) ) ) ).

% subset_mset.lift_Suc_mono_less_iff
thf(fact_7948_subset__mset_Olift__Suc__mono__less,axiom,
    ! [A: $tType,F3: nat > ( multiset @ A ),N: nat,N2: nat] :
      ( ! [N4: nat] : ( subset_mset @ A @ ( F3 @ N4 ) @ ( F3 @ ( suc @ N4 ) ) )
     => ( ( ord_less @ nat @ N @ N2 )
       => ( subset_mset @ A @ ( F3 @ N ) @ ( F3 @ N2 ) ) ) ) ).

% subset_mset.lift_Suc_mono_less
thf(fact_7949_wf__subset__mset__rel,axiom,
    ! [A: $tType] : ( wf @ ( multiset @ A ) @ ( collect @ ( product_prod @ ( multiset @ A ) @ ( multiset @ A ) ) @ ( product_case_prod @ ( multiset @ A ) @ ( multiset @ A ) @ $o @ ( subset_mset @ A ) ) ) ) ).

% wf_subset_mset_rel
thf(fact_7950_subset__mset_Osemilattice__neutr__order__axioms,axiom,
    ! [A: $tType] :
      ( semila1105856199041335345_order @ ( multiset @ A ) @ ( union_mset @ A ) @ ( zero_zero @ ( multiset @ A ) )
      @ ^ [A8: multiset @ A,B7: multiset @ A] : ( subseteq_mset @ A @ B7 @ A8 )
      @ ^ [A8: multiset @ A,B7: multiset @ A] : ( subset_mset @ A @ B7 @ A8 ) ) ).

% subset_mset.semilattice_neutr_order_axioms
thf(fact_7951_mset__subset__add__iff1,axiom,
    ! [A: $tType,J2: nat,I2: nat,U: multiset @ A,M: multiset @ A,N: multiset @ A] :
      ( ( ord_less_eq @ nat @ J2 @ I2 )
     => ( ( subset_mset @ A @ ( plus_plus @ ( multiset @ A ) @ ( repeat_mset @ A @ I2 @ U ) @ M ) @ ( plus_plus @ ( multiset @ A ) @ ( repeat_mset @ A @ J2 @ U ) @ N ) )
        = ( subset_mset @ A @ ( plus_plus @ ( multiset @ A ) @ ( repeat_mset @ A @ ( minus_minus @ nat @ I2 @ J2 ) @ U ) @ M ) @ N ) ) ) ).

% mset_subset_add_iff1
thf(fact_7952_mset__subset__add__iff2,axiom,
    ! [A: $tType,I2: nat,J2: nat,U: multiset @ A,M: multiset @ A,N: multiset @ A] :
      ( ( ord_less_eq @ nat @ I2 @ J2 )
     => ( ( subset_mset @ A @ ( plus_plus @ ( multiset @ A ) @ ( repeat_mset @ A @ I2 @ U ) @ M ) @ ( plus_plus @ ( multiset @ A ) @ ( repeat_mset @ A @ J2 @ U ) @ N ) )
        = ( subset_mset @ A @ M @ ( plus_plus @ ( multiset @ A ) @ ( repeat_mset @ A @ ( minus_minus @ nat @ J2 @ I2 ) @ U ) @ N ) ) ) ) ).

% mset_subset_add_iff2
thf(fact_7953_subset__mset_OcSUP__lessD,axiom,
    ! [B: $tType,A: $tType,F3: B > ( multiset @ A ),A6: set @ B,Y: multiset @ A,I2: B] :
      ( ( condit8047198070973881523_above @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ ( image2 @ B @ ( multiset @ A ) @ F3 @ A6 ) )
     => ( ( subset_mset @ A @ ( complete_Sup_Sup @ ( multiset @ A ) @ ( image2 @ B @ ( multiset @ A ) @ F3 @ A6 ) ) @ Y )
       => ( ( member @ B @ I2 @ A6 )
         => ( subset_mset @ A @ ( F3 @ I2 ) @ Y ) ) ) ) ).

% subset_mset.cSUP_lessD
thf(fact_7954_subset__mset_Oless__cINF__D,axiom,
    ! [A: $tType,B: $tType,F3: B > ( multiset @ A ),A6: set @ B,Y: multiset @ A,I2: B] :
      ( ( condit8119078960628432327_below @ ( multiset @ A ) @ ( subseteq_mset @ A ) @ ( image2 @ B @ ( multiset @ A ) @ F3 @ A6 ) )
     => ( ( subset_mset @ A @ Y @ ( complete_Inf_Inf @ ( multiset @ A ) @ ( image2 @ B @ ( multiset @ A ) @ F3 @ A6 ) ) )
       => ( ( member @ B @ I2 @ A6 )
         => ( subset_mset @ A @ Y @ ( F3 @ I2 ) ) ) ) ) ).

% subset_mset.less_cINF_D
thf(fact_7955_subset__mset_Osum__pos,axiom,
    ! [A: $tType,B: $tType,I5: set @ B,F3: B > ( multiset @ A )] :
      ( ( finite_finite2 @ B @ I5 )
     => ( ( I5
         != ( bot_bot @ ( set @ B ) ) )
       => ( ! [I3: B] :
              ( ( member @ B @ I3 @ I5 )
             => ( subset_mset @ A @ ( zero_zero @ ( multiset @ A ) ) @ ( F3 @ I3 ) ) )
         => ( subset_mset @ A @ ( zero_zero @ ( multiset @ A ) ) @ ( groups3894954378712506084id_sum @ ( multiset @ A ) @ B @ ( plus_plus @ ( multiset @ A ) ) @ ( zero_zero @ ( multiset @ A ) ) @ F3 @ I5 ) ) ) ) ) ).

% subset_mset.sum_pos
thf(fact_7956_subset__mset_Osum__strict__mono,axiom,
    ! [A: $tType,B: $tType,A6: set @ B,F3: B > ( multiset @ A ),G3: B > ( multiset @ A )] :
      ( ( finite_finite2 @ B @ A6 )
     => ( ( A6
         != ( bot_bot @ ( set @ B ) ) )
       => ( ! [X3: B] :
              ( ( member @ B @ X3 @ A6 )
             => ( subset_mset @ A @ ( F3 @ X3 ) @ ( G3 @ X3 ) ) )
         => ( subset_mset @ A @ ( groups3894954378712506084id_sum @ ( multiset @ A ) @ B @ ( plus_plus @ ( multiset @ A ) ) @ ( zero_zero @ ( multiset @ A ) ) @ F3 @ A6 ) @ ( groups3894954378712506084id_sum @ ( multiset @ A ) @ B @ ( plus_plus @ ( multiset @ A ) ) @ ( zero_zero @ ( multiset @ A ) ) @ G3 @ A6 ) ) ) ) ) ).

% subset_mset.sum_strict_mono
thf(fact_7957_folding__on_Oremove,axiom,
    ! [B: $tType,A: $tType,S: set @ A,F3: A > B > B,A6: set @ A,X: A,Z4: B] :
      ( ( finite_folding_on @ A @ B @ S @ F3 )
     => ( ( ord_less_eq @ ( set @ A ) @ A6 @ S )
       => ( ( finite_finite2 @ A @ A6 )
         => ( ( member @ A @ X @ A6 )
           => ( ( finite_folding_F @ A @ B @ F3 @ Z4 @ A6 )
              = ( F3 @ X @ ( finite_folding_F @ A @ B @ F3 @ Z4 @ ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ) ) ) ) ) ).

% folding_on.remove
thf(fact_7958_folding__on_Oinsert__remove,axiom,
    ! [B: $tType,A: $tType,S: set @ A,F3: A > B > B,X: A,A6: set @ A,Z4: B] :
      ( ( finite_folding_on @ A @ B @ S @ F3 )
     => ( ( ord_less_eq @ ( set @ A ) @ ( insert @ A @ X @ A6 ) @ S )
       => ( ( finite_finite2 @ A @ A6 )
         => ( ( finite_folding_F @ A @ B @ F3 @ Z4 @ ( insert @ A @ X @ A6 ) )
            = ( F3 @ X @ ( finite_folding_F @ A @ B @ F3 @ Z4 @ ( minus_minus @ ( set @ A ) @ A6 @ ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) ) ) ) ) ) ) ) ).

% folding_on.insert_remove
thf(fact_7959_card_Ofolding__on__axioms,axiom,
    ! [A: $tType] :
      ( finite_folding_on @ A @ nat @ ( top_top @ ( set @ A ) )
      @ ^ [Uu2: A] : suc ) ).

% card.folding_on_axioms
thf(fact_7960_sorted__list__of__set_Ofold__insort__key_Ofolding__on__axioms,axiom,
    ! [A: $tType] :
      ( ( linorder @ A )
     => ( finite_folding_on @ A @ ( list @ A ) @ ( top_top @ ( set @ A ) )
        @ ( linorder_insort_key @ A @ A
          @ ^ [X4: A] : X4 ) ) ) ).

% sorted_list_of_set.fold_insort_key.folding_on_axioms
thf(fact_7961_folding__on_Oinsert,axiom,
    ! [B: $tType,A: $tType,S: set @ A,F3: A > B > B,X: A,A6: set @ A,Z4: B] :
      ( ( finite_folding_on @ A @ B @ S @ F3 )
     => ( ( ord_less_eq @ ( set @ A ) @ ( insert @ A @ X @ A6 ) @ S )
       => ( ( finite_finite2 @ A @ A6 )
         => ( ~ ( member @ A @ X @ A6 )
           => ( ( finite_folding_F @ A @ B @ F3 @ Z4 @ ( insert @ A @ X @ A6 ) )
              = ( F3 @ X @ ( finite_folding_F @ A @ B @ F3 @ Z4 @ A6 ) ) ) ) ) ) ) ).

% folding_on.insert
thf(fact_7962_folding__idem__on_Oinsert__idem,axiom,
    ! [B: $tType,A: $tType,S: set @ A,F3: A > B > B,X: A,A6: set @ A,Z4: B] :
      ( ( finite1890593828518410140dem_on @ A @ B @ S @ F3 )
     => ( ( ord_less_eq @ ( set @ A ) @ ( insert @ A @ X @ A6 ) @ S )
       => ( ( finite_finite2 @ A @ A6 )
         => ( ( finite_folding_F @ A @ B @ F3 @ Z4 @ ( insert @ A @ X @ A6 ) )
            = ( F3 @ X @ ( finite_folding_F @ A @ B @ F3 @ Z4 @ A6 ) ) ) ) ) ) ).

% folding_idem_on.insert_idem
thf(fact_7963_less__filter__parametric,axiom,
    ! [A: $tType,B: $tType,A6: A > B > $o] :
      ( ( bi_unique @ A @ B @ A6 )
     => ( bNF_rel_fun @ ( filter @ A ) @ ( filter @ B ) @ ( ( filter @ A ) > $o ) @ ( ( filter @ B ) > $o ) @ ( rel_filter @ A @ B @ A6 )
        @ ( bNF_rel_fun @ ( filter @ A ) @ ( filter @ B ) @ $o @ $o @ ( rel_filter @ A @ B @ A6 )
          @ ^ [Y6: $o,Z5: $o] : Y6 = Z5 )
        @ ( ord_less @ ( filter @ A ) )
        @ ( ord_less @ ( filter @ B ) ) ) ) ).

% less_filter_parametric
thf(fact_7964_sup__filter__parametric,axiom,
    ! [A: $tType,B: $tType,A6: A > B > $o] : ( bNF_rel_fun @ ( filter @ A ) @ ( filter @ B ) @ ( ( filter @ A ) > ( filter @ A ) ) @ ( ( filter @ B ) > ( filter @ B ) ) @ ( rel_filter @ A @ B @ A6 ) @ ( bNF_rel_fun @ ( filter @ A ) @ ( filter @ B ) @ ( filter @ A ) @ ( filter @ B ) @ ( rel_filter @ A @ B @ A6 ) @ ( rel_filter @ A @ B @ A6 ) ) @ ( sup_sup @ ( filter @ A ) ) @ ( sup_sup @ ( filter @ B ) ) ) ).

% sup_filter_parametric
thf(fact_7965_rel__filter__mono,axiom,
    ! [B: $tType,A: $tType,A6: A > B > $o,B6: A > B > $o] :
      ( ( ord_less_eq @ ( A > B > $o ) @ A6 @ B6 )
     => ( ord_less_eq @ ( ( filter @ A ) > ( filter @ B ) > $o ) @ ( rel_filter @ A @ B @ A6 ) @ ( rel_filter @ A @ B @ B6 ) ) ) ).

% rel_filter_mono
thf(fact_7966_le__filter__parametric,axiom,
    ! [A: $tType,B: $tType,A6: A > B > $o] :
      ( ( bi_unique @ A @ B @ A6 )
     => ( bNF_rel_fun @ ( filter @ A ) @ ( filter @ B ) @ ( ( filter @ A ) > $o ) @ ( ( filter @ B ) > $o ) @ ( rel_filter @ A @ B @ A6 )
        @ ( bNF_rel_fun @ ( filter @ A ) @ ( filter @ B ) @ $o @ $o @ ( rel_filter @ A @ B @ A6 )
          @ ^ [Y6: $o,Z5: $o] : Y6 = Z5 )
        @ ( ord_less_eq @ ( filter @ A ) )
        @ ( ord_less_eq @ ( filter @ B ) ) ) ) ).

% le_filter_parametric
thf(fact_7967_rel__filter_Ocases,axiom,
    ! [A: $tType,B: $tType,R4: A > B > $o,F5: filter @ A,G6: filter @ B] :
      ( ( rel_filter @ A @ B @ R4 @ F5 @ G6 )
     => ~ ! [Z10: filter @ ( product_prod @ A @ B )] :
            ( ( eventually @ ( product_prod @ A @ B ) @ ( product_case_prod @ A @ B @ $o @ R4 ) @ Z10 )
           => ( ( ( map_filter_on @ ( product_prod @ A @ B ) @ A @ ( collect @ ( product_prod @ A @ B ) @ ( product_case_prod @ A @ B @ $o @ R4 ) ) @ ( product_fst @ A @ B ) @ Z10 )
                = F5 )
             => ( ( map_filter_on @ ( product_prod @ A @ B ) @ B @ ( collect @ ( product_prod @ A @ B ) @ ( product_case_prod @ A @ B @ $o @ R4 ) ) @ ( product_snd @ A @ B ) @ Z10 )
               != G6 ) ) ) ) ).

% rel_filter.cases
thf(fact_7968_rel__filter_Osimps,axiom,
    ! [B: $tType,A: $tType] :
      ( ( rel_filter @ A @ B )
      = ( ^ [R2: A > B > $o,F10: filter @ A,G9: filter @ B] :
          ? [Z11: filter @ ( product_prod @ A @ B )] :
            ( ( eventually @ ( product_prod @ A @ B ) @ ( product_case_prod @ A @ B @ $o @ R2 ) @ Z11 )
            & ( ( map_filter_on @ ( product_prod @ A @ B ) @ A @ ( collect @ ( product_prod @ A @ B ) @ ( product_case_prod @ A @ B @ $o @ R2 ) ) @ ( product_fst @ A @ B ) @ Z11 )
              = F10 )
            & ( ( map_filter_on @ ( product_prod @ A @ B ) @ B @ ( collect @ ( product_prod @ A @ B ) @ ( product_case_prod @ A @ B @ $o @ R2 ) ) @ ( product_snd @ A @ B ) @ Z11 )
              = G9 ) ) ) ) ).

% rel_filter.simps
thf(fact_7969_rel__filter_Ointros,axiom,
    ! [A: $tType,B: $tType,R4: A > B > $o,Z6: filter @ ( product_prod @ A @ B ),F5: filter @ A,G6: filter @ B] :
      ( ( eventually @ ( product_prod @ A @ B ) @ ( product_case_prod @ A @ B @ $o @ R4 ) @ Z6 )
     => ( ( ( map_filter_on @ ( product_prod @ A @ B ) @ A @ ( collect @ ( product_prod @ A @ B ) @ ( product_case_prod @ A @ B @ $o @ R4 ) ) @ ( product_fst @ A @ B ) @ Z6 )
          = F5 )
       => ( ( ( map_filter_on @ ( product_prod @ A @ B ) @ B @ ( collect @ ( product_prod @ A @ B ) @ ( product_case_prod @ A @ B @ $o @ R4 ) ) @ ( product_snd @ A @ B ) @ Z6 )
            = G6 )
         => ( rel_filter @ A @ B @ R4 @ F5 @ G6 ) ) ) ) ).

% rel_filter.intros
thf(fact_7970_partition__set,axiom,
    ! [A: $tType,P2: A > $o,Xs: list @ A,Yes2: list @ A,No2: list @ A] :
      ( ( ( partition @ A @ P2 @ Xs )
        = ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Yes2 @ No2 ) )
     => ( ( sup_sup @ ( set @ A ) @ ( set2 @ A @ Yes2 ) @ ( set2 @ A @ No2 ) )
        = ( set2 @ A @ Xs ) ) ) ).

% partition_set
thf(fact_7971_map__comp__def,axiom,
    ! [A: $tType,C: $tType,B: $tType] :
      ( ( map_comp @ B @ C @ A )
      = ( ^ [F4: B > ( option @ C ),G4: A > ( option @ B ),K3: A] : ( case_option @ ( option @ C ) @ B @ ( none @ C ) @ F4 @ ( G4 @ K3 ) ) ) ) ).

% map_comp_def
thf(fact_7972_map__comp__simps_I2_J,axiom,
    ! [B: $tType,C: $tType,A: $tType,M24: B > ( option @ A ),K2: B,K10: A,M14: A > ( option @ C )] :
      ( ( ( M24 @ K2 )
        = ( some @ A @ K10 ) )
     => ( ( map_comp @ A @ C @ B @ M14 @ M24 @ K2 )
        = ( M14 @ K10 ) ) ) ).

% map_comp_simps(2)
thf(fact_7973_map__comp__empty_I2_J,axiom,
    ! [B: $tType,D: $tType,C: $tType,M: C > ( option @ B )] :
      ( ( map_comp @ B @ D @ C
        @ ^ [X4: B] : ( none @ D )
        @ M )
      = ( ^ [X4: C] : ( none @ D ) ) ) ).

% map_comp_empty(2)
thf(fact_7974_map__comp__empty_I1_J,axiom,
    ! [C: $tType,B: $tType,A: $tType,M: C > ( option @ B )] :
      ( ( map_comp @ C @ B @ A @ M
        @ ^ [X4: A] : ( none @ C ) )
      = ( ^ [X4: A] : ( none @ B ) ) ) ).

% map_comp_empty(1)
thf(fact_7975_map__comp__Some__iff,axiom,
    ! [A: $tType,C: $tType,B: $tType,M14: B > ( option @ A ),M24: C > ( option @ B ),K2: C,V2: A] :
      ( ( ( map_comp @ B @ A @ C @ M14 @ M24 @ K2 )
        = ( some @ A @ V2 ) )
      = ( ? [K11: B] :
            ( ( ( M24 @ K2 )
              = ( some @ B @ K11 ) )
            & ( ( M14 @ K11 )
              = ( some @ A @ V2 ) ) ) ) ) ).

% map_comp_Some_iff
thf(fact_7976_map__comp__None__iff,axiom,
    ! [A: $tType,C: $tType,B: $tType,M14: B > ( option @ A ),M24: C > ( option @ B ),K2: C] :
      ( ( ( map_comp @ B @ A @ C @ M14 @ M24 @ K2 )
        = ( none @ A ) )
      = ( ( ( M24 @ K2 )
          = ( none @ B ) )
        | ? [K11: B] :
            ( ( ( M24 @ K2 )
              = ( some @ B @ K11 ) )
            & ( ( M14 @ K11 )
              = ( none @ A ) ) ) ) ) ).

% map_comp_None_iff
thf(fact_7977_partition_Osimps_I2_J,axiom,
    ! [A: $tType,P2: A > $o,X: A,Xs: list @ A] :
      ( ( partition @ A @ P2 @ ( cons @ A @ X @ Xs ) )
      = ( product_case_prod @ ( list @ A ) @ ( list @ A ) @ ( product_prod @ ( list @ A ) @ ( list @ A ) )
        @ ^ [Yes3: list @ A,No3: list @ A] : ( if @ ( product_prod @ ( list @ A ) @ ( list @ A ) ) @ ( P2 @ X ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ ( cons @ A @ X @ Yes3 ) @ No3 ) @ ( product_Pair @ ( list @ A ) @ ( list @ A ) @ Yes3 @ ( cons @ A @ X @ No3 ) ) )
        @ ( partition @ A @ P2 @ Xs ) ) ) ).

% partition.simps(2)
thf(fact_7978_rel__fun__iff__geq__image2p,axiom,
    ! [C: $tType,D: $tType,B: $tType,A: $tType] :
      ( ( bNF_rel_fun @ A @ B @ C @ D )
      = ( ^ [R2: A > B > $o,S4: C > D > $o,F4: A > C,G4: B > D] : ( ord_less_eq @ ( C > D > $o ) @ ( bNF_Greatest_image2p @ A @ C @ B @ D @ F4 @ G4 @ R2 ) @ S4 ) ) ) ).

% rel_fun_iff_geq_image2p
thf(fact_7979_Nats__altdef1,axiom,
    ! [A: $tType] :
      ( ( ring_1 @ A )
     => ( ( semiring_1_Nats @ A )
        = ( collect @ A
          @ ^ [Uu2: A] :
            ? [N3: int] :
              ( ( Uu2
                = ( ring_1_of_int @ A @ N3 ) )
              & ( ord_less_eq @ int @ ( zero_zero @ int ) @ N3 ) ) ) ) ) ).

% Nats_altdef1
thf(fact_7980_Nats__subset__Ints,axiom,
    ! [A: $tType] :
      ( ( ring_1 @ A )
     => ( ord_less_eq @ ( set @ A ) @ ( semiring_1_Nats @ A ) @ ( ring_1_Ints @ A ) ) ) ).

% Nats_subset_Ints
thf(fact_7981_Nats__diff,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ! [A3: A,B2: A] :
          ( ( member @ A @ A3 @ ( semiring_1_Nats @ A ) )
         => ( ( member @ A @ B2 @ ( semiring_1_Nats @ A ) )
           => ( ( ord_less_eq @ A @ B2 @ A3 )
             => ( member @ A @ ( minus_minus @ A @ A3 @ B2 ) @ ( semiring_1_Nats @ A ) ) ) ) ) ) ).

% Nats_diff
thf(fact_7982_rel__fun__image2p,axiom,
    ! [A: $tType,C: $tType,D: $tType,B: $tType,R4: A > B > $o,F3: A > C,G3: B > D] : ( bNF_rel_fun @ A @ B @ C @ D @ R4 @ ( bNF_Greatest_image2p @ A @ C @ B @ D @ F3 @ G3 @ R4 ) @ F3 @ G3 ) ).

% rel_fun_image2p
thf(fact_7983_Nats__subset__Rats,axiom,
    ! [A: $tType] :
      ( ( field_char_0 @ A )
     => ( ord_less_eq @ ( set @ A ) @ ( semiring_1_Nats @ A ) @ ( field_char_0_Rats @ A ) ) ) ).

% Nats_subset_Rats
thf(fact_7984_of__nat__in__Nats,axiom,
    ! [A: $tType] :
      ( ( semiring_1 @ A )
     => ! [N: nat] : ( member @ A @ ( semiring_1_of_nat @ A @ N ) @ ( semiring_1_Nats @ A ) ) ) ).

% of_nat_in_Nats
thf(fact_7985_Nats__induct,axiom,
    ! [A: $tType] :
      ( ( semiring_1 @ A )
     => ! [X: A,P2: A > $o] :
          ( ( member @ A @ X @ ( semiring_1_Nats @ A ) )
         => ( ! [N4: nat] : ( P2 @ ( semiring_1_of_nat @ A @ N4 ) )
           => ( P2 @ X ) ) ) ) ).

% Nats_induct
thf(fact_7986_Nats__cases,axiom,
    ! [A: $tType] :
      ( ( semiring_1 @ A )
     => ! [X: A] :
          ( ( member @ A @ X @ ( semiring_1_Nats @ A ) )
         => ~ ! [N4: nat] :
                ( X
               != ( semiring_1_of_nat @ A @ N4 ) ) ) ) ).

% Nats_cases
thf(fact_7987_image2pI,axiom,
    ! [A: $tType,C: $tType,D: $tType,B: $tType,R4: A > B > $o,X: A,Y: B,F3: A > C,G3: B > D] :
      ( ( R4 @ X @ Y )
     => ( bNF_Greatest_image2p @ A @ C @ B @ D @ F3 @ G3 @ R4 @ ( F3 @ X ) @ ( G3 @ Y ) ) ) ).

% image2pI
thf(fact_7988_image2pE,axiom,
    ! [D: $tType,B: $tType,A: $tType,C: $tType,F3: A > B,G3: C > D,R4: A > C > $o,Fx: B,Gy: D] :
      ( ( bNF_Greatest_image2p @ A @ B @ C @ D @ F3 @ G3 @ R4 @ Fx @ Gy )
     => ~ ! [X3: A] :
            ( ( Fx
              = ( F3 @ X3 ) )
           => ! [Y3: C] :
                ( ( Gy
                  = ( G3 @ Y3 ) )
               => ~ ( R4 @ X3 @ Y3 ) ) ) ) ).

% image2pE
thf(fact_7989_Nats__1,axiom,
    ! [A: $tType] :
      ( ( semiring_1 @ A )
     => ( member @ A @ ( one_one @ A ) @ ( semiring_1_Nats @ A ) ) ) ).

% Nats_1
thf(fact_7990_Nats__mult,axiom,
    ! [A: $tType] :
      ( ( semiring_1 @ A )
     => ! [A3: A,B2: A] :
          ( ( member @ A @ A3 @ ( semiring_1_Nats @ A ) )
         => ( ( member @ A @ B2 @ ( semiring_1_Nats @ A ) )
           => ( member @ A @ ( times_times @ A @ A3 @ B2 ) @ ( semiring_1_Nats @ A ) ) ) ) ) ).

% Nats_mult
thf(fact_7991_Nats__0,axiom,
    ! [A: $tType] :
      ( ( semiring_1 @ A )
     => ( member @ A @ ( zero_zero @ A ) @ ( semiring_1_Nats @ A ) ) ) ).

% Nats_0
thf(fact_7992_Nats__add,axiom,
    ! [A: $tType] :
      ( ( semiring_1 @ A )
     => ! [A3: A,B2: A] :
          ( ( member @ A @ A3 @ ( semiring_1_Nats @ A ) )
         => ( ( member @ A @ B2 @ ( semiring_1_Nats @ A ) )
           => ( member @ A @ ( plus_plus @ A @ A3 @ B2 ) @ ( semiring_1_Nats @ A ) ) ) ) ) ).

% Nats_add
thf(fact_7993_image2p__def,axiom,
    ! [D: $tType,B: $tType,A: $tType,C: $tType] :
      ( ( bNF_Greatest_image2p @ C @ A @ D @ B )
      = ( ^ [F4: C > A,G4: D > B,R2: C > D > $o,X4: A,Y4: B] :
          ? [X8: C,Y9: D] :
            ( ( R2 @ X8 @ Y9 )
            & ( ( F4 @ X8 )
              = X4 )
            & ( ( G4 @ Y9 )
              = Y4 ) ) ) ) ).

% image2p_def
thf(fact_7994_Nats__def,axiom,
    ! [A: $tType] :
      ( ( semiring_1 @ A )
     => ( ( semiring_1_Nats @ A )
        = ( image2 @ nat @ A @ ( semiring_1_of_nat @ A ) @ ( top_top @ ( set @ nat ) ) ) ) ) ).

% Nats_def
thf(fact_7995_Nats__altdef2,axiom,
    ! [A: $tType] :
      ( ( linordered_idom @ A )
     => ( ( semiring_1_Nats @ A )
        = ( collect @ A
          @ ^ [N3: A] :
              ( ( member @ A @ N3 @ ( ring_1_Ints @ A ) )
              & ( ord_less_eq @ A @ ( zero_zero @ A ) @ N3 ) ) ) ) ) ).

% Nats_altdef2
thf(fact_7996_subset__mset_Osup__Inf2__distrib,axiom,
    ! [A: $tType,A6: set @ ( multiset @ A ),B6: set @ ( multiset @ A )] :
      ( ( finite_finite2 @ ( multiset @ A ) @ A6 )
     => ( ( A6
         != ( bot_bot @ ( set @ ( multiset @ A ) ) ) )
       => ( ( finite_finite2 @ ( multiset @ A ) @ B6 )
         => ( ( B6
             != ( bot_bot @ ( set @ ( multiset @ A ) ) ) )
           => ( ( union_mset @ A @ ( lattic8678736583308907530nf_fin @ ( multiset @ A ) @ ( inter_mset @ A ) @ A6 ) @ ( lattic8678736583308907530nf_fin @ ( multiset @ A ) @ ( inter_mset @ A ) @ B6 ) )
              = ( lattic8678736583308907530nf_fin @ ( multiset @ A ) @ ( inter_mset @ A )
                @ ( collect @ ( multiset @ A )
                  @ ^ [Uu2: multiset @ A] :
                    ? [A7: multiset @ A,B5: multiset @ A] :
                      ( ( Uu2
                        = ( union_mset @ A @ A7 @ B5 ) )
                      & ( member @ ( multiset @ A ) @ A7 @ A6 )
                      & ( member @ ( multiset @ A ) @ B5 @ B6 ) ) ) ) ) ) ) ) ) ).

% subset_mset.sup_Inf2_distrib
thf(fact_7997_subset__mset_Osup__Inf1__distrib,axiom,
    ! [A: $tType,A6: set @ ( multiset @ A ),X: multiset @ A] :
      ( ( finite_finite2 @ ( multiset @ A ) @ A6 )
     => ( ( A6
         != ( bot_bot @ ( set @ ( multiset @ A ) ) ) )
       => ( ( union_mset @ A @ X @ ( lattic8678736583308907530nf_fin @ ( multiset @ A ) @ ( inter_mset @ A ) @ A6 ) )
          = ( lattic8678736583308907530nf_fin @ ( multiset @ A ) @ ( inter_mset @ A )
            @ ( collect @ ( multiset @ A )
              @ ^ [Uu2: multiset @ A] :
                ? [A7: multiset @ A] :
                  ( ( Uu2
                    = ( union_mset @ A @ X @ A7 ) )
                  & ( member @ ( multiset @ A ) @ A7 @ A6 ) ) ) ) ) ) ) ).

% subset_mset.sup_Inf1_distrib
thf(fact_7998_semilattice__inf_OInf__fin_Ocong,axiom,
    ! [A: $tType] :
      ( ( lattic8678736583308907530nf_fin @ A )
      = ( lattic8678736583308907530nf_fin @ A ) ) ).

% semilattice_inf.Inf_fin.cong
thf(fact_7999_subset__mset_OInf__fin_Oeq__fold_H,axiom,
    ! [A: $tType,A6: set @ ( multiset @ A )] :
      ( ( lattic8678736583308907530nf_fin @ ( multiset @ A ) @ ( inter_mset @ A ) @ A6 )
      = ( the2 @ ( multiset @ A )
        @ ( finite_fold @ ( multiset @ A ) @ ( option @ ( multiset @ A ) )
          @ ^ [X4: multiset @ A,Y4: option @ ( multiset @ A )] : ( some @ ( multiset @ A ) @ ( case_option @ ( multiset @ A ) @ ( multiset @ A ) @ X4 @ ( inter_mset @ A @ X4 ) @ Y4 ) )
          @ ( none @ ( multiset @ A ) )
          @ A6 ) ) ) ).

% subset_mset.Inf_fin.eq_fold'
thf(fact_8000_subset__mset_OInf__fin_Osubset,axiom,
    ! [A: $tType,A6: set @ ( multiset @ A ),B6: set @ ( multiset @ A )] :
      ( ( finite_finite2 @ ( multiset @ A ) @ A6 )
     => ( ( B6
         != ( bot_bot @ ( set @ ( multiset @ A ) ) ) )
       => ( ( ord_less_eq @ ( set @ ( multiset @ A ) ) @ B6 @ A6 )
         => ( ( inter_mset @ A @ ( lattic8678736583308907530nf_fin @ ( multiset @ A ) @ ( inter_mset @ A ) @ B6 ) @ ( lattic8678736583308907530nf_fin @ ( multiset @ A ) @ ( inter_mset @ A ) @ A6 ) )
            = ( lattic8678736583308907530nf_fin @ ( multiset @ A ) @ ( inter_mset @ A ) @ A6 ) ) ) ) ) ).

% subset_mset.Inf_fin.subset
thf(fact_8001_subset__mset_OInf__fin_Ounion,axiom,
    ! [A: $tType,A6: set @ ( multiset @ A ),B6: set @ ( multiset @ A )] :
      ( ( finite_finite2 @ ( multiset @ A ) @ A6 )
     => ( ( A6
         != ( bot_bot @ ( set @ ( multiset @ A ) ) ) )
       => ( ( finite_finite2 @ ( multiset @ A ) @ B6 )
         => ( ( B6
             != ( bot_bot @ ( set @ ( multiset @ A ) ) ) )
           => ( ( lattic8678736583308907530nf_fin @ ( multiset @ A ) @ ( inter_mset @ A ) @ ( sup_sup @ ( set @ ( multiset @ A ) ) @ A6 @ B6 ) )
              = ( inter_mset @ A @ ( lattic8678736583308907530nf_fin @ ( multiset @ A ) @ ( inter_mset @ A ) @ A6 ) @ ( lattic8678736583308907530nf_fin @ ( multiset @ A ) @ ( inter_mset @ A ) @ B6 ) ) ) ) ) ) ) ).

% subset_mset.Inf_fin.union
thf(fact_8002_subset__mset_OInf__fin_Osubset__imp,axiom,
    ! [A: $tType,A6: set @ ( multiset @ A ),B6: set @ ( multiset @ A )] :
      ( ( ord_less_eq @ ( set @ ( multiset @ A ) ) @ A6 @ B6 )
     => ( ( A6
         != ( bot_bot @ ( set @ ( multiset @ A ) ) ) )
       => ( ( finite_finite2 @ ( multiset @ A ) @ B6 )
         => ( subseteq_mset @ A @ ( lattic8678736583308907530nf_fin @ ( multiset @ A ) @ ( inter_mset @ A ) @ B6 ) @ ( lattic8678736583308907530nf_fin @ ( multiset @ A ) @ ( inter_mset @ A ) @ A6 ) ) ) ) ) ).

% subset_mset.Inf_fin.subset_imp
thf(fact_8003_subset__mset_Oinf__Sup1__distrib,axiom,
    ! [A: $tType,A6: set @ ( multiset @ A ),X: multiset @ A] :
      ( ( finite_finite2 @ ( multiset @ A ) @ A6 )
     => ( ( A6
         != ( bot_bot @ ( set @ ( multiset @ A ) ) ) )
       => ( ( inter_mset @ A @ X @ ( lattic4630905495605216202up_fin @ ( multiset @ A ) @ ( union_mset @ A ) @ A6 ) )
          = ( lattic4630905495605216202up_fin @ ( multiset @ A ) @ ( union_mset @ A )
            @ ( collect @ ( multiset @ A )
              @ ^ [Uu2: multiset @ A] :
                ? [A7: multiset @ A] :
                  ( ( Uu2
                    = ( inter_mset @ A @ X @ A7 ) )
                  & ( member @ ( multiset @ A ) @ A7 @ A6 ) ) ) ) ) ) ) ).

% subset_mset.inf_Sup1_distrib
thf(fact_8004_subset__mset_Oinf__Sup2__distrib,axiom,
    ! [A: $tType,A6: set @ ( multiset @ A ),B6: set @ ( multiset @ A )] :
      ( ( finite_finite2 @ ( multiset @ A ) @ A6 )
     => ( ( A6
         != ( bot_bot @ ( set @ ( multiset @ A ) ) ) )
       => ( ( finite_finite2 @ ( multiset @ A ) @ B6 )
         => ( ( B6
             != ( bot_bot @ ( set @ ( multiset @ A ) ) ) )
           => ( ( inter_mset @ A @ ( lattic4630905495605216202up_fin @ ( multiset @ A ) @ ( union_mset @ A ) @ A6 ) @ ( lattic4630905495605216202up_fin @ ( multiset @ A ) @ ( union_mset @ A ) @ B6 ) )
              = ( lattic4630905495605216202up_fin @ ( multiset @ A ) @ ( union_mset @ A )
                @ ( collect @ ( multiset @ A )
                  @ ^ [Uu2: multiset @ A] :
                    ? [A7: multiset @ A,B5: multiset @ A] :
                      ( ( Uu2
                        = ( inter_mset @ A @ A7 @ B5 ) )
                      & ( member @ ( multiset @ A ) @ A7 @ A6 )
                      & ( member @ ( multiset @ A ) @ B5 @ B6 ) ) ) ) ) ) ) ) ) ).

% subset_mset.inf_Sup2_distrib
thf(fact_8005_subset__mset_OSup__fin_Oeq__fold_H,axiom,
    ! [A: $tType,A6: set @ ( multiset @ A )] :
      ( ( lattic4630905495605216202up_fin @ ( multiset @ A ) @ ( union_mset @ A ) @ A6 )
      = ( the2 @ ( multiset @ A )
        @ ( finite_fold @ ( multiset @ A ) @ ( option @ ( multiset @ A ) )
          @ ^ [X4: multiset @ A,Y4: option @ ( multiset @ A )] : ( some @ ( multiset @ A ) @ ( case_option @ ( multiset @ A ) @ ( multiset @ A ) @ X4 @ ( union_mset @ A @ X4 ) @ Y4 ) )
          @ ( none @ ( multiset @ A ) )
          @ A6 ) ) ) ).

% subset_mset.Sup_fin.eq_fold'
thf(fact_8006_semilattice__sup_OSup__fin_Ocong,axiom,
    ! [A: $tType] :
      ( ( lattic4630905495605216202up_fin @ A )
      = ( lattic4630905495605216202up_fin @ A ) ) ).

% semilattice_sup.Sup_fin.cong
thf(fact_8007_subset__mset_OSup__fin_Osubset,axiom,
    ! [A: $tType,A6: set @ ( multiset @ A ),B6: set @ ( multiset @ A )] :
      ( ( finite_finite2 @ ( multiset @ A ) @ A6 )
     => ( ( B6
         != ( bot_bot @ ( set @ ( multiset @ A ) ) ) )
       => ( ( ord_less_eq @ ( set @ ( multiset @ A ) ) @ B6 @ A6 )
         => ( ( union_mset @ A @ ( lattic4630905495605216202up_fin @ ( multiset @ A ) @ ( union_mset @ A ) @ B6 ) @ ( lattic4630905495605216202up_fin @ ( multiset @ A ) @ ( union_mset @ A ) @ A6 ) )
            = ( lattic4630905495605216202up_fin @ ( multiset @ A ) @ ( union_mset @ A ) @ A6 ) ) ) ) ) ).

% subset_mset.Sup_fin.subset
thf(fact_8008_subset__mset_OSup__fin_Ounion,axiom,
    ! [A: $tType,A6: set @ ( multiset @ A ),B6: set @ ( multiset @ A )] :
      ( ( finite_finite2 @ ( multiset @ A ) @ A6 )
     => ( ( A6
         != ( bot_bot @ ( set @ ( multiset @ A ) ) ) )
       => ( ( finite_finite2 @ ( multiset @ A ) @ B6 )
         => ( ( B6
             != ( bot_bot @ ( set @ ( multiset @ A ) ) ) )
           => ( ( lattic4630905495605216202up_fin @ ( multiset @ A ) @ ( union_mset @ A ) @ ( sup_sup @ ( set @ ( multiset @ A ) ) @ A6 @ B6 ) )
              = ( union_mset @ A @ ( lattic4630905495605216202up_fin @ ( multiset @ A ) @ ( union_mset @ A ) @ A6 ) @ ( lattic4630905495605216202up_fin @ ( multiset @ A ) @ ( union_mset @ A ) @ B6 ) ) ) ) ) ) ) ).

% subset_mset.Sup_fin.union
thf(fact_8009_subset__mset_OSup__fin_Osubset__imp,axiom,
    ! [A: $tType,A6: set @ ( multiset @ A ),B6: set @ ( multiset @ A )] :
      ( ( ord_less_eq @ ( set @ ( multiset @ A ) ) @ A6 @ B6 )
     => ( ( A6
         != ( bot_bot @ ( set @ ( multiset @ A ) ) ) )
       => ( ( finite_finite2 @ ( multiset @ A ) @ B6 )
         => ( subseteq_mset @ A @ ( lattic4630905495605216202up_fin @ ( multiset @ A ) @ ( union_mset @ A ) @ A6 ) @ ( lattic4630905495605216202up_fin @ ( multiset @ A ) @ ( union_mset @ A ) @ B6 ) ) ) ) ) ).

% subset_mset.Sup_fin.subset_imp
thf(fact_8010_flip__pred,axiom,
    ! [A: $tType,B: $tType,A6: set @ ( product_prod @ A @ B ),R4: B > A > $o] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ B ) ) @ A6 @ ( collect @ ( product_prod @ A @ B ) @ ( product_case_prod @ A @ B @ $o @ ( conversep @ B @ A @ R4 ) ) ) )
     => ( ord_less_eq @ ( set @ ( product_prod @ B @ A ) )
        @ ( image2 @ ( product_prod @ A @ B ) @ ( product_prod @ B @ A )
          @ ( product_case_prod @ A @ B @ ( product_prod @ B @ A )
            @ ^ [X4: A,Y4: B] : ( product_Pair @ B @ A @ Y4 @ X4 ) )
          @ A6 )
        @ ( collect @ ( product_prod @ B @ A ) @ ( product_case_prod @ B @ A @ $o @ R4 ) ) ) ) ).

% flip_pred
thf(fact_8011_finite__subset__Union__chain,axiom,
    ! [A: $tType,A6: set @ A,B13: set @ ( set @ A ),A20: set @ ( set @ A )] :
      ( ( finite_finite2 @ A @ A6 )
     => ( ( ord_less_eq @ ( set @ A ) @ A6 @ ( complete_Sup_Sup @ ( set @ A ) @ B13 ) )
       => ( ( B13
           != ( bot_bot @ ( set @ ( set @ A ) ) ) )
         => ( ( pred_chain @ ( set @ A ) @ A20 @ ( ord_less @ ( set @ A ) ) @ B13 )
           => ~ ! [B10: set @ A] :
                  ( ( member @ ( set @ A ) @ B10 @ B13 )
                 => ~ ( ord_less_eq @ ( set @ A ) @ A6 @ B10 ) ) ) ) ) ) ).

% finite_subset_Union_chain
thf(fact_8012_conversep__noteq,axiom,
    ! [A: $tType] :
      ( ( conversep @ A @ A
        @ ^ [X4: A,Y4: A] : X4 != Y4 )
      = ( ^ [X4: A,Y4: A] : X4 != Y4 ) ) ).

% conversep_noteq
thf(fact_8013_conversep__mono,axiom,
    ! [A: $tType,B: $tType,R3: B > A > $o,S2: B > A > $o] :
      ( ( ord_less_eq @ ( A > B > $o ) @ ( conversep @ B @ A @ R3 ) @ ( conversep @ B @ A @ S2 ) )
      = ( ord_less_eq @ ( B > A > $o ) @ R3 @ S2 ) ) ).

% conversep_mono
thf(fact_8014_converse__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( converse @ A @ B )
      = ( ^ [R5: set @ ( product_prod @ A @ B )] :
            ( collect @ ( product_prod @ B @ A )
            @ ( product_case_prod @ B @ A @ $o
              @ ( conversep @ A @ B
                @ ^ [X4: A,Y4: B] : ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X4 @ Y4 ) @ R5 ) ) ) ) ) ) ).

% converse_def
thf(fact_8015_subset_Ochain__total,axiom,
    ! [A: $tType,A6: set @ ( set @ A ),C5: set @ ( set @ A ),X: set @ A,Y: set @ A] :
      ( ( pred_chain @ ( set @ A ) @ A6 @ ( ord_less @ ( set @ A ) ) @ C5 )
     => ( ( member @ ( set @ A ) @ X @ C5 )
       => ( ( member @ ( set @ A ) @ Y @ C5 )
         => ( ( sup_sup @ ( ( set @ A ) > ( set @ A ) > $o ) @ ( ord_less @ ( set @ A ) )
              @ ^ [Y6: set @ A,Z5: set @ A] : Y6 = Z5
              @ X
              @ Y )
            | ( sup_sup @ ( ( set @ A ) > ( set @ A ) > $o ) @ ( ord_less @ ( set @ A ) )
              @ ^ [Y6: set @ A,Z5: set @ A] : Y6 = Z5
              @ Y
              @ X ) ) ) ) ) ).

% subset.chain_total
thf(fact_8016_chains__alt__def,axiom,
    ! [A: $tType] :
      ( ( chains2 @ A )
      = ( ^ [A8: set @ ( set @ A )] : ( collect @ ( set @ ( set @ A ) ) @ ( pred_chain @ ( set @ A ) @ A8 @ ( ord_less @ ( set @ A ) ) ) ) ) ) ).

% chains_alt_def
thf(fact_8017_converse__join,axiom,
    ! [A: $tType,B: $tType,R3: B > A > $o,S2: B > A > $o] :
      ( ( conversep @ B @ A @ ( sup_sup @ ( B > A > $o ) @ R3 @ S2 ) )
      = ( sup_sup @ ( A > B > $o ) @ ( conversep @ B @ A @ R3 ) @ ( conversep @ B @ A @ S2 ) ) ) ).

% converse_join
thf(fact_8018_pred__on_Ochain__total,axiom,
    ! [A: $tType,A6: set @ A,P2: A > A > $o,C5: set @ A,X: A,Y: A] :
      ( ( pred_chain @ A @ A6 @ P2 @ C5 )
     => ( ( member @ A @ X @ C5 )
       => ( ( member @ A @ Y @ C5 )
         => ( ( sup_sup @ ( A > A > $o ) @ P2
              @ ^ [Y6: A,Z5: A] : Y6 = Z5
              @ X
              @ Y )
            | ( sup_sup @ ( A > A > $o ) @ P2
              @ ^ [Y6: A,Z5: A] : Y6 = Z5
              @ Y
              @ X ) ) ) ) ) ).

% pred_on.chain_total
thf(fact_8019_subset_Ochain__empty,axiom,
    ! [A: $tType,A6: set @ ( set @ A )] : ( pred_chain @ ( set @ A ) @ A6 @ ( ord_less @ ( set @ A ) ) @ ( bot_bot @ ( set @ ( set @ A ) ) ) ) ).

% subset.chain_empty
thf(fact_8020_conversep__converse__eq,axiom,
    ! [A: $tType,B: $tType,R3: set @ ( product_prod @ A @ B )] :
      ( ( conversep @ A @ B
        @ ^ [X4: A,Y4: B] : ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X4 @ Y4 ) @ R3 ) )
      = ( ^ [X4: B,Y4: A] : ( member @ ( product_prod @ B @ A ) @ ( product_Pair @ B @ A @ X4 @ Y4 ) @ ( converse @ A @ B @ R3 ) ) ) ) ).

% conversep_converse_eq
thf(fact_8021_subset__chain__def,axiom,
    ! [A: $tType,A20: set @ ( set @ A ),C9: set @ ( set @ A )] :
      ( ( pred_chain @ ( set @ A ) @ A20 @ ( ord_less @ ( set @ A ) ) @ C9 )
      = ( ( ord_less_eq @ ( set @ ( set @ A ) ) @ C9 @ A20 )
        & ! [X4: set @ A] :
            ( ( member @ ( set @ A ) @ X4 @ C9 )
           => ! [Y4: set @ A] :
                ( ( member @ ( set @ A ) @ Y4 @ C9 )
               => ( ( ord_less_eq @ ( set @ A ) @ X4 @ Y4 )
                  | ( ord_less_eq @ ( set @ A ) @ Y4 @ X4 ) ) ) ) ) ) ).

% subset_chain_def
thf(fact_8022_subset_Ochain__def,axiom,
    ! [A: $tType,A6: set @ ( set @ A ),C5: set @ ( set @ A )] :
      ( ( pred_chain @ ( set @ A ) @ A6 @ ( ord_less @ ( set @ A ) ) @ C5 )
      = ( ( ord_less_eq @ ( set @ ( set @ A ) ) @ C5 @ A6 )
        & ! [X4: set @ A] :
            ( ( member @ ( set @ A ) @ X4 @ C5 )
           => ! [Y4: set @ A] :
                ( ( member @ ( set @ A ) @ Y4 @ C5 )
               => ( ( sup_sup @ ( ( set @ A ) > ( set @ A ) > $o ) @ ( ord_less @ ( set @ A ) )
                    @ ^ [Y6: set @ A,Z5: set @ A] : Y6 = Z5
                    @ X4
                    @ Y4 )
                  | ( sup_sup @ ( ( set @ A ) > ( set @ A ) > $o ) @ ( ord_less @ ( set @ A ) )
                    @ ^ [Y6: set @ A,Z5: set @ A] : Y6 = Z5
                    @ Y4
                    @ X4 ) ) ) ) ) ) ).

% subset.chain_def
thf(fact_8023_subset_OchainI,axiom,
    ! [A: $tType,C5: set @ ( set @ A ),A6: set @ ( set @ A )] :
      ( ( ord_less_eq @ ( set @ ( set @ A ) ) @ C5 @ A6 )
     => ( ! [X3: set @ A,Y3: set @ A] :
            ( ( member @ ( set @ A ) @ X3 @ C5 )
           => ( ( member @ ( set @ A ) @ Y3 @ C5 )
             => ( ( sup_sup @ ( ( set @ A ) > ( set @ A ) > $o ) @ ( ord_less @ ( set @ A ) )
                  @ ^ [Y6: set @ A,Z5: set @ A] : Y6 = Z5
                  @ X3
                  @ Y3 )
                | ( sup_sup @ ( ( set @ A ) > ( set @ A ) > $o ) @ ( ord_less @ ( set @ A ) )
                  @ ^ [Y6: set @ A,Z5: set @ A] : Y6 = Z5
                  @ Y3
                  @ X3 ) ) ) )
       => ( pred_chain @ ( set @ A ) @ A6 @ ( ord_less @ ( set @ A ) ) @ C5 ) ) ) ).

% subset.chainI
thf(fact_8024_subset__Zorn,axiom,
    ! [A: $tType,A6: set @ ( set @ A )] :
      ( ! [C8: set @ ( set @ A )] :
          ( ( pred_chain @ ( set @ A ) @ A6 @ ( ord_less @ ( set @ A ) ) @ C8 )
         => ? [X6: set @ A] :
              ( ( member @ ( set @ A ) @ X6 @ A6 )
              & ! [Xa4: set @ A] :
                  ( ( member @ ( set @ A ) @ Xa4 @ C8 )
                 => ( ord_less_eq @ ( set @ A ) @ Xa4 @ X6 ) ) ) )
     => ? [X3: set @ A] :
          ( ( member @ ( set @ A ) @ X3 @ A6 )
          & ! [Xa3: set @ A] :
              ( ( member @ ( set @ A ) @ Xa3 @ A6 )
             => ( ( ord_less_eq @ ( set @ A ) @ X3 @ Xa3 )
               => ( Xa3 = X3 ) ) ) ) ) ).

% subset_Zorn
thf(fact_8025_subset__Zorn_H,axiom,
    ! [A: $tType,A6: set @ ( set @ A )] :
      ( ! [C8: set @ ( set @ A )] :
          ( ( pred_chain @ ( set @ A ) @ A6 @ ( ord_less @ ( set @ A ) ) @ C8 )
         => ( member @ ( set @ A ) @ ( complete_Sup_Sup @ ( set @ A ) @ C8 ) @ A6 ) )
     => ? [X3: set @ A] :
          ( ( member @ ( set @ A ) @ X3 @ A6 )
          & ! [Xa3: set @ A] :
              ( ( member @ ( set @ A ) @ Xa3 @ A6 )
             => ( ( ord_less_eq @ ( set @ A ) @ X3 @ Xa3 )
               => ( Xa3 = X3 ) ) ) ) ) ).

% subset_Zorn'
thf(fact_8026_Quotient__composition__le__eq,axiom,
    ! [B: $tType,A: $tType,T8: A > B > $o,R4: B > B > $o] :
      ( ( left_unique @ A @ B @ T8 )
     => ( ( ord_less_eq @ ( B > B > $o ) @ R4
          @ ^ [Y6: B,Z5: B] : Y6 = Z5 )
       => ( ord_less_eq @ ( A > A > $o ) @ ( relcompp @ A @ B @ A @ T8 @ ( relcompp @ B @ B @ A @ R4 @ ( conversep @ A @ B @ T8 ) ) )
          @ ^ [Y6: A,Z5: A] : Y6 = Z5 ) ) ) ).

% Quotient_composition_le_eq
thf(fact_8027_left__unique__alt__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( left_unique @ A @ B )
      = ( ^ [R2: A > B > $o] :
            ( ord_less_eq @ ( A > A > $o ) @ ( relcompp @ A @ B @ A @ R2 @ ( conversep @ A @ B @ R2 ) )
            @ ^ [Y6: A,Z5: A] : Y6 = Z5 ) ) ) ).

% left_unique_alt_def
thf(fact_8028_right__total__alt__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( right_total @ A @ B )
      = ( ^ [R2: A > B > $o] :
            ( ord_less_eq @ ( B > B > $o )
            @ ^ [Y6: B,Z5: B] : Y6 = Z5
            @ ( relcompp @ B @ A @ B @ ( conversep @ A @ B @ R2 ) @ R2 ) ) ) ) ).

% right_total_alt_def
thf(fact_8029_conversep__le__swap,axiom,
    ! [A: $tType,B: $tType,R3: A > B > $o,S2: B > A > $o] :
      ( ( ord_less_eq @ ( A > B > $o ) @ R3 @ ( conversep @ B @ A @ S2 ) )
      = ( ord_less_eq @ ( B > A > $o ) @ ( conversep @ A @ B @ R3 ) @ S2 ) ) ).

% conversep_le_swap
thf(fact_8030_leq__conversepI,axiom,
    ! [A: $tType,R4: A > A > $o] :
      ( ( R4
        = ( ^ [Y6: A,Z5: A] : Y6 = Z5 ) )
     => ( ord_less_eq @ ( A > A > $o ) @ R4 @ ( conversep @ A @ A @ R4 ) ) ) ).

% leq_conversepI
thf(fact_8031_pred__on_Ochain__def,axiom,
    ! [A: $tType] :
      ( ( pred_chain @ A )
      = ( ^ [A8: set @ A,P5: A > A > $o,C6: set @ A] :
            ( ( ord_less_eq @ ( set @ A ) @ C6 @ A8 )
            & ! [X4: A] :
                ( ( member @ A @ X4 @ C6 )
               => ! [Y4: A] :
                    ( ( member @ A @ Y4 @ C6 )
                   => ( ( sup_sup @ ( A > A > $o ) @ P5
                        @ ^ [Y6: A,Z5: A] : Y6 = Z5
                        @ X4
                        @ Y4 )
                      | ( sup_sup @ ( A > A > $o ) @ P5
                        @ ^ [Y6: A,Z5: A] : Y6 = Z5
                        @ Y4
                        @ X4 ) ) ) ) ) ) ) ).

% pred_on.chain_def
thf(fact_8032_pred__on_OchainI,axiom,
    ! [A: $tType,C5: set @ A,A6: set @ A,P2: A > A > $o] :
      ( ( ord_less_eq @ ( set @ A ) @ C5 @ A6 )
     => ( ! [X3: A,Y3: A] :
            ( ( member @ A @ X3 @ C5 )
           => ( ( member @ A @ Y3 @ C5 )
             => ( ( sup_sup @ ( A > A > $o ) @ P2
                  @ ^ [Y6: A,Z5: A] : Y6 = Z5
                  @ X3
                  @ Y3 )
                | ( sup_sup @ ( A > A > $o ) @ P2
                  @ ^ [Y6: A,Z5: A] : Y6 = Z5
                  @ Y3
                  @ X3 ) ) ) )
       => ( pred_chain @ A @ A6 @ P2 @ C5 ) ) ) ).

% pred_on.chainI
thf(fact_8033_left__total__alt__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( left_total @ A @ B )
      = ( ^ [R2: A > B > $o] :
            ( ord_less_eq @ ( A > A > $o )
            @ ^ [Y6: A,Z5: A] : Y6 = Z5
            @ ( relcompp @ A @ B @ A @ R2 @ ( conversep @ A @ B @ R2 ) ) ) ) ) ).

% left_total_alt_def
thf(fact_8034_Quotient__composition__ge__eq,axiom,
    ! [B: $tType,A: $tType,T8: A > B > $o,R4: B > B > $o] :
      ( ( left_total @ A @ B @ T8 )
     => ( ( ord_less_eq @ ( B > B > $o )
          @ ^ [Y6: B,Z5: B] : Y6 = Z5
          @ R4 )
       => ( ord_less_eq @ ( A > A > $o )
          @ ^ [Y6: A,Z5: A] : Y6 = Z5
          @ ( relcompp @ A @ B @ A @ T8 @ ( relcompp @ B @ B @ A @ R4 @ ( conversep @ A @ B @ T8 ) ) ) ) ) ) ).

% Quotient_composition_ge_eq
thf(fact_8035_right__unique__alt__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( right_unique @ A @ B )
      = ( ^ [R2: A > B > $o] :
            ( ord_less_eq @ ( B > B > $o ) @ ( relcompp @ B @ A @ B @ ( conversep @ A @ B @ R2 ) @ R2 )
            @ ^ [Y6: B,Z5: B] : Y6 = Z5 ) ) ) ).

% right_unique_alt_def
thf(fact_8036_subset__chain__insert,axiom,
    ! [A: $tType,A20: set @ ( set @ A ),B6: set @ A,B13: set @ ( set @ A )] :
      ( ( pred_chain @ ( set @ A ) @ A20 @ ( ord_less @ ( set @ A ) ) @ ( insert @ ( set @ A ) @ B6 @ B13 ) )
      = ( ( member @ ( set @ A ) @ B6 @ A20 )
        & ! [X4: set @ A] :
            ( ( member @ ( set @ A ) @ X4 @ B13 )
           => ( ( ord_less_eq @ ( set @ A ) @ X4 @ B6 )
              | ( ord_less_eq @ ( set @ A ) @ B6 @ X4 ) ) )
        & ( pred_chain @ ( set @ A ) @ A20 @ ( ord_less @ ( set @ A ) ) @ B13 ) ) ) ).

% subset_chain_insert
thf(fact_8037_chain__subset__alt__def,axiom,
    ! [A: $tType] :
      ( ( chain_subset @ A )
      = ( pred_chain @ ( set @ A ) @ ( top_top @ ( set @ ( set @ A ) ) ) @ ( ord_less @ ( set @ A ) ) ) ) ).

% chain_subset_alt_def
thf(fact_8038_subset__Zorn__nonempty,axiom,
    ! [A: $tType,A20: set @ ( set @ A )] :
      ( ( A20
       != ( bot_bot @ ( set @ ( set @ A ) ) ) )
     => ( ! [C10: set @ ( set @ A )] :
            ( ( C10
             != ( bot_bot @ ( set @ ( set @ A ) ) ) )
           => ( ( pred_chain @ ( set @ A ) @ A20 @ ( ord_less @ ( set @ A ) ) @ C10 )
             => ( member @ ( set @ A ) @ ( complete_Sup_Sup @ ( set @ A ) @ C10 ) @ A20 ) ) )
       => ? [X3: set @ A] :
            ( ( member @ ( set @ A ) @ X3 @ A20 )
            & ! [Xa3: set @ A] :
                ( ( member @ ( set @ A ) @ Xa3 @ A20 )
               => ( ( ord_less_eq @ ( set @ A ) @ X3 @ Xa3 )
                 => ( Xa3 = X3 ) ) ) ) ) ) ).

% subset_Zorn_nonempty
thf(fact_8039_Union__in__chain,axiom,
    ! [A: $tType,B13: set @ ( set @ A ),A20: set @ ( set @ A )] :
      ( ( finite_finite2 @ ( set @ A ) @ B13 )
     => ( ( B13
         != ( bot_bot @ ( set @ ( set @ A ) ) ) )
       => ( ( pred_chain @ ( set @ A ) @ A20 @ ( ord_less @ ( set @ A ) ) @ B13 )
         => ( member @ ( set @ A ) @ ( complete_Sup_Sup @ ( set @ A ) @ B13 ) @ B13 ) ) ) ) ).

% Union_in_chain
thf(fact_8040_Inter__in__chain,axiom,
    ! [A: $tType,B13: set @ ( set @ A ),A20: set @ ( set @ A )] :
      ( ( finite_finite2 @ ( set @ A ) @ B13 )
     => ( ( B13
         != ( bot_bot @ ( set @ ( set @ A ) ) ) )
       => ( ( pred_chain @ ( set @ A ) @ A20 @ ( ord_less @ ( set @ A ) ) @ B13 )
         => ( member @ ( set @ A ) @ ( complete_Inf_Inf @ ( set @ A ) @ B13 ) @ B13 ) ) ) ) ).

% Inter_in_chain
thf(fact_8041_subset_Ochain__extend,axiom,
    ! [A: $tType,A6: set @ ( set @ A ),C5: set @ ( set @ A ),Z4: set @ A] :
      ( ( pred_chain @ ( set @ A ) @ A6 @ ( ord_less @ ( set @ A ) ) @ C5 )
     => ( ( member @ ( set @ A ) @ Z4 @ A6 )
       => ( ! [X3: set @ A] :
              ( ( member @ ( set @ A ) @ X3 @ C5 )
             => ( sup_sup @ ( ( set @ A ) > ( set @ A ) > $o ) @ ( ord_less @ ( set @ A ) )
                @ ^ [Y6: set @ A,Z5: set @ A] : Y6 = Z5
                @ X3
                @ Z4 ) )
         => ( pred_chain @ ( set @ A ) @ A6 @ ( ord_less @ ( set @ A ) ) @ ( sup_sup @ ( set @ ( set @ A ) ) @ ( insert @ ( set @ A ) @ Z4 @ ( bot_bot @ ( set @ ( set @ A ) ) ) ) @ C5 ) ) ) ) ) ).

% subset.chain_extend
thf(fact_8042_pred__on_Ochain__extend,axiom,
    ! [A: $tType,A6: set @ A,P2: A > A > $o,C5: set @ A,Z4: A] :
      ( ( pred_chain @ A @ A6 @ P2 @ C5 )
     => ( ( member @ A @ Z4 @ A6 )
       => ( ! [X3: A] :
              ( ( member @ A @ X3 @ C5 )
             => ( sup_sup @ ( A > A > $o ) @ P2
                @ ^ [Y6: A,Z5: A] : Y6 = Z5
                @ X3
                @ Z4 ) )
         => ( pred_chain @ A @ A6 @ P2 @ ( sup_sup @ ( set @ A ) @ ( insert @ A @ Z4 @ ( bot_bot @ ( set @ A ) ) ) @ C5 ) ) ) ) ) ).

% pred_on.chain_extend
thf(fact_8043_Chains__subset_H,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] :
      ( ( refl_on @ A @ ( top_top @ ( set @ A ) ) @ R3 )
     => ( ord_less_eq @ ( set @ ( set @ A ) )
        @ ( collect @ ( set @ A )
          @ ( pred_chain @ A @ ( top_top @ ( set @ A ) )
            @ ^ [X4: A,Y4: A] : ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X4 @ Y4 ) @ R3 ) ) )
        @ ( chains @ A @ R3 ) ) ) ).

% Chains_subset'
thf(fact_8044_multiset_Orel__compp__Grp,axiom,
    ! [B: $tType,A: $tType] :
      ( ( rel_mset @ A @ B )
      = ( ^ [R2: A > B > $o] :
            ( relcompp @ ( multiset @ A ) @ ( multiset @ ( product_prod @ A @ B ) ) @ ( multiset @ B )
            @ ( conversep @ ( multiset @ ( product_prod @ A @ B ) ) @ ( multiset @ A )
              @ ( bNF_Grp @ ( multiset @ ( product_prod @ A @ B ) ) @ ( multiset @ A )
                @ ( collect @ ( multiset @ ( product_prod @ A @ B ) )
                  @ ^ [X4: multiset @ ( product_prod @ A @ B )] : ( ord_less_eq @ ( set @ ( product_prod @ A @ B ) ) @ ( set_mset @ ( product_prod @ A @ B ) @ X4 ) @ ( collect @ ( product_prod @ A @ B ) @ ( product_case_prod @ A @ B @ $o @ R2 ) ) ) )
                @ ( image_mset @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) ) ) )
            @ ( bNF_Grp @ ( multiset @ ( product_prod @ A @ B ) ) @ ( multiset @ B )
              @ ( collect @ ( multiset @ ( product_prod @ A @ B ) )
                @ ^ [X4: multiset @ ( product_prod @ A @ B )] : ( ord_less_eq @ ( set @ ( product_prod @ A @ B ) ) @ ( set_mset @ ( product_prod @ A @ B ) @ X4 ) @ ( collect @ ( product_prod @ A @ B ) @ ( product_case_prod @ A @ B @ $o @ R2 ) ) ) )
              @ ( image_mset @ ( product_prod @ A @ B ) @ B @ ( product_snd @ A @ B ) ) ) ) ) ) ).

% multiset.rel_compp_Grp
thf(fact_8045_OO__Grp__cong,axiom,
    ! [B: $tType,C: $tType,A: $tType,A6: set @ A,B6: set @ A,F3: A > B,G3: A > C] :
      ( ( A6 = B6 )
     => ( ( relcompp @ B @ A @ C @ ( conversep @ A @ B @ ( bNF_Grp @ A @ B @ A6 @ F3 ) ) @ ( bNF_Grp @ A @ C @ A6 @ G3 ) )
        = ( relcompp @ B @ A @ C @ ( conversep @ A @ B @ ( bNF_Grp @ A @ B @ B6 @ F3 ) ) @ ( bNF_Grp @ A @ C @ B6 @ G3 ) ) ) ) ).

% OO_Grp_cong
thf(fact_8046_eq__le__Grp__id__iff,axiom,
    ! [A: $tType,R4: A > $o] :
      ( ( ord_less_eq @ ( A > A > $o )
        @ ^ [Y6: A,Z5: A] : Y6 = Z5
        @ ( bNF_Grp @ A @ A @ ( collect @ A @ R4 ) @ ( id @ A ) ) )
      = ( ! [X11: A] : ( R4 @ X11 ) ) ) ).

% eq_le_Grp_id_iff
thf(fact_8047_fun_Orel__Grp,axiom,
    ! [D: $tType,B: $tType,A: $tType,A6: set @ A,F3: A > B] :
      ( ( bNF_rel_fun @ D @ D @ A @ B
        @ ^ [Y6: D,Z5: D] : Y6 = Z5
        @ ( bNF_Grp @ A @ B @ A6 @ F3 ) )
      = ( bNF_Grp @ ( D > A ) @ ( D > B )
        @ ( collect @ ( D > A )
          @ ^ [X4: D > A] : ( ord_less_eq @ ( set @ A ) @ ( image2 @ D @ A @ X4 @ ( top_top @ ( set @ D ) ) ) @ A6 ) )
        @ ( comp @ A @ B @ D @ F3 ) ) ) ).

% fun.rel_Grp
thf(fact_8048_list_Orel__Grp,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,F3: A > B] :
      ( ( list_all2 @ A @ B @ ( bNF_Grp @ A @ B @ A6 @ F3 ) )
      = ( bNF_Grp @ ( list @ A ) @ ( list @ B )
        @ ( collect @ ( list @ A )
          @ ^ [X4: list @ A] : ( ord_less_eq @ ( set @ A ) @ ( set2 @ A @ X4 ) @ A6 ) )
        @ ( map @ A @ B @ F3 ) ) ) ).

% list.rel_Grp
thf(fact_8049_Grp__mono,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,B6: set @ A,F3: A > B] :
      ( ( ord_less_eq @ ( set @ A ) @ A6 @ B6 )
     => ( ord_less_eq @ ( A > B > $o ) @ ( bNF_Grp @ A @ B @ A6 @ F3 ) @ ( bNF_Grp @ A @ B @ B6 @ F3 ) ) ) ).

% Grp_mono
thf(fact_8050_multiset_Orel__Grp,axiom,
    ! [B: $tType,A: $tType,A6: set @ A,F3: A > B] :
      ( ( rel_mset @ A @ B @ ( bNF_Grp @ A @ B @ A6 @ F3 ) )
      = ( bNF_Grp @ ( multiset @ A ) @ ( multiset @ B )
        @ ( collect @ ( multiset @ A )
          @ ^ [X4: multiset @ A] : ( ord_less_eq @ ( set @ A ) @ ( set_mset @ A @ X4 ) @ A6 ) )
        @ ( image_mset @ A @ B @ F3 ) ) ) ).

% multiset.rel_Grp
thf(fact_8051_Grp__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( bNF_Grp @ A @ B )
      = ( ^ [A8: set @ A,F4: A > B,A7: A,B5: B] :
            ( ( B5
              = ( F4 @ A7 ) )
            & ( member @ A @ A7 @ A8 ) ) ) ) ).

% Grp_def
thf(fact_8052_OO__Grp__alt,axiom,
    ! [B: $tType,C: $tType,A: $tType,A6: set @ C,F3: C > A,G3: C > B] :
      ( ( relcompp @ A @ C @ B @ ( conversep @ C @ A @ ( bNF_Grp @ C @ A @ A6 @ F3 ) ) @ ( bNF_Grp @ C @ B @ A6 @ G3 ) )
      = ( ^ [X4: A,Y4: B] :
          ? [Z2: C] :
            ( ( member @ C @ Z2 @ A6 )
            & ( ( F3 @ Z2 )
              = X4 )
            & ( ( G3 @ Z2 )
              = Y4 ) ) ) ) ).

% OO_Grp_alt
thf(fact_8053_mono__Chains,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),S2: set @ ( product_prod @ A @ A )] :
      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ A ) ) @ R3 @ S2 )
     => ( ord_less_eq @ ( set @ ( set @ A ) ) @ ( chains @ A @ R3 ) @ ( chains @ A @ S2 ) ) ) ).

% mono_Chains
thf(fact_8054_Chains__def,axiom,
    ! [A: $tType] :
      ( ( chains @ A )
      = ( ^ [R5: set @ ( product_prod @ A @ A )] :
            ( collect @ ( set @ A )
            @ ^ [C6: set @ A] :
              ! [X4: A] :
                ( ( member @ A @ X4 @ C6 )
               => ! [Y4: A] :
                    ( ( member @ A @ Y4 @ C6 )
                   => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X4 @ Y4 ) @ R5 )
                      | ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y4 @ X4 ) @ R5 ) ) ) ) ) ) ) ).

% Chains_def
thf(fact_8055_Chains__relation__of,axiom,
    ! [A: $tType,C5: set @ A,P2: A > A > $o,A6: set @ A] :
      ( ( member @ ( set @ A ) @ C5 @ ( chains @ A @ ( order_relation_of @ A @ P2 @ A6 ) ) )
     => ( ord_less_eq @ ( set @ A ) @ C5 @ A6 ) ) ).

% Chains_relation_of
thf(fact_8056_Chains__inits__DiffI,axiom,
    ! [A: $tType,R4: set @ ( set @ ( product_prod @ A @ A ) ),S2: set @ ( product_prod @ A @ A )] :
      ( ( member @ ( set @ ( set @ ( product_prod @ A @ A ) ) ) @ R4 @ ( chains @ ( set @ ( product_prod @ A @ A ) ) @ ( init_seg_of @ A ) ) )
     => ( member @ ( set @ ( set @ ( product_prod @ A @ A ) ) )
        @ ( collect @ ( set @ ( product_prod @ A @ A ) )
          @ ^ [Uu2: set @ ( product_prod @ A @ A )] :
            ? [R5: set @ ( product_prod @ A @ A )] :
              ( ( Uu2
                = ( minus_minus @ ( set @ ( product_prod @ A @ A ) ) @ R5 @ S2 ) )
              & ( member @ ( set @ ( product_prod @ A @ A ) ) @ R5 @ R4 ) ) )
        @ ( chains @ ( set @ ( product_prod @ A @ A ) ) @ ( init_seg_of @ A ) ) ) ) ).

% Chains_inits_DiffI
thf(fact_8057_Chains__alt__def,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] :
      ( ( refl_on @ A @ ( top_top @ ( set @ A ) ) @ R3 )
     => ( ( chains @ A @ R3 )
        = ( collect @ ( set @ A )
          @ ( pred_chain @ A @ ( top_top @ ( set @ A ) )
            @ ^ [X4: A,Y4: A] : ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X4 @ Y4 ) @ R3 ) ) ) ) ) ).

% Chains_alt_def
thf(fact_8058_Chains__subset,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] :
      ( ord_less_eq @ ( set @ ( set @ A ) ) @ ( chains @ A @ R3 )
      @ ( collect @ ( set @ A )
        @ ( pred_chain @ A @ ( top_top @ ( set @ A ) )
          @ ^ [X4: A,Y4: A] : ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X4 @ Y4 ) @ R3 ) ) ) ) ).

% Chains_subset
thf(fact_8059_fun_Orel__compp__Grp,axiom,
    ! [D: $tType,B: $tType,A: $tType,R4: A > B > $o] :
      ( ( bNF_rel_fun @ D @ D @ A @ B
        @ ^ [Y6: D,Z5: D] : Y6 = Z5
        @ R4 )
      = ( relcompp @ ( D > A ) @ ( D > ( product_prod @ A @ B ) ) @ ( D > B )
        @ ( conversep @ ( D > ( product_prod @ A @ B ) ) @ ( D > A )
          @ ( bNF_Grp @ ( D > ( product_prod @ A @ B ) ) @ ( D > A )
            @ ( collect @ ( D > ( product_prod @ A @ B ) )
              @ ^ [X4: D > ( product_prod @ A @ B )] : ( ord_less_eq @ ( set @ ( product_prod @ A @ B ) ) @ ( image2 @ D @ ( product_prod @ A @ B ) @ X4 @ ( top_top @ ( set @ D ) ) ) @ ( collect @ ( product_prod @ A @ B ) @ ( product_case_prod @ A @ B @ $o @ R4 ) ) ) )
            @ ( comp @ ( product_prod @ A @ B ) @ A @ D @ ( product_fst @ A @ B ) ) ) )
        @ ( bNF_Grp @ ( D > ( product_prod @ A @ B ) ) @ ( D > B )
          @ ( collect @ ( D > ( product_prod @ A @ B ) )
            @ ^ [X4: D > ( product_prod @ A @ B )] : ( ord_less_eq @ ( set @ ( product_prod @ A @ B ) ) @ ( image2 @ D @ ( product_prod @ A @ B ) @ X4 @ ( top_top @ ( set @ D ) ) ) @ ( collect @ ( product_prod @ A @ B ) @ ( product_case_prod @ A @ B @ $o @ R4 ) ) ) )
          @ ( comp @ ( product_prod @ A @ B ) @ B @ D @ ( product_snd @ A @ B ) ) ) ) ) ).

% fun.rel_compp_Grp
thf(fact_8060_list_Orel__compp__Grp,axiom,
    ! [B: $tType,A: $tType] :
      ( ( list_all2 @ A @ B )
      = ( ^ [R2: A > B > $o] :
            ( relcompp @ ( list @ A ) @ ( list @ ( product_prod @ A @ B ) ) @ ( list @ B )
            @ ( conversep @ ( list @ ( product_prod @ A @ B ) ) @ ( list @ A )
              @ ( bNF_Grp @ ( list @ ( product_prod @ A @ B ) ) @ ( list @ A )
                @ ( collect @ ( list @ ( product_prod @ A @ B ) )
                  @ ^ [X4: list @ ( product_prod @ A @ B )] : ( ord_less_eq @ ( set @ ( product_prod @ A @ B ) ) @ ( set2 @ ( product_prod @ A @ B ) @ X4 ) @ ( collect @ ( product_prod @ A @ B ) @ ( product_case_prod @ A @ B @ $o @ R2 ) ) ) )
                @ ( map @ ( product_prod @ A @ B ) @ A @ ( product_fst @ A @ B ) ) ) )
            @ ( bNF_Grp @ ( list @ ( product_prod @ A @ B ) ) @ ( list @ B )
              @ ( collect @ ( list @ ( product_prod @ A @ B ) )
                @ ^ [X4: list @ ( product_prod @ A @ B )] : ( ord_less_eq @ ( set @ ( product_prod @ A @ B ) ) @ ( set2 @ ( product_prod @ A @ B ) @ X4 ) @ ( collect @ ( product_prod @ A @ B ) @ ( product_case_prod @ A @ B @ $o @ R2 ) ) ) )
              @ ( map @ ( product_prod @ A @ B ) @ B @ ( product_snd @ A @ B ) ) ) ) ) ) ).

% list.rel_compp_Grp
thf(fact_8061_Grp__fst__snd,axiom,
    ! [B: $tType,A: $tType,R4: A > B > $o] :
      ( ( relcompp @ A @ ( product_prod @ A @ B ) @ B @ ( conversep @ ( product_prod @ A @ B ) @ A @ ( bNF_Grp @ ( product_prod @ A @ B ) @ A @ ( collect @ ( product_prod @ A @ B ) @ ( product_case_prod @ A @ B @ $o @ R4 ) ) @ ( product_fst @ A @ B ) ) ) @ ( bNF_Grp @ ( product_prod @ A @ B ) @ B @ ( collect @ ( product_prod @ A @ B ) @ ( product_case_prod @ A @ B @ $o @ R4 ) ) @ ( product_snd @ A @ B ) ) )
      = R4 ) ).

% Grp_fst_snd
thf(fact_8062_pred__on_Onot__maxchain__Some,axiom,
    ! [A: $tType,A6: set @ A,P2: A > A > $o,C5: set @ A] :
      ( ( pred_chain @ A @ A6 @ P2 @ C5 )
     => ( ~ ( pred_maxchain @ A @ A6 @ P2 @ C5 )
       => ( ( pred_chain @ A @ A6 @ P2
            @ ( fChoice @ ( set @ A )
              @ ^ [D7: set @ A] :
                  ( ( pred_chain @ A @ A6 @ P2 @ D7 )
                  & ( ord_less @ ( set @ A ) @ C5 @ D7 ) ) ) )
          & ( ord_less @ ( set @ A ) @ C5
            @ ( fChoice @ ( set @ A )
              @ ^ [D7: set @ A] :
                  ( ( pred_chain @ A @ A6 @ P2 @ D7 )
                  & ( ord_less @ ( set @ A ) @ C5 @ D7 ) ) ) ) ) ) ) ).

% pred_on.not_maxchain_Some
thf(fact_8063_type__copy__vimage2p__Grp__Abs,axiom,
    ! [A: $tType,B: $tType,C: $tType,D: $tType,Rep: A > B,Abs: B > A,G3: D > C,P2: C > $o,H: C > A] :
      ( ( type_definition @ A @ B @ Rep @ Abs @ ( top_top @ ( set @ B ) ) )
     => ( ( bNF_vimage2p @ D @ C @ B @ A @ $o @ G3 @ Abs @ ( bNF_Grp @ C @ A @ ( collect @ C @ P2 ) @ H ) )
        = ( bNF_Grp @ D @ B
          @ ( collect @ D
            @ ^ [X4: D] : ( P2 @ ( G3 @ X4 ) ) )
          @ ( comp @ C @ B @ D @ ( comp @ A @ B @ C @ Rep @ H ) @ G3 ) ) ) ) ).

% type_copy_vimage2p_Grp_Abs
thf(fact_8064_vimage2p__relcompp__mono,axiom,
    ! [C: $tType,F2: $tType,E: $tType,D: $tType,B: $tType,A: $tType,R4: A > C > $o,S: C > B > $o,T8: A > B > $o,F3: D > A,G3: F2 > C,H: E > B] :
      ( ( ord_less_eq @ ( A > B > $o ) @ ( relcompp @ A @ C @ B @ R4 @ S ) @ T8 )
     => ( ord_less_eq @ ( D > E > $o ) @ ( relcompp @ D @ F2 @ E @ ( bNF_vimage2p @ D @ A @ F2 @ C @ $o @ F3 @ G3 @ R4 ) @ ( bNF_vimage2p @ F2 @ C @ E @ B @ $o @ G3 @ H @ S ) ) @ ( bNF_vimage2p @ D @ A @ E @ B @ $o @ F3 @ H @ T8 ) ) ) ).

% vimage2p_relcompp_mono
thf(fact_8065_rel__fun__iff__leq__vimage2p,axiom,
    ! [C: $tType,D: $tType,B: $tType,A: $tType] :
      ( ( bNF_rel_fun @ A @ B @ C @ D )
      = ( ^ [R2: A > B > $o,S4: C > D > $o,F4: A > C,G4: B > D] : ( ord_less_eq @ ( A > B > $o ) @ R2 @ ( bNF_vimage2p @ A @ C @ B @ D @ $o @ F4 @ G4 @ S4 ) ) ) ) ).

% rel_fun_iff_leq_vimage2p
thf(fact_8066_vimage2p__mono,axiom,
    ! [A: $tType,D: $tType,B: $tType,C: $tType,F3: A > B,G3: C > D,R4: B > D > $o,X: A,Y: C,S: B > D > $o] :
      ( ( bNF_vimage2p @ A @ B @ C @ D @ $o @ F3 @ G3 @ R4 @ X @ Y )
     => ( ( ord_less_eq @ ( B > D > $o ) @ R4 @ S )
       => ( bNF_vimage2p @ A @ B @ C @ D @ $o @ F3 @ G3 @ S @ X @ Y ) ) ) ).

% vimage2p_mono
thf(fact_8067_predicate2D__vimage2p,axiom,
    ! [A: $tType,C: $tType,D: $tType,B: $tType,R4: A > B > $o,F3: A > C,G3: B > D,S: C > D > $o,X: A,Y: B] :
      ( ( ord_less_eq @ ( A > B > $o ) @ R4 @ ( bNF_vimage2p @ A @ C @ B @ D @ $o @ F3 @ G3 @ S ) )
     => ( ( R4 @ X @ Y )
       => ( S @ ( F3 @ X ) @ ( G3 @ Y ) ) ) ) ).

% predicate2D_vimage2p
thf(fact_8068_vimage2p__def,axiom,
    ! [B: $tType,E: $tType,C: $tType,D: $tType,A: $tType] :
      ( ( bNF_vimage2p @ A @ D @ B @ E @ C )
      = ( ^ [F4: A > D,G4: B > E,R2: D > E > C,X4: A,Y4: B] : ( R2 @ ( F4 @ X4 ) @ ( G4 @ Y4 ) ) ) ) ).

% vimage2p_def
thf(fact_8069_vimage2p__cong,axiom,
    ! [E: $tType,D: $tType,C: $tType,B: $tType,A: $tType,R4: A > B > C,S: A > B > C,F3: D > A,G3: E > B] :
      ( ( R4 = S )
     => ( ( bNF_vimage2p @ D @ A @ E @ B @ C @ F3 @ G3 @ R4 )
        = ( bNF_vimage2p @ D @ A @ E @ B @ C @ F3 @ G3 @ S ) ) ) ).

% vimage2p_cong
thf(fact_8070_subset_OHausdorff,axiom,
    ! [A: $tType,A6: set @ ( set @ A )] :
    ? [X_1: set @ ( set @ A )] : ( pred_maxchain @ ( set @ A ) @ A6 @ ( ord_less @ ( set @ A ) ) @ X_1 ) ).

% subset.Hausdorff
thf(fact_8071_subset_Omaxchain__def,axiom,
    ! [A: $tType,A6: set @ ( set @ A ),C5: set @ ( set @ A )] :
      ( ( pred_maxchain @ ( set @ A ) @ A6 @ ( ord_less @ ( set @ A ) ) @ C5 )
      = ( ( pred_chain @ ( set @ A ) @ A6 @ ( ord_less @ ( set @ A ) ) @ C5 )
        & ~ ? [S4: set @ ( set @ A )] :
              ( ( pred_chain @ ( set @ A ) @ A6 @ ( ord_less @ ( set @ A ) ) @ S4 )
              & ( ord_less @ ( set @ ( set @ A ) ) @ C5 @ S4 ) ) ) ) ).

% subset.maxchain_def
thf(fact_8072_subset_Omaxchain__imp__chain,axiom,
    ! [A: $tType,A6: set @ ( set @ A ),C5: set @ ( set @ A )] :
      ( ( pred_maxchain @ ( set @ A ) @ A6 @ ( ord_less @ ( set @ A ) ) @ C5 )
     => ( pred_chain @ ( set @ A ) @ A6 @ ( ord_less @ ( set @ A ) ) @ C5 ) ) ).

% subset.maxchain_imp_chain
thf(fact_8073_subset_Onot__maxchain__Some,axiom,
    ! [A: $tType,A6: set @ ( set @ A ),C5: set @ ( set @ A )] :
      ( ( pred_chain @ ( set @ A ) @ A6 @ ( ord_less @ ( set @ A ) ) @ C5 )
     => ( ~ ( pred_maxchain @ ( set @ A ) @ A6 @ ( ord_less @ ( set @ A ) ) @ C5 )
       => ( ( pred_chain @ ( set @ A ) @ A6 @ ( ord_less @ ( set @ A ) )
            @ ( fChoice @ ( set @ ( set @ A ) )
              @ ^ [D7: set @ ( set @ A )] :
                  ( ( pred_chain @ ( set @ A ) @ A6 @ ( ord_less @ ( set @ A ) ) @ D7 )
                  & ( ord_less @ ( set @ ( set @ A ) ) @ C5 @ D7 ) ) ) )
          & ( ord_less @ ( set @ ( set @ A ) ) @ C5
            @ ( fChoice @ ( set @ ( set @ A ) )
              @ ^ [D7: set @ ( set @ A )] :
                  ( ( pred_chain @ ( set @ A ) @ A6 @ ( ord_less @ ( set @ A ) ) @ D7 )
                  & ( ord_less @ ( set @ ( set @ A ) ) @ C5 @ D7 ) ) ) ) ) ) ) ).

% subset.not_maxchain_Some
thf(fact_8074_pred__on_Omaxchain__def,axiom,
    ! [A: $tType] :
      ( ( pred_maxchain @ A )
      = ( ^ [A8: set @ A,P5: A > A > $o,C6: set @ A] :
            ( ( pred_chain @ A @ A8 @ P5 @ C6 )
            & ~ ? [S4: set @ A] :
                  ( ( pred_chain @ A @ A8 @ P5 @ S4 )
                  & ( ord_less @ ( set @ A ) @ C6 @ S4 ) ) ) ) ) ).

% pred_on.maxchain_def
thf(fact_8075_subset__maxchain__max,axiom,
    ! [A: $tType,A6: set @ ( set @ A ),C5: set @ ( set @ A ),X7: set @ A] :
      ( ( pred_maxchain @ ( set @ A ) @ A6 @ ( ord_less @ ( set @ A ) ) @ C5 )
     => ( ( member @ ( set @ A ) @ X7 @ A6 )
       => ( ( ord_less_eq @ ( set @ A ) @ ( complete_Sup_Sup @ ( set @ A ) @ C5 ) @ X7 )
         => ( ( complete_Sup_Sup @ ( set @ A ) @ C5 )
            = X7 ) ) ) ) ).

% subset_maxchain_max
thf(fact_8076_vimage2p__relcompp__converse,axiom,
    ! [E: $tType,C: $tType,D: $tType,A: $tType,F2: $tType,B: $tType,Rep: A > B,Abs: B > A,F3: C > E,G3: D > F2,R4: B > E > $o,S: B > F2 > $o] :
      ( ( type_definition @ A @ B @ Rep @ Abs @ ( top_top @ ( set @ B ) ) )
     => ( ( bNF_vimage2p @ C @ E @ D @ F2 @ $o @ F3 @ G3 @ ( relcompp @ E @ B @ F2 @ ( conversep @ B @ E @ R4 ) @ S ) )
        = ( relcompp @ C @ A @ D @ ( conversep @ A @ C @ ( bNF_vimage2p @ A @ B @ C @ E @ $o @ Rep @ F3 @ R4 ) ) @ ( bNF_vimage2p @ A @ B @ D @ F2 @ $o @ Rep @ G3 @ S ) ) ) ) ).

% vimage2p_relcompp_converse
thf(fact_8077_type__copy__vimage2p__Grp__Rep,axiom,
    ! [B: $tType,A: $tType,D: $tType,C: $tType,Rep: A > B,Abs: B > A,F3: C > D,P2: D > $o,H: D > B] :
      ( ( type_definition @ A @ B @ Rep @ Abs @ ( top_top @ ( set @ B ) ) )
     => ( ( bNF_vimage2p @ C @ D @ A @ B @ $o @ F3 @ Rep @ ( bNF_Grp @ D @ B @ ( collect @ D @ P2 ) @ H ) )
        = ( bNF_Grp @ C @ A
          @ ( collect @ C
            @ ^ [X4: C] : ( P2 @ ( F3 @ X4 ) ) )
          @ ( comp @ D @ A @ C @ ( comp @ B @ A @ D @ Abs @ H ) @ F3 ) ) ) ) ).

% type_copy_vimage2p_Grp_Rep
thf(fact_8078_convol__image__vimage2p,axiom,
    ! [C: $tType,D: $tType,B: $tType,A: $tType,F3: C > A,G3: D > B,R4: A > B > $o] : ( ord_less_eq @ ( set @ ( product_prod @ A @ B ) ) @ ( image2 @ ( product_prod @ C @ D ) @ ( product_prod @ A @ B ) @ ( bNF_convol @ ( product_prod @ C @ D ) @ A @ B @ ( comp @ C @ A @ ( product_prod @ C @ D ) @ F3 @ ( product_fst @ C @ D ) ) @ ( comp @ D @ B @ ( product_prod @ C @ D ) @ G3 @ ( product_snd @ C @ D ) ) ) @ ( collect @ ( product_prod @ C @ D ) @ ( product_case_prod @ C @ D @ $o @ ( bNF_vimage2p @ C @ A @ D @ B @ $o @ F3 @ G3 @ R4 ) ) ) ) @ ( collect @ ( product_prod @ A @ B ) @ ( product_case_prod @ A @ B @ $o @ R4 ) ) ) ).

% convol_image_vimage2p
thf(fact_8079_pred__on_Osuc__def,axiom,
    ! [A: $tType] :
      ( ( pred_suc @ A )
      = ( ^ [A8: set @ A,P5: A > A > $o,C6: set @ A] :
            ( if @ ( set @ A )
            @ ( ~ ( pred_chain @ A @ A8 @ P5 @ C6 )
              | ( pred_maxchain @ A @ A8 @ P5 @ C6 ) )
            @ C6
            @ ( fChoice @ ( set @ A )
              @ ^ [D7: set @ A] :
                  ( ( pred_chain @ A @ A8 @ P5 @ D7 )
                  & ( ord_less @ ( set @ A ) @ C6 @ D7 ) ) ) ) ) ) ).

% pred_on.suc_def
thf(fact_8080_subset_Onot__chain__suc,axiom,
    ! [A: $tType,A6: set @ ( set @ A ),X7: set @ ( set @ A )] :
      ( ~ ( pred_chain @ ( set @ A ) @ A6 @ ( ord_less @ ( set @ A ) ) @ X7 )
     => ( ( pred_suc @ ( set @ A ) @ A6 @ ( ord_less @ ( set @ A ) ) @ X7 )
        = X7 ) ) ).

% subset.not_chain_suc
thf(fact_8081_subset_Omaxchain__suc,axiom,
    ! [A: $tType,A6: set @ ( set @ A ),X7: set @ ( set @ A )] :
      ( ( pred_maxchain @ ( set @ A ) @ A6 @ ( ord_less @ ( set @ A ) ) @ X7 )
     => ( ( pred_suc @ ( set @ A ) @ A6 @ ( ord_less @ ( set @ A ) ) @ X7 )
        = X7 ) ) ).

% subset.maxchain_suc
thf(fact_8082_subset_Osuc__not__equals,axiom,
    ! [A: $tType,A6: set @ ( set @ A ),C5: set @ ( set @ A )] :
      ( ( pred_chain @ ( set @ A ) @ A6 @ ( ord_less @ ( set @ A ) ) @ C5 )
     => ( ~ ( pred_maxchain @ ( set @ A ) @ A6 @ ( ord_less @ ( set @ A ) ) @ C5 )
       => ( ( pred_suc @ ( set @ A ) @ A6 @ ( ord_less @ ( set @ A ) ) @ C5 )
         != C5 ) ) ) ).

% subset.suc_not_equals
thf(fact_8083_subset_Osuc__def,axiom,
    ! [A: $tType,A6: set @ ( set @ A ),C5: set @ ( set @ A )] :
      ( ( ( ~ ( pred_chain @ ( set @ A ) @ A6 @ ( ord_less @ ( set @ A ) ) @ C5 )
          | ( pred_maxchain @ ( set @ A ) @ A6 @ ( ord_less @ ( set @ A ) ) @ C5 ) )
       => ( ( pred_suc @ ( set @ A ) @ A6 @ ( ord_less @ ( set @ A ) ) @ C5 )
          = C5 ) )
      & ( ~ ( ~ ( pred_chain @ ( set @ A ) @ A6 @ ( ord_less @ ( set @ A ) ) @ C5 )
            | ( pred_maxchain @ ( set @ A ) @ A6 @ ( ord_less @ ( set @ A ) ) @ C5 ) )
       => ( ( pred_suc @ ( set @ A ) @ A6 @ ( ord_less @ ( set @ A ) ) @ C5 )
          = ( fChoice @ ( set @ ( set @ A ) )
            @ ^ [D7: set @ ( set @ A )] :
                ( ( pred_chain @ ( set @ A ) @ A6 @ ( ord_less @ ( set @ A ) ) @ D7 )
                & ( ord_less @ ( set @ ( set @ A ) ) @ C5 @ D7 ) ) ) ) ) ) ).

% subset.suc_def
thf(fact_8084_subset_Ochain__suc,axiom,
    ! [A: $tType,A6: set @ ( set @ A ),X7: set @ ( set @ A )] :
      ( ( pred_chain @ ( set @ A ) @ A6 @ ( ord_less @ ( set @ A ) ) @ X7 )
     => ( pred_chain @ ( set @ A ) @ A6 @ ( ord_less @ ( set @ A ) ) @ ( pred_suc @ ( set @ A ) @ A6 @ ( ord_less @ ( set @ A ) ) @ X7 ) ) ) ).

% subset.chain_suc
thf(fact_8085_pred__on_Ochain__sucD,axiom,
    ! [A: $tType,A6: set @ A,P2: A > A > $o,X7: set @ A] :
      ( ( pred_chain @ A @ A6 @ P2 @ X7 )
     => ( ( ord_less_eq @ ( set @ A ) @ ( pred_suc @ A @ A6 @ P2 @ X7 ) @ A6 )
        & ( pred_chain @ A @ A6 @ P2 @ ( pred_suc @ A @ A6 @ P2 @ X7 ) ) ) ) ).

% pred_on.chain_sucD
thf(fact_8086_convol__def,axiom,
    ! [C: $tType,B: $tType,A: $tType] :
      ( ( bNF_convol @ A @ B @ C )
      = ( ^ [F4: A > B,G4: A > C,A7: A] : ( product_Pair @ B @ C @ ( F4 @ A7 ) @ ( G4 @ A7 ) ) ) ) ).

% convol_def
thf(fact_8087_subset_Osubset__suc,axiom,
    ! [A: $tType,X7: set @ ( set @ A ),Y7: set @ ( set @ A ),A6: set @ ( set @ A )] :
      ( ( ord_less_eq @ ( set @ ( set @ A ) ) @ X7 @ Y7 )
     => ( ord_less_eq @ ( set @ ( set @ A ) ) @ X7 @ ( pred_suc @ ( set @ A ) @ A6 @ ( ord_less @ ( set @ A ) ) @ Y7 ) ) ) ).

% subset.subset_suc
thf(fact_8088_subset_Osuc__subset,axiom,
    ! [A: $tType,X7: set @ ( set @ A ),A6: set @ ( set @ A )] : ( ord_less_eq @ ( set @ ( set @ A ) ) @ X7 @ ( pred_suc @ ( set @ A ) @ A6 @ ( ord_less @ ( set @ A ) ) @ X7 ) ) ).

% subset.suc_subset
thf(fact_8089_subset_Osuc__in__carrier,axiom,
    ! [A: $tType,X7: set @ ( set @ A ),A6: set @ ( set @ A )] :
      ( ( ord_less_eq @ ( set @ ( set @ A ) ) @ X7 @ A6 )
     => ( ord_less_eq @ ( set @ ( set @ A ) ) @ ( pred_suc @ ( set @ A ) @ A6 @ ( ord_less @ ( set @ A ) ) @ X7 ) @ A6 ) ) ).

% subset.suc_in_carrier
thf(fact_8090_pred__on_Osubset__suc,axiom,
    ! [A: $tType,X7: set @ A,Y7: set @ A,A6: set @ A,P2: A > A > $o] :
      ( ( ord_less_eq @ ( set @ A ) @ X7 @ Y7 )
     => ( ord_less_eq @ ( set @ A ) @ X7 @ ( pred_suc @ A @ A6 @ P2 @ Y7 ) ) ) ).

% pred_on.subset_suc
thf(fact_8091_pred__on_Osuc__subset,axiom,
    ! [A: $tType,X7: set @ A,A6: set @ A,P2: A > A > $o] : ( ord_less_eq @ ( set @ A ) @ X7 @ ( pred_suc @ A @ A6 @ P2 @ X7 ) ) ).

% pred_on.suc_subset
thf(fact_8092_pred__on_Osuc__in__carrier,axiom,
    ! [A: $tType,X7: set @ A,A6: set @ A,P2: A > A > $o] :
      ( ( ord_less_eq @ ( set @ A ) @ X7 @ A6 )
     => ( ord_less_eq @ ( set @ A ) @ ( pred_suc @ A @ A6 @ P2 @ X7 ) @ A6 ) ) ).

% pred_on.suc_in_carrier
thf(fact_8093_subset_Ochain__sucD,axiom,
    ! [A: $tType,A6: set @ ( set @ A ),X7: set @ ( set @ A )] :
      ( ( pred_chain @ ( set @ A ) @ A6 @ ( ord_less @ ( set @ A ) ) @ X7 )
     => ( ( ord_less_eq @ ( set @ ( set @ A ) ) @ ( pred_suc @ ( set @ A ) @ A6 @ ( ord_less @ ( set @ A ) ) @ X7 ) @ A6 )
        & ( pred_chain @ ( set @ A ) @ A6 @ ( ord_less @ ( set @ A ) ) @ ( pred_suc @ ( set @ A ) @ A6 @ ( ord_less @ ( set @ A ) ) @ X7 ) ) ) ) ).

% subset.chain_sucD
thf(fact_8094_Quotient__alt__def5,axiom,
    ! [B: $tType,A: $tType] :
      ( ( quotient @ A @ B )
      = ( ^ [R2: A > A > $o,Abs2: A > B,Rep2: B > A,T10: A > B > $o] :
            ( ( ord_less_eq @ ( A > B > $o ) @ T10 @ ( bNF_Grp @ A @ B @ ( top_top @ ( set @ A ) ) @ Abs2 ) )
            & ( ord_less_eq @ ( B > A > $o ) @ ( bNF_Grp @ B @ A @ ( top_top @ ( set @ B ) ) @ Rep2 ) @ ( conversep @ A @ B @ T10 ) )
            & ( R2
              = ( relcompp @ A @ B @ A @ T10 @ ( conversep @ A @ B @ T10 ) ) ) ) ) ) ).

% Quotient_alt_def5
thf(fact_8095_sorted__wrt__iff__nth__Suc__transp,axiom,
    ! [A: $tType,P2: A > A > $o,Xs: list @ A] :
      ( ( transp @ A @ P2 )
     => ( ( sorted_wrt @ A @ P2 @ Xs )
        = ( ! [I: nat] :
              ( ( ord_less @ nat @ ( suc @ I ) @ ( size_size @ ( list @ A ) @ Xs ) )
             => ( P2 @ ( nth @ A @ Xs @ I ) @ ( nth @ A @ Xs @ ( suc @ I ) ) ) ) ) ) ) ).

% sorted_wrt_iff_nth_Suc_transp
thf(fact_8096_transp__less,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ( transp @ A @ ( ord_less @ A ) ) ) ).

% transp_less
thf(fact_8097_transp__gr,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ( transp @ A
        @ ^ [X4: A,Y4: A] : ( ord_less @ A @ Y4 @ X4 ) ) ) ).

% transp_gr
thf(fact_8098_Quotient__rep__abs__eq,axiom,
    ! [B: $tType,A: $tType,R4: A > A > $o,Abs: A > B,Rep: B > A,T8: A > B > $o,T5: A] :
      ( ( quotient @ A @ B @ R4 @ Abs @ Rep @ T8 )
     => ( ( R4 @ T5 @ T5 )
       => ( ( ord_less_eq @ ( A > A > $o ) @ R4
            @ ^ [Y6: A,Z5: A] : Y6 = Z5 )
         => ( ( Rep @ ( Abs @ T5 ) )
            = T5 ) ) ) ) ).

% Quotient_rep_abs_eq
thf(fact_8099_transp__ge,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ( transp @ A
        @ ^ [X4: A,Y4: A] : ( ord_less_eq @ A @ Y4 @ X4 ) ) ) ).

% transp_ge
thf(fact_8100_transp__le,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ( transp @ A @ ( ord_less_eq @ A ) ) ) ).

% transp_le
thf(fact_8101_transp__trans__eq,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] :
      ( ( transp @ A
        @ ^ [X4: A,Y4: A] : ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X4 @ Y4 ) @ R3 ) )
      = ( trans @ A @ R3 ) ) ).

% transp_trans_eq
thf(fact_8102_UNIV__typedef__to__Quotient,axiom,
    ! [A: $tType,B: $tType,Rep: A > B,Abs: B > A,T8: B > A > $o] :
      ( ( type_definition @ A @ B @ Rep @ Abs @ ( top_top @ ( set @ B ) ) )
     => ( ( T8
          = ( ^ [X4: B,Y4: A] :
                ( X4
                = ( Rep @ Y4 ) ) ) )
       => ( quotient @ B @ A
          @ ^ [Y6: B,Z5: B] : Y6 = Z5
          @ Abs
          @ Rep
          @ T8 ) ) ) ).

% UNIV_typedef_to_Quotient
thf(fact_8103_subset__mset_Otransp__ge,axiom,
    ! [A: $tType] :
      ( transp @ ( multiset @ A )
      @ ^ [X4: multiset @ A,Y4: multiset @ A] : ( subseteq_mset @ A @ Y4 @ X4 ) ) ).

% subset_mset.transp_ge
thf(fact_8104_transp__singleton,axiom,
    ! [A: $tType,A3: A] :
      ( transp @ A
      @ ^ [X4: A,Y4: A] :
          ( ( X4 = A3 )
          & ( Y4 = A3 ) ) ) ).

% transp_singleton
thf(fact_8105_transp__empty,axiom,
    ! [A: $tType] :
      ( transp @ A
      @ ^ [X4: A,Y4: A] : $false ) ).

% transp_empty
thf(fact_8106_Quotient__cr__rel,axiom,
    ! [B: $tType,A: $tType,R4: A > A > $o,Abs: A > B,Rep: B > A,T8: A > B > $o] :
      ( ( quotient @ A @ B @ R4 @ Abs @ Rep @ T8 )
     => ( T8
        = ( ^ [X4: A,Y4: B] :
              ( ( R4 @ X4 @ X4 )
              & ( ( Abs @ X4 )
                = Y4 ) ) ) ) ) ).

% Quotient_cr_rel
thf(fact_8107_Quotient__def,axiom,
    ! [B: $tType,A: $tType] :
      ( ( quotient @ A @ B )
      = ( ^ [R2: A > A > $o,Abs2: A > B,Rep2: B > A,T10: A > B > $o] :
            ( ! [A7: B] :
                ( ( Abs2 @ ( Rep2 @ A7 ) )
                = A7 )
            & ! [A7: B] : ( R2 @ ( Rep2 @ A7 ) @ ( Rep2 @ A7 ) )
            & ! [R5: A,S5: A] :
                ( ( R2 @ R5 @ S5 )
                = ( ( R2 @ R5 @ R5 )
                  & ( R2 @ S5 @ S5 )
                  & ( ( Abs2 @ R5 )
                    = ( Abs2 @ S5 ) ) ) )
            & ( T10
              = ( ^ [X4: A,Y4: B] :
                    ( ( R2 @ X4 @ X4 )
                    & ( ( Abs2 @ X4 )
                      = Y4 ) ) ) ) ) ) ) ).

% Quotient_def
thf(fact_8108_QuotientI,axiom,
    ! [A: $tType,B: $tType,Abs: B > A,Rep: A > B,R4: B > B > $o,T8: B > A > $o] :
      ( ! [A5: A] :
          ( ( Abs @ ( Rep @ A5 ) )
          = A5 )
     => ( ! [A5: A] : ( R4 @ ( Rep @ A5 ) @ ( Rep @ A5 ) )
       => ( ! [R: B,S7: B] :
              ( ( R4 @ R @ S7 )
              = ( ( R4 @ R @ R )
                & ( R4 @ S7 @ S7 )
                & ( ( Abs @ R )
                  = ( Abs @ S7 ) ) ) )
         => ( ( T8
              = ( ^ [X4: B,Y4: A] :
                    ( ( R4 @ X4 @ X4 )
                    & ( ( Abs @ X4 )
                      = Y4 ) ) ) )
           => ( quotient @ B @ A @ R4 @ Abs @ Rep @ T8 ) ) ) ) ) ).

% QuotientI
thf(fact_8109_open__typedef__to__Quotient,axiom,
    ! [A: $tType,B: $tType,Rep: A > B,Abs: B > A,P2: B > $o,T8: B > A > $o] :
      ( ( type_definition @ A @ B @ Rep @ Abs @ ( collect @ B @ P2 ) )
     => ( ( T8
          = ( ^ [X4: B,Y4: A] :
                ( X4
                = ( Rep @ Y4 ) ) ) )
       => ( quotient @ B @ A @ ( bNF_eq_onp @ B @ P2 ) @ Abs @ Rep @ T8 ) ) ) ).

% open_typedef_to_Quotient
thf(fact_8110_typedef__to__Quotient,axiom,
    ! [A: $tType,B: $tType,Rep: A > B,Abs: B > A,S: set @ B,T8: B > A > $o] :
      ( ( type_definition @ A @ B @ Rep @ Abs @ S )
     => ( ( T8
          = ( ^ [X4: B,Y4: A] :
                ( X4
                = ( Rep @ Y4 ) ) ) )
       => ( quotient @ B @ A
          @ ( bNF_eq_onp @ B
            @ ^ [X4: B] : ( member @ B @ X4 @ S ) )
          @ Abs
          @ Rep
          @ T8 ) ) ) ).

% typedef_to_Quotient
thf(fact_8111_subset__mset_Otransp__gr,axiom,
    ! [A: $tType] :
      ( transp @ ( multiset @ A )
      @ ^ [X4: multiset @ A,Y4: multiset @ A] : ( subset_mset @ A @ Y4 @ X4 ) ) ).

% subset_mset.transp_gr
thf(fact_8112_transp__trans,axiom,
    ! [A: $tType] :
      ( ( transp @ A )
      = ( ^ [R5: A > A > $o] : ( trans @ A @ ( collect @ ( product_prod @ A @ A ) @ ( product_case_prod @ A @ A @ $o @ R5 ) ) ) ) ) ).

% transp_trans
thf(fact_8113_transp__relcompp__less__eq,axiom,
    ! [A: $tType,R3: A > A > $o] :
      ( ( transp @ A @ R3 )
     => ( ord_less_eq @ ( A > A > $o ) @ ( relcompp @ A @ A @ A @ R3 @ R3 ) @ R3 ) ) ).

% transp_relcompp_less_eq
thf(fact_8114_transp__relcompp,axiom,
    ! [A: $tType] :
      ( ( transp @ A )
      = ( ^ [R5: A > A > $o] : ( ord_less_eq @ ( A > A > $o ) @ ( relcompp @ A @ A @ A @ R5 @ R5 ) @ R5 ) ) ) ).

% transp_relcompp
thf(fact_8115_multp__implies__one__step,axiom,
    ! [A: $tType,R3: A > A > $o,M6: multiset @ A,N7: multiset @ A] :
      ( ( transp @ A @ R3 )
     => ( ( multp @ A @ R3 @ M6 @ N7 )
       => ? [I8: multiset @ A,J6: multiset @ A] :
            ( ( N7
              = ( plus_plus @ ( multiset @ A ) @ I8 @ J6 ) )
            & ? [K9: multiset @ A] :
                ( ( M6
                  = ( plus_plus @ ( multiset @ A ) @ I8 @ K9 ) )
                & ( J6
                 != ( zero_zero @ ( multiset @ A ) ) )
                & ! [X6: A] :
                    ( ( member @ A @ X6 @ ( set_mset @ A @ K9 ) )
                   => ? [Xa4: A] :
                        ( ( member @ A @ Xa4 @ ( set_mset @ A @ J6 ) )
                        & ( R3 @ X6 @ Xa4 ) ) ) ) ) ) ) ).

% multp_implies_one_step
thf(fact_8116_Quotient__multiset,axiom,
    ! [A: $tType] :
      ( quotient @ ( A > nat ) @ ( multiset @ A )
      @ ( bNF_eq_onp @ ( A > nat )
        @ ^ [F4: A > nat] :
            ( finite_finite2 @ A
            @ ( collect @ A
              @ ^ [X4: A] : ( ord_less @ nat @ ( zero_zero @ nat ) @ ( F4 @ X4 ) ) ) ) )
      @ ( abs_multiset @ A )
      @ ( count @ A )
      @ ( cr_multiset @ A ) ) ).

% Quotient_multiset
thf(fact_8117_Quotient__eq__onp__typedef,axiom,
    ! [B: $tType,A: $tType,P2: A > $o,Abs: A > B,Rep: B > A,Cr: A > B > $o] :
      ( ( quotient @ A @ B @ ( bNF_eq_onp @ A @ P2 ) @ Abs @ Rep @ Cr )
     => ( type_definition @ B @ A @ Rep @ Abs @ ( collect @ A @ P2 ) ) ) ).

% Quotient_eq_onp_typedef
thf(fact_8118_cr__multiset__def,axiom,
    ! [A: $tType] :
      ( ( cr_multiset @ A )
      = ( ^ [X4: A > nat,Y4: multiset @ A] :
            ( X4
            = ( count @ A @ Y4 ) ) ) ) ).

% cr_multiset_def
thf(fact_8119_Quotient__crel__typecopy,axiom,
    ! [B: $tType,A: $tType,Abs: A > B,Rep: B > A,T8: A > B > $o] :
      ( ( quotient @ A @ B
        @ ^ [Y6: A,Z5: A] : Y6 = Z5
        @ Abs
        @ Rep
        @ T8 )
     => ( T8
        = ( ^ [X4: A,Y4: B] :
              ( X4
              = ( Rep @ Y4 ) ) ) ) ) ).

% Quotient_crel_typecopy
thf(fact_8120_Quotient__crel__typedef,axiom,
    ! [B: $tType,A: $tType,P2: A > $o,Abs: A > B,Rep: B > A,T8: A > B > $o] :
      ( ( quotient @ A @ B @ ( bNF_eq_onp @ A @ P2 ) @ Abs @ Rep @ T8 )
     => ( T8
        = ( ^ [X4: A,Y4: B] :
              ( X4
              = ( Rep @ Y4 ) ) ) ) ) ).

% Quotient_crel_typedef
thf(fact_8121_multeqp__code__eq__reflclp__multp,axiom,
    ! [A: $tType,R3: A > A > $o] :
      ( ( irreflp @ A @ R3 )
     => ( ( transp @ A @ R3 )
       => ( ( multeqp_code @ A @ R3 )
          = ( sup_sup @ ( ( multiset @ A ) > ( multiset @ A ) > $o ) @ ( multp @ A @ R3 )
            @ ^ [Y6: multiset @ A,Z5: multiset @ A] : Y6 = Z5 ) ) ) ) ).

% multeqp_code_eq_reflclp_multp
thf(fact_8122_multp__cancel__max,axiom,
    ! [A: $tType,R3: A > A > $o,X7: multiset @ A,Y7: multiset @ A] :
      ( ( transp @ A @ R3 )
     => ( ( irreflp @ A @ R3 )
       => ( ( multp @ A @ R3 @ X7 @ Y7 )
          = ( multp @ A @ R3 @ ( minus_minus @ ( multiset @ A ) @ X7 @ Y7 ) @ ( minus_minus @ ( multiset @ A ) @ Y7 @ X7 ) ) ) ) ) ).

% multp_cancel_max
thf(fact_8123_irreflp__multp,axiom,
    ! [A: $tType,R3: A > A > $o] :
      ( ( transp @ A @ R3 )
     => ( ( irreflp @ A @ R3 )
       => ( irreflp @ ( multiset @ A ) @ ( multp @ A @ R3 ) ) ) ) ).

% irreflp_multp
thf(fact_8124_irreflp__less,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ( irreflp @ A @ ( ord_less @ A ) ) ) ).

% irreflp_less
thf(fact_8125_irreflp__greater,axiom,
    ! [A: $tType] :
      ( ( preorder @ A )
     => ( irreflp @ A
        @ ^ [X4: A,Y4: A] : ( ord_less @ A @ Y4 @ X4 ) ) ) ).

% irreflp_greater
thf(fact_8126_subset__mset_Oirreflp__greater,axiom,
    ! [A: $tType] :
      ( irreflp @ ( multiset @ A )
      @ ^ [X4: multiset @ A,Y4: multiset @ A] : ( subset_mset @ A @ Y4 @ X4 ) ) ).

% subset_mset.irreflp_greater
thf(fact_8127_irreflp__irrefl__eq,axiom,
    ! [A: $tType,R4: set @ ( product_prod @ A @ A )] :
      ( ( irreflp @ A
        @ ^ [A7: A,B5: A] : ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ A7 @ B5 ) @ R4 ) )
      = ( irrefl @ A @ R4 ) ) ).

% irreflp_irrefl_eq
thf(fact_8128_multp__cancel__add__mset,axiom,
    ! [A: $tType,R3: A > A > $o,Uu: A,X7: multiset @ A,Y7: multiset @ A] :
      ( ( transp @ A @ R3 )
     => ( ( irreflp @ A @ R3 )
       => ( ( multp @ A @ R3 @ ( add_mset @ A @ Uu @ X7 ) @ ( add_mset @ A @ Uu @ Y7 ) )
          = ( multp @ A @ R3 @ X7 @ Y7 ) ) ) ) ).

% multp_cancel_add_mset
thf(fact_8129_multp__cancel,axiom,
    ! [A: $tType,R3: A > A > $o,X7: multiset @ A,Z6: multiset @ A,Y7: multiset @ A] :
      ( ( transp @ A @ R3 )
     => ( ( irreflp @ A @ R3 )
       => ( ( multp @ A @ R3 @ ( plus_plus @ ( multiset @ A ) @ X7 @ Z6 ) @ ( plus_plus @ ( multiset @ A ) @ Y7 @ Z6 ) )
          = ( multp @ A @ R3 @ X7 @ Y7 ) ) ) ) ).

% multp_cancel
thf(fact_8130_prod__set__simps_I2_J,axiom,
    ! [A: $tType,B: $tType,X: A,Y: B] :
      ( ( basic_snds @ A @ B @ ( product_Pair @ A @ B @ X @ Y ) )
      = ( insert @ B @ Y @ ( bot_bot @ ( set @ B ) ) ) ) ).

% prod_set_simps(2)
thf(fact_8131_prod__set__simps_I1_J,axiom,
    ! [B: $tType,A: $tType,X: A,Y: B] :
      ( ( basic_fsts @ A @ B @ ( product_Pair @ A @ B @ X @ Y ) )
      = ( insert @ A @ X @ ( bot_bot @ ( set @ A ) ) ) ) ).

% prod_set_simps(1)
thf(fact_8132_prod_Orel__compp__Grp,axiom,
    ! [B: $tType,D: $tType,C: $tType,A: $tType] :
      ( ( basic_rel_prod @ A @ C @ B @ D )
      = ( ^ [R15: A > C > $o,R25: B > D > $o] :
            ( relcompp @ ( product_prod @ A @ B ) @ ( product_prod @ ( product_prod @ A @ C ) @ ( product_prod @ B @ D ) ) @ ( product_prod @ C @ D )
            @ ( conversep @ ( product_prod @ ( product_prod @ A @ C ) @ ( product_prod @ B @ D ) ) @ ( product_prod @ A @ B )
              @ ( bNF_Grp @ ( product_prod @ ( product_prod @ A @ C ) @ ( product_prod @ B @ D ) ) @ ( product_prod @ A @ B )
                @ ( collect @ ( product_prod @ ( product_prod @ A @ C ) @ ( product_prod @ B @ D ) )
                  @ ^ [X4: product_prod @ ( product_prod @ A @ C ) @ ( product_prod @ B @ D )] :
                      ( ( ord_less_eq @ ( set @ ( product_prod @ A @ C ) ) @ ( basic_fsts @ ( product_prod @ A @ C ) @ ( product_prod @ B @ D ) @ X4 ) @ ( collect @ ( product_prod @ A @ C ) @ ( product_case_prod @ A @ C @ $o @ R15 ) ) )
                      & ( ord_less_eq @ ( set @ ( product_prod @ B @ D ) ) @ ( basic_snds @ ( product_prod @ A @ C ) @ ( product_prod @ B @ D ) @ X4 ) @ ( collect @ ( product_prod @ B @ D ) @ ( product_case_prod @ B @ D @ $o @ R25 ) ) ) ) )
                @ ( product_map_prod @ ( product_prod @ A @ C ) @ A @ ( product_prod @ B @ D ) @ B @ ( product_fst @ A @ C ) @ ( product_fst @ B @ D ) ) ) )
            @ ( bNF_Grp @ ( product_prod @ ( product_prod @ A @ C ) @ ( product_prod @ B @ D ) ) @ ( product_prod @ C @ D )
              @ ( collect @ ( product_prod @ ( product_prod @ A @ C ) @ ( product_prod @ B @ D ) )
                @ ^ [X4: product_prod @ ( product_prod @ A @ C ) @ ( product_prod @ B @ D )] :
                    ( ( ord_less_eq @ ( set @ ( product_prod @ A @ C ) ) @ ( basic_fsts @ ( product_prod @ A @ C ) @ ( product_prod @ B @ D ) @ X4 ) @ ( collect @ ( product_prod @ A @ C ) @ ( product_case_prod @ A @ C @ $o @ R15 ) ) )
                    & ( ord_less_eq @ ( set @ ( product_prod @ B @ D ) ) @ ( basic_snds @ ( product_prod @ A @ C ) @ ( product_prod @ B @ D ) @ X4 ) @ ( collect @ ( product_prod @ B @ D ) @ ( product_case_prod @ B @ D @ $o @ R25 ) ) ) ) )
              @ ( product_map_prod @ ( product_prod @ A @ C ) @ C @ ( product_prod @ B @ D ) @ D @ ( product_snd @ A @ C ) @ ( product_snd @ B @ D ) ) ) ) ) ) ).

% prod.rel_compp_Grp
thf(fact_8133_prod_Oin__rel,axiom,
    ! [B: $tType,D: $tType,C: $tType,A: $tType] :
      ( ( basic_rel_prod @ A @ C @ B @ D )
      = ( ^ [R15: A > C > $o,R25: B > D > $o,A7: product_prod @ A @ B,B5: product_prod @ C @ D] :
          ? [Z2: product_prod @ ( product_prod @ A @ C ) @ ( product_prod @ B @ D )] :
            ( ( member @ ( product_prod @ ( product_prod @ A @ C ) @ ( product_prod @ B @ D ) ) @ Z2
              @ ( collect @ ( product_prod @ ( product_prod @ A @ C ) @ ( product_prod @ B @ D ) )
                @ ^ [X4: product_prod @ ( product_prod @ A @ C ) @ ( product_prod @ B @ D )] :
                    ( ( ord_less_eq @ ( set @ ( product_prod @ A @ C ) ) @ ( basic_fsts @ ( product_prod @ A @ C ) @ ( product_prod @ B @ D ) @ X4 ) @ ( collect @ ( product_prod @ A @ C ) @ ( product_case_prod @ A @ C @ $o @ R15 ) ) )
                    & ( ord_less_eq @ ( set @ ( product_prod @ B @ D ) ) @ ( basic_snds @ ( product_prod @ A @ C ) @ ( product_prod @ B @ D ) @ X4 ) @ ( collect @ ( product_prod @ B @ D ) @ ( product_case_prod @ B @ D @ $o @ R25 ) ) ) ) ) )
            & ( ( product_map_prod @ ( product_prod @ A @ C ) @ A @ ( product_prod @ B @ D ) @ B @ ( product_fst @ A @ C ) @ ( product_fst @ B @ D ) @ Z2 )
              = A7 )
            & ( ( product_map_prod @ ( product_prod @ A @ C ) @ C @ ( product_prod @ B @ D ) @ D @ ( product_snd @ A @ C ) @ ( product_snd @ B @ D ) @ Z2 )
              = B5 ) ) ) ) ).

% prod.in_rel
thf(fact_8134_rel__prod__inject,axiom,
    ! [B: $tType,A: $tType,C: $tType,D: $tType,R1: A > B > $o,R22: C > D > $o,A3: A,B2: C,C3: B,D3: D] :
      ( ( basic_rel_prod @ A @ B @ C @ D @ R1 @ R22 @ ( product_Pair @ A @ C @ A3 @ B2 ) @ ( product_Pair @ B @ D @ C3 @ D3 ) )
      = ( ( R1 @ A3 @ C3 )
        & ( R22 @ B2 @ D3 ) ) ) ).

% rel_prod_inject
thf(fact_8135_Pair__transfer,axiom,
    ! [A: $tType,C: $tType,D: $tType,B: $tType,A6: A > B > $o,B6: C > D > $o] : ( bNF_rel_fun @ A @ B @ ( C > ( product_prod @ A @ C ) ) @ ( D > ( product_prod @ B @ D ) ) @ A6 @ ( bNF_rel_fun @ C @ D @ ( product_prod @ A @ C ) @ ( product_prod @ B @ D ) @ B6 @ ( basic_rel_prod @ A @ B @ C @ D @ A6 @ B6 ) ) @ ( product_Pair @ A @ C ) @ ( product_Pair @ B @ D ) ) ).

% Pair_transfer
thf(fact_8136_rat_Odomain,axiom,
    ( ( domainp @ ( product_prod @ int @ int ) @ rat @ pcr_rat )
    = ( ^ [X4: product_prod @ int @ int] :
        ? [Y4: product_prod @ int @ int] :
          ( ( basic_rel_prod @ int @ int @ int @ int
            @ ^ [Y6: int,Z5: int] : Y6 = Z5
            @ ^ [Y6: int,Z5: int] : Y6 = Z5
            @ X4
            @ Y4 )
          & ( ratrel @ Y4 @ Y4 ) ) ) ) ).

% rat.domain
thf(fact_8137_prod_Orel__mono,axiom,
    ! [A: $tType,C: $tType,D: $tType,B: $tType,R1: A > C > $o,R1a: A > C > $o,R22: B > D > $o,R2a: B > D > $o] :
      ( ( ord_less_eq @ ( A > C > $o ) @ R1 @ R1a )
     => ( ( ord_less_eq @ ( B > D > $o ) @ R22 @ R2a )
       => ( ord_less_eq @ ( ( product_prod @ A @ B ) > ( product_prod @ C @ D ) > $o ) @ ( basic_rel_prod @ A @ C @ B @ D @ R1 @ R22 ) @ ( basic_rel_prod @ A @ C @ B @ D @ R1a @ R2a ) ) ) ) ).

% prod.rel_mono
thf(fact_8138_int_Oid__abs__transfer,axiom,
    ( bNF_rel_fun @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) @ ( product_prod @ nat @ nat ) @ int
    @ ( basic_rel_prod @ nat @ nat @ nat @ nat
      @ ^ [Y6: nat,Z5: nat] : Y6 = Z5
      @ ^ [Y6: nat,Z5: nat] : Y6 = Z5 )
    @ pcr_int
    @ ^ [X4: product_prod @ nat @ nat] : X4
    @ abs_Integ ) ).

% int.id_abs_transfer
thf(fact_8139_rel__prod_Ocases,axiom,
    ! [B: $tType,A: $tType,C: $tType,D: $tType,R1: A > B > $o,R22: C > D > $o,A1: product_prod @ A @ C,A22: product_prod @ B @ D] :
      ( ( basic_rel_prod @ A @ B @ C @ D @ R1 @ R22 @ A1 @ A22 )
     => ~ ! [A5: A,B4: B,C2: C] :
            ( ( A1
              = ( product_Pair @ A @ C @ A5 @ C2 ) )
           => ! [D2: D] :
                ( ( A22
                  = ( product_Pair @ B @ D @ B4 @ D2 ) )
               => ( ( R1 @ A5 @ B4 )
                 => ~ ( R22 @ C2 @ D2 ) ) ) ) ) ).

% rel_prod.cases
thf(fact_8140_rel__prod_Osimps,axiom,
    ! [C: $tType,D: $tType,B: $tType,A: $tType] :
      ( ( basic_rel_prod @ A @ B @ C @ D )
      = ( ^ [R15: A > B > $o,R25: C > D > $o,A12: product_prod @ A @ C,A23: product_prod @ B @ D] :
          ? [A7: A,B5: B,C4: C,D6: D] :
            ( ( A12
              = ( product_Pair @ A @ C @ A7 @ C4 ) )
            & ( A23
              = ( product_Pair @ B @ D @ B5 @ D6 ) )
            & ( R15 @ A7 @ B5 )
            & ( R25 @ C4 @ D6 ) ) ) ) ).

% rel_prod.simps
thf(fact_8141_rel__prod_Ointros,axiom,
    ! [C: $tType,A: $tType,B: $tType,D: $tType,R1: A > B > $o,A3: A,B2: B,R22: C > D > $o,C3: C,D3: D] :
      ( ( R1 @ A3 @ B2 )
     => ( ( R22 @ C3 @ D3 )
       => ( basic_rel_prod @ A @ B @ C @ D @ R1 @ R22 @ ( product_Pair @ A @ C @ A3 @ C3 ) @ ( product_Pair @ B @ D @ B2 @ D3 ) ) ) ) ).

% rel_prod.intros
thf(fact_8142_prod_Orel__map_I1_J,axiom,
    ! [A: $tType,B: $tType,E: $tType,F2: $tType,D: $tType,C: $tType,S1b: E > C > $o,S2b: F2 > D > $o,I1: A > E,I22: B > F2,X: product_prod @ A @ B,Y: product_prod @ C @ D] :
      ( ( basic_rel_prod @ E @ C @ F2 @ D @ S1b @ S2b @ ( product_map_prod @ A @ E @ B @ F2 @ I1 @ I22 @ X ) @ Y )
      = ( basic_rel_prod @ A @ C @ B @ D
        @ ^ [X4: A] : ( S1b @ ( I1 @ X4 ) )
        @ ^ [X4: B] : ( S2b @ ( I22 @ X4 ) )
        @ X
        @ Y ) ) ).

% prod.rel_map(1)
thf(fact_8143_prod_Orel__map_I2_J,axiom,
    ! [A: $tType,B: $tType,E: $tType,F2: $tType,D: $tType,C: $tType,S1a: A > E > $o,S2a: B > F2 > $o,X: product_prod @ A @ B,G1: C > E,G22: D > F2,Y: product_prod @ C @ D] :
      ( ( basic_rel_prod @ A @ E @ B @ F2 @ S1a @ S2a @ X @ ( product_map_prod @ C @ E @ D @ F2 @ G1 @ G22 @ Y ) )
      = ( basic_rel_prod @ A @ C @ B @ D
        @ ^ [X4: A,Y4: C] : ( S1a @ X4 @ ( G1 @ Y4 ) )
        @ ^ [X4: B,Y4: D] : ( S2a @ X4 @ ( G22 @ Y4 ) )
        @ X
        @ Y ) ) ).

% prod.rel_map(2)
thf(fact_8144_rel__prod__conv,axiom,
    ! [B: $tType,D: $tType,C: $tType,A: $tType] :
      ( ( basic_rel_prod @ A @ C @ B @ D )
      = ( ^ [R15: A > C > $o,R25: B > D > $o] :
            ( product_case_prod @ A @ B @ ( ( product_prod @ C @ D ) > $o )
            @ ^ [A7: A,B5: B] :
                ( product_case_prod @ C @ D @ $o
                @ ^ [C4: C,D6: D] :
                    ( ( R15 @ A7 @ C4 )
                    & ( R25 @ B5 @ D6 ) ) ) ) ) ) ).

% rel_prod_conv
thf(fact_8145_curry__transfer,axiom,
    ! [A: $tType,B: $tType,C: $tType,F2: $tType,E: $tType,D: $tType,A6: A > D > $o,B6: B > E > $o,C5: C > F2 > $o] : ( bNF_rel_fun @ ( ( product_prod @ A @ B ) > C ) @ ( ( product_prod @ D @ E ) > F2 ) @ ( A > B > C ) @ ( D > E > F2 ) @ ( bNF_rel_fun @ ( product_prod @ A @ B ) @ ( product_prod @ D @ E ) @ C @ F2 @ ( basic_rel_prod @ A @ D @ B @ E @ A6 @ B6 ) @ C5 ) @ ( bNF_rel_fun @ A @ D @ ( B > C ) @ ( E > F2 ) @ A6 @ ( bNF_rel_fun @ B @ E @ C @ F2 @ B6 @ C5 ) ) @ ( product_curry @ A @ B @ C ) @ ( product_curry @ D @ E @ F2 ) ) ).

% curry_transfer
thf(fact_8146_rat_Odomain__par__left__total,axiom,
    ! [P6: ( product_prod @ int @ int ) > $o] :
      ( ( left_total @ ( product_prod @ int @ int ) @ ( product_prod @ int @ int )
        @ ( basic_rel_prod @ int @ int @ int @ int
          @ ^ [Y6: int,Z5: int] : Y6 = Z5
          @ ^ [Y6: int,Z5: int] : Y6 = Z5 ) )
     => ( ( bNF_rel_fun @ ( product_prod @ int @ int ) @ ( product_prod @ int @ int ) @ $o @ $o
          @ ( basic_rel_prod @ int @ int @ int @ int
            @ ^ [Y6: int,Z5: int] : Y6 = Z5
            @ ^ [Y6: int,Z5: int] : Y6 = Z5 )
          @ ^ [Y6: $o,Z5: $o] : Y6 = Z5
          @ P6
          @ ^ [X4: product_prod @ int @ int] : ( ratrel @ X4 @ X4 ) )
       => ( ( domainp @ ( product_prod @ int @ int ) @ rat @ pcr_rat )
          = P6 ) ) ) ).

% rat.domain_par_left_total
thf(fact_8147_prod_Orel__Grp,axiom,
    ! [A: $tType,C: $tType,D: $tType,B: $tType,A18: set @ A,F1: A > C,A25: set @ B,F22: B > D] :
      ( ( basic_rel_prod @ A @ C @ B @ D @ ( bNF_Grp @ A @ C @ A18 @ F1 ) @ ( bNF_Grp @ B @ D @ A25 @ F22 ) )
      = ( bNF_Grp @ ( product_prod @ A @ B ) @ ( product_prod @ C @ D )
        @ ( collect @ ( product_prod @ A @ B )
          @ ^ [X4: product_prod @ A @ B] :
              ( ( ord_less_eq @ ( set @ A ) @ ( basic_fsts @ A @ B @ X4 ) @ A18 )
              & ( ord_less_eq @ ( set @ B ) @ ( basic_snds @ A @ B @ X4 ) @ A25 ) ) )
        @ ( product_map_prod @ A @ C @ B @ D @ F1 @ F22 ) ) ) ).

% prod.rel_Grp
thf(fact_8148_rat_Odomain__par,axiom,
    ! [DR1: int > $o,DR2: int > $o,P23: ( product_prod @ int @ int ) > $o] :
      ( ( ( domainp @ int @ int
          @ ^ [Y6: int,Z5: int] : Y6 = Z5 )
        = DR1 )
     => ( ( ( domainp @ int @ int
            @ ^ [Y6: int,Z5: int] : Y6 = Z5 )
          = DR2 )
       => ( ( bNF_rel_fun @ ( product_prod @ int @ int ) @ ( product_prod @ int @ int ) @ $o @ $o
            @ ( basic_rel_prod @ int @ int @ int @ int
              @ ^ [Y6: int,Z5: int] : Y6 = Z5
              @ ^ [Y6: int,Z5: int] : Y6 = Z5 )
            @ ^ [Y6: $o,Z5: $o] : Y6 = Z5
            @ P23
            @ ^ [X4: product_prod @ int @ int] : ( ratrel @ X4 @ X4 ) )
         => ( ( domainp @ ( product_prod @ int @ int ) @ rat @ pcr_rat )
            = ( inf_inf @ ( ( product_prod @ int @ int ) > $o ) @ ( basic_pred_prod @ int @ int @ DR1 @ DR2 ) @ P23 ) ) ) ) ) ).

% rat.domain_par
thf(fact_8149_single__valuedp__single__valued__eq,axiom,
    ! [B: $tType,A: $tType,R3: set @ ( product_prod @ A @ B )] :
      ( ( single_valuedp @ A @ B
        @ ^ [X4: A,Y4: B] : ( member @ ( product_prod @ A @ B ) @ ( product_Pair @ A @ B @ X4 @ Y4 ) @ R3 ) )
      = ( single_valued @ A @ B @ R3 ) ) ).

% single_valuedp_single_valued_eq
thf(fact_8150_pred__prod__inject,axiom,
    ! [A: $tType,B: $tType,P1: A > $o,P24: B > $o,A3: A,B2: B] :
      ( ( basic_pred_prod @ A @ B @ P1 @ P24 @ ( product_Pair @ A @ B @ A3 @ B2 ) )
      = ( ( P1 @ A3 )
        & ( P24 @ B2 ) ) ) ).

% pred_prod_inject
thf(fact_8151_prod_Omap__cong__pred,axiom,
    ! [D: $tType,C: $tType,B: $tType,A: $tType,X: product_prod @ A @ B,Ya: product_prod @ A @ B,F1: A > C,G1: A > C,F22: B > D,G22: B > D] :
      ( ( X = Ya )
     => ( ( basic_pred_prod @ A @ B
          @ ^ [Z13: A] :
              ( ( F1 @ Z13 )
              = ( G1 @ Z13 ) )
          @ ^ [Z24: B] :
              ( ( F22 @ Z24 )
              = ( G22 @ Z24 ) )
          @ Ya )
       => ( ( product_map_prod @ A @ C @ B @ D @ F1 @ F22 @ X )
          = ( product_map_prod @ A @ C @ B @ D @ G1 @ G22 @ Ya ) ) ) ) ).

% prod.map_cong_pred
thf(fact_8152_prod_Opred__True,axiom,
    ! [B: $tType,A: $tType] :
      ( ( basic_pred_prod @ A @ B
        @ ^ [Uu2: A] : $true
        @ ^ [Uu2: B] : $true )
      = ( ^ [Uu2: product_prod @ A @ B] : $true ) ) ).

% prod.pred_True
thf(fact_8153_pred__prod_Ocases,axiom,
    ! [A: $tType,B: $tType,P1: A > $o,P24: B > $o,A3: product_prod @ A @ B] :
      ( ( basic_pred_prod @ A @ B @ P1 @ P24 @ A3 )
     => ~ ! [A5: A,B4: B] :
            ( ( A3
              = ( product_Pair @ A @ B @ A5 @ B4 ) )
           => ( ( P1 @ A5 )
             => ~ ( P24 @ B4 ) ) ) ) ).

% pred_prod.cases
thf(fact_8154_pred__prod_Osimps,axiom,
    ! [B: $tType,A: $tType] :
      ( ( basic_pred_prod @ A @ B )
      = ( ^ [P13: A > $o,P25: B > $o,A7: product_prod @ A @ B] :
          ? [B5: A,C4: B] :
            ( ( A7
              = ( product_Pair @ A @ B @ B5 @ C4 ) )
            & ( P13 @ B5 )
            & ( P25 @ C4 ) ) ) ) ).

% pred_prod.simps
thf(fact_8155_pred__prod_Ointros,axiom,
    ! [A: $tType,B: $tType,P1: A > $o,A3: A,P24: B > $o,B2: B] :
      ( ( P1 @ A3 )
     => ( ( P24 @ B2 )
       => ( basic_pred_prod @ A @ B @ P1 @ P24 @ ( product_Pair @ A @ B @ A3 @ B2 ) ) ) ) ).

% pred_prod.intros
thf(fact_8156_pred__prod__split,axiom,
    ! [B: $tType,A: $tType,P2: $o > $o,Q2: A > $o,R4: B > $o,Xy: product_prod @ A @ B] :
      ( ( P2 @ ( basic_pred_prod @ A @ B @ Q2 @ R4 @ Xy ) )
      = ( ! [X4: A,Y4: B] :
            ( ( Xy
              = ( product_Pair @ A @ B @ X4 @ Y4 ) )
           => ( P2
              @ ( ( Q2 @ X4 )
                & ( R4 @ Y4 ) ) ) ) ) ) ).

% pred_prod_split
thf(fact_8157_prod_Opred__mono,axiom,
    ! [A: $tType,B: $tType,P1: A > $o,P1a: A > $o,P24: B > $o,P2a: B > $o] :
      ( ( ord_less_eq @ ( A > $o ) @ P1 @ P1a )
     => ( ( ord_less_eq @ ( B > $o ) @ P24 @ P2a )
       => ( ord_less_eq @ ( ( product_prod @ A @ B ) > $o ) @ ( basic_pred_prod @ A @ B @ P1 @ P24 ) @ ( basic_pred_prod @ A @ B @ P1a @ P2a ) ) ) ) ).

% prod.pred_mono
thf(fact_8158_single__valuedp__less__eq,axiom,
    ! [B: $tType,A: $tType,R3: A > B > $o,S2: A > B > $o] :
      ( ( ord_less_eq @ ( A > B > $o ) @ R3 @ S2 )
     => ( ( single_valuedp @ A @ B @ S2 )
       => ( single_valuedp @ A @ B @ R3 ) ) ) ).

% single_valuedp_less_eq
thf(fact_8159_single__valuedp__iff__Uniq,axiom,
    ! [B: $tType,A: $tType] :
      ( ( single_valuedp @ A @ B )
      = ( ^ [R5: A > B > $o] :
          ! [X4: A] : ( uniq @ B @ ( R5 @ X4 ) ) ) ) ).

% single_valuedp_iff_Uniq
thf(fact_8160_Abs__rat__cases,axiom,
    ! [X: rat] :
      ~ ! [Y3: set @ ( product_prod @ int @ int )] :
          ( ( X
            = ( abs_rat @ Y3 ) )
         => ~ ( member @ ( set @ ( product_prod @ int @ int ) ) @ Y3
              @ ( collect @ ( set @ ( product_prod @ int @ int ) )
                @ ^ [C4: set @ ( product_prod @ int @ int )] :
                  ? [X4: product_prod @ int @ int] :
                    ( ( ratrel @ X4 @ X4 )
                    & ( C4
                      = ( collect @ ( product_prod @ int @ int ) @ ( ratrel @ X4 ) ) ) ) ) ) ) ).

% Abs_rat_cases
thf(fact_8161_Abs__rat__induct,axiom,
    ! [P2: rat > $o,X: rat] :
      ( ! [Y3: set @ ( product_prod @ int @ int )] :
          ( ( member @ ( set @ ( product_prod @ int @ int ) ) @ Y3
            @ ( collect @ ( set @ ( product_prod @ int @ int ) )
              @ ^ [C4: set @ ( product_prod @ int @ int )] :
                ? [X4: product_prod @ int @ int] :
                  ( ( ratrel @ X4 @ X4 )
                  & ( C4
                    = ( collect @ ( product_prod @ int @ int ) @ ( ratrel @ X4 ) ) ) ) ) )
         => ( P2 @ ( abs_rat @ Y3 ) ) )
     => ( P2 @ X ) ) ).

% Abs_rat_induct
thf(fact_8162_Abs__rat__inject,axiom,
    ! [X: set @ ( product_prod @ int @ int ),Y: set @ ( product_prod @ int @ int )] :
      ( ( member @ ( set @ ( product_prod @ int @ int ) ) @ X
        @ ( collect @ ( set @ ( product_prod @ int @ int ) )
          @ ^ [C4: set @ ( product_prod @ int @ int )] :
            ? [X4: product_prod @ int @ int] :
              ( ( ratrel @ X4 @ X4 )
              & ( C4
                = ( collect @ ( product_prod @ int @ int ) @ ( ratrel @ X4 ) ) ) ) ) )
     => ( ( member @ ( set @ ( product_prod @ int @ int ) ) @ Y
          @ ( collect @ ( set @ ( product_prod @ int @ int ) )
            @ ^ [C4: set @ ( product_prod @ int @ int )] :
              ? [X4: product_prod @ int @ int] :
                ( ( ratrel @ X4 @ X4 )
                & ( C4
                  = ( collect @ ( product_prod @ int @ int ) @ ( ratrel @ X4 ) ) ) ) ) )
       => ( ( ( abs_rat @ X )
            = ( abs_rat @ Y ) )
          = ( X = Y ) ) ) ) ).

% Abs_rat_inject
thf(fact_8163_Abs__rat__inverse,axiom,
    ! [Y: set @ ( product_prod @ int @ int )] :
      ( ( member @ ( set @ ( product_prod @ int @ int ) ) @ Y
        @ ( collect @ ( set @ ( product_prod @ int @ int ) )
          @ ^ [C4: set @ ( product_prod @ int @ int )] :
            ? [X4: product_prod @ int @ int] :
              ( ( ratrel @ X4 @ X4 )
              & ( C4
                = ( collect @ ( product_prod @ int @ int ) @ ( ratrel @ X4 ) ) ) ) ) )
     => ( ( rep_rat @ ( abs_rat @ Y ) )
        = Y ) ) ).

% Abs_rat_inverse
thf(fact_8164_type__definition__rat,axiom,
    ( type_definition @ rat @ ( set @ ( product_prod @ int @ int ) ) @ rep_rat @ abs_rat
    @ ( collect @ ( set @ ( product_prod @ int @ int ) )
      @ ^ [C4: set @ ( product_prod @ int @ int )] :
        ? [X4: product_prod @ int @ int] :
          ( ( ratrel @ X4 @ X4 )
          & ( C4
            = ( collect @ ( product_prod @ int @ int ) @ ( ratrel @ X4 ) ) ) ) ) ) ).

% type_definition_rat
thf(fact_8165_Rep__rat,axiom,
    ! [X: rat] :
      ( member @ ( set @ ( product_prod @ int @ int ) ) @ ( rep_rat @ X )
      @ ( collect @ ( set @ ( product_prod @ int @ int ) )
        @ ^ [C4: set @ ( product_prod @ int @ int )] :
          ? [X4: product_prod @ int @ int] :
            ( ( ratrel @ X4 @ X4 )
            & ( C4
              = ( collect @ ( product_prod @ int @ int ) @ ( ratrel @ X4 ) ) ) ) ) ) ).

% Rep_rat
thf(fact_8166_Rep__rat__cases,axiom,
    ! [Y: set @ ( product_prod @ int @ int )] :
      ( ( member @ ( set @ ( product_prod @ int @ int ) ) @ Y
        @ ( collect @ ( set @ ( product_prod @ int @ int ) )
          @ ^ [C4: set @ ( product_prod @ int @ int )] :
            ? [X4: product_prod @ int @ int] :
              ( ( ratrel @ X4 @ X4 )
              & ( C4
                = ( collect @ ( product_prod @ int @ int ) @ ( ratrel @ X4 ) ) ) ) ) )
     => ~ ! [X3: rat] :
            ( Y
           != ( rep_rat @ X3 ) ) ) ).

% Rep_rat_cases
thf(fact_8167_Rep__rat__induct,axiom,
    ! [Y: set @ ( product_prod @ int @ int ),P2: ( set @ ( product_prod @ int @ int ) ) > $o] :
      ( ( member @ ( set @ ( product_prod @ int @ int ) ) @ Y
        @ ( collect @ ( set @ ( product_prod @ int @ int ) )
          @ ^ [C4: set @ ( product_prod @ int @ int )] :
            ? [X4: product_prod @ int @ int] :
              ( ( ratrel @ X4 @ X4 )
              & ( C4
                = ( collect @ ( product_prod @ int @ int ) @ ( ratrel @ X4 ) ) ) ) ) )
     => ( ! [X3: rat] : ( P2 @ ( rep_rat @ X3 ) )
       => ( P2 @ Y ) ) ) ).

% Rep_rat_induct
thf(fact_8168_Partial__order__Restr,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A ),A6: set @ A] :
      ( ( order_7125193373082350890der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( order_7125193373082350890der_on @ A
        @ ( field2 @ A
          @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
            @ ( product_Sigma @ A @ A @ A6
              @ ^ [Uu2: A] : A6 ) ) )
        @ ( inf_inf @ ( set @ ( product_prod @ A @ A ) ) @ R3
          @ ( product_Sigma @ A @ A @ A6
            @ ^ [Uu2: A] : A6 ) ) ) ) ).

% Partial_order_Restr
thf(fact_8169_one__assn__def,axiom,
    ( ( one_one @ assn )
    = ( abs_assn @ one_assn_raw ) ) ).

% one_assn_def
thf(fact_8170_natLeq__Partial__order,axiom,
    order_7125193373082350890der_on @ nat @ ( field2 @ nat @ bNF_Ca8665028551170535155natLeq ) @ bNF_Ca8665028551170535155natLeq ).

% natLeq_Partial_order
thf(fact_8171_one__assn__raw_Osimps,axiom,
    ! [H: heap_ext @ product_unit,As: set @ nat] :
      ( ( one_assn_raw @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H @ As ) )
      = ( As
        = ( bot_bot @ ( set @ nat ) ) ) ) ).

% one_assn_raw.simps
thf(fact_8172_one__assn__raw_Oelims_I1_J,axiom,
    ! [X: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ),Y: $o] :
      ( ( ( one_assn_raw @ X )
        = Y )
     => ~ ! [H2: heap_ext @ product_unit,As2: set @ nat] :
            ( ( X
              = ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
           => ( Y
              = ( As2
               != ( bot_bot @ ( set @ nat ) ) ) ) ) ) ).

% one_assn_raw.elims(1)
thf(fact_8173_one__assn__raw_Oelims_I2_J,axiom,
    ! [X: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
      ( ( one_assn_raw @ X )
     => ~ ! [H2: heap_ext @ product_unit,As2: set @ nat] :
            ( ( X
              = ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
           => ( As2
             != ( bot_bot @ ( set @ nat ) ) ) ) ) ).

% one_assn_raw.elims(2)
thf(fact_8174_one__assn__raw_Oelims_I3_J,axiom,
    ! [X: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
      ( ~ ( one_assn_raw @ X )
     => ~ ! [H2: heap_ext @ product_unit,As2: set @ nat] :
            ( ( X
              = ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
           => ( As2
              = ( bot_bot @ ( set @ nat ) ) ) ) ) ).

% one_assn_raw.elims(3)
thf(fact_8175_Zorns__po__lemma,axiom,
    ! [A: $tType,R3: set @ ( product_prod @ A @ A )] :
      ( ( order_7125193373082350890der_on @ A @ ( field2 @ A @ R3 ) @ R3 )
     => ( ! [C8: set @ A] :
            ( ( member @ ( set @ A ) @ C8 @ ( chains @ A @ R3 ) )
           => ? [X6: A] :
                ( ( member @ A @ X6 @ ( field2 @ A @ R3 ) )
                & ! [Xa4: A] :
                    ( ( member @ A @ Xa4 @ C8 )
                   => ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Xa4 @ X6 ) @ R3 ) ) ) )
       => ? [X3: A] :
            ( ( member @ A @ X3 @ ( field2 @ A @ R3 ) )
            & ! [Xa3: A] :
                ( ( member @ A @ Xa3 @ ( field2 @ A @ R3 ) )
               => ( ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X3 @ Xa3 ) @ R3 )
                 => ( Xa3 = X3 ) ) ) ) ) ) ).

% Zorns_po_lemma
thf(fact_8176_one__assn__raw_Opelims_I3_J,axiom,
    ! [X: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
      ( ~ ( one_assn_raw @ X )
     => ( ( accp @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) @ one_assn_raw_rel @ X )
       => ~ ! [H2: heap_ext @ product_unit,As2: set @ nat] :
              ( ( X
                = ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
             => ( ( accp @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) @ one_assn_raw_rel @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
               => ( As2
                  = ( bot_bot @ ( set @ nat ) ) ) ) ) ) ) ).

% one_assn_raw.pelims(3)
thf(fact_8177_one__assn__raw_Opelims_I2_J,axiom,
    ! [X: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat )] :
      ( ( one_assn_raw @ X )
     => ( ( accp @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) @ one_assn_raw_rel @ X )
       => ~ ! [H2: heap_ext @ product_unit,As2: set @ nat] :
              ( ( X
                = ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
             => ( ( accp @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) @ one_assn_raw_rel @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
               => ( As2
                 != ( bot_bot @ ( set @ nat ) ) ) ) ) ) ) ).

% one_assn_raw.pelims(2)
thf(fact_8178_one__assn__raw_Opelims_I1_J,axiom,
    ! [X: product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ),Y: $o] :
      ( ( ( one_assn_raw @ X )
        = Y )
     => ( ( accp @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) @ one_assn_raw_rel @ X )
       => ~ ! [H2: heap_ext @ product_unit,As2: set @ nat] :
              ( ( X
                = ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) )
             => ( ( Y
                  = ( As2
                    = ( bot_bot @ ( set @ nat ) ) ) )
               => ~ ( accp @ ( product_prod @ ( heap_ext @ product_unit ) @ ( set @ nat ) ) @ one_assn_raw_rel @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ H2 @ As2 ) ) ) ) ) ) ).

% one_assn_raw.pelims(1)
thf(fact_8179_acyclic__insert,axiom,
    ! [A: $tType,Y: A,X: A,R3: set @ ( product_prod @ A @ A )] :
      ( ( transitive_acyclic @ A @ ( insert @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ Y @ X ) @ R3 ) )
      = ( ( transitive_acyclic @ A @ R3 )
        & ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X @ Y ) @ ( transitive_rtrancl @ A @ R3 ) ) ) ) ).

% acyclic_insert
thf(fact_8180_integer__of__char__code,axiom,
    ! [B0: $o,B1: $o,B22: $o,B32: $o,B42: $o,B52: $o,B62: $o,B72: $o] :
      ( ( integer_of_char @ ( char2 @ B0 @ B1 @ B22 @ B32 @ B42 @ B52 @ B62 @ B72 ) )
      = ( plus_plus @ code_integer @ ( times_times @ code_integer @ ( plus_plus @ code_integer @ ( times_times @ code_integer @ ( plus_plus @ code_integer @ ( times_times @ code_integer @ ( plus_plus @ code_integer @ ( times_times @ code_integer @ ( plus_plus @ code_integer @ ( times_times @ code_integer @ ( plus_plus @ code_integer @ ( times_times @ code_integer @ ( plus_plus @ code_integer @ ( times_times @ code_integer @ ( zero_neq_one_of_bool @ code_integer @ B72 ) @ ( numeral_numeral @ code_integer @ ( bit0 @ one ) ) ) @ ( zero_neq_one_of_bool @ code_integer @ B62 ) ) @ ( numeral_numeral @ code_integer @ ( bit0 @ one ) ) ) @ ( zero_neq_one_of_bool @ code_integer @ B52 ) ) @ ( numeral_numeral @ code_integer @ ( bit0 @ one ) ) ) @ ( zero_neq_one_of_bool @ code_integer @ B42 ) ) @ ( numeral_numeral @ code_integer @ ( bit0 @ one ) ) ) @ ( zero_neq_one_of_bool @ code_integer @ B32 ) ) @ ( numeral_numeral @ code_integer @ ( bit0 @ one ) ) ) @ ( zero_neq_one_of_bool @ code_integer @ B22 ) ) @ ( numeral_numeral @ code_integer @ ( bit0 @ one ) ) ) @ ( zero_neq_one_of_bool @ code_integer @ B1 ) ) @ ( numeral_numeral @ code_integer @ ( bit0 @ one ) ) ) @ ( zero_neq_one_of_bool @ code_integer @ B0 ) ) ) ).

% integer_of_char_code
thf(fact_8181_acyclic__empty,axiom,
    ! [A: $tType] : ( transitive_acyclic @ A @ ( bot_bot @ ( set @ ( product_prod @ A @ A ) ) ) ) ).

% acyclic_empty
thf(fact_8182_acyclicP__converse,axiom,
    ! [A: $tType,R3: A > A > $o] :
      ( ( transitive_acyclic @ A @ ( collect @ ( product_prod @ A @ A ) @ ( product_case_prod @ A @ A @ $o @ ( conversep @ A @ A @ R3 ) ) ) )
      = ( transitive_acyclic @ A @ ( collect @ ( product_prod @ A @ A ) @ ( product_case_prod @ A @ A @ $o @ R3 ) ) ) ) ).

% acyclicP_converse
thf(fact_8183_acyclicI__order,axiom,
    ! [A: $tType,B: $tType] :
      ( ( preorder @ A )
     => ! [R3: set @ ( product_prod @ B @ B ),F3: B > A] :
          ( ! [A5: B,B4: B] :
              ( ( member @ ( product_prod @ B @ B ) @ ( product_Pair @ B @ B @ A5 @ B4 ) @ R3 )
             => ( ord_less @ A @ ( F3 @ B4 ) @ ( F3 @ A5 ) ) )
         => ( transitive_acyclic @ B @ R3 ) ) ) ).

% acyclicI_order
thf(fact_8184_cyclicE,axiom,
    ! [A: $tType,G3: set @ ( product_prod @ A @ A )] :
      ( ~ ( transitive_acyclic @ A @ G3 )
     => ~ ! [X3: A] :
            ~ ( member @ ( product_prod @ A @ A ) @ ( product_Pair @ A @ A @ X3 @ X3 ) @ ( transitive_trancl @ A @ G3 ) ) ) ).

% cyclicE

% Type constructors (662)
thf(tcon_Product__Type_Ounit___Lattices_Obounded__lattice,axiom,
    bounded_lattice @ product_unit ).

thf(tcon_Assertions_Oassn___Lattices_Obounded__lattice_1,axiom,
    bounded_lattice @ assn ).

thf(tcon_Option_Ooption___Lattices_Obounded__lattice_2,axiom,
    ! [A21: $tType] :
      ( ( bounded_lattice_top @ A21 )
     => ( bounded_lattice @ ( option @ A21 ) ) ) ).

thf(tcon_Filter_Ofilter___Lattices_Obounded__lattice_3,axiom,
    ! [A21: $tType] : ( bounded_lattice @ ( filter @ A21 ) ) ).

thf(tcon_HOL_Obool___Lattices_Obounded__lattice_4,axiom,
    bounded_lattice @ $o ).

thf(tcon_Set_Oset___Lattices_Obounded__lattice_5,axiom,
    ! [A21: $tType] : ( bounded_lattice @ ( set @ A21 ) ) ).

thf(tcon_fun___Lattices_Obounded__lattice_6,axiom,
    ! [A21: $tType,A26: $tType] :
      ( ( bounded_lattice @ A26 )
     => ( bounded_lattice @ ( A21 > A26 ) ) ) ).

thf(tcon_fun___Conditionally__Complete__Lattices_Oconditionally__complete__lattice,axiom,
    ! [A21: $tType,A26: $tType] :
      ( ( comple6319245703460814977attice @ A26 )
     => ( condit1219197933456340205attice @ ( A21 > A26 ) ) ) ).

thf(tcon_fun___Complete__Lattices_Ocomplete__distrib__lattice,axiom,
    ! [A21: $tType,A26: $tType] :
      ( ( comple592849572758109894attice @ A26 )
     => ( comple592849572758109894attice @ ( A21 > A26 ) ) ) ).

thf(tcon_fun___Complete__Lattices_Ocomplete__boolean__algebra,axiom,
    ! [A21: $tType,A26: $tType] :
      ( ( comple489889107523837845lgebra @ A26 )
     => ( comple489889107523837845lgebra @ ( A21 > A26 ) ) ) ).

thf(tcon_fun___Lattices_Obounded__semilattice__sup__bot,axiom,
    ! [A21: $tType,A26: $tType] :
      ( ( bounded_lattice @ A26 )
     => ( bounde4967611905675639751up_bot @ ( A21 > A26 ) ) ) ).

thf(tcon_fun___Lattices_Obounded__semilattice__inf__top,axiom,
    ! [A21: $tType,A26: $tType] :
      ( ( bounded_lattice @ A26 )
     => ( bounde4346867609351753570nf_top @ ( A21 > A26 ) ) ) ).

thf(tcon_fun___Complete__Lattices_Ocomplete__lattice,axiom,
    ! [A21: $tType,A26: $tType] :
      ( ( comple6319245703460814977attice @ A26 )
     => ( comple6319245703460814977attice @ ( A21 > A26 ) ) ) ).

thf(tcon_fun___Boolean__Algebras_Oboolean__algebra,axiom,
    ! [A21: $tType,A26: $tType] :
      ( ( boolea8198339166811842893lgebra @ A26 )
     => ( boolea8198339166811842893lgebra @ ( A21 > A26 ) ) ) ).

thf(tcon_fun___Lattices_Obounded__lattice__top,axiom,
    ! [A21: $tType,A26: $tType] :
      ( ( bounded_lattice @ A26 )
     => ( bounded_lattice_top @ ( A21 > A26 ) ) ) ).

thf(tcon_fun___Complete__Partial__Order_Occpo,axiom,
    ! [A21: $tType,A26: $tType] :
      ( ( comple6319245703460814977attice @ A26 )
     => ( comple9053668089753744459l_ccpo @ ( A21 > A26 ) ) ) ).

thf(tcon_fun___Lattices_Osemilattice__sup,axiom,
    ! [A21: $tType,A26: $tType] :
      ( ( semilattice_sup @ A26 )
     => ( semilattice_sup @ ( A21 > A26 ) ) ) ).

thf(tcon_fun___Lattices_Osemilattice__inf,axiom,
    ! [A21: $tType,A26: $tType] :
      ( ( semilattice_inf @ A26 )
     => ( semilattice_inf @ ( A21 > A26 ) ) ) ).

thf(tcon_fun___Lattices_Odistrib__lattice,axiom,
    ! [A21: $tType,A26: $tType] :
      ( ( distrib_lattice @ A26 )
     => ( distrib_lattice @ ( A21 > A26 ) ) ) ).

thf(tcon_fun___Complete__Lattices_OSup,axiom,
    ! [A21: $tType,A26: $tType] :
      ( ( complete_Sup @ A26 )
     => ( complete_Sup @ ( A21 > A26 ) ) ) ).

thf(tcon_fun___Complete__Lattices_OInf,axiom,
    ! [A21: $tType,A26: $tType] :
      ( ( complete_Inf @ A26 )
     => ( complete_Inf @ ( A21 > A26 ) ) ) ).

thf(tcon_fun___Orderings_Oorder__top,axiom,
    ! [A21: $tType,A26: $tType] :
      ( ( order_top @ A26 )
     => ( order_top @ ( A21 > A26 ) ) ) ).

thf(tcon_fun___Orderings_Oorder__bot,axiom,
    ! [A21: $tType,A26: $tType] :
      ( ( order_bot @ A26 )
     => ( order_bot @ ( A21 > A26 ) ) ) ).

thf(tcon_fun___Orderings_Opreorder,axiom,
    ! [A21: $tType,A26: $tType] :
      ( ( preorder @ A26 )
     => ( preorder @ ( A21 > A26 ) ) ) ).

thf(tcon_fun___Finite__Set_Ofinite,axiom,
    ! [A21: $tType,A26: $tType] :
      ( ( ( finite_finite @ A21 )
        & ( finite_finite @ A26 ) )
     => ( finite_finite @ ( A21 > A26 ) ) ) ).

thf(tcon_fun___Lattices_Olattice,axiom,
    ! [A21: $tType,A26: $tType] :
      ( ( lattice @ A26 )
     => ( lattice @ ( A21 > A26 ) ) ) ).

thf(tcon_fun___Orderings_Oorder,axiom,
    ! [A21: $tType,A26: $tType] :
      ( ( order @ A26 )
     => ( order @ ( A21 > A26 ) ) ) ).

thf(tcon_fun___Orderings_Otop,axiom,
    ! [A21: $tType,A26: $tType] :
      ( ( top @ A26 )
     => ( top @ ( A21 > A26 ) ) ) ).

thf(tcon_fun___Orderings_Oord,axiom,
    ! [A21: $tType,A26: $tType] :
      ( ( ord @ A26 )
     => ( ord @ ( A21 > A26 ) ) ) ).

thf(tcon_fun___Orderings_Obot,axiom,
    ! [A21: $tType,A26: $tType] :
      ( ( bot @ A26 )
     => ( bot @ ( A21 > A26 ) ) ) ).

thf(tcon_fun___Groups_Ouminus,axiom,
    ! [A21: $tType,A26: $tType] :
      ( ( uminus @ A26 )
     => ( uminus @ ( A21 > A26 ) ) ) ).

thf(tcon_fun___Lattices_Osup,axiom,
    ! [A21: $tType,A26: $tType] :
      ( ( semilattice_sup @ A26 )
     => ( sup @ ( A21 > A26 ) ) ) ).

thf(tcon_fun___Lattices_Oinf,axiom,
    ! [A21: $tType,A26: $tType] :
      ( ( semilattice_inf @ A26 )
     => ( inf @ ( A21 > A26 ) ) ) ).

thf(tcon_Int_Oint___Conditionally__Complete__Lattices_Oconditionally__complete__linorder,axiom,
    condit6923001295902523014norder @ int ).

thf(tcon_Int_Oint___Conditionally__Complete__Lattices_Oconditionally__complete__lattice_7,axiom,
    condit1219197933456340205attice @ int ).

thf(tcon_Int_Oint___Bit__Operations_Ounique__euclidean__semiring__with__bit__operations,axiom,
    bit_un5681908812861735899ations @ int ).

thf(tcon_Int_Oint___Semiring__Normalization_Ocomm__semiring__1__cancel__crossproduct,axiom,
    semiri1453513574482234551roduct @ int ).

thf(tcon_Int_Oint___Euclidean__Division_Ounique__euclidean__semiring__with__nat,axiom,
    euclid5411537665997757685th_nat @ int ).

thf(tcon_Int_Oint___Groups_Oordered__ab__semigroup__monoid__add__imp__le,axiom,
    ordere1937475149494474687imp_le @ int ).

thf(tcon_Int_Oint___Euclidean__Division_Ounique__euclidean__semiring,axiom,
    euclid3128863361964157862miring @ int ).

thf(tcon_Int_Oint___Euclidean__Division_Oeuclidean__semiring__cancel,axiom,
    euclid4440199948858584721cancel @ int ).

thf(tcon_Int_Oint___Divides_Ounique__euclidean__semiring__numeral,axiom,
    unique1627219031080169319umeral @ int ).

thf(tcon_Int_Oint___Euclidean__Division_Oeuclidean__ring__cancel,axiom,
    euclid8851590272496341667cancel @ int ).

thf(tcon_Int_Oint___Groups_Ostrict__ordered__ab__semigroup__add,axiom,
    strict9044650504122735259up_add @ int ).

thf(tcon_Int_Oint___Groups_Oordered__cancel__ab__semigroup__add,axiom,
    ordere580206878836729694up_add @ int ).

thf(tcon_Int_Oint___Groups_Oordered__ab__semigroup__add__imp__le,axiom,
    ordere2412721322843649153imp_le @ int ).

thf(tcon_Int_Oint___Bit__Operations_Osemiring__bit__operations,axiom,
    bit_se359711467146920520ations @ int ).

thf(tcon_Int_Oint___Rings_Olinordered__comm__semiring__strict,axiom,
    linord2810124833399127020strict @ int ).

thf(tcon_Int_Oint___Groups_Ostrict__ordered__comm__monoid__add,axiom,
    strict7427464778891057005id_add @ int ).

thf(tcon_Int_Oint___Groups_Oordered__cancel__comm__monoid__add,axiom,
    ordere8940638589300402666id_add @ int ).

thf(tcon_Int_Oint___Euclidean__Division_Oeuclidean__semiring,axiom,
    euclid3725896446679973847miring @ int ).

thf(tcon_Int_Oint___Rings_Olinordered__semiring__1__strict,axiom,
    linord715952674999750819strict @ int ).

thf(tcon_Int_Oint___Groups_Olinordered__ab__semigroup__add,axiom,
    linord4140545234300271783up_add @ int ).

thf(tcon_Int_Oint___Bit__Operations_Oring__bit__operations,axiom,
    bit_ri3973907225187159222ations @ int ).

thf(tcon_Int_Oint___Rings_Osemiring__1__no__zero__divisors,axiom,
    semiri2026040879449505780visors @ int ).

thf(tcon_Int_Oint___Rings_Olinordered__nonzero__semiring,axiom,
    linord181362715937106298miring @ int ).

thf(tcon_Int_Oint___Rings_Olinordered__semiring__strict,axiom,
    linord8928482502909563296strict @ int ).

thf(tcon_Int_Oint___Groups_Oordered__ab__semigroup__add,axiom,
    ordere6658533253407199908up_add @ int ).

thf(tcon_Int_Oint___Groups_Oordered__ab__group__add__abs,axiom,
    ordere166539214618696060dd_abs @ int ).

thf(tcon_Int_Oint___Groups_Oordered__comm__monoid__add,axiom,
    ordere6911136660526730532id_add @ int ).

thf(tcon_Int_Oint___Groups_Olinordered__ab__group__add,axiom,
    linord5086331880401160121up_add @ int ).

thf(tcon_Int_Oint___Groups_Ocancel__ab__semigroup__add,axiom,
    cancel2418104881723323429up_add @ int ).

thf(tcon_Int_Oint___Groups_Ocancel__comm__monoid__add,axiom,
    cancel1802427076303600483id_add @ int ).

thf(tcon_Int_Oint___Rings_Olinordered__ring__strict,axiom,
    linord4710134922213307826strict @ int ).

thf(tcon_Int_Oint___Rings_Ocomm__semiring__1__cancel,axiom,
    comm_s4317794764714335236cancel @ int ).

thf(tcon_Int_Oint___Bit__Operations_Osemiring__bits,axiom,
    bit_semiring_bits @ int ).

thf(tcon_Int_Oint___Rings_Oordered__comm__semiring,axiom,
    ordere2520102378445227354miring @ int ).

thf(tcon_Int_Oint___Rings_Olinordered__semiring__1,axiom,
    linord6961819062388156250ring_1 @ int ).

thf(tcon_Int_Oint___Groups_Oordered__ab__group__add,axiom,
    ordered_ab_group_add @ int ).

thf(tcon_Int_Oint___Groups_Ocancel__semigroup__add,axiom,
    cancel_semigroup_add @ int ).

thf(tcon_Int_Oint___Rings_Olinordered__semiring,axiom,
    linordered_semiring @ int ).

thf(tcon_Int_Oint___Rings_Oordered__semiring__0,axiom,
    ordered_semiring_0 @ int ).

thf(tcon_Int_Oint___Rings_Olinordered__semidom,axiom,
    linordered_semidom @ int ).

thf(tcon_Int_Oint___Lattices_Osemilattice__sup_8,axiom,
    semilattice_sup @ int ).

thf(tcon_Int_Oint___Lattices_Osemilattice__inf_9,axiom,
    semilattice_inf @ int ).

thf(tcon_Int_Oint___Lattices_Odistrib__lattice_10,axiom,
    distrib_lattice @ int ).

thf(tcon_Int_Oint___Rings_Osemiring__1__cancel,axiom,
    semiring_1_cancel @ int ).

thf(tcon_Int_Oint___Rings_Oalgebraic__semidom,axiom,
    algebraic_semidom @ int ).

thf(tcon_Int_Oint___Groups_Ocomm__monoid__mult,axiom,
    comm_monoid_mult @ int ).

thf(tcon_Int_Oint___Groups_Oab__semigroup__add,axiom,
    ab_semigroup_add @ int ).

thf(tcon_Int_Oint___Rings_Oordered__semiring,axiom,
    ordered_semiring @ int ).

thf(tcon_Int_Oint___Rings_Oordered__ring__abs,axiom,
    ordered_ring_abs @ int ).

thf(tcon_Int_Oint___Parity_Osemiring__parity,axiom,
    semiring_parity @ int ).

thf(tcon_Int_Oint___Groups_Ocomm__monoid__add,axiom,
    comm_monoid_add @ int ).

thf(tcon_Int_Oint___Rings_Osemiring__modulo,axiom,
    semiring_modulo @ int ).

thf(tcon_Int_Oint___Rings_Olinordered__ring,axiom,
    linordered_ring @ int ).

thf(tcon_Int_Oint___Rings_Olinordered__idom,axiom,
    linordered_idom @ int ).

thf(tcon_Int_Oint___Rings_Ocomm__semiring__1,axiom,
    comm_semiring_1 @ int ).

thf(tcon_Int_Oint___Rings_Ocomm__semiring__0,axiom,
    comm_semiring_0 @ int ).

thf(tcon_Int_Oint___Complete__Lattices_OSup_11,axiom,
    complete_Sup @ int ).

thf(tcon_Int_Oint___Complete__Lattices_OInf_12,axiom,
    complete_Inf @ int ).

thf(tcon_Int_Oint___Rings_Osemidom__modulo,axiom,
    semidom_modulo @ int ).

thf(tcon_Int_Oint___Rings_Osemidom__divide,axiom,
    semidom_divide @ int ).

thf(tcon_Int_Oint___Num_Osemiring__numeral,axiom,
    semiring_numeral @ int ).

thf(tcon_Int_Oint___Groups_Osemigroup__add,axiom,
    semigroup_add @ int ).

thf(tcon_Int_Oint___Rings_Ozero__less__one,axiom,
    zero_less_one @ int ).

thf(tcon_Int_Oint___Rings_Ocomm__semiring,axiom,
    comm_semiring @ int ).

thf(tcon_Int_Oint___Nat_Osemiring__char__0,axiom,
    semiring_char_0 @ int ).

thf(tcon_Int_Oint___Groups_Oab__group__add,axiom,
    ab_group_add @ int ).

thf(tcon_Int_Oint___Rings_Ozero__neq__one,axiom,
    zero_neq_one @ int ).

thf(tcon_Int_Oint___Rings_Oordered__ring,axiom,
    ordered_ring @ int ).

thf(tcon_Int_Oint___Parity_Oring__parity,axiom,
    ring_parity @ int ).

thf(tcon_Int_Oint___Orderings_Opreorder_13,axiom,
    preorder @ int ).

thf(tcon_Int_Oint___Orderings_Olinorder,axiom,
    linorder @ int ).

thf(tcon_Int_Oint___Groups_Omonoid__mult,axiom,
    monoid_mult @ int ).

thf(tcon_Int_Oint___Rings_Ocomm__ring__1,axiom,
    comm_ring_1 @ int ).

thf(tcon_Int_Oint___Groups_Omonoid__add,axiom,
    monoid_add @ int ).

thf(tcon_Int_Oint___Rings_Osemiring__1,axiom,
    semiring_1 @ int ).

thf(tcon_Int_Oint___Rings_Osemiring__0,axiom,
    semiring_0 @ int ).

thf(tcon_Int_Oint___Orderings_Ono__top,axiom,
    no_top @ int ).

thf(tcon_Int_Oint___Orderings_Ono__bot,axiom,
    no_bot @ int ).

thf(tcon_Int_Oint___Lattices_Olattice_14,axiom,
    lattice @ int ).

thf(tcon_Int_Oint___Groups_Ogroup__add,axiom,
    group_add @ int ).

thf(tcon_Int_Oint___GCD_Osemiring__gcd,axiom,
    semiring_gcd @ int ).

thf(tcon_Int_Oint___GCD_Osemiring__Gcd,axiom,
    semiring_Gcd @ int ).

thf(tcon_Int_Oint___Rings_Omult__zero,axiom,
    mult_zero @ int ).

thf(tcon_Int_Oint___Rings_Ocomm__ring,axiom,
    comm_ring @ int ).

thf(tcon_Int_Oint___Orderings_Oorder_15,axiom,
    order @ int ).

thf(tcon_Int_Oint___Num_Oneg__numeral,axiom,
    neg_numeral @ int ).

thf(tcon_Int_Oint___Nat_Oring__char__0,axiom,
    ring_char_0 @ int ).

thf(tcon_Int_Oint___Rings_Osemiring,axiom,
    semiring @ int ).

thf(tcon_Int_Oint___Orderings_Oord_16,axiom,
    ord @ int ).

thf(tcon_Int_Oint___Groups_Ouminus_17,axiom,
    uminus @ int ).

thf(tcon_Int_Oint___Rings_Oring__1,axiom,
    ring_1 @ int ).

thf(tcon_Int_Oint___Rings_Oabs__if,axiom,
    abs_if @ int ).

thf(tcon_Int_Oint___Lattices_Osup_18,axiom,
    sup @ int ).

thf(tcon_Int_Oint___Lattices_Oinf_19,axiom,
    inf @ int ).

thf(tcon_Int_Oint___Groups_Otimes,axiom,
    times @ int ).

thf(tcon_Int_Oint___Power_Opower,axiom,
    power @ int ).

thf(tcon_Int_Oint___Num_Onumeral,axiom,
    numeral @ int ).

thf(tcon_Int_Oint___Groups_Ozero,axiom,
    zero @ int ).

thf(tcon_Int_Oint___Groups_Oplus,axiom,
    plus @ int ).

thf(tcon_Int_Oint___Rings_Oring,axiom,
    ring @ int ).

thf(tcon_Int_Oint___Rings_Oidom,axiom,
    idom @ int ).

thf(tcon_Int_Oint___Rings_Odvd,axiom,
    dvd @ int ).

thf(tcon_Int_Oint___Heap_Oheap,axiom,
    heap @ int ).

thf(tcon_Nat_Onat___Conditionally__Complete__Lattices_Oconditionally__complete__linorder_20,axiom,
    condit6923001295902523014norder @ nat ).

thf(tcon_Nat_Onat___Conditionally__Complete__Lattices_Oconditionally__complete__lattice_21,axiom,
    condit1219197933456340205attice @ nat ).

thf(tcon_Nat_Onat___Bit__Operations_Ounique__euclidean__semiring__with__bit__operations_22,axiom,
    bit_un5681908812861735899ations @ nat ).

thf(tcon_Nat_Onat___Semiring__Normalization_Ocomm__semiring__1__cancel__crossproduct_23,axiom,
    semiri1453513574482234551roduct @ nat ).

thf(tcon_Nat_Onat___Euclidean__Division_Ounique__euclidean__semiring__with__nat_24,axiom,
    euclid5411537665997757685th_nat @ nat ).

thf(tcon_Nat_Onat___Groups_Oordered__ab__semigroup__monoid__add__imp__le_25,axiom,
    ordere1937475149494474687imp_le @ nat ).

thf(tcon_Nat_Onat___Euclidean__Division_Ounique__euclidean__semiring_26,axiom,
    euclid3128863361964157862miring @ nat ).

thf(tcon_Nat_Onat___Euclidean__Division_Oeuclidean__semiring__cancel_27,axiom,
    euclid4440199948858584721cancel @ nat ).

thf(tcon_Nat_Onat___Divides_Ounique__euclidean__semiring__numeral_28,axiom,
    unique1627219031080169319umeral @ nat ).

thf(tcon_Nat_Onat___Groups_Ostrict__ordered__ab__semigroup__add_29,axiom,
    strict9044650504122735259up_add @ nat ).

thf(tcon_Nat_Onat___Groups_Oordered__cancel__comm__monoid__diff,axiom,
    ordere1170586879665033532d_diff @ nat ).

thf(tcon_Nat_Onat___Groups_Oordered__cancel__ab__semigroup__add_30,axiom,
    ordere580206878836729694up_add @ nat ).

thf(tcon_Nat_Onat___Groups_Oordered__ab__semigroup__add__imp__le_31,axiom,
    ordere2412721322843649153imp_le @ nat ).

thf(tcon_Nat_Onat___Bit__Operations_Osemiring__bit__operations_32,axiom,
    bit_se359711467146920520ations @ nat ).

thf(tcon_Nat_Onat___Rings_Olinordered__comm__semiring__strict_33,axiom,
    linord2810124833399127020strict @ nat ).

thf(tcon_Nat_Onat___Groups_Ostrict__ordered__comm__monoid__add_34,axiom,
    strict7427464778891057005id_add @ nat ).

thf(tcon_Nat_Onat___Groups_Oordered__cancel__comm__monoid__add_35,axiom,
    ordere8940638589300402666id_add @ nat ).

thf(tcon_Nat_Onat___Groups_Ocanonically__ordered__monoid__add,axiom,
    canoni5634975068530333245id_add @ nat ).

thf(tcon_Nat_Onat___Euclidean__Division_Oeuclidean__semiring_36,axiom,
    euclid3725896446679973847miring @ nat ).

thf(tcon_Nat_Onat___Groups_Olinordered__ab__semigroup__add_37,axiom,
    linord4140545234300271783up_add @ nat ).

thf(tcon_Nat_Onat___Rings_Osemiring__1__no__zero__divisors_38,axiom,
    semiri2026040879449505780visors @ nat ).

thf(tcon_Nat_Onat___Rings_Olinordered__nonzero__semiring_39,axiom,
    linord181362715937106298miring @ nat ).

thf(tcon_Nat_Onat___Rings_Olinordered__semiring__strict_40,axiom,
    linord8928482502909563296strict @ nat ).

thf(tcon_Nat_Onat___Groups_Oordered__ab__semigroup__add_41,axiom,
    ordere6658533253407199908up_add @ nat ).

thf(tcon_Nat_Onat___Groups_Oordered__comm__monoid__add_42,axiom,
    ordere6911136660526730532id_add @ nat ).

thf(tcon_Nat_Onat___Groups_Ocancel__ab__semigroup__add_43,axiom,
    cancel2418104881723323429up_add @ nat ).

thf(tcon_Nat_Onat___Groups_Ocancel__comm__monoid__add_44,axiom,
    cancel1802427076303600483id_add @ nat ).

thf(tcon_Nat_Onat___Rings_Ocomm__semiring__1__cancel_45,axiom,
    comm_s4317794764714335236cancel @ nat ).

thf(tcon_Nat_Onat___Bit__Operations_Osemiring__bits_46,axiom,
    bit_semiring_bits @ nat ).

thf(tcon_Nat_Onat___Rings_Oordered__comm__semiring_47,axiom,
    ordere2520102378445227354miring @ nat ).

thf(tcon_Nat_Onat___Groups_Ocancel__semigroup__add_48,axiom,
    cancel_semigroup_add @ nat ).

thf(tcon_Nat_Onat___Rings_Olinordered__semiring_49,axiom,
    linordered_semiring @ nat ).

thf(tcon_Nat_Onat___Rings_Oordered__semiring__0_50,axiom,
    ordered_semiring_0 @ nat ).

thf(tcon_Nat_Onat___Rings_Olinordered__semidom_51,axiom,
    linordered_semidom @ nat ).

thf(tcon_Nat_Onat___Lattices_Osemilattice__sup_52,axiom,
    semilattice_sup @ nat ).

thf(tcon_Nat_Onat___Lattices_Osemilattice__inf_53,axiom,
    semilattice_inf @ nat ).

thf(tcon_Nat_Onat___Lattices_Odistrib__lattice_54,axiom,
    distrib_lattice @ nat ).

thf(tcon_Nat_Onat___Rings_Osemiring__1__cancel_55,axiom,
    semiring_1_cancel @ nat ).

thf(tcon_Nat_Onat___Rings_Oalgebraic__semidom_56,axiom,
    algebraic_semidom @ nat ).

thf(tcon_Nat_Onat___Groups_Ocomm__monoid__mult_57,axiom,
    comm_monoid_mult @ nat ).

thf(tcon_Nat_Onat___Groups_Ocomm__monoid__diff,axiom,
    comm_monoid_diff @ nat ).

thf(tcon_Nat_Onat___Groups_Oab__semigroup__add_58,axiom,
    ab_semigroup_add @ nat ).

thf(tcon_Nat_Onat___Rings_Oordered__semiring_59,axiom,
    ordered_semiring @ nat ).

thf(tcon_Nat_Onat___Parity_Osemiring__parity_60,axiom,
    semiring_parity @ nat ).

thf(tcon_Nat_Onat___Groups_Ocomm__monoid__add_61,axiom,
    comm_monoid_add @ nat ).

thf(tcon_Nat_Onat___Rings_Osemiring__modulo_62,axiom,
    semiring_modulo @ nat ).

thf(tcon_Nat_Onat___Rings_Ocomm__semiring__1_63,axiom,
    comm_semiring_1 @ nat ).

thf(tcon_Nat_Onat___Rings_Ocomm__semiring__0_64,axiom,
    comm_semiring_0 @ nat ).

thf(tcon_Nat_Onat___Complete__Lattices_OSup_65,axiom,
    complete_Sup @ nat ).

thf(tcon_Nat_Onat___Complete__Lattices_OInf_66,axiom,
    complete_Inf @ nat ).

thf(tcon_Nat_Onat___Rings_Osemidom__modulo_67,axiom,
    semidom_modulo @ nat ).

thf(tcon_Nat_Onat___Rings_Osemidom__divide_68,axiom,
    semidom_divide @ nat ).

thf(tcon_Nat_Onat___Num_Osemiring__numeral_69,axiom,
    semiring_numeral @ nat ).

thf(tcon_Nat_Onat___Groups_Osemigroup__add_70,axiom,
    semigroup_add @ nat ).

thf(tcon_Nat_Onat___Rings_Ozero__less__one_71,axiom,
    zero_less_one @ nat ).

thf(tcon_Nat_Onat___Rings_Ocomm__semiring_72,axiom,
    comm_semiring @ nat ).

thf(tcon_Nat_Onat___Orderings_Owellorder,axiom,
    wellorder @ nat ).

thf(tcon_Nat_Onat___Orderings_Oorder__bot_73,axiom,
    order_bot @ nat ).

thf(tcon_Nat_Onat___Nat_Osemiring__char__0_74,axiom,
    semiring_char_0 @ nat ).

thf(tcon_Nat_Onat___Rings_Ozero__neq__one_75,axiom,
    zero_neq_one @ nat ).

thf(tcon_Nat_Onat___Orderings_Opreorder_76,axiom,
    preorder @ nat ).

thf(tcon_Nat_Onat___Orderings_Olinorder_77,axiom,
    linorder @ nat ).

thf(tcon_Nat_Onat___Groups_Omonoid__mult_78,axiom,
    monoid_mult @ nat ).

thf(tcon_Nat_Onat___Groups_Omonoid__add_79,axiom,
    monoid_add @ nat ).

thf(tcon_Nat_Onat___Rings_Osemiring__1_80,axiom,
    semiring_1 @ nat ).

thf(tcon_Nat_Onat___Rings_Osemiring__0_81,axiom,
    semiring_0 @ nat ).

thf(tcon_Nat_Onat___Orderings_Ono__top_82,axiom,
    no_top @ nat ).

thf(tcon_Nat_Onat___Lattices_Olattice_83,axiom,
    lattice @ nat ).

thf(tcon_Nat_Onat___GCD_Osemiring__gcd_84,axiom,
    semiring_gcd @ nat ).

thf(tcon_Nat_Onat___GCD_Osemiring__Gcd_85,axiom,
    semiring_Gcd @ nat ).

thf(tcon_Nat_Onat___Rings_Omult__zero_86,axiom,
    mult_zero @ nat ).

thf(tcon_Nat_Onat___Orderings_Oorder_87,axiom,
    order @ nat ).

thf(tcon_Nat_Onat___Rings_Osemiring_88,axiom,
    semiring @ nat ).

thf(tcon_Nat_Onat___Orderings_Oord_89,axiom,
    ord @ nat ).

thf(tcon_Nat_Onat___Orderings_Obot_90,axiom,
    bot @ nat ).

thf(tcon_Nat_Onat___Lattices_Osup_91,axiom,
    sup @ nat ).

thf(tcon_Nat_Onat___Lattices_Oinf_92,axiom,
    inf @ nat ).

thf(tcon_Nat_Onat___Groups_Otimes_93,axiom,
    times @ nat ).

thf(tcon_Nat_Onat___Power_Opower_94,axiom,
    power @ nat ).

thf(tcon_Nat_Onat___Num_Onumeral_95,axiom,
    numeral @ nat ).

thf(tcon_Nat_Onat___Groups_Ozero_96,axiom,
    zero @ nat ).

thf(tcon_Nat_Onat___Groups_Oplus_97,axiom,
    plus @ nat ).

thf(tcon_Nat_Onat___Rings_Odvd_98,axiom,
    dvd @ nat ).

thf(tcon_Nat_Onat___Heap_Oheap_99,axiom,
    heap @ nat ).

thf(tcon_Nat_Onat___Nat_Osize,axiom,
    size @ nat ).

thf(tcon_Num_Onum___Orderings_Opreorder_100,axiom,
    preorder @ num ).

thf(tcon_Num_Onum___Orderings_Olinorder_101,axiom,
    linorder @ num ).

thf(tcon_Num_Onum___Orderings_Oorder_102,axiom,
    order @ num ).

thf(tcon_Num_Onum___Orderings_Oord_103,axiom,
    ord @ num ).

thf(tcon_Num_Onum___Groups_Otimes_104,axiom,
    times @ num ).

thf(tcon_Num_Onum___Groups_Oplus_105,axiom,
    plus @ num ).

thf(tcon_Num_Onum___Nat_Osize_106,axiom,
    size @ num ).

thf(tcon_Rat_Orat___Semiring__Normalization_Ocomm__semiring__1__cancel__crossproduct_107,axiom,
    semiri1453513574482234551roduct @ rat ).

thf(tcon_Rat_Orat___Groups_Oordered__ab__semigroup__monoid__add__imp__le_108,axiom,
    ordere1937475149494474687imp_le @ rat ).

thf(tcon_Rat_Orat___Groups_Ostrict__ordered__ab__semigroup__add_109,axiom,
    strict9044650504122735259up_add @ rat ).

thf(tcon_Rat_Orat___Groups_Oordered__cancel__ab__semigroup__add_110,axiom,
    ordere580206878836729694up_add @ rat ).

thf(tcon_Rat_Orat___Groups_Oordered__ab__semigroup__add__imp__le_111,axiom,
    ordere2412721322843649153imp_le @ rat ).

thf(tcon_Rat_Orat___Rings_Olinordered__comm__semiring__strict_112,axiom,
    linord2810124833399127020strict @ rat ).

thf(tcon_Rat_Orat___Groups_Ostrict__ordered__comm__monoid__add_113,axiom,
    strict7427464778891057005id_add @ rat ).

thf(tcon_Rat_Orat___Groups_Oordered__cancel__comm__monoid__add_114,axiom,
    ordere8940638589300402666id_add @ rat ).

thf(tcon_Rat_Orat___Archimedean__Field_Oarchimedean__field,axiom,
    archim462609752435547400_field @ rat ).

thf(tcon_Rat_Orat___Rings_Olinordered__semiring__1__strict_115,axiom,
    linord715952674999750819strict @ rat ).

thf(tcon_Rat_Orat___Orderings_Ounbounded__dense__linorder,axiom,
    unboun7993243217541854897norder @ rat ).

thf(tcon_Rat_Orat___Groups_Olinordered__ab__semigroup__add_116,axiom,
    linord4140545234300271783up_add @ rat ).

thf(tcon_Rat_Orat___Rings_Osemiring__1__no__zero__divisors_117,axiom,
    semiri2026040879449505780visors @ rat ).

thf(tcon_Rat_Orat___Rings_Olinordered__nonzero__semiring_118,axiom,
    linord181362715937106298miring @ rat ).

thf(tcon_Rat_Orat___Rings_Olinordered__semiring__strict_119,axiom,
    linord8928482502909563296strict @ rat ).

thf(tcon_Rat_Orat___Groups_Oordered__ab__semigroup__add_120,axiom,
    ordere6658533253407199908up_add @ rat ).

thf(tcon_Rat_Orat___Groups_Oordered__ab__group__add__abs_121,axiom,
    ordere166539214618696060dd_abs @ rat ).

thf(tcon_Rat_Orat___Archimedean__Field_Ofloor__ceiling,axiom,
    archim2362893244070406136eiling @ rat ).

thf(tcon_Rat_Orat___Groups_Oordered__comm__monoid__add_122,axiom,
    ordere6911136660526730532id_add @ rat ).

thf(tcon_Rat_Orat___Groups_Olinordered__ab__group__add_123,axiom,
    linord5086331880401160121up_add @ rat ).

thf(tcon_Rat_Orat___Groups_Ocancel__ab__semigroup__add_124,axiom,
    cancel2418104881723323429up_add @ rat ).

thf(tcon_Rat_Orat___Groups_Ocancel__comm__monoid__add_125,axiom,
    cancel1802427076303600483id_add @ rat ).

thf(tcon_Rat_Orat___Rings_Olinordered__ring__strict_126,axiom,
    linord4710134922213307826strict @ rat ).

thf(tcon_Rat_Orat___Rings_Ocomm__semiring__1__cancel_127,axiom,
    comm_s4317794764714335236cancel @ rat ).

thf(tcon_Rat_Orat___Rings_Oordered__comm__semiring_128,axiom,
    ordere2520102378445227354miring @ rat ).

thf(tcon_Rat_Orat___Rings_Olinordered__semiring__1_129,axiom,
    linord6961819062388156250ring_1 @ rat ).

thf(tcon_Rat_Orat___Groups_Oordered__ab__group__add_130,axiom,
    ordered_ab_group_add @ rat ).

thf(tcon_Rat_Orat___Groups_Ocancel__semigroup__add_131,axiom,
    cancel_semigroup_add @ rat ).

thf(tcon_Rat_Orat___Rings_Olinordered__semiring_132,axiom,
    linordered_semiring @ rat ).

thf(tcon_Rat_Orat___Rings_Oordered__semiring__0_133,axiom,
    ordered_semiring_0 @ rat ).

thf(tcon_Rat_Orat___Rings_Olinordered__semidom_134,axiom,
    linordered_semidom @ rat ).

thf(tcon_Rat_Orat___Orderings_Odense__linorder,axiom,
    dense_linorder @ rat ).

thf(tcon_Rat_Orat___Lattices_Osemilattice__sup_135,axiom,
    semilattice_sup @ rat ).

thf(tcon_Rat_Orat___Lattices_Osemilattice__inf_136,axiom,
    semilattice_inf @ rat ).

thf(tcon_Rat_Orat___Lattices_Odistrib__lattice_137,axiom,
    distrib_lattice @ rat ).

thf(tcon_Rat_Orat___Rings_Osemiring__1__cancel_138,axiom,
    semiring_1_cancel @ rat ).

thf(tcon_Rat_Orat___Groups_Ocomm__monoid__mult_139,axiom,
    comm_monoid_mult @ rat ).

thf(tcon_Rat_Orat___Groups_Oab__semigroup__add_140,axiom,
    ab_semigroup_add @ rat ).

thf(tcon_Rat_Orat___Fields_Olinordered__field,axiom,
    linordered_field @ rat ).

thf(tcon_Rat_Orat___Rings_Oordered__semiring_141,axiom,
    ordered_semiring @ rat ).

thf(tcon_Rat_Orat___Rings_Oordered__ring__abs_142,axiom,
    ordered_ring_abs @ rat ).

thf(tcon_Rat_Orat___Groups_Ocomm__monoid__add_143,axiom,
    comm_monoid_add @ rat ).

thf(tcon_Rat_Orat___Rings_Olinordered__ring_144,axiom,
    linordered_ring @ rat ).

thf(tcon_Rat_Orat___Rings_Olinordered__idom_145,axiom,
    linordered_idom @ rat ).

thf(tcon_Rat_Orat___Rings_Ocomm__semiring__1_146,axiom,
    comm_semiring_1 @ rat ).

thf(tcon_Rat_Orat___Rings_Ocomm__semiring__0_147,axiom,
    comm_semiring_0 @ rat ).

thf(tcon_Rat_Orat___Orderings_Odense__order,axiom,
    dense_order @ rat ).

thf(tcon_Rat_Orat___Rings_Osemidom__divide_148,axiom,
    semidom_divide @ rat ).

thf(tcon_Rat_Orat___Num_Osemiring__numeral_149,axiom,
    semiring_numeral @ rat ).

thf(tcon_Rat_Orat___Groups_Osemigroup__add_150,axiom,
    semigroup_add @ rat ).

thf(tcon_Rat_Orat___Fields_Odivision__ring,axiom,
    division_ring @ rat ).

thf(tcon_Rat_Orat___Rings_Ozero__less__one_151,axiom,
    zero_less_one @ rat ).

thf(tcon_Rat_Orat___Rings_Ocomm__semiring_152,axiom,
    comm_semiring @ rat ).

thf(tcon_Rat_Orat___Nat_Osemiring__char__0_153,axiom,
    semiring_char_0 @ rat ).

thf(tcon_Rat_Orat___Groups_Oab__group__add_154,axiom,
    ab_group_add @ rat ).

thf(tcon_Rat_Orat___Fields_Ofield__char__0,axiom,
    field_char_0 @ rat ).

thf(tcon_Rat_Orat___Rings_Ozero__neq__one_155,axiom,
    zero_neq_one @ rat ).

thf(tcon_Rat_Orat___Rings_Oordered__ring_156,axiom,
    ordered_ring @ rat ).

thf(tcon_Rat_Orat___Orderings_Opreorder_157,axiom,
    preorder @ rat ).

thf(tcon_Rat_Orat___Orderings_Olinorder_158,axiom,
    linorder @ rat ).

thf(tcon_Rat_Orat___Groups_Omonoid__mult_159,axiom,
    monoid_mult @ rat ).

thf(tcon_Rat_Orat___Rings_Ocomm__ring__1_160,axiom,
    comm_ring_1 @ rat ).

thf(tcon_Rat_Orat___Groups_Omonoid__add_161,axiom,
    monoid_add @ rat ).

thf(tcon_Rat_Orat___Rings_Osemiring__1_162,axiom,
    semiring_1 @ rat ).

thf(tcon_Rat_Orat___Rings_Osemiring__0_163,axiom,
    semiring_0 @ rat ).

thf(tcon_Rat_Orat___Orderings_Ono__top_164,axiom,
    no_top @ rat ).

thf(tcon_Rat_Orat___Orderings_Ono__bot_165,axiom,
    no_bot @ rat ).

thf(tcon_Rat_Orat___Lattices_Olattice_166,axiom,
    lattice @ rat ).

thf(tcon_Rat_Orat___Groups_Ogroup__add_167,axiom,
    group_add @ rat ).

thf(tcon_Rat_Orat___Rings_Omult__zero_168,axiom,
    mult_zero @ rat ).

thf(tcon_Rat_Orat___Rings_Ocomm__ring_169,axiom,
    comm_ring @ rat ).

thf(tcon_Rat_Orat___Orderings_Oorder_170,axiom,
    order @ rat ).

thf(tcon_Rat_Orat___Num_Oneg__numeral_171,axiom,
    neg_numeral @ rat ).

thf(tcon_Rat_Orat___Nat_Oring__char__0_172,axiom,
    ring_char_0 @ rat ).

thf(tcon_Rat_Orat___Rings_Osemiring_173,axiom,
    semiring @ rat ).

thf(tcon_Rat_Orat___Fields_Oinverse,axiom,
    inverse @ rat ).

thf(tcon_Rat_Orat___Orderings_Oord_174,axiom,
    ord @ rat ).

thf(tcon_Rat_Orat___Groups_Ouminus_175,axiom,
    uminus @ rat ).

thf(tcon_Rat_Orat___Rings_Oring__1_176,axiom,
    ring_1 @ rat ).

thf(tcon_Rat_Orat___Rings_Oabs__if_177,axiom,
    abs_if @ rat ).

thf(tcon_Rat_Orat___Lattices_Osup_178,axiom,
    sup @ rat ).

thf(tcon_Rat_Orat___Lattices_Oinf_179,axiom,
    inf @ rat ).

thf(tcon_Rat_Orat___Groups_Otimes_180,axiom,
    times @ rat ).

thf(tcon_Rat_Orat___Fields_Ofield,axiom,
    field @ rat ).

thf(tcon_Rat_Orat___Power_Opower_181,axiom,
    power @ rat ).

thf(tcon_Rat_Orat___Num_Onumeral_182,axiom,
    numeral @ rat ).

thf(tcon_Rat_Orat___Groups_Ozero_183,axiom,
    zero @ rat ).

thf(tcon_Rat_Orat___Groups_Oplus_184,axiom,
    plus @ rat ).

thf(tcon_Rat_Orat___Rings_Oring_185,axiom,
    ring @ rat ).

thf(tcon_Rat_Orat___Rings_Oidom_186,axiom,
    idom @ rat ).

thf(tcon_Rat_Orat___Rings_Odvd_187,axiom,
    dvd @ rat ).

thf(tcon_Set_Oset___Conditionally__Complete__Lattices_Oconditionally__complete__lattice_188,axiom,
    ! [A21: $tType] : ( condit1219197933456340205attice @ ( set @ A21 ) ) ).

thf(tcon_Set_Oset___Complete__Lattices_Ocomplete__distrib__lattice_189,axiom,
    ! [A21: $tType] : ( comple592849572758109894attice @ ( set @ A21 ) ) ).

thf(tcon_Set_Oset___Complete__Lattices_Ocomplete__boolean__algebra_190,axiom,
    ! [A21: $tType] : ( comple489889107523837845lgebra @ ( set @ A21 ) ) ).

thf(tcon_Set_Oset___Lattices_Obounded__semilattice__sup__bot_191,axiom,
    ! [A21: $tType] : ( bounde4967611905675639751up_bot @ ( set @ A21 ) ) ).

thf(tcon_Set_Oset___Lattices_Obounded__semilattice__inf__top_192,axiom,
    ! [A21: $tType] : ( bounde4346867609351753570nf_top @ ( set @ A21 ) ) ).

thf(tcon_Set_Oset___Complete__Lattices_Ocomplete__lattice_193,axiom,
    ! [A21: $tType] : ( comple6319245703460814977attice @ ( set @ A21 ) ) ).

thf(tcon_Set_Oset___Boolean__Algebras_Oboolean__algebra_194,axiom,
    ! [A21: $tType] : ( boolea8198339166811842893lgebra @ ( set @ A21 ) ) ).

thf(tcon_Set_Oset___Lattices_Obounded__lattice__top_195,axiom,
    ! [A21: $tType] : ( bounded_lattice_top @ ( set @ A21 ) ) ).

thf(tcon_Set_Oset___Complete__Partial__Order_Occpo_196,axiom,
    ! [A21: $tType] : ( comple9053668089753744459l_ccpo @ ( set @ A21 ) ) ).

thf(tcon_Set_Oset___Lattices_Osemilattice__sup_197,axiom,
    ! [A21: $tType] : ( semilattice_sup @ ( set @ A21 ) ) ).

thf(tcon_Set_Oset___Lattices_Osemilattice__inf_198,axiom,
    ! [A21: $tType] : ( semilattice_inf @ ( set @ A21 ) ) ).

thf(tcon_Set_Oset___Lattices_Odistrib__lattice_199,axiom,
    ! [A21: $tType] : ( distrib_lattice @ ( set @ A21 ) ) ).

thf(tcon_Set_Oset___Complete__Lattices_OSup_200,axiom,
    ! [A21: $tType] : ( complete_Sup @ ( set @ A21 ) ) ).

thf(tcon_Set_Oset___Complete__Lattices_OInf_201,axiom,
    ! [A21: $tType] : ( complete_Inf @ ( set @ A21 ) ) ).

thf(tcon_Set_Oset___Orderings_Oorder__top_202,axiom,
    ! [A21: $tType] : ( order_top @ ( set @ A21 ) ) ).

thf(tcon_Set_Oset___Orderings_Oorder__bot_203,axiom,
    ! [A21: $tType] : ( order_bot @ ( set @ A21 ) ) ).

thf(tcon_Set_Oset___Orderings_Opreorder_204,axiom,
    ! [A21: $tType] : ( preorder @ ( set @ A21 ) ) ).

thf(tcon_Set_Oset___Finite__Set_Ofinite_205,axiom,
    ! [A21: $tType] :
      ( ( finite_finite @ A21 )
     => ( finite_finite @ ( set @ A21 ) ) ) ).

thf(tcon_Set_Oset___Lattices_Olattice_206,axiom,
    ! [A21: $tType] : ( lattice @ ( set @ A21 ) ) ).

thf(tcon_Set_Oset___Orderings_Oorder_207,axiom,
    ! [A21: $tType] : ( order @ ( set @ A21 ) ) ).

thf(tcon_Set_Oset___Orderings_Otop_208,axiom,
    ! [A21: $tType] : ( top @ ( set @ A21 ) ) ).

thf(tcon_Set_Oset___Orderings_Oord_209,axiom,
    ! [A21: $tType] : ( ord @ ( set @ A21 ) ) ).

thf(tcon_Set_Oset___Orderings_Obot_210,axiom,
    ! [A21: $tType] : ( bot @ ( set @ A21 ) ) ).

thf(tcon_Set_Oset___Groups_Ouminus_211,axiom,
    ! [A21: $tType] : ( uminus @ ( set @ A21 ) ) ).

thf(tcon_Set_Oset___Lattices_Osup_212,axiom,
    ! [A21: $tType] : ( sup @ ( set @ A21 ) ) ).

thf(tcon_Set_Oset___Lattices_Oinf_213,axiom,
    ! [A21: $tType] : ( inf @ ( set @ A21 ) ) ).

thf(tcon_HOL_Obool___Conditionally__Complete__Lattices_Oconditionally__complete__lattice_214,axiom,
    condit1219197933456340205attice @ $o ).

thf(tcon_HOL_Obool___Complete__Lattices_Ocomplete__distrib__lattice_215,axiom,
    comple592849572758109894attice @ $o ).

thf(tcon_HOL_Obool___Complete__Lattices_Ocomplete__boolean__algebra_216,axiom,
    comple489889107523837845lgebra @ $o ).

thf(tcon_HOL_Obool___Lattices_Obounded__semilattice__sup__bot_217,axiom,
    bounde4967611905675639751up_bot @ $o ).

thf(tcon_HOL_Obool___Lattices_Obounded__semilattice__inf__top_218,axiom,
    bounde4346867609351753570nf_top @ $o ).

thf(tcon_HOL_Obool___Complete__Lattices_Ocomplete__lattice_219,axiom,
    comple6319245703460814977attice @ $o ).

thf(tcon_HOL_Obool___Boolean__Algebras_Oboolean__algebra_220,axiom,
    boolea8198339166811842893lgebra @ $o ).

thf(tcon_HOL_Obool___Lattices_Obounded__lattice__top_221,axiom,
    bounded_lattice_top @ $o ).

thf(tcon_HOL_Obool___Complete__Partial__Order_Occpo_222,axiom,
    comple9053668089753744459l_ccpo @ $o ).

thf(tcon_HOL_Obool___Lattices_Osemilattice__sup_223,axiom,
    semilattice_sup @ $o ).

thf(tcon_HOL_Obool___Lattices_Osemilattice__inf_224,axiom,
    semilattice_inf @ $o ).

thf(tcon_HOL_Obool___Lattices_Odistrib__lattice_225,axiom,
    distrib_lattice @ $o ).

thf(tcon_HOL_Obool___Complete__Lattices_OSup_226,axiom,
    complete_Sup @ $o ).

thf(tcon_HOL_Obool___Complete__Lattices_OInf_227,axiom,
    complete_Inf @ $o ).

thf(tcon_HOL_Obool___Orderings_Oorder__top_228,axiom,
    order_top @ $o ).

thf(tcon_HOL_Obool___Orderings_Oorder__bot_229,axiom,
    order_bot @ $o ).

thf(tcon_HOL_Obool___Orderings_Opreorder_230,axiom,
    preorder @ $o ).

thf(tcon_HOL_Obool___Orderings_Olinorder_231,axiom,
    linorder @ $o ).

thf(tcon_HOL_Obool___Finite__Set_Ofinite_232,axiom,
    finite_finite @ $o ).

thf(tcon_HOL_Obool___Lattices_Olattice_233,axiom,
    lattice @ $o ).

thf(tcon_HOL_Obool___Orderings_Oorder_234,axiom,
    order @ $o ).

thf(tcon_HOL_Obool___Orderings_Otop_235,axiom,
    top @ $o ).

thf(tcon_HOL_Obool___Orderings_Oord_236,axiom,
    ord @ $o ).

thf(tcon_HOL_Obool___Orderings_Obot_237,axiom,
    bot @ $o ).

thf(tcon_HOL_Obool___Groups_Ouminus_238,axiom,
    uminus @ $o ).

thf(tcon_HOL_Obool___Lattices_Osup_239,axiom,
    sup @ $o ).

thf(tcon_HOL_Obool___Lattices_Oinf_240,axiom,
    inf @ $o ).

thf(tcon_HOL_Obool___Heap_Oheap_241,axiom,
    heap @ $o ).

thf(tcon_Heap_Oref___Heap_Oheap_242,axiom,
    ! [A21: $tType] : ( heap @ ( ref @ A21 ) ) ).

thf(tcon_Heap_Oref___Nat_Osize_243,axiom,
    ! [A21: $tType] : ( size @ ( ref @ A21 ) ) ).

thf(tcon_List_Olist___Heap_Oheap_244,axiom,
    ! [A21: $tType] :
      ( ( heap @ A21 )
     => ( heap @ ( list @ A21 ) ) ) ).

thf(tcon_List_Olist___Nat_Osize_245,axiom,
    ! [A21: $tType] : ( size @ ( list @ A21 ) ) ).

thf(tcon_Heap_Oarray___Heap_Oheap_246,axiom,
    ! [A21: $tType] : ( heap @ ( array @ A21 ) ) ).

thf(tcon_Heap_Oarray___Nat_Osize_247,axiom,
    ! [A21: $tType] : ( size @ ( array @ A21 ) ) ).

thf(tcon_String_Ochar___Finite__Set_Ofinite_248,axiom,
    finite_finite @ char ).

thf(tcon_String_Ochar___Heap_Oheap_249,axiom,
    heap @ char ).

thf(tcon_String_Ochar___Nat_Osize_250,axiom,
    size @ char ).

thf(tcon_Sum__Type_Osum___Finite__Set_Ofinite_251,axiom,
    ! [A21: $tType,A26: $tType] :
      ( ( ( finite_finite @ A21 )
        & ( finite_finite @ A26 ) )
     => ( finite_finite @ ( sum_sum @ A21 @ A26 ) ) ) ).

thf(tcon_Sum__Type_Osum___Heap_Oheap_252,axiom,
    ! [A21: $tType,A26: $tType] :
      ( ( ( heap @ A21 )
        & ( heap @ A26 ) )
     => ( heap @ ( sum_sum @ A21 @ A26 ) ) ) ).

thf(tcon_Sum__Type_Osum___Nat_Osize_253,axiom,
    ! [A21: $tType,A26: $tType] : ( size @ ( sum_sum @ A21 @ A26 ) ) ).

thf(tcon_Filter_Ofilter___Conditionally__Complete__Lattices_Oconditionally__complete__lattice_254,axiom,
    ! [A21: $tType] : ( condit1219197933456340205attice @ ( filter @ A21 ) ) ).

thf(tcon_Filter_Ofilter___Lattices_Obounded__semilattice__sup__bot_255,axiom,
    ! [A21: $tType] : ( bounde4967611905675639751up_bot @ ( filter @ A21 ) ) ).

thf(tcon_Filter_Ofilter___Lattices_Obounded__semilattice__inf__top_256,axiom,
    ! [A21: $tType] : ( bounde4346867609351753570nf_top @ ( filter @ A21 ) ) ).

thf(tcon_Filter_Ofilter___Complete__Lattices_Ocomplete__lattice_257,axiom,
    ! [A21: $tType] : ( comple6319245703460814977attice @ ( filter @ A21 ) ) ).

thf(tcon_Filter_Ofilter___Lattices_Obounded__lattice__top_258,axiom,
    ! [A21: $tType] : ( bounded_lattice_top @ ( filter @ A21 ) ) ).

thf(tcon_Filter_Ofilter___Complete__Partial__Order_Occpo_259,axiom,
    ! [A21: $tType] : ( comple9053668089753744459l_ccpo @ ( filter @ A21 ) ) ).

thf(tcon_Filter_Ofilter___Lattices_Osemilattice__sup_260,axiom,
    ! [A21: $tType] : ( semilattice_sup @ ( filter @ A21 ) ) ).

thf(tcon_Filter_Ofilter___Lattices_Osemilattice__inf_261,axiom,
    ! [A21: $tType] : ( semilattice_inf @ ( filter @ A21 ) ) ).

thf(tcon_Filter_Ofilter___Lattices_Odistrib__lattice_262,axiom,
    ! [A21: $tType] : ( distrib_lattice @ ( filter @ A21 ) ) ).

thf(tcon_Filter_Ofilter___Complete__Lattices_OSup_263,axiom,
    ! [A21: $tType] : ( complete_Sup @ ( filter @ A21 ) ) ).

thf(tcon_Filter_Ofilter___Complete__Lattices_OInf_264,axiom,
    ! [A21: $tType] : ( complete_Inf @ ( filter @ A21 ) ) ).

thf(tcon_Filter_Ofilter___Orderings_Oorder__top_265,axiom,
    ! [A21: $tType] : ( order_top @ ( filter @ A21 ) ) ).

thf(tcon_Filter_Ofilter___Orderings_Oorder__bot_266,axiom,
    ! [A21: $tType] : ( order_bot @ ( filter @ A21 ) ) ).

thf(tcon_Filter_Ofilter___Orderings_Opreorder_267,axiom,
    ! [A21: $tType] : ( preorder @ ( filter @ A21 ) ) ).

thf(tcon_Filter_Ofilter___Lattices_Olattice_268,axiom,
    ! [A21: $tType] : ( lattice @ ( filter @ A21 ) ) ).

thf(tcon_Filter_Ofilter___Orderings_Oorder_269,axiom,
    ! [A21: $tType] : ( order @ ( filter @ A21 ) ) ).

thf(tcon_Filter_Ofilter___Orderings_Otop_270,axiom,
    ! [A21: $tType] : ( top @ ( filter @ A21 ) ) ).

thf(tcon_Filter_Ofilter___Orderings_Oord_271,axiom,
    ! [A21: $tType] : ( ord @ ( filter @ A21 ) ) ).

thf(tcon_Filter_Ofilter___Orderings_Obot_272,axiom,
    ! [A21: $tType] : ( bot @ ( filter @ A21 ) ) ).

thf(tcon_Filter_Ofilter___Lattices_Osup_273,axiom,
    ! [A21: $tType] : ( sup @ ( filter @ A21 ) ) ).

thf(tcon_Filter_Ofilter___Lattices_Oinf_274,axiom,
    ! [A21: $tType] : ( inf @ ( filter @ A21 ) ) ).

thf(tcon_Option_Ooption___Conditionally__Complete__Lattices_Oconditionally__complete__linorder_275,axiom,
    ! [A21: $tType] :
      ( ( comple5582772986160207858norder @ A21 )
     => ( condit6923001295902523014norder @ ( option @ A21 ) ) ) ).

thf(tcon_Option_Ooption___Conditionally__Complete__Lattices_Oconditionally__complete__lattice_276,axiom,
    ! [A21: $tType] :
      ( ( comple6319245703460814977attice @ A21 )
     => ( condit1219197933456340205attice @ ( option @ A21 ) ) ) ).

thf(tcon_Option_Ooption___Complete__Lattices_Ocomplete__distrib__lattice_277,axiom,
    ! [A21: $tType] :
      ( ( comple592849572758109894attice @ A21 )
     => ( comple592849572758109894attice @ ( option @ A21 ) ) ) ).

thf(tcon_Option_Ooption___Lattices_Obounded__semilattice__sup__bot_278,axiom,
    ! [A21: $tType] :
      ( ( lattice @ A21 )
     => ( bounde4967611905675639751up_bot @ ( option @ A21 ) ) ) ).

thf(tcon_Option_Ooption___Lattices_Obounded__semilattice__inf__top_279,axiom,
    ! [A21: $tType] :
      ( ( bounded_lattice_top @ A21 )
     => ( bounde4346867609351753570nf_top @ ( option @ A21 ) ) ) ).

thf(tcon_Option_Ooption___Complete__Lattices_Ocomplete__linorder,axiom,
    ! [A21: $tType] :
      ( ( comple5582772986160207858norder @ A21 )
     => ( comple5582772986160207858norder @ ( option @ A21 ) ) ) ).

thf(tcon_Option_Ooption___Complete__Lattices_Ocomplete__lattice_280,axiom,
    ! [A21: $tType] :
      ( ( comple6319245703460814977attice @ A21 )
     => ( comple6319245703460814977attice @ ( option @ A21 ) ) ) ).

thf(tcon_Option_Ooption___Lattices_Obounded__lattice__top_281,axiom,
    ! [A21: $tType] :
      ( ( bounded_lattice_top @ A21 )
     => ( bounded_lattice_top @ ( option @ A21 ) ) ) ).

thf(tcon_Option_Ooption___Complete__Partial__Order_Occpo_282,axiom,
    ! [A21: $tType] :
      ( ( comple6319245703460814977attice @ A21 )
     => ( comple9053668089753744459l_ccpo @ ( option @ A21 ) ) ) ).

thf(tcon_Option_Ooption___Lattices_Osemilattice__sup_283,axiom,
    ! [A21: $tType] :
      ( ( semilattice_sup @ A21 )
     => ( semilattice_sup @ ( option @ A21 ) ) ) ).

thf(tcon_Option_Ooption___Lattices_Osemilattice__inf_284,axiom,
    ! [A21: $tType] :
      ( ( semilattice_inf @ A21 )
     => ( semilattice_inf @ ( option @ A21 ) ) ) ).

thf(tcon_Option_Ooption___Lattices_Odistrib__lattice_285,axiom,
    ! [A21: $tType] :
      ( ( distrib_lattice @ A21 )
     => ( distrib_lattice @ ( option @ A21 ) ) ) ).

thf(tcon_Option_Ooption___Complete__Lattices_OSup_286,axiom,
    ! [A21: $tType] :
      ( ( comple6319245703460814977attice @ A21 )
     => ( complete_Sup @ ( option @ A21 ) ) ) ).

thf(tcon_Option_Ooption___Complete__Lattices_OInf_287,axiom,
    ! [A21: $tType] :
      ( ( comple6319245703460814977attice @ A21 )
     => ( complete_Inf @ ( option @ A21 ) ) ) ).

thf(tcon_Option_Ooption___Orderings_Owellorder_288,axiom,
    ! [A21: $tType] :
      ( ( wellorder @ A21 )
     => ( wellorder @ ( option @ A21 ) ) ) ).

thf(tcon_Option_Ooption___Orderings_Oorder__top_289,axiom,
    ! [A21: $tType] :
      ( ( order_top @ A21 )
     => ( order_top @ ( option @ A21 ) ) ) ).

thf(tcon_Option_Ooption___Orderings_Oorder__bot_290,axiom,
    ! [A21: $tType] :
      ( ( order @ A21 )
     => ( order_bot @ ( option @ A21 ) ) ) ).

thf(tcon_Option_Ooption___Orderings_Opreorder_291,axiom,
    ! [A21: $tType] :
      ( ( preorder @ A21 )
     => ( preorder @ ( option @ A21 ) ) ) ).

thf(tcon_Option_Ooption___Orderings_Olinorder_292,axiom,
    ! [A21: $tType] :
      ( ( linorder @ A21 )
     => ( linorder @ ( option @ A21 ) ) ) ).

thf(tcon_Option_Ooption___Finite__Set_Ofinite_293,axiom,
    ! [A21: $tType] :
      ( ( finite_finite @ A21 )
     => ( finite_finite @ ( option @ A21 ) ) ) ).

thf(tcon_Option_Ooption___Lattices_Olattice_294,axiom,
    ! [A21: $tType] :
      ( ( lattice @ A21 )
     => ( lattice @ ( option @ A21 ) ) ) ).

thf(tcon_Option_Ooption___Orderings_Oorder_295,axiom,
    ! [A21: $tType] :
      ( ( order @ A21 )
     => ( order @ ( option @ A21 ) ) ) ).

thf(tcon_Option_Ooption___Orderings_Otop_296,axiom,
    ! [A21: $tType] :
      ( ( order_top @ A21 )
     => ( top @ ( option @ A21 ) ) ) ).

thf(tcon_Option_Ooption___Orderings_Oord_297,axiom,
    ! [A21: $tType] :
      ( ( preorder @ A21 )
     => ( ord @ ( option @ A21 ) ) ) ).

thf(tcon_Option_Ooption___Orderings_Obot_298,axiom,
    ! [A21: $tType] :
      ( ( order @ A21 )
     => ( bot @ ( option @ A21 ) ) ) ).

thf(tcon_Option_Ooption___Lattices_Osup_299,axiom,
    ! [A21: $tType] :
      ( ( sup @ A21 )
     => ( sup @ ( option @ A21 ) ) ) ).

thf(tcon_Option_Ooption___Lattices_Oinf_300,axiom,
    ! [A21: $tType] :
      ( ( inf @ A21 )
     => ( inf @ ( option @ A21 ) ) ) ).

thf(tcon_Option_Ooption___Heap_Oheap_301,axiom,
    ! [A21: $tType] :
      ( ( heap @ A21 )
     => ( heap @ ( option @ A21 ) ) ) ).

thf(tcon_Option_Ooption___Nat_Osize_302,axiom,
    ! [A21: $tType] : ( size @ ( option @ A21 ) ) ).

thf(tcon_Assertions_Oassn___Lattices_Obounded__semilattice__sup__bot_303,axiom,
    bounde4967611905675639751up_bot @ assn ).

thf(tcon_Assertions_Oassn___Lattices_Obounded__semilattice__inf__top_304,axiom,
    bounde4346867609351753570nf_top @ assn ).

thf(tcon_Assertions_Oassn___Boolean__Algebras_Oboolean__algebra_305,axiom,
    boolea8198339166811842893lgebra @ assn ).

thf(tcon_Assertions_Oassn___Lattices_Obounded__lattice__top_306,axiom,
    bounded_lattice_top @ assn ).

thf(tcon_Assertions_Oassn___Lattices_Osemilattice__sup_307,axiom,
    semilattice_sup @ assn ).

thf(tcon_Assertions_Oassn___Lattices_Osemilattice__inf_308,axiom,
    semilattice_inf @ assn ).

thf(tcon_Assertions_Oassn___Lattices_Odistrib__lattice_309,axiom,
    distrib_lattice @ assn ).

thf(tcon_Assertions_Oassn___Groups_Ocomm__monoid__mult_310,axiom,
    comm_monoid_mult @ assn ).

thf(tcon_Assertions_Oassn___Orderings_Oorder__top_311,axiom,
    order_top @ assn ).

thf(tcon_Assertions_Oassn___Orderings_Oorder__bot_312,axiom,
    order_bot @ assn ).

thf(tcon_Assertions_Oassn___Orderings_Opreorder_313,axiom,
    preorder @ assn ).

thf(tcon_Assertions_Oassn___Groups_Omonoid__mult_314,axiom,
    monoid_mult @ assn ).

thf(tcon_Assertions_Oassn___Lattices_Olattice_315,axiom,
    lattice @ assn ).

thf(tcon_Assertions_Oassn___Orderings_Oorder_316,axiom,
    order @ assn ).

thf(tcon_Assertions_Oassn___Orderings_Otop_317,axiom,
    top @ assn ).

thf(tcon_Assertions_Oassn___Orderings_Oord_318,axiom,
    ord @ assn ).

thf(tcon_Assertions_Oassn___Orderings_Obot_319,axiom,
    bot @ assn ).

thf(tcon_Assertions_Oassn___Groups_Ouminus_320,axiom,
    uminus @ assn ).

thf(tcon_Assertions_Oassn___Lattices_Osup_321,axiom,
    sup @ assn ).

thf(tcon_Assertions_Oassn___Lattices_Oinf_322,axiom,
    inf @ assn ).

thf(tcon_Assertions_Oassn___Groups_Otimes_323,axiom,
    times @ assn ).

thf(tcon_Assertions_Oassn___Power_Opower_324,axiom,
    power @ assn ).

thf(tcon_Assertions_Oassn___Rings_Odvd_325,axiom,
    dvd @ assn ).

thf(tcon_Multiset_Omultiset___Groups_Oordered__ab__semigroup__add_326,axiom,
    ! [A21: $tType] :
      ( ( preorder @ A21 )
     => ( ordere6658533253407199908up_add @ ( multiset @ A21 ) ) ) ).

thf(tcon_Multiset_Omultiset___Groups_Ocancel__ab__semigroup__add_327,axiom,
    ! [A21: $tType] : ( cancel2418104881723323429up_add @ ( multiset @ A21 ) ) ).

thf(tcon_Multiset_Omultiset___Groups_Ocancel__comm__monoid__add_328,axiom,
    ! [A21: $tType] : ( cancel1802427076303600483id_add @ ( multiset @ A21 ) ) ).

thf(tcon_Multiset_Omultiset___Groups_Ocancel__semigroup__add_329,axiom,
    ! [A21: $tType] : ( cancel_semigroup_add @ ( multiset @ A21 ) ) ).

thf(tcon_Multiset_Omultiset___Groups_Ocomm__monoid__diff_330,axiom,
    ! [A21: $tType] : ( comm_monoid_diff @ ( multiset @ A21 ) ) ).

thf(tcon_Multiset_Omultiset___Groups_Oab__semigroup__add_331,axiom,
    ! [A21: $tType] : ( ab_semigroup_add @ ( multiset @ A21 ) ) ).

thf(tcon_Multiset_Omultiset___Groups_Ocomm__monoid__add_332,axiom,
    ! [A21: $tType] : ( comm_monoid_add @ ( multiset @ A21 ) ) ).

thf(tcon_Multiset_Omultiset___Complete__Lattices_OSup_333,axiom,
    ! [A21: $tType] : ( complete_Sup @ ( multiset @ A21 ) ) ).

thf(tcon_Multiset_Omultiset___Complete__Lattices_OInf_334,axiom,
    ! [A21: $tType] : ( complete_Inf @ ( multiset @ A21 ) ) ).

thf(tcon_Multiset_Omultiset___Groups_Osemigroup__add_335,axiom,
    ! [A21: $tType] : ( semigroup_add @ ( multiset @ A21 ) ) ).

thf(tcon_Multiset_Omultiset___Orderings_Opreorder_336,axiom,
    ! [A21: $tType] :
      ( ( preorder @ A21 )
     => ( preorder @ ( multiset @ A21 ) ) ) ).

thf(tcon_Multiset_Omultiset___Groups_Omonoid__add_337,axiom,
    ! [A21: $tType] : ( monoid_add @ ( multiset @ A21 ) ) ).

thf(tcon_Multiset_Omultiset___Orderings_Oorder_338,axiom,
    ! [A21: $tType] :
      ( ( preorder @ A21 )
     => ( order @ ( multiset @ A21 ) ) ) ).

thf(tcon_Multiset_Omultiset___Orderings_Oord_339,axiom,
    ! [A21: $tType] :
      ( ( preorder @ A21 )
     => ( ord @ ( multiset @ A21 ) ) ) ).

thf(tcon_Multiset_Omultiset___Groups_Ozero_340,axiom,
    ! [A21: $tType] : ( zero @ ( multiset @ A21 ) ) ).

thf(tcon_Multiset_Omultiset___Groups_Oplus_341,axiom,
    ! [A21: $tType] : ( plus @ ( multiset @ A21 ) ) ).

thf(tcon_Multiset_Omultiset___Nat_Osize_342,axiom,
    ! [A21: $tType] : ( size @ ( multiset @ A21 ) ) ).

thf(tcon_Product__Type_Oprod___Finite__Set_Ofinite_343,axiom,
    ! [A21: $tType,A26: $tType] :
      ( ( ( finite_finite @ A21 )
        & ( finite_finite @ A26 ) )
     => ( finite_finite @ ( product_prod @ A21 @ A26 ) ) ) ).

thf(tcon_Product__Type_Oprod___Heap_Oheap_344,axiom,
    ! [A21: $tType,A26: $tType] :
      ( ( ( heap @ A21 )
        & ( heap @ A26 ) )
     => ( heap @ ( product_prod @ A21 @ A26 ) ) ) ).

thf(tcon_Product__Type_Oprod___Nat_Osize_345,axiom,
    ! [A21: $tType,A26: $tType] : ( size @ ( product_prod @ A21 @ A26 ) ) ).

thf(tcon_Product__Type_Ounit___Conditionally__Complete__Lattices_Oconditionally__complete__linorder_346,axiom,
    condit6923001295902523014norder @ product_unit ).

thf(tcon_Product__Type_Ounit___Conditionally__Complete__Lattices_Oconditionally__complete__lattice_347,axiom,
    condit1219197933456340205attice @ product_unit ).

thf(tcon_Product__Type_Ounit___Complete__Lattices_Ocomplete__distrib__lattice_348,axiom,
    comple592849572758109894attice @ product_unit ).

thf(tcon_Product__Type_Ounit___Complete__Lattices_Ocomplete__boolean__algebra_349,axiom,
    comple489889107523837845lgebra @ product_unit ).

thf(tcon_Product__Type_Ounit___Lattices_Obounded__semilattice__sup__bot_350,axiom,
    bounde4967611905675639751up_bot @ product_unit ).

thf(tcon_Product__Type_Ounit___Lattices_Obounded__semilattice__inf__top_351,axiom,
    bounde4346867609351753570nf_top @ product_unit ).

thf(tcon_Product__Type_Ounit___Complete__Lattices_Ocomplete__linorder_352,axiom,
    comple5582772986160207858norder @ product_unit ).

thf(tcon_Product__Type_Ounit___Complete__Lattices_Ocomplete__lattice_353,axiom,
    comple6319245703460814977attice @ product_unit ).

thf(tcon_Product__Type_Ounit___Boolean__Algebras_Oboolean__algebra_354,axiom,
    boolea8198339166811842893lgebra @ product_unit ).

thf(tcon_Product__Type_Ounit___Lattices_Obounded__lattice__top_355,axiom,
    bounded_lattice_top @ product_unit ).

thf(tcon_Product__Type_Ounit___Complete__Partial__Order_Occpo_356,axiom,
    comple9053668089753744459l_ccpo @ product_unit ).

thf(tcon_Product__Type_Ounit___Lattices_Osemilattice__sup_357,axiom,
    semilattice_sup @ product_unit ).

thf(tcon_Product__Type_Ounit___Lattices_Osemilattice__inf_358,axiom,
    semilattice_inf @ product_unit ).

thf(tcon_Product__Type_Ounit___Lattices_Odistrib__lattice_359,axiom,
    distrib_lattice @ product_unit ).

thf(tcon_Product__Type_Ounit___Complete__Lattices_OSup_360,axiom,
    complete_Sup @ product_unit ).

thf(tcon_Product__Type_Ounit___Complete__Lattices_OInf_361,axiom,
    complete_Inf @ product_unit ).

thf(tcon_Product__Type_Ounit___Orderings_Owellorder_362,axiom,
    wellorder @ product_unit ).

thf(tcon_Product__Type_Ounit___Orderings_Oorder__top_363,axiom,
    order_top @ product_unit ).

thf(tcon_Product__Type_Ounit___Orderings_Oorder__bot_364,axiom,
    order_bot @ product_unit ).

thf(tcon_Product__Type_Ounit___Orderings_Opreorder_365,axiom,
    preorder @ product_unit ).

thf(tcon_Product__Type_Ounit___Orderings_Olinorder_366,axiom,
    linorder @ product_unit ).

thf(tcon_Product__Type_Ounit___Finite__Set_Ofinite_367,axiom,
    finite_finite @ product_unit ).

thf(tcon_Product__Type_Ounit___Lattices_Olattice_368,axiom,
    lattice @ product_unit ).

thf(tcon_Product__Type_Ounit___Orderings_Oorder_369,axiom,
    order @ product_unit ).

thf(tcon_Product__Type_Ounit___Orderings_Otop_370,axiom,
    top @ product_unit ).

thf(tcon_Product__Type_Ounit___Orderings_Oord_371,axiom,
    ord @ product_unit ).

thf(tcon_Product__Type_Ounit___Orderings_Obot_372,axiom,
    bot @ product_unit ).

thf(tcon_Product__Type_Ounit___Groups_Ouminus_373,axiom,
    uminus @ product_unit ).

thf(tcon_Product__Type_Ounit___Lattices_Osup_374,axiom,
    sup @ product_unit ).

thf(tcon_Product__Type_Ounit___Lattices_Oinf_375,axiom,
    inf @ product_unit ).

thf(tcon_Product__Type_Ounit___Heap_Oheap_376,axiom,
    heap @ product_unit ).

thf(tcon_Code__Numeral_Ointeger___Bit__Operations_Ounique__euclidean__semiring__with__bit__operations_377,axiom,
    bit_un5681908812861735899ations @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Semiring__Normalization_Ocomm__semiring__1__cancel__crossproduct_378,axiom,
    semiri1453513574482234551roduct @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Euclidean__Division_Ounique__euclidean__semiring__with__nat_379,axiom,
    euclid5411537665997757685th_nat @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Groups_Oordered__ab__semigroup__monoid__add__imp__le_380,axiom,
    ordere1937475149494474687imp_le @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Euclidean__Division_Ounique__euclidean__semiring_381,axiom,
    euclid3128863361964157862miring @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Euclidean__Division_Oeuclidean__semiring__cancel_382,axiom,
    euclid4440199948858584721cancel @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Divides_Ounique__euclidean__semiring__numeral_383,axiom,
    unique1627219031080169319umeral @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Euclidean__Division_Oeuclidean__ring__cancel_384,axiom,
    euclid8851590272496341667cancel @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Groups_Ostrict__ordered__ab__semigroup__add_385,axiom,
    strict9044650504122735259up_add @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Groups_Oordered__cancel__ab__semigroup__add_386,axiom,
    ordere580206878836729694up_add @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Groups_Oordered__ab__semigroup__add__imp__le_387,axiom,
    ordere2412721322843649153imp_le @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Bit__Operations_Osemiring__bit__operations_388,axiom,
    bit_se359711467146920520ations @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Rings_Olinordered__comm__semiring__strict_389,axiom,
    linord2810124833399127020strict @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Groups_Ostrict__ordered__comm__monoid__add_390,axiom,
    strict7427464778891057005id_add @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Groups_Oordered__cancel__comm__monoid__add_391,axiom,
    ordere8940638589300402666id_add @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Euclidean__Division_Oeuclidean__semiring_392,axiom,
    euclid3725896446679973847miring @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Rings_Olinordered__semiring__1__strict_393,axiom,
    linord715952674999750819strict @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Groups_Olinordered__ab__semigroup__add_394,axiom,
    linord4140545234300271783up_add @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Bit__Operations_Oring__bit__operations_395,axiom,
    bit_ri3973907225187159222ations @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Rings_Osemiring__1__no__zero__divisors_396,axiom,
    semiri2026040879449505780visors @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Rings_Olinordered__nonzero__semiring_397,axiom,
    linord181362715937106298miring @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Rings_Olinordered__semiring__strict_398,axiom,
    linord8928482502909563296strict @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Groups_Oordered__ab__semigroup__add_399,axiom,
    ordere6658533253407199908up_add @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Groups_Oordered__ab__group__add__abs_400,axiom,
    ordere166539214618696060dd_abs @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Groups_Oordered__comm__monoid__add_401,axiom,
    ordere6911136660526730532id_add @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Groups_Olinordered__ab__group__add_402,axiom,
    linord5086331880401160121up_add @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Groups_Ocancel__ab__semigroup__add_403,axiom,
    cancel2418104881723323429up_add @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Groups_Ocancel__comm__monoid__add_404,axiom,
    cancel1802427076303600483id_add @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Rings_Olinordered__ring__strict_405,axiom,
    linord4710134922213307826strict @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Rings_Ocomm__semiring__1__cancel_406,axiom,
    comm_s4317794764714335236cancel @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Bit__Operations_Osemiring__bits_407,axiom,
    bit_semiring_bits @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Rings_Oordered__comm__semiring_408,axiom,
    ordere2520102378445227354miring @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Rings_Olinordered__semiring__1_409,axiom,
    linord6961819062388156250ring_1 @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Groups_Oordered__ab__group__add_410,axiom,
    ordered_ab_group_add @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Groups_Ocancel__semigroup__add_411,axiom,
    cancel_semigroup_add @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Rings_Olinordered__semiring_412,axiom,
    linordered_semiring @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Rings_Oordered__semiring__0_413,axiom,
    ordered_semiring_0 @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Rings_Olinordered__semidom_414,axiom,
    linordered_semidom @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Rings_Osemiring__1__cancel_415,axiom,
    semiring_1_cancel @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Rings_Oalgebraic__semidom_416,axiom,
    algebraic_semidom @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Groups_Ocomm__monoid__mult_417,axiom,
    comm_monoid_mult @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Groups_Oab__semigroup__add_418,axiom,
    ab_semigroup_add @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Rings_Oordered__semiring_419,axiom,
    ordered_semiring @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Rings_Oordered__ring__abs_420,axiom,
    ordered_ring_abs @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Parity_Osemiring__parity_421,axiom,
    semiring_parity @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Groups_Ocomm__monoid__add_422,axiom,
    comm_monoid_add @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Rings_Osemiring__modulo_423,axiom,
    semiring_modulo @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Rings_Olinordered__ring_424,axiom,
    linordered_ring @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Rings_Olinordered__idom_425,axiom,
    linordered_idom @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Rings_Ocomm__semiring__1_426,axiom,
    comm_semiring_1 @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Rings_Ocomm__semiring__0_427,axiom,
    comm_semiring_0 @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Rings_Osemidom__modulo_428,axiom,
    semidom_modulo @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Rings_Osemidom__divide_429,axiom,
    semidom_divide @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Num_Osemiring__numeral_430,axiom,
    semiring_numeral @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Groups_Osemigroup__add_431,axiom,
    semigroup_add @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Rings_Ozero__less__one_432,axiom,
    zero_less_one @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Rings_Ocomm__semiring_433,axiom,
    comm_semiring @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Nat_Osemiring__char__0_434,axiom,
    semiring_char_0 @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Groups_Oab__group__add_435,axiom,
    ab_group_add @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Rings_Ozero__neq__one_436,axiom,
    zero_neq_one @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Rings_Oordered__ring_437,axiom,
    ordered_ring @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Parity_Oring__parity_438,axiom,
    ring_parity @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Orderings_Opreorder_439,axiom,
    preorder @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Orderings_Olinorder_440,axiom,
    linorder @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Groups_Omonoid__mult_441,axiom,
    monoid_mult @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Rings_Ocomm__ring__1_442,axiom,
    comm_ring_1 @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Groups_Omonoid__add_443,axiom,
    monoid_add @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Rings_Osemiring__1_444,axiom,
    semiring_1 @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Rings_Osemiring__0_445,axiom,
    semiring_0 @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Groups_Ogroup__add_446,axiom,
    group_add @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Rings_Omult__zero_447,axiom,
    mult_zero @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Rings_Ocomm__ring_448,axiom,
    comm_ring @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Orderings_Oorder_449,axiom,
    order @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Num_Oneg__numeral_450,axiom,
    neg_numeral @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Nat_Oring__char__0_451,axiom,
    ring_char_0 @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Rings_Osemiring_452,axiom,
    semiring @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Orderings_Oord_453,axiom,
    ord @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Groups_Ouminus_454,axiom,
    uminus @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Rings_Oring__1_455,axiom,
    ring_1 @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Rings_Oabs__if_456,axiom,
    abs_if @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Groups_Otimes_457,axiom,
    times @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Power_Opower_458,axiom,
    power @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Num_Onumeral_459,axiom,
    numeral @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Groups_Ozero_460,axiom,
    zero @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Groups_Oplus_461,axiom,
    plus @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Rings_Oring_462,axiom,
    ring @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Rings_Oidom_463,axiom,
    idom @ code_integer ).

thf(tcon_Code__Numeral_Ointeger___Rings_Odvd_464,axiom,
    dvd @ code_integer ).

thf(tcon_Code__Numeral_Onatural___Bit__Operations_Ounique__euclidean__semiring__with__bit__operations_465,axiom,
    bit_un5681908812861735899ations @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Euclidean__Division_Ounique__euclidean__semiring__with__nat_466,axiom,
    euclid5411537665997757685th_nat @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Groups_Oordered__ab__semigroup__monoid__add__imp__le_467,axiom,
    ordere1937475149494474687imp_le @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Euclidean__Division_Ounique__euclidean__semiring_468,axiom,
    euclid3128863361964157862miring @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Euclidean__Division_Oeuclidean__semiring__cancel_469,axiom,
    euclid4440199948858584721cancel @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Groups_Ostrict__ordered__ab__semigroup__add_470,axiom,
    strict9044650504122735259up_add @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Groups_Oordered__cancel__ab__semigroup__add_471,axiom,
    ordere580206878836729694up_add @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Groups_Oordered__ab__semigroup__add__imp__le_472,axiom,
    ordere2412721322843649153imp_le @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Bit__Operations_Osemiring__bit__operations_473,axiom,
    bit_se359711467146920520ations @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Rings_Olinordered__comm__semiring__strict_474,axiom,
    linord2810124833399127020strict @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Groups_Ostrict__ordered__comm__monoid__add_475,axiom,
    strict7427464778891057005id_add @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Groups_Oordered__cancel__comm__monoid__add_476,axiom,
    ordere8940638589300402666id_add @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Euclidean__Division_Oeuclidean__semiring_477,axiom,
    euclid3725896446679973847miring @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Groups_Olinordered__ab__semigroup__add_478,axiom,
    linord4140545234300271783up_add @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Rings_Osemiring__1__no__zero__divisors_479,axiom,
    semiri2026040879449505780visors @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Rings_Olinordered__nonzero__semiring_480,axiom,
    linord181362715937106298miring @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Rings_Olinordered__semiring__strict_481,axiom,
    linord8928482502909563296strict @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Groups_Oordered__ab__semigroup__add_482,axiom,
    ordere6658533253407199908up_add @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Groups_Oordered__comm__monoid__add_483,axiom,
    ordere6911136660526730532id_add @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Groups_Ocancel__ab__semigroup__add_484,axiom,
    cancel2418104881723323429up_add @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Groups_Ocancel__comm__monoid__add_485,axiom,
    cancel1802427076303600483id_add @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Rings_Ocomm__semiring__1__cancel_486,axiom,
    comm_s4317794764714335236cancel @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Bit__Operations_Osemiring__bits_487,axiom,
    bit_semiring_bits @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Rings_Oordered__comm__semiring_488,axiom,
    ordere2520102378445227354miring @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Groups_Ocancel__semigroup__add_489,axiom,
    cancel_semigroup_add @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Rings_Olinordered__semiring_490,axiom,
    linordered_semiring @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Rings_Oordered__semiring__0_491,axiom,
    ordered_semiring_0 @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Rings_Olinordered__semidom_492,axiom,
    linordered_semidom @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Rings_Osemiring__1__cancel_493,axiom,
    semiring_1_cancel @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Rings_Oalgebraic__semidom_494,axiom,
    algebraic_semidom @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Groups_Ocomm__monoid__mult_495,axiom,
    comm_monoid_mult @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Groups_Ocomm__monoid__diff_496,axiom,
    comm_monoid_diff @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Groups_Oab__semigroup__add_497,axiom,
    ab_semigroup_add @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Rings_Oordered__semiring_498,axiom,
    ordered_semiring @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Parity_Osemiring__parity_499,axiom,
    semiring_parity @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Groups_Ocomm__monoid__add_500,axiom,
    comm_monoid_add @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Rings_Osemiring__modulo_501,axiom,
    semiring_modulo @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Rings_Ocomm__semiring__1_502,axiom,
    comm_semiring_1 @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Rings_Ocomm__semiring__0_503,axiom,
    comm_semiring_0 @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Rings_Osemidom__modulo_504,axiom,
    semidom_modulo @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Rings_Osemidom__divide_505,axiom,
    semidom_divide @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Num_Osemiring__numeral_506,axiom,
    semiring_numeral @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Groups_Osemigroup__add_507,axiom,
    semigroup_add @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Rings_Ozero__less__one_508,axiom,
    zero_less_one @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Rings_Ocomm__semiring_509,axiom,
    comm_semiring @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Nat_Osemiring__char__0_510,axiom,
    semiring_char_0 @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Rings_Ozero__neq__one_511,axiom,
    zero_neq_one @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Orderings_Opreorder_512,axiom,
    preorder @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Orderings_Olinorder_513,axiom,
    linorder @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Groups_Omonoid__mult_514,axiom,
    monoid_mult @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Groups_Omonoid__add_515,axiom,
    monoid_add @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Rings_Osemiring__1_516,axiom,
    semiring_1 @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Rings_Osemiring__0_517,axiom,
    semiring_0 @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Rings_Omult__zero_518,axiom,
    mult_zero @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Orderings_Oorder_519,axiom,
    order @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Rings_Osemiring_520,axiom,
    semiring @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Orderings_Oord_521,axiom,
    ord @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Groups_Otimes_522,axiom,
    times @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Power_Opower_523,axiom,
    power @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Num_Onumeral_524,axiom,
    numeral @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Groups_Ozero_525,axiom,
    zero @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Groups_Oplus_526,axiom,
    plus @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Rings_Odvd_527,axiom,
    dvd @ code_natural ).

thf(tcon_Code__Numeral_Onatural___Nat_Osize_528,axiom,
    size @ code_natural ).

thf(tcon_Heap__Time__Monad_OHeap___Nat_Osize_529,axiom,
    ! [A21: $tType] : ( size @ ( heap_Time_Heap @ A21 ) ) ).

% Helper facts (4)
thf(help_If_3_1_T,axiom,
    ! [P2: $o] :
      ( ( P2 = $true )
      | ( P2 = $false ) ) ).

thf(help_If_2_1_T,axiom,
    ! [A: $tType,X: A,Y: A] :
      ( ( if @ A @ $false @ X @ Y )
      = Y ) ).

thf(help_If_1_1_T,axiom,
    ! [A: $tType,X: A,Y: A] :
      ( ( if @ A @ $true @ X @ Y )
      = X ) ).

thf(help_fChoice_1_1_T,axiom,
    ! [A: $tType,P2: A > $o] :
      ( ( P2 @ ( fChoice @ A @ P2 ) )
      = ( ? [X11: A] : ( P2 @ X11 ) ) ) ).

% Conjectures (1)
thf(conj_0,conjecture,
    rep_assn @ ( q @ rg ) @ ( product_Pair @ ( heap_ext @ product_unit ) @ ( set @ nat ) @ h @ ( hoare_new_addrs @ h3 @ as @ h ) ) ).

%------------------------------------------------------------------------------